Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Reimplementation of GTA:SA 1.0 US

NotificationsYou must be signed in to change notification settings

gta-reversed/gta-reversed

Repository files navigation

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 trackedhere. (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

1. Install Python and Conan

  • Install thelatest Python [When installing make sure to tick the "Add to PATH" checkbox!]
  • Install Conan usingpip install conan [You might need to reload the console if you've freshly installed Python.]
  • If you are installing Conan for the first time, also runconan profile detect

2. Setting up VS

  1. Run the setup script withpython setup.py. Use--help for more info.
  2. Open the generated VS solution atbuild/GTASA.sln, alternatively you can open the root folder with VS's native CMake integration but it isn't as good as the generated sln solution as for now.
  3. You can also typecmake --build build to build in command line.

3. Set up the game and ASI

  1. GTA SACompact 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 SACompact exe is not the same as1.0 US exe, so check that your executable is exactly5'189'632 bytes (4.94 MiB).

  1. To install all the necessary files (after building the project!), runcontrib/install.py withadministrator 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 thecontrib folder]

    You can download them in a singlearchive.

Other plugins

Using other (than the ones we've tested) plugins is strongly discouraged and we provideno support.

Contributing

Coding/Contributing Guidelines

Before you start writing code, please make sure to read thecoding guidelines for this project. Consider these points before opening a PR:

  • Follow the coding guidelines, it exists for a reason.
  • Try to focus your changes onto single subject, do not create PRs that cover many things at once. This is because it's hard to properly test and review such PRs.
  • If you intend to add non-vanilla features please first consult with us, so you don't waste your time.

What to work on?

Check outthis discussion for some inspiration ;)

Debugging

  1. Make sure the latest DLL is in thescripts folder of your GTASA installation - Skip this step if you've usedcontrib/install.py (As it uses symlinks!)
  2. Launch the game
  3. Attach using theReAttach plugin to make your life easier

Credits

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp