this post was submitted on 24 Mar 2024
38 points (100.0% liked)

Linux Gaming

15789 readers
2 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
38
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

Hi everyone I have recently started modding GTA IV, and needed dotnet48 to work for some mods.but as many of you may know current proton(4.11<) doesn't allow dotnet48 download. I scoured the internet and have found a work around. Originally posted on reddit

But I've condensed it to be easier to follow and decided to post here because I'm sure there are many reasons to need it for proton

Make a copy of the original ../gameid as a backup

use command: cp -RLv steam-path/gameid/pfx/drive_c/windows steam-path/gameid/pfx/drive_c/windows.dereferenced

remove steam-path/gameid/pfx/drive_c/windows

use command: mv steam-path/gameid/pfx/drive_c/windows.dereferenced steam-path/gameid/pfx/drive_c/windows

use command: protontricks appid -q -f dotnet48

use command: protontricks --gui

winecfg - change W7 to W10

Edit: the only thing that would be annoying about this I found so far is the pfx folder size goes from like 300mb to 1.6gb

top 18 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 7 months ago (1 children)

Couldn't you just chmod / chown the folder and let the installer overwrite the symlinks?

[–] [email protected] 2 points 7 months ago* (last edited 7 months ago)

I don't know I'm fairly new to Linux but from my understanding from the comments on reddit and how those commands work. It wouldn't work it's not the dotnet48 installer itself that doesn't work it's some file in the windows folder and proton forcing windows 10. With how windows errors work they don't. it's impossible to actually find the problem. Look in that windows folder it's huge

I forgot to mention when you do this it increases the pfx size from like 300 mb to 1.6gb

[–] [email protected] 2 points 6 months ago (1 children)
[–] [email protected] 1 points 6 months ago

yeah you just need to know where the prefix is kept. this should work anywhere you use proton.

[–] [email protected] 2 points 7 months ago (4 children)

I thought .net doesnt work in wine? As i couldnt get gta v mods working

[–] [email protected] 4 points 7 months ago (1 children)

It’s hit or miss. Really depends on the software requirements, versions of wine, your system in general, etc.

For example; I used the streamer.bot Linux install script to successfully install a new wine prefix that runs the app great. This requires dotnet48 and other dotnet dependencies. But it only worked after several failed attempts because I had to downgrade wine to 9.0 from 9.1 on Debian 12. I’ve since moved to arch and no matter what version of wine I’m running, the program will not work anymore even as fresh install. I’ve yet to fully diagnose what’s wrong.

[–] [email protected] 4 points 7 months ago

I am on arch and yeah couldn't get it to install in any proton version except 4.11 but when I would switch back to whatever version I was using for the game it wouldnt work. This way it has been working flawlessly for a few days now

[–] [email protected] 2 points 7 months ago

It doesn't normally no that's why it's called a work around I have GTA V I will download it and try it out. Althought theoretically it should work if you do the steps mentioned above. This work around was originally done to get wemod to work on Linux and wine which requires dotnet48

[–] [email protected] 1 points 7 months ago (2 children)

so was messing around and i see that OpenIV doesnt let you install OIVs. Although they are just a zip archive so you can open the archive and place the mods in the rpfs in your mods folder that way. just create a new rpf in your mods folder that follows the folder structure of the oiv installer you can also use codebreaker i find the rpf viewer easier to work in ignore any errors. but still cant get scriptdotnethook scripts to work. the game loads so the scripthook works just wont read the mod assembly. so only scripthookV mods and rpf replacement mods

[–] [email protected] 2 points 7 months ago (1 children)

When i open openiv the ui is broken. Ill just use a windows vm to play. Hows gta iv

[–] [email protected] 1 points 7 months ago (1 children)

hmm weird i have it running and GTA IV is honestly better then GTA V with Mods and runs amazingly i would suggest checking it out plus easier to mod

[–] [email protected] 2 points 7 months ago (1 children)

I will. I never modded gta iv before

[–] [email protected] 1 points 7 months ago (1 children)

https://gillian-guide.github.io/ this is a nice little guide for getting a nice basic set up plus it explains how to load mods as well if you have any questions im on their discord or you can dm me here

[–] [email protected] 2 points 7 months ago
[–] [email protected] 1 points 6 months ago

Hey, simpletrainer isnt working. I added dinput8 to dll overrides

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago) (1 children)

hey so got GTA V downloaded and was able to get dotnet48 installed and scripthookVdotnet does run but i got errors trying the mods stance and disarm. I'm fairly new to this stuff so i don't know what it means but will play around more here is the log to scripthookvdotnet maybe you'll understand more LOG

[–] [email protected] 2 points 7 months ago (1 children)

Idk. I usually just run gta v in a windows vm. Can u get openiv working

[–] [email protected] 1 points 7 months ago

Yeah I run openIV installer with just wine works and then I use this program to create a launch option for openIV in GTA Steam meta data editor I've combined and created multiple img mods openIV has crashed a couple times still works lol I don't start the game from openIV either and haven't had any issues in GTA IV and will be Testing img mods in GTA V tonight