====== 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)) * Enhanced (DX12) * :!: 2026/05/03: WIP ===== Prerequisites ===== * [[linux:distros:opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] * [[linux:notes:wine|Wine]] (old WoW64) ===== TODO ===== * [[games:linux:wine:gta_v_legacy_legendary|Linux (Legacy)]] * [[games:windows:gta_v_legacy_legendary|Windows (Legacy)]] ====== Legendary ====== sudo zypper install legendary python313-pycryptodomex legendary auth ====== Initial Prefix ====== **** mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/GTA V Enhanced' WINEARCH='win64' wine wineboot --init && WINEPREFIX=~/'.wine/GTA V Enhanced' winecfg /v 'win10' && WINEPREFIX=~/'.wine/GTA V Enhanced' 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 Enhanced' wine ~/'Downloads/Rockstar-Games-Launcher.exe' /s /f rm -fv ~/'Downloads/Rockstar-Games-Launcher.exe' ~/'Desktop/Rockstar Games Launcher.lnk' cd ~/'.wine/GTA V Enhanced/drive_c/Program Files/Rockstar Games/Launcher' && WINEPREFIX=~/'.wine/GTA V Enhanced' wine ~/'.wine/GTA V Enhanced/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 Enhanced/drive_c/Program Files/Epic Games/Launcher' && mv -fv '/tmp/EpicGamesLauncher.exe' ~/'.wine/GTA V Enhanced/drive_c/Program Files/Epic Games/Launcher/EpicGamesLauncher.exe' ====== GTA V ====== * :!: TODO: Enhanced game ID/paths (below is Legacy still) ===== 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 ===== * :!: TODO: VKD3D ==== master ==== * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) * Last tested: ''dxvk-master-d1b0151cb40288de31d5af4a2e84173c3889afa2.zip'' rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x64/d3d11.dll' '/tmp/dxvk-master/x64/dxgi.dll' '/tmp/dxvk-master/x64/d3d10core.dll' ~/'.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 d3d11.samplerLodBias = "-2.0" dxgi.maxFrameRate = "80" # Intel dxvk.hideIntegratedGraphics = "False" dxgi.hideIntelGpu = "False" dxvk.enableGraphicsPipelineLibrary = "False" # Tweaks dxvk.latencySleep = "False" dxgi.syncInterval = "0" dxvk.tearFree = "False" d3d11.relaxedBarriers = "True" d3d11.relaxedGraphicsBarriers = "True" d3d11.samplerAnisotropy = "0" dxvk.useRawSsbo = "True" dxvk.enableImplicitResolves = "False" dxvk.enableMemoryDefrag = "False" d3d9.dpiAware = "False" d3d9.floatEmulation = "True" dxvk.lowerSinCos = "False" # HUD #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' ====== 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 ====== 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' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\Direct3D' /v 'renderer' /t 'REG_SZ' /d 'vulkan' /f WINEPREFIX=~/'.wine/GTA V' wineserver -k ~/'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