====== Information ======
* Grand Theft Auto V ((https://www.rockstargames.com/gta-v))
* Epic Games Store ((https://store.epicgames.com/en-US/p/grand-theft-auto-v))
* Legacy ((not DX12 Enhanced version))
===== Prerequisites =====
* [[windows;10|Windows 10 (21H2)]]
* [[programs;windows;legendary|Legendary]]
====== Rockstar Games Launcher ======
* https://socialclub.rockstargames.com/rockstar-games-launcher
* Settings -> General -> ''[ ]'' Minimize on close
* Settings -> General -> ''[x]'' BattlEye
"%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\Rockstar-Games-Launcher.exe" --location "https://gamedownloads.rockstargames.com/public/installer/Rockstar-Games-Launcher.exe" --progress-bar && "%UserProfile%\Downloads\Rockstar-Games-Launcher.exe" /s /f
"%ProgramFiles%\Rockstar Games\Launcher\Launcher.exe"
====== Alternate Epic Launcher ======
* https://github.com/Etaash-mathamsetty/heroic-epic-integration ([[https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/wiki/Rockstar-Games-from-Epic-Games#rockstar-launcher-opens-showing-the-option-to-buy-the-game--says-the-game-is-not-owned|source]])
* Used as a wrapper to fake Epic Store presence for Rockstar launcher
"%SystemRoot%\System32\curl.exe" --output "%UserProfile%\Downloads\EpicGamesLauncher.exe" --location "https://github.com/Etaash-mathamsetty/heroic-epic-integration/releases/latest/download/EpicGamesLauncher.exe" --progress-bar && MKDIR "%ProgramFiles%\Epic Games\Launcher" & MOVE /Y "%UserProfile%\Downloads\EpicGamesLauncher.exe" "%ProgramFiles%\Epic Games\Launcher\EpicGamesLauncher.exe" && DIR /B "%ProgramFiles%\Epic Games\Launcher\EpicGamesLauncher.exe"
====== GTA V ======
===== Restore Files =====
* ''C:\Program Files\Epic Games\GTAV''
MKDIR "%ProgramFiles%\Epic Games" & "%SystemRoot%\explorer.exe" "%ProgramFiles%\Epic Games"
DIR /B "%ProgramFiles%\Epic Games\GTAV\GTA5.exe"
===== Legendary =====
"%ProgramFiles%\Legendary\legendary.exe" import "9d2d0eb64d5c44529cece33fe2a46482" "%ProgramFiles%\Epic Games\GTAV"
"%ProgramFiles%\Legendary\legendary.exe" install "9d2d0eb64d5c44529cece33fe2a46482" --repair --repair-and-update -y --force
"%ProgramFiles%\Legendary\legendary.exe" install "9d2d0eb64d5c44529cece33fe2a46482" --update-only
====== Compat Settings ======
* :!: 2026/05/19: ''UseLargePages'' caused GTA V to crash on-load with [[#script_hook_v|Script Hook V]]
"%SystemRoot%\System32\reg.exe" ADD "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "%ProgramFiles%\Epic Games\GTAV\GTA5.exe" /t "REG_SZ" /d "~ DISABLEDXMAXIMIZEDWINDOWEDMODE HIGHDPIAWARE DISABLEDWM DISABLETHEMES NoDTToDITMouseBatch" /f
"%SystemRoot%\System32\reg.exe" ADD "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\GTA5.exe" /v "UseLargePages" /t "REG_DWORD" /d "0" /f
====== Extras ======
===== Script Hook V =====
* http://www.dev-c.com/gtav/scripthookv/
* Last tested: ''ScriptHookV_3788.0_1013.34.zip''
"%SystemRoot%\System32\curl.exe" --insecure --referer "http://www.dev-c.com" --output "%UserProfile%\Downloads\ScriptHookV.zip" --location "http://www.dev-c.com/files/ScriptHookV_3788.0_1013.34.zip" --progress-bar
"%SystemRoot%\System32\tar.exe" -xf "%UserProfile%\Downloads\ScriptHookV.zip" --strip-components="1" -C "%ProgramFiles%\Epic Games\GTAV" "bin/ScriptHookV.dll" "bin/dinput8.dll" && DIR /B "%ProgramFiles%\Epic Games\GTAV\ScriptHookV.dll" "%ProgramFiles%\Epic Games\GTAV\dinput8.dll"
==== Browser Download ====
****
MOVE /Y "%UserProfile%\Downloads\ScriptHookV_"*".zip" "%UserProfile%\Downloads\ScriptHookV.zip"
===== Simple Trainer =====
* https://www.gta5-mods.com/scripts/simple-trainer-for-gtav
* Requires [[#script_hook_v|Script Hook V]]
* Last tested: ''fb249c-TrainerV.rar''
MOVE /Y "%UserProfile%\Downloads\"*"TrainerV.rar" "%UserProfile%\Downloads\TrainerV.rar" & "%SystemRoot%\System32\tar.exe" -xf "%UserProfile%\Downloads\TrainerV.rar" -C "%ProgramFiles%\Epic Games\GTAV" "TrainerV.asi" && DIR /B "%ProgramFiles%\Epic Games\GTAV\TrainerV.asi"
==== trainerV.ini ====
MKDIR "%AppData%\TrainerV\Legacy"
"%SystemRoot%\System32\notepad.exe" "%AppData%\TrainerV\Legacy\trainerV.ini"
[Defaults]
UnlimitedAbility=1
NoNoise=1
FastSwim=1
SuperJump=1
SpeedBoost=1
No_Reload=1
UnlimitedAmmo=1
RevealMap=1
RevealFort=1
Infinite_Boost=1
Nitro=1
MaxTuned=1
InfStamina=1
RestAreas=1
changeswimwear=0
// End
====== Scripts ======
MKDIR "%ProgramFiles%\Epic Games\GTAV\scripts"
"%SystemRoot%\explorer.exe" "%ProgramFiles%\Epic Games\GTAV\scripts"
===== GTA V =====
* Settings -> Saving And Startup -> Landing Page: ''Off'' -> Startup Flow: ''Load into Story Mode''
"%SystemRoot%\System32\notepad.exe" "%ProgramFiles%\Epic Games\GTAV\scripts\offline-start.bat"
@echo off
TITLE GTA V Offline
CD "%Temp%"
MOVE /Y "%ProgramFiles%\Epic Games\GTAV\dinput8.dll.bak" "%ProgramFiles%\Epic Games\GTAV\dinput8.dll"
"%ProgramFiles%\Legendary\legendary.exe" launch "9d2d0eb64d5c44529cece33fe2a46482" --offline --wrapper "'%ProgramFiles%\Epic Games\Launcher\EpicGamesLauncher.exe' '%ProgramFiles%\Epic Games\GTAV\PlayGTAV.exe' -scOfflineOnly -nobattleye"
:: End
"%ProgramFiles%\Epic Games\GTAV\scripts\offline-start.bat"
===== GTA Online =====
* Disables [[#script_hook_v|Script Hook V]]
"%SystemRoot%\System32\notepad.exe" "%ProgramFiles%\Epic Games\GTAV\scripts\online-start.bat"
@echo off
TITLE GTA V Online
CD "%Temp%"
MOVE /Y "%ProgramFiles%\Epic Games\GTAV\dinput8.dll" "%ProgramFiles%\Epic Games\GTAV\dinput8.dll.bak"
DEL /Q "%ProgramFiles%\Epic Games\GTAV\dinput8.dll"
"%ProgramFiles%\Legendary\legendary.exe" launch "9d2d0eb64d5c44529cece33fe2a46482" --wrapper "'%ProgramFiles%\Epic Games\Launcher\EpicGamesLauncher.exe' '%ProgramFiles%\Epic Games\GTAV\PlayGTAV.exe' -StraightIntoFreemode"
:: End
"%ProgramFiles%\Epic Games\GTAV\scripts\online-start.bat"
====== Settings ======
* https://support.rockstargames.com/articles/2VjbVziQCiTiiVhDbmnexc/full-list-of-command-line-parameters-for-grand-theft-auto-v-on-pc
"%SystemRoot%\System32\notepad.exe" "%ProgramFiles%\Epic Games\GTAV\commandline.txt"
-DX11
-cityDensity 1.0
-fullscreen
-width 1280
-height 720
-anisotropicQualityLevel 0
-fogVolumes 0
-fxaa 0
-frameLimit 0
-grassQuality 0
-HDStreamingInFlight
-shadowSoftness 0
-particleQuality 0
-particleShadows 0
-postFX 0
-reflectionBlur 0
-reflectionQuality 0
-SSAO 0
-shaderQuality 0
-shadowLongShadows 1
-shadowQuality 0
-tessellation 0
-textureQuality 2
-txaa 0
-waterQuality 0
-FrameQueueLimit 0
-ignoreDifferentVideoCard
-nominspecaudio
====== Initial Launch ======
* Enable Cloud Saves (skips prologue)
"%ProgramFiles%\Legendary\legendary.exe" launch "9d2d0eb64d5c44529cece33fe2a46482" --wrapper "'%ProgramFiles%\Epic Games\Launcher\EpicGamesLauncher.exe' '%ProgramFiles%\Epic Games\GTAV\PlayGTAV.exe' -nobattleye"
====== Launcher Shortcuts ======
===== Desktop =====
==== GTA V ====
"%ProgramFiles%\Epic Games\GTAV\scripts\offline-start.bat"
GTA V
=== Icon ===
****
"%ProgramFiles%\Epic Games\GTAV\GTA5.exe"
===== Start Menu =====
****
MKDIR "%AppData%\Microsoft\Windows\Start Menu\Programs\Grand Theft Auto V" & "%SystemRoot%\explorer.exe" "%AppData%\Microsoft\Windows\Start Menu\Programs\Grand Theft Auto V"
==== GTA V ====
"%ProgramFiles%\Epic Games\GTAV\scripts\offline-start.bat"
GTA V
==== GTA Online ====
"%ProgramFiles%\Epic Games\GTAV\scripts\online-start.bat"
GTA Online
=== Icon ===
****
"%ProgramFiles%\Epic Games\GTAV\GTA5.exe"
==== Updater ====
"%ProgramFiles%\Legendary\legendary.exe" install "9d2d0eb64d5c44529cece33fe2a46482" --update-only
Update
==== Validate ====
"%ProgramFiles%\Legendary\legendary.exe" install "9d2d0eb64d5c44529cece33fe2a46482" --repair --repair-and-update -y --force
Verify Game Files
==== Install Notes ====
"https://wiki.realmofespionage.xyz/games;windows;gta_v_legacy_legendary"
Install Notes