====== 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 ===== * [[linux:distros:opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] * [[linux:notes:wine|Wine]] (old WoW64) ====== Legendary ====== sudo zypper install legendary python313-pycryptodomex legendary auth ====== Initial Prefix ====== **** mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/GTA V' WINEARCH='win64' wine wineboot --init && WINEPREFIX=~/'.wine/GTA V' winecfg /v 'win10' && WINEPREFIX=~/'.wine/GTA V' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'winemenubuilder.exe' /t 'REG_SZ' /d '' /f ====== Rockstar Games Launcher ====== * https://socialclub.rockstargames.com/rockstar-games-launcher * Settings -> General -> ''[ ]'' Minimize on close * Settings -> General -> ''[ ]'' BattlEye wget -O ~/'Downloads/Rockstar-Games-Launcher.exe' 'https://gamedownloads.rockstargames.com/public/installer/Rockstar-Games-Launcher.exe' && WINEPREFIX=~/'.wine/GTA V' wine ~/'Downloads/Rockstar-Games-Launcher.exe' /s /f rm -fv ~/'Downloads/Rockstar-Games-Launcher.exe' ~/'Desktop/Rockstar Games Launcher.lnk' cd ~/'.wine/GTA V/drive_c/Program Files/Rockstar Games/Launcher' && WINEPREFIX=~/'.wine/GTA V' wine ~/'.wine/GTA V/drive_c/Program Files/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 wget -O '/tmp/EpicGamesLauncher.exe' 'https://github.com/Etaash-mathamsetty/heroic-epic-integration/releases/download/v0.4/EpicGamesLauncher.exe' && mkdir -p ~/'.wine/GTA V/drive_c/Program Files/Epic Games/Launcher' && mv -fv '/tmp/EpicGamesLauncher.exe' ~/'.wine/GTA V/drive_c/Program Files/Epic Games/Launcher/EpicGamesLauncher.exe' ====== GTA V ====== ===== Restore ===== mkdir -p ~/'.wine/GTA V/drive_c/Program Files/Epic Games' && gio open ~/'.wine/GTA V/drive_c/Program Files/Epic Games' ls ~/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV/GTA5.exe' legendary import --platform 'Windows' '9d2d0eb64d5c44529cece33fe2a46482' ~/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV' legendary install '9d2d0eb64d5c44529cece33fe2a46482' --repair --repair-and-update -y --force legendary install '9d2d0eb64d5c44529cece33fe2a46482' --update-only ===== Fresh Install ===== * 2026/05/01: 119GB ((''119202.67 MiB'')) mkdir -p ~/'.wine/GTA V/drive_c/Program Files/Epic Games' legendary install '9d2d0eb64d5c44529cece33fe2a46482' --game-folder ~/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV' --platform 'Windows' -y --force ls ~/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV/GTA5.exe' legendary install '9d2d0eb64d5c44529cece33fe2a46482' --update-only ====== Libraries ====== ===== DXVK ===== ==== master ==== * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) * Last tested: ''dxvk-master-6e9b5047218f6a9e720730140cb97c9abd8ed697.zip'' unzip -j -o ~/'Downloads/dxvk-master-'*'.zip' 'x64/d3d11.dll' 'x64/dxgi.dll' 'x64/d3d10core.dll' -d ~/'.wine/GTA V/drive_c/windows/system32' ==== Dll Overrides ==== **** WINEPREFIX=~/'.wine/GTA V' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d11' /t 'REG_SZ' /d 'native' /f && WINEPREFIX=~/'.wine/GTA V' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'dxgi' /t 'REG_SZ' /d 'native' /f && WINEPREFIX=~/'.wine/GTA V' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d10core' /t 'REG_SZ' /d 'native' /f ==== dxvk.conf ==== * https://github.com/doitsujin/dxvk/blob/master/dxvk.conf nano ~/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV/dxvk.conf' # General dxvk.allowFse = "True" d3d9.dpiAware = "False" d3d9.enumerateByDisplays = "False" dxgi.enableHDR = "False" dxgi.maxFrameRate = "80" d3d11.samplerLodBias = "-2.0" # Intel dxgi.hideIntelGpu = "False" dxvk.hideIntegratedGraphics = "False" dxvk.enableGraphicsPipelineLibrary = "False" dxvk.enableMemoryDefrag = "False" dxvk.lowerSinCos = "False" # Tweaks dxvk.latencySleep = "False" dxvk.tearFree = "False" dxgi.maxFrameLatency = "1" dxgi.syncInterval = "0" d3d11.relaxedBarriers = "True" d3d11.relaxedGraphicsBarriers = "True" # HUD #dxvk.hud = "fps,memory,gpuload" #dxvk.hud = "full" # End ===== Script Hook V ===== * http://www.dev-c.com/gtav/scripthookv/ * Last tested: ''ScriptHookV_3788.0_1013.34.zip'' unzip -j -o ~/'Downloads/ScriptHookV_'*'.zip' 'bin/dinput8.dll' 'bin/ScriptHookV.dll' -d ~/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV' ==== Dll Override ==== **** WINEPREFIX=~/'.wine/GTA V' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'dinput8' /t 'REG_SZ' /d 'native,builtin' /f ==== Simple Trainer ==== * https://www.gta5-mods.com/scripts/simple-trainer-for-gtav * Last tested: ''fb249c-TrainerV.rar'' unar -o ~/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV' -no-directory -f ~/'Downloads/'*'TrainerV.rar' 'TrainerV.asi' === trainerV.ini === mkdir -p ~/'.wine/GTA V/drive_c/users/'$USER'/AppData/Roaming/TrainerV/Legacy' && nano ~/'.wine/GTA V/drive_c/users/'$USER'/AppData/Roaming/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 ====== Settings ====== * https://support.rockstargames.com/articles/2VjbVziQCiTiiVhDbmnexc/full-list-of-command-line-parameters-for-grand-theft-auto-v-on-pc nano ~/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV/commandline.txt' -DX11 -cityDensity 1.0 -windowed -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 ====== TODO ====== cd ~/'.wine/GTA V/drive_c/Program Files/Rockstar Games/Launcher' && WINEPREFIX=~/'.wine/GTA V' wine ~/'.wine/GTA V/drive_c/Program Files/Rockstar Games/Launcher/Launcher.exe' legendary launch '9d2d0eb64d5c44529cece33fe2a46482' --wine-prefix ~/'.wine/GTA V' --wrapper "wine $HOME/'.wine/GTA V/drive_c/Program Files/Epic Games/Launcher/EpicGamesLauncher.exe' $HOME/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV/PlayGTAV.exe'" legendary launch '9d2d0eb64d5c44529cece33fe2a46482' --offline --wine-prefix ~/'.wine/GTA V' --wrapper "wine $HOME/'.wine/GTA V/drive_c/Program Files/Epic Games/Launcher/EpicGamesLauncher.exe' $HOME/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV/PlayGTAV.exe' -scOfflineOnly" WINEPREFIX=~/'.wine/GTA V' wineserver -k ===== Etc ===== WINEPREFIX=~/'.wine/GTA V' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\Direct3D' /v 'renderer' /t 'REG_SZ' /d 'gdi' /f WINEPREFIX=~/'.wine/GTA V' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\Direct3D' /v 'csmt' /t 'REG_DWORD' /d '0' /f WINEPREFIX=~/'.wine/GTA V' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\Drivers' /v 'Graphics' /t 'REG_SZ' /d 'wayland' /f ~/'Documents/Rockstar Games/GTA V/Profiles' strings ~/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV/PlayGTAV.exe' | grep x strings ~/'.wine/GTA V/drive_c/Program Files/Epic Games/GTAV/GTA5.exe' | grep x