A project to reverse Grand Theft Auto San Andreas completely, and to rewrite and document every function.
Join our discord server. You can request us to decompile a function for you. If you wish to contribute, then we'll be happy to assist you.
Building this project will result in a DLL file, that DLL file 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 code. The game will behave exactly 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.
You can either build with Premake5 or CMake, that's up to you.
-
Clone the project, including the submodules
git clone --recurse-submodules https://github.com/codenulls/gta-reversed.git
. -
Execute
premake5.bat
(Visual Studio 2019 is required) -
You'll find gta_reversed.sln shortcut in the same folder as premake5.bat.
-
Download and install latest CMake for windows from HERE.
-
Clone the project, including the submodules
git clone --recurse-submodules https://github.com/codenulls/gta-reversed.git
. -
Set the Source and Build directories (Don't forget to append "Bin" after the path for build), like this:
- Click configure, you'll see a dialogue box. Choose "Visual Studio 16 2019" and "Win32," then click Finish.
- Once configuration is complete, click the Generate button.
- You'll find GTASA.sln in Bin folder.
- All contributors of plugin-sdk project.
- Hundreds of great people on gtaforums.com.
- re3 team.
- And everyone who contributed to GTA:SA reversing.