📈 GH Trending Explorer 🎲 Surprise me

← all repos

gta-reversed / gta-reversed

git clone https://github.com/gta-reversed/gta-reversed.git 🔥 on GitHub Trending today

A C++ project that reverse-engineers GTA: San Andreas and rewrites its functions as a DLL that replaces the in-game code.

Why you might care

Useful for modders and reverse engineers who want readable, documented source for GTA:SA's functions, injected via an ASI loader so the game behaves the same while changes take effect live. Requires owning the original game; the README notes the project is an unfinished hobby effort (about 50-60% done).

Categories

Alternatives

Multi Theft AutoASI LoaderPlugin-SDK
+7
stars, 24h · #4,389
+~54
stars, 7 days · #3,712
+237
stars, 30 days · #3,385
1.1k
★ total · +5% this week
263
forks · 167 open issues

Star history (as recorded here)

2026-10-20 · 1,118 ★ 2026-10-23 · 1,141 ★
LanguageC++
License—
Created2021-08-22 (5y ago)
Last push1d ago
Watchers37
OwnerOrganization

Seen on GitHub Trending

  • 2026-10-23 — #8 monthly in c++ · +237 ★
  • 2026-10-22 — #8 monthly in c++ · +226 ★
  • 2026-10-21 — #10 monthly in c++ · +226 ★
  • 2026-10-20 — #10 monthly in c++ · +218 ★

GitHub topics

Links

README excerpt
## gtasa-reversed 
A project to reverse Grand Theft Auto San Andreas completely, and to rewrite and document every function.
### Community
Please join our community Discord: GTA Groupies [The invite is permanent, feel free to share it!]
## About the project
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.
## Progress
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.**
## Build Instructions
#### 0. Requirements/Prerequisites
* Visual Studio 2026
* Python >= 3.x (For Conan)
* Conan (>= 2.x)
* CMake (>= 4.2.0)
#### 1. Install Python and Conan
* Install the latest Python [When installing make sure to tick the "Add to PATH" checkbox!]
* Install Conan using `pip install conan` [You might need to reload the console if you've freshly installed Python.] (See guide)
* If you are installing Conan for the first time, also run `conan profile detect`
#### 2. Setting up VS
0) Run the setup script with `python 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.
1) Open the folder with VS's native CMake integration (Right click -> "Open in Visual Studio") - The `.sln` generated by CMake should (in theory) work as well, but the CMake integration works somewhat better.
2) If you'd just like to build use `python setup.py --build` (Or if you're experienced with `conan`, you can use it directly as well)
### 3. Set up the game and ASI
0. GTA SA ***Compact exe***: Our code requires you to use this exe, otherwise you will experience random crashes. **You must own the original game and assets for this to work.**
> [!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).
1. 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:
 * ASI Loader
 * Mouse Fix (**dinput8.dll**) [Can be found in the zip in the `contrib` folder]
 You can download them in a single archive.
### Other plugins
Using other (than the ones we've tested) plugins is strongly discouraged and we provide __**no support**__.
## Contributing
### Coding/Contributing Guidelines
Befo

Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.