Rockstar Games: Code 134 Error (workaround) - Heroic-Games-Launcher/HeroicGamesLauncher GitHub Wiki
Since the Rockstar Launcher update that removed the support for older Windows versions, their games stopped working with Heroic showing an error with code 134
:
This page describes a workaround to get Rockstar games working again (this is not a final solution but a workaround).
This was tested by users with GTAV and RDR2, and in all systems: Windows, Linux, and MacOS.
Steps
- After installing the game, run it once so it installs the Rockstart launcher, log in, and then close it
- Open the game install folder and create a text file named
fix.bat
, this new file should be in the same folder where thePlayGTAV.exe
/PlayRDR2.exe
file is located:
- Add this content to the text file:
start /B "null" "C:\Program Files\Rockstar Games\Launcher\LauncherPatcher.exe"
ping -n 20 localhost > nul
./PlayGTAV.exe %*
- Don't type the content, copy and paste it
- Replace the
PlayGTAV.exe
withPlayRDR2.exe
if you are trying to launch Red Dead Redemption 2 - This will tell Heroic to: launch the Rockstar Launcher, then wait for 20 seconds, and then launch the game
- Open the game settings in Heroic and set this
fix.bat
file as an alternative exe for the game in the Advanced tab: - Launch the game
Troubleshoot
- If this is working right, the Rockstar launcher MUST show up first and after 20 seconds the game should start automatically, if this doesn't happen (for example, nothing happens for 20 seconds and then you get an error) then something is wrong with your
fix.bat
file, so double check it. - This workaround is ONLY for the
134
error, any other problem is not going to be fixed by this. - Some users reported they need to change the
C:\Program Files\Rockstar Games\Launcher\LauncherPatcher.exe
line in the fix.bat file to use theProgram Files (x86)
folder instead of theProgram Files
one. Double check what is the right folder by searching theLauncherPatcher.exe
file inside your drive/wine prefix/bottle. - The
20
in the script is the time it wait to launch the game after the Rockstar launcher started, slower systems may take longer to start the launcher and be ready so you might need to try different numbers there (you could also try less than 20 if you see it's ready before that) - If you change your wine (from wine to proton, for example), or you reset the prefix for any reason, you must remove the
fix.bat
configuration the first time so the Rockstar Launcher is reinstalled.