Grand Theft Auto V Legacy

Grand Theft Auto V Legacy

View Stats:
Mods under proton
Is there a way to install mods when playing under proton on linux?
< >
Showing 1-7 of 7 comments
Soosmokie Feb 23, 2022 @ 2:48pm 
Originally posted by /proc/self/nolimits:
Is there a way to install mods when playing under proton on linux?
that would be a question for the mod developers. should though
lightwo Mar 27, 2022 @ 4:51am 
Weirdly, a similar topic got deleted out of nowhere, so I'll write it again (in a bit more detail):

Set launch options to
WINEDLLOVERRIDES="dinput8,version=n,b" %command%
in order to use base ScriptHookV after adding the files to your game directory. Also includes override for version.dll used by Lenny's Mod Loader if you want to use it.

If you want to modify files, use Wine to install and run OpenIV. Highly recommended to install its OpenIV.asi as it will let you use a mods folder that overrides existing files without making any modifications.

If you want to use scripts that require .NET and Visual C++ Redistributables:
  1. Make a clean directory for the prefix (by default under SteamLibrary/steamapps/compatdata/271590), later <prefix>, and touch <prefix>/tracked_files
  2. Use Wine 5.11 (ex. this[github.com] build, later <build>) with winetricks within that prefix:
    WINE=<build>/bin/wine WINEPREFIX=<prefix>/pfx winetricks -q -f vcrun2017 d3dx11_43 d3dcompiler_43 dotnet472
    Note: if things break, delete the prefix and start over. Consider skipping vcrun* since less mods depend on it.
    vcrun2019 might work too, but the order is as important as before!
  3. Upgrade prefix to current Proton version (7.0), dismiss "The application couldn't be started" (false positive)

If you want to play Online, you can simply move all files not originally present to a subdirectory. No mods will be active. I may release the script I created for convenience and an accompanying guide soon.



Note: it may be required to end the .NET installation process prematurely, after a lot of failed attempts I ended up with a stable installation after cancelling during "Optimization" stage.
Last edited by lightwo; Oct 18, 2022 @ 8:10am
Hymen BTFOer Oct 18, 2022 @ 7:52am 
Originally posted by lightwo:
Weirdly, a similar topic got deleted out of nowhere, so I'll write it again (in a bit more detail):

Set launch options to
WINEDLLOVERRIDES="dinput8,version=n,b" %command%
in order to use base ScriptHookV after adding the files to your game directory. Also includes override for version.dll used by Lenny's Mod Loader if you want to use it.

If you want to modify files, use Wine to install and run OpenIV. Highly recommended to install its OpenIV.asi as it will let you use a mods folder that overrides existing files without making any modifications.

If you want to use scripts that require .NET and Visual C++ Redistributables:
  1. Make a clean directory for the prefix (by default under SteamLibrary/steamapps/compatdata/271590), later <prefix>, and touch <prefix>/tracked_files
  2. Use Wine 5.11 (ex. this[github.com] build, later <build>) with winetricks within that prefix:
    WINE=<build>/bin/wine WINEPREFIX=<prefix>/pfx winetricks -q -f vcrun2017 d3dx11_43 d3dcompiler_43 dotnet472
    Note: if things break, delete the prefix and start over. Consider skipping vcrun* since less mods depend on it.
    vcrun2019 might work too, but the order is as important as before!
  3. Upgrade prefix to current Proton version (7.0), dismiss "The application couldn't be started" (false positive)

If you want to play Online, you can simply move all files not originally present to a subdirectory. No mods will be active. I may release the script I created for convenience and an accompanying guide soon.

Note: it may be required to end the .NET installation process prematurely, after a lot of failed attempts I ended up with a stable installation after cancelling during "Optimization" stage.
I know this was from months ago, but I wanted to ask you about getting OpenIV running on Linux. I'm messing around with the Deck, and I was able to install OpenIV using Wine, and I wanted to mod Max Payne 3. But when it asked me to locate the directory where MaxPayne3.exe was stored, I would go into Z:/deck/home and from there I couldn't see anything other than desktop, pictures, downloads, audio and videos. On the Deck, games are stored in Z:/deck/home/.local/share/steam/steamapps/common, but even when I put that path in, it would tell me that the folder didn't exist. Do you have any idea how that could be fixed?
lightwo Oct 18, 2022 @ 8:08am 
Originally posted by Hymen BTFOer:
I know this was from months ago, but I wanted to ask you about getting OpenIV running on Linux. I'm messing around with the Deck, and I was able to install OpenIV using Wine, and I wanted to mod Max Payne 3. But when it asked me to locate the directory where MaxPayne3.exe was stored, I would go into Z:/deck/home and from there I couldn't see anything other than desktop, pictures, downloads, audio and videos. On the Deck, games are stored in Z:/deck/home/.local/share/steam/steamapps/common, but even when I put that path in, it would tell me that the folder didn't exist. Do you have any idea how that could be fixed?
Are you sure that you're using Wine directly and not through Steam or another wrapper? Steam does automatic sandboxing for games under Proton, that may be why it's not displaying.

Also, if you downloaded the game to the SD card, you should look here instead:
/run/media/mmcblk0p1/ (presumably under SteamLibrary/...).

I don't own a Deck so I can only provide limited advice, but in any case, in OpenIV, do make sure to select the game executable or its actual directory.
Last edited by lightwo; Oct 18, 2022 @ 8:11am
AbareSaru Mar 8, 2023 @ 2:47pm 
This thread is a bit old.. but wonder if anyone managed to get this to work on the Steamdeck.

@lightwo, The issue is OpenIV is expecting a windows file system and obviously doesn't get one.

I have managed to use Flatseal to unlock the filesystem system permissions and used a shortcut to link the folder so at least OpenIV 'sees' the files and folders.

But it still doesn't work. Fails to launch GTA V.

I haven't as yet found any way to get the mods working on it... I maybe end up having to buy a 4th SD card to install another copy of Windows (my 128gb set up doesn't have enough space for GTA thanks to the size of windows 11) and do it from there.






Originally posted by lightwo:
Originally posted by Hymen BTFOer:
I know this was from months ago, but I wanted to ask you about getting OpenIV running on Linux. I'm messing around with the Deck, and I was able to install OpenIV using Wine, and I wanted to mod Max Payne 3. But when it asked me to locate the directory where MaxPayne3.exe was stored, I would go into Z:/deck/home and from there I couldn't see anything other than desktop, pictures, downloads, audio and videos. On the Deck, games are stored in Z:/deck/home/.local/share/steam/steamapps/common, but even when I put that path in, it would tell me that the folder didn't exist. Do you have any idea how that could be fixed?
Are you sure that you're using Wine directly and not through Steam or another wrapper? Steam does automatic sandboxing for games under Proton, that may be why it's not displaying.

Also, if you downloaded the game to the SD card, you should look here instead:
/run/media/mmcblk0p1/ (presumably under SteamLibrary/...).

I don't own a Deck so I can only provide limited advice, but in any case, in OpenIV, do make sure to select the game executable or its actual directory.
lightwo Mar 8, 2023 @ 9:54pm 
Originally posted by AbareSaru:
But it still doesn't work. Fails to launch GTA V.
You should launch the game with Steam/RGL.

About anything else, spoiler, it's a bit of a challenge getting VC++ and .NET which some mods (but not nearly all) depend on.

I haven't dealt with this stuff for a while.
AbareSaru Mar 16, 2023 @ 4:02pm 
Gave up in the end... dual booted Windows and ran it from there... All mods working now!
< >
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Feb 23, 2022 @ 2:39pm
Posts: 7