Patches to 'miss2', the GTA2 Script Compiler.
miss2.exe
by default is a graphical application despite the fact all it does
is take an input file and produce an output file while outputting text.
This set of patches removes the GUI part and replaces it with a CLI.
- automatically compile file passed from command line on startup and then exit
- redirect compilation output to stdout/stderr instead of listbox
- return 0 or 1 retcode depending if compilation suceeds or not
- disable gui completely
- output '.scr' instead of '.SCR'
- output '.tmp' instead of '.TMP'
- output '.txt' instead of '.TXT'
- fix current working dir nonsense
GetCurrentDirectoryA
by changing to dir where app is in - copy target file to appdir, then copy back again
- make output truly deterministic
- Vorschreibung
- Install petool from github
- Get mingw-w64 from your package manager
- Get NASM
- make or gmake
- Download w64devkit-mini-for-patching.zip (.7z)
- Extract
w64devkit-mini-for-patching.zip
toC:\
- run
build.cmd