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

Linux Gaming

15831 readers
57 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
 

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
[–] Lojcs@lemm.ee 3 points 7 months ago (1 children)

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

[–] K0W4LSK1@lemmy.dbzer0.com 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

[–] mariah@feddit.rocks 2 points 6 months ago (1 children)
[–] K0W4LSK1@lemmy.dbzer0.com 1 points 6 months ago

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

[–] mariah@feddit.rocks 2 points 7 months ago (4 children)

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

[–] astrsk@piefed.social 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.

[–] K0W4LSK1@lemmy.dbzer0.com 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

[–] K0W4LSK1@lemmy.dbzer0.com 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

[–] K0W4LSK1@lemmy.dbzer0.com 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

[–] mariah@feddit.rocks 2 points 7 months ago (1 children)

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

[–] K0W4LSK1@lemmy.dbzer0.com 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

[–] K0W4LSK1@lemmy.dbzer0.com 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

[–] mariah@feddit.rocks 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

[–] K0W4LSK1@lemmy.dbzer0.com 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

[–] mariah@feddit.rocks 2 points 7 months ago (1 children)

I will. I never modded gta iv before

[–] K0W4LSK1@lemmy.dbzer0.com 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

[–] mariah@feddit.rocks 2 points 7 months ago
[–] mariah@feddit.rocks 1 points 6 months ago

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