petrgeorgievsky / gtaRenderHook

GTA SA rendering hook
MIT License
252 stars 39 forks source link
gta

GTA rendering hook

GTA rendering hook

Implements DirectX11 and Vulkan rendering API to GTA 3, GTA VC and GTA SA.

Currently there are 2 versions, one of which is broken(can't really build it anymore):

We have discord server, come and help to improve it!

How it works?

TL;DR: Currently we have incomplete RW rendering backend implementation that communicates via shared memory to incomplete rendering engine instance running rendering loop based on Vulkan API.

Long version:

Current requirements to build development source code

1) VCPkg 2) Cmake 3) Visual Studio/CLion 4) C++ compiler with c++20

Build instructions

  1. Setup libraries via vcpkg(all dependencies are listed in response_file.txt)
  2. Prepare environment:
    • GTA_3_FOLDER, GTA_VC_FOLDER and GTA_SA_FOLDER should be set to some places where you want resulting executables to be.
    • When building 32bit binaries use only BUILD_32BIT_LIBS
    • When building 64bit binaries use BUILD_32BIT_LIBS and ARCH_64BIT
    • Loading mod requires Ultimate ASI Loader installed.
    • For GTA 3 it'll work only on steam, v1.1 and v1.0 at the moment.
  3. Build x86 and x64 libraries/executables in release or debug configuration using configured CMake.
  4. Run, test and report bugs and incompatibilities!

Tips

1) If you encounter bug please report it, and attach .log files and crash dumps and build/game version if possible to bugreport 2) It's buggy and code is bad at the moment, sorry in advance :)