EXE Integrity Bypass Against RGL V1.0

EXE Integrity Bypass Against RGL 1.0

This ASI program bypasses/disables the integrity/version check against GTA5.exe that communicates with Rockstar Games Launcher, which can make the game refuse to start the game using a old version with the error code 16. For your information, you cannot patch the exe file with a hex editor at all because almost all part of the game code is encrypted before the launch of the game. This ASI does not disable any social club features, so you can use them (e.g. using your characters for GTA Online in the Director Mode). You can’t access GTA Online with the ASI loader installed since v1.0.1032.1 (v1.3.9), so you don’t need to worry about accessing it by accident.

Without modifying the game code, the game tests if it is the latest version as of the game launch using the function that calls CryptAcquireContextA, CryptMsgGetParam, and CryptQueryObject against socialclub.dll at a earlier stage (will be called during the first Rockstar logo movie). This plugin just prevents the game from listening to the query result. Looks like Rockstar Games started testing even in Steam and EGS versions starting from April 4th 2023 (in UTC) at the latest.

What made you create this and not alloc8or?
Firstly, alloc8or could make this kind of tool if this issue started to happen for everyone who tries to use a non-latest version until the first half of 2022, but he hasn’t been active in GTA modding that much since the beginning of 2023. Another brilliant dev who is familiar with computer science so much got inactive, just like MulleDK19 (who is one of the developers who made RAGE Plugin Hook and is inactive since May 2021). Neither of them provided source codes of their works though.

For those reasons, I thought I should create this program to provide a clean way that will be allowed to discuss and this will make us easier to inspect old versions using a disassembler without the help of tainted/dirty stuff (and I will need this tool to add tons of advanced features in ScriptHookVDotNet too, where I am one of the collaborators and the only active one). I tried to create this and managed to do like in 6 hours including the simple log system and a simple testing for compatibility.

Installation
Simply drop ExeIntegrityBypassAgainstRGL.asi into your Grand Theft Auto V folder.
You can see ExeIntegrityBypassAgainstRGL.log created or updated if the ASI runs and the exe has the permission to write to the root folder (won’t update the log if the permission is insufficient as logging is not mandatory).

Requirements
ASI loader. Script Hook V is not needed.
Although this requires Visual C++ Redistributable 2019+ to run, Rockstar Games Launcher should have Visual C++ Redistributable 2019 installed already.

Note
To avoid executing the unpatched code, this program will try to patch with another thread and the created thread will suspend the main thread until the patch completes. So if the patch fails half done, the game may not get started infinitely.
If Rockstar patch this tool by not even launching a process of GTA5.exe if the exe is not the latest one, this tool can do nothing since the tool can’t be loaded in that case (I doubt that will happen real soon though).
After the patch job is finished, the ASI will detach itself from GTA5.exe and will not occupy the memory or have the lock for the ASI file any longer (Ninja style!), letting you remove the ASI file while the game is running in case you are wondering.

This tool supports all the versions that use Rockstar Games Launcher (tested in b2060, b2372, b2699, and b2845 of Steam version), but this does not support any versions that use the old Social Club system.

Credits:

kagikn

Download mod

FileFile size
zip ExeIntegrityBypassAgainstRGL17 KB

Leave a Reply

Your email address will not be published. Required fields are marked *