Windows XP, Vista, 7 - C: Windows System32 If you use a 64-bit version of Windows, you should also copy gta_sa.exe to C: Windows SysWOW64 Make a backup copy of the original files.
gtasa-reversed
A project to reverse Grand Theft Auto San Andreas completely, and to rewrite and document every function.
Discord
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.
Build Instructions
- Download and install latest CMake for windows from HERE.
- Open CMake GUI
- 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.
What exactly is this project?
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, it will hook these reversed functions, if your game crashes, then it means there's some problem with the code and it has to be fixed, otherwise if the game runs smoothly, our code works, and we can focus on reversing more functions and classes, that's pretty much it.
Motivation
I'm an active contributor for Multi Theft Auto San Andreas, which is a project that adds multiplayer functionality to GTA:SA. GTA:SA was reversed by MTA team and many other hackers on GTA related forum, they documented the addresses of GTA functions, but almost no one seems to rewrite the code in readable and compilable C++, that is the main reason why this project was created. Currently, MTA:SA has barely any active contributors because to add new features, you must know how to reverse GTA:SA, so to make it easier for new contributors, rewriting and documenting these functions in C++ will allow them to understand how GTA:SA works internally without the need of understanding ASM or any low level stuff.
Advice
The goal is to rewrite every GTA:SA function exactly as you see in the executable, so anyone who is trying to reverse GTA:SA should find this project helpful.
![C Gta Sa Exe 1 0usatoday C Gta Sa Exe 1 0usatoday](http://www.emuparadise.me/dccovers/142/Rayman%202%20(Ubisoft)%20[NTSC-U].jpg)
- It's okay to do minor improvements if deemed necessary.
- Use naming convention of plugin-sdk project.
Credits
TODO