GTA 5 Cleaner
A tool to clean out mods from Grand Theft Auto 5 for online play, and restore them later.
Download
Get the latest version from the Releases page.
Usage
-
Download and extract
gta5cleaner.exe
to the root ‘Grand Theft Auto V’ folder (same place asGTAV.exe
) -
Double Click and run
gta5cleaner.exe
-
Enter your choice. Either
clean
orrestore
clean
: Cleans your GTA 5 Installation of mods leaving you with the Base Game for Online Play
restore
: Restores cleaned mods for Single Player
-
Once the process is completed, press any key to exit the tool and open the game normally
-
If you use OpenIV or for extra safety, you should verify the integrity of your game files:
- Steam: https://help.steampowered.com/en/faqs/view/0C48-FCBD-DA71-93EB
- Rockstar Launcher: https://support.rockstargames.com/articles/360036000713/
- Epic Games Launcher: https://www.epicgames.com/help/en-US/technical-support-c90/general-support-c91/how-do-i-verify-game-files-in-the-epic-games-launcher-a3638
Building
Source Code
Git Repository: https://github.com/ganeshh123/gta5-cleaner
Running on Node
-
Clone/Download the project and copy app.js and essentialFiles.js into the GTA 5 Installation root directory.
-
Open Command Prompt inside the GTA V Installation root directory and run
node app.js
Compiling a Windows Executable
Executables are compiled with a very specific version of nexe that allows access to the filesystem, which has a tricky setup procedure.
Installing the correct version of nexe
Run install_nexe_win.bat as admin on Windows, will take about 5 minutes to install fully.
Alternatively, install manually like this:
-
Firstly, install the general nexe globally with the command:
npm install -g nexe
-
In the project root folder build some executables with this version of nexe to download node binaries for Windows:
nexe . --target win32-x86-10.13.0
This will download the binaries we need for later, and delete the executables built with this for now.
-
Now we need to install a specific version of nexe that allows access to the filesystem:
Run the command:
npm install -g cspotcode/nexe#19a5046
Now we should have the correct version of nexe for building.
Confirm by running:
nexe -v
Check that the version is 4.0.0-beta.4
Compiling the exe
Run build_win32.bat on Windows to build a Windows Executable. This can be found in /dist.
To Compile Manually
To build a Windows Executable, run the command:
nexe . --target win32-x86-10.13.0 -o ./dist/gta5cleaner.exe
in the root directory of the project.
Credits
Icons made by Freepik from www.flaticon.com