====== 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
DEL /Q "%UserProfile%\Downloads\Rockstar-Games-Launcher.exe" & "%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
DEL /Q "%UserProfile%\Downloads\Rockstar-Games-Launcher.exe"
"%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
DEL /Q "%UserProfile%\Downloads\EpicGamesLauncher.exe" & "%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 && RMDIR /S /Q "%ProgramFiles%\Epic Games\Launcher" & MKDIR "%ProgramFiles%\Epic Games\Launcher" && MOVE /Y "%UserProfile%\Downloads\EpicGamesLauncher.exe" "%ProgramFiles%\Epic Games\Launcher\EpicGamesLauncher.exe"
DIR "%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 "%ProgramFiles%\Epic Games\GTAV\GTA5.exe"
===== Legendary =====
"%ProgramFiles%\Legendary\legendary.exe" import "9d2d0eb64d5c44529cece33fe2a46482" "%ProgramFiles%\Epic Games\GTAV"
"%ProgramFiles%\Legendary\legendary.exe" repair "9d2d0eb64d5c44529cece33fe2a46482" -y --repair-and-update
====== Extras ======
===== Script Hook V =====
* http://www.dev-c.com/gtav/scripthookv/
* Last tested: ''ScriptHookV_3788.0_1013.34.zip''
DEL /Q "%ProgramFiles%\Epic Games\GTAV\ScriptHookV.dll" "%ProgramFiles%\Epic Games\GTAV\dinput8.dll" & MOVE /Y "%UserProfile%\Downloads\ScriptHookV_"*".zip" "%UserProfile%\Downloads\ScriptHookV.zip" & "%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"
DEL /Q "%UserProfile%\Downloads\ScriptHookV.zip"
===== Simple Trainer =====
* https://www.gta5-mods.com/scripts/simple-trainer-for-gtav
* Last tested: ''fb249c-TrainerV.rar''
DEL /Q "%ProgramFiles%\Epic Games\GTAV\TrainerV.asi" & 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"
DEL /Q "%UserProfile%\Downloads\TrainerV.rar"
====== 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" --wrapper "'%ProgramFiles%\Epic Games\Launcher\EpicGamesLauncher.exe' '%ProgramFiles%\Epic Games\GTAV\PlayGTAV.exe' -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
-tessellation 0
-textureQuality 2
-txaa 0
-waterQuality 0
-disableHyperthreading
====== Launcher Shortcuts ======
===== Desktop =====
==== GTA V ====
"%ProgramFiles%\Epic Games\GTAV\scripts\offline-start.bat"
GTA V
=== Icon ===
****
"%ProgramFiles%\Epic Games\GTAV\GTA5.exe"
==== GTA Online ====
"%ProgramFiles%\Epic Games\GTAV\scripts\online-start.bat"
GTA Online
===== 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
=== Icon ===
****
"%ProgramFiles%\Epic Games\GTAV\GTA5.exe"
==== GTA Online ====
"%ProgramFiles%\Epic Games\GTAV\scripts\online-start.bat"
GTA Online
==== Updater ====
"%ProgramFiles%\Legendary\legendary.exe" install "9d2d0eb64d5c44529cece33fe2a46482" --update-only
Update
==== Validate ====
"%ProgramFiles%\Legendary\legendary.exe" repair "9d2d0eb64d5c44529cece33fe2a46482" -y --repair-and-update
Verify Game Files
==== Install Notes ====
"https://wiki.realmofespionage.xyz/games;windows;gta_v_legacy_legendary"
Install Notes