This file a self-extracting 7z executable which we created for high convenience and portability. It's an all-inclusive zip and provides you with everything you need to run ENIGMA.

Once the file is extracted just click ENIGMA.exe inside the folder and it will run ENIGMA/LGM. If you want to create a desktop shortcut right-click on ENIGMA.exe and goto Send To->Desktop. The first time you run ENIGMA.exe it will automatically download the ENIGMA repo for you before running LGM so wait for the installation to finish.

That should be it!

Note: You need to run the self-extracting zip and the enigma.exe with administrative privileges before and after setup so the application can access AppData to output temporary build files, simply right click the file and select "Run as Administrator" on Windows Vista or later.

Source Code

For those looking for a something a little more hands on you can compile and install from source code as well.

Install MinGW (installer): To install: download the MinGW64 compiler toolkit installer: http://www.mingw.org/wiki/InstallationHOWTOforMinGW You may choose either regular MinGW or MinGW 64bit and 32bit either are fine, and be sure to leave the install directory to the default path. There are also many MinGW installers available on the internet and it also comes with CodeBlocks, we do not support the TDM installer however, just due to their general poor quality and missing backwards linking.

Check-out the ENIGMA repo: Once you have git set-up you just need to check-out from the Repository. If you don't have (or know how to use) git but want to test still then you can alternatively download the enigma git repo as a zip from here: https://github.com/enigma-dev/enigma-dev/archive/master.zip (note though that by downloading). Make sure the repo is placed somewhere in your C:/ drive (like program files or user documents or where-ever) pretty much anywhere -except inside the MinGW folder!

Download the Windows dependencies (zip): Finally download the Windows dependencies from here: https://dl.dropboxusercontent.com/u/21117924/WinPatch_28_08_2013.zip (4.77mb's) and extract it. Then just copy all the files in this folder into the enigma-dev folder which was checked-out from the git repo. Now run "ENIGMA.exe", and you should be good to go, you may need to right click and run with administrative privileges the first time. If you want to make a desktop icon then right-click on ENIGMA.exe and send to desktop. It should compile and place a file "compileEGMf.dll" in the same folder as the .exe. If it fails then do manual compilation.

Manual compilation: In cases when the .dll is not compiled or the .exe is out of date, then it is recommend to recompile both of them. To do this, you must have a valid MinGW installation (from the first step), open bash (git-bash or maybe msys/cygwin would work as well), go to the enigma-dev folder and type "mingw32-make" or just "make". It should compile the .dll. To recompile .exe you must go into enigma-dev\CompilerSource\stupidity-buffer and type "mingw32-make" or just "make". This will create the .exe in this folder that then needs to be copied into the main directory. The .exe can be compiled from cmd (windows console), while the .dll requires bash.