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

Can i do this in lutris

K0W4L5K1
creator
link
fedilink
11M

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

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

K0W4L5K1
creator
link
fedilink
12M

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

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

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

K0W4L5K1
creator
link
fedilink
12M

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

I will. I never modded gta iv before

K0W4L5K1
creator
link
fedilink
12M

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

Thanks

K0W4L5K1
creator
link
fedilink
1
edit-2
2M

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

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

K0W4L5K1
creator
link
fedilink
12M

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

astrsk
link
fedilink
43M

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.

K0W4L5K1
creator
link
fedilink
43M

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

K0W4L5K1
creator
link
fedilink
23M

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

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

K0W4L5K1
creator
link
fedilink
2
edit-2
3M

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

Create a post

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.

  • 0 users online
  • 25 users / day
  • 123 users / week
  • 270 users / month
  • 1.46K users / 6 months
  • 1 subscriber
  • 691 Posts
  • 6.65K Comments
  • Modlog