Skip to content

Vorschreibung/miss2-patches

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

miss2-patches

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.

Patches

  • 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

Authors

  • Vorschreibung

Building on *nix

  • Install petool from github
  • Get mingw-w64 from your package manager
  • Get NASM
  • make or gmake

Building on Windows

About

Binarypatches for GTA2 miss2.exe Script Compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published