Herein we will attempt to document the steps that we have taken to get a
working ENIGMA install on Windows from the Git repository. This process
will probably largely be a big hack, just to get it working first. Then,
we'll work on revising this process to make it more elegant in the
future. This process will probably still be kept around for the
down-and-dirty people who make the elegant solution possible.
Generally, a git install of ENIGMA follows the following steps:
Currently, we're stuck at step 4, because of some internal library that
has gone missing.
You may install any of the git clients available to you. See
Git for details on obtaining one.
Next, point your client to our repository and clone it to a directory of
your choosing. From command line, this is done with the following
command:
git clone
If you want to clone to a different named folder than the default
'enigma-dev', you may simply add a space, and then the folder name to
the command, like such:
git clone ``enigma
This step is largely the same as a normal install.
We will need a newer version of some MinGW tools. As of 2012-02-01, the
normal MinGW install did not include tools updated enough for us, so we
have to grab their development install instead.
At this point, I got stuck.
Each of these must be placed in a specific place relative to the enigma
directory.
Ensure that each file ends up in its respective directory. If you are an
active git-privileged developer, you should not need to worry about
these files accidentally ending up in the repository, because the
.gitignore file has rules to ignore jar files.
I'm probably missing a couple.
As an optional step prior to launching, you may wish to compile ENIGMA.
Note that if you just run without compiling, it will attempt to compile
itself, which is why this step is usually completely unnecessary.
Launch ENIGMA.exe, if you opted for that route. If not, ensure that you
installed the necessary dependencies and set up gcc.ey, and then launch
lgm16b4.jar. As mentioned, it will try to compile ENIGMA itself. The
exact mechanics behind this, for those who are curious on how enigma can
build itself, are as follows:
Assuming everything went well (which is a big assumption), LateralGM and
ENIGMA should be able to communicate freely, so you can create/load your
game.
Before compiling/loading your game, it is important to ensure that the
game-specific compiler settings are appropriate for your game.
Notably, at your current hacked-together stage of ENIGMA, you will
want to change the sound system, because Alure (the sound library) is
currently not hooked in properly:
Now you're ready to compile/run from the ENIGMA menu.
Wiki: DLL
Wiki: Git
Wiki: JNA
Wiki: Java
Wiki: LateralGM
Wiki: MinGW