gm8x_fix_lua is a Lua implementation of gm8x_fix from C language. Originally created by skyfloogle.
gm8x_fix is patcher that fixes issues in games made with Game Maker 7.0, 8.0, and 8.1.
This was created as an exercise for me to write Lua code and understanding how Lua works. The translated Lua code are not all identical to the C code, some of the algorithms in original C code are changed to use the features of Lua.
Download the binary release from Releases tab.
If you want to run directly from source code:
> lua gm8x_fix.luaAssuming you have Lua installed and is accessible from PATH environment. Tested with Lua 5.1.5.
Drag your game executable file into gm8x_fix_lua.exe and follow the instructions displayed on the console screen. For any asked questions, answer with y or n (yes/no).
You can also run it from command line with these options:
-hshow help (showed by default if run without arguments)-senable silent mode-nbdisable backup-nidisable input lag patch-njdisable joystick patch-nsdisable scheduler patch-nrdisable display reset patch-nmdisable memory patch-nddisable DirectPlay patch
Silent mode will not print any information to the console and will apply any available patches. Use the -n* option to disable certain patch. This is useful for automating patching.
See the original project's description for further explanation on what this patcher does.
Run build.bat and it will generate gm8x_fix_lua.exe.
Tools used for building executable: