A project to reverse Grand Theft Auto San Andreas completely, and to rewrite and document every function.
Please join our community Discord: GTA Groupies [The invite is permanent, feel free to share it!]
Building this project will result in a DLL file that can be injected into GTA:SA using any ASI loader out there. After the DLL file has been injected, the ingame functions will be replaced by the reversed ones. The game will behave the same. Now if we make any changes to the reversed code, it will take effect in the game. The goal is to keep reversing until we have the entire game reversed to compile a standalone executable.
The progress of reversed classes can be tracked here. (needs to be updated) We currently estimate that about 50-60% of the code is done. Since this project is done as a hobby, and worked on at irregular intervals, there's no time estimate on when it'll be finished.
pip install conan [You might need to reload the console if you've freshly installed Python.] (See guide)conan profile detectpython setup.py - It defaults to windows-msvc x86 Debug. If you want a different configuration you have to pass Conan config/options to the script (ex.: python setup.py -s arch=x86 -s build_type=Release) or use custom profiles..sln generated by CMake should (in theory) work as well, but the CMake integration works somewhat better.python setup.py --build (Or if you're experienced with conan, you can use it directly as well)[!IMPORTANT] GTA SA Compact exe is not the same as 1.0 US exe, so check that your executable is exactly
5'189'632 bytes(4.94 MiB).
To install all the necessary files (after building the project!), run contrib/install.py with administrator privileges [Necessary to create symlinks on Windows] in the root directory.
Alternatively, you can install them by yourself:
contrib folder]You can download them in a single archive.
Using other (than the ones we've tested) plugins is strongly discouraged and we provide no support.
Before you start writing code, please make sure to read the coding guidelines for this project. Consider these points before opening a PR:
Check out this discussion for some inspiration ;)
scripts folder of your GTASA installation - Skip this step if you've used contrib/install.py (As it uses symlinks (To the debug version)!)C++
77.9%
C
21.1%
A project to reverse Grand Theft Auto San Andreas completely, and to rewrite and document every function.
Please join our community Discord: GTA Groupies [The invite is permanent, feel free to share it!]
Building this project will result in a DLL file that can be injected into GTA:SA using any ASI loader out there. After the DLL file has been injected, the ingame functions will be replaced by the reversed ones. The game will behave the same. Now if we make any changes to the reversed code, it will take effect in the game. The goal is to keep reversing until we have the entire game reversed to compile a standalone executable.
The progress of reversed classes can be tracked here. (needs to be updated) We currently estimate that about 50-60% of the code is done. Since this project is done as a hobby, and worked on at irregular intervals, there's no time estimate on when it'll be finished.
pip install conan [You might need to reload the console if you've freshly installed Python.] (See guide)conan profile detectpython setup.py - It defaults to windows-msvc x86 Debug. If you want a different configuration you have to pass Conan config/options to the script (ex.: python setup.py -s arch=x86 -s build_type=Release) or use custom profiles..sln generated by CMake should (in theory) work as well, but the CMake integration works somewhat better.python setup.py --build (Or if you're experienced with conan, you can use it directly as well)[!IMPORTANT] GTA SA Compact exe is not the same as 1.0 US exe, so check that your executable is exactly
5'189'632 bytes(4.94 MiB).
To install all the necessary files (after building the project!), run contrib/install.py with administrator privileges [Necessary to create symlinks on Windows] in the root directory.
Alternatively, you can install them by yourself:
contrib folder]You can download them in a single archive.
Using other (than the ones we've tested) plugins is strongly discouraged and we provide no support.
Before you start writing code, please make sure to read the coding guidelines for this project. Consider these points before opening a PR:
Check out this discussion for some inspiration ;)
scripts folder of your GTASA installation - Skip this step if you've used contrib/install.py (As it uses symlinks (To the debug version)!)C++
77.9%
C
21.1%