- Download: https://github.com/enigma-dev/enigma-dev/releases/latest
- Size: 94.02 MB
- Last Updated: 9/7/2016
- GCC Version: 4.8.2
This primary method of installing is 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 (Advanced)
For those looking for something a little more hands-on, you can set up your own subsystem for compiling ENIGMA from source code.
These steps will help you configure an ENIGMA setup using the modern MSYS2 project. This setup better facilitates both 32-bit and 64-bit compilation.
- First, you will want to download and install MSYS2 by following these instructions: http://www.msys2.org/
- - NOTE: The x86_64 download button will support compilation of both 32-bit and 64-bit games.
MSYS2 MinGW 64-bityou will need to use the included Pacman to obtain the packages used by ENIGMA for building games, which includes things like OpenAL. You will also need to install Git using Pacman so you can clone the ENIGMA source code from GitHub to complete this installation.
- - NOTE: You do not need to type the entire command below. Both Command Prompt and MSYS2 have a right-click menu option that allows you to just paste the command from this wiki page.
- - The Pacman command you will need to run is: pacman -S base-devel git mingw-w64-x86_64-toolchain mingw-w64-x86_64-boost mingw-w64-x86_64-openal mingw-w64-x86_64-dumb mingw-w64-x86_64-libvorbis mingw-w64-x86_64-libogg mingw-w64-x86_64-flac mingw-w64-x86_64-mpg123 mingw-w64-x86_64-libsndfile mingw-w64-x86_64-libgme mingw-w64-x86_64-sfml mingw-w64-x86_64-gtk2 mingw-w64-x86_64-zlib mingw-w64-x86_64-libffi mingw-w64-x86_64-box2d mingw-w64-x86_64-bullet
- Use the change directory command (
cd path/to/directory) to change MSYS2 to the directory you want ENIGMA installed in.
- Then simply run this command:
git clone https://github.com/enigma-dev/enigma-dev.git
- Change directories into the enigma-dev folder now using
- Now simply run
maketo build the compiler and its backend into compileEGMf.dll, which is used by the CLI and any IDE for ENIGMA.
- Optional: You can then run
make emakeif you also intend to use the CLI for building games.
- Finally, you will want LateralGM for editing games which you can use by installing Java and then download
enigma.jarfrom: Install:Extra Packages. You will also need
- - NOTE: You will want to download
jna-platform.jarwhich is basically the same thing, but bigger because it includes miscellaneous helper methods that LateralGM does not require or use. If any of the following directories don't exist, use
mkdir directorynameto create them.