Needless to say, this requires basic familiarity with Visual Studio, Command Prompt/PowerShell, and Windows in general.
- Install Haxe (make sure to install Neko VM!)
- Download the source code (or check out the git repository)
- Compile the program:
haxe build.hxml
- Create an executable:
nekotools boot bin/GmxGen.n
- Copy
bin/GmxGen.exe
to a folder your PATH (e.g. to Haxe directory )
- (you should still have Haxe and Neko VM installed)
- Download the source code (or check out the git repository)
- Compile the program:
haxe build.hxml
- Create an executable:
nekotools boot bin/GmlCppExtFuncs.n
- Copy
bin/GmlCppExtFuncs.exe
to a folder your PATH (e.g. to Haxe directory )
- (you should still have Haxe and Neko VM installed)
- Install
sfgml
, a Haxe➜GML compiler:haxelib git sfgml https://github.com/YAL-Haxe/sfgml.git
- Install
sfhx
, its dependency:haxelib git sfhx https://github.com/YAL-Haxe/sfhx.git
Open the .sln
in Visual Studio (VS2019 was used as of writing this), compile for x86 - Release and then x64 - Release.
If you have correctly set up GmxGen
and GmlCppExtFuncs
,
the project will generate the autogen.gml
files for GML<->C++ interop during pre-build
and will copy and [re-]link files during post-build.