Skip to content

Instantly share code, notes, and snippets.

@ANBAL534
Last active January 5, 2024 14:08
Show Gist options
  • Save ANBAL534/4f1693536f17b75ebcc8016e0d4cc071 to your computer and use it in GitHub Desktop.
Save ANBAL534/4f1693536f17b75ebcc8016e0d4cc071 to your computer and use it in GitHub Desktop.
Updated more detailled guide: https://gist.github.com/ANBAL534/8057b5200ace9bdd98795b627e550ba0
Make steam force Proton 5.0-10 (Needs to be this version, no modern one because modern proton/wine versions have broken dotnet winetricks installs, needed to run the game)
* If at any stage of the steps wine asks you to install mono or gecko, just cancel/press 'no' on the popup and continue.
* If at any stage of the steps a info/warning/error message appears and asks you if you want to get more information in a webpage just cancel/press 'no' on the opoup and continue.
* If you mess up and need to restart the process from the start you have to manually delete the 'pfx' (steam's wine bottle folder) (/path/to/SteamLibrary/steamapps/compatdata/244210/pfx) and restart the process from the very begining.
Execute the game once and let it close
Then:
$ WINE=/home/yourusername/path/to/steam/steamapps/common/Proton\ 5.0/dist/bin/wine protontricks 244210 -q dotnet452
$ WINE=/home/yourusername/path/to/steam/steamapps/common/Proton\ 5.0/dist/bin/wine protontricks 244210 -q dotnet472
$ WINE=/home/yourusername/path/to/steam/steamapps/common/Proton\ 5.0/dist/bin/wine protontricks 244210 -q d3dcompiler_43 d3dx11_43
$ WINE=/home/yourusername/path/to/steam/steamapps/common/Proton\ 5.0/dist/bin/wine protontricks 244210 -q vcrun2015 win10
The base game will work now.
If you want CM and CSP mods (https://acstuff.ru/) you have to:
- Save "Content Manager.exe" as "Content Manager Safe.exe" in the root game folder (next to acs.exe) and decompres CSP's "extension" folder and "dwrite.dll" also in root folder (so dwrite.dll is next to acs.exe).
- Execute
WINEPREFIX=/path/to/SteamLibrary/steamapps/compatdata/244210/pfx WINE=/path/to/SteamLibrary/steamapps/common/Proton\ 5.0/dist/bin/wine winecfg
Go to Libraries and add "dwrite" as "Native, then built in"
[This step might throw some errors at you, ignore them, everything will be fine]
- Create folder "config" in "/path/to/steam/library/compatdata/244210/pfx/drive_c/Program Files (x86)/Steam/" and copy "loginusers.vdf" from "~/.steam/root/config/" there.
- Lastly modify Assetto Corsa's launch options to:
/path/to/steam/steamapps/common/Proton\ 5.0/proton waitforexitandrun "/path/to/SteamLibrary/steamapps/common/assettocorsa/Content Manager Safe.exe"; PROTON_USE_DXVK=1 echo %command%
Adapted from Carbon's report to make CM and CSP work in the last versions.
@Acreen
Copy link

Acreen commented Oct 1, 2021

Thanks @Acreen for the guide. Some notes:

* in the short version the CM installation step is missing

* Add a hard link: "ln -s" is a soft link, which is perfectly fine at this point only the text is wrong

* content manager did not start, but the normal game does (might need changing the windows version to XP)

@StefanTT Thanks for your info. I updated the guide. But I'm not sure why CM does not start this way for you. I noticed while using proton 5.0 the windows version when installing the dotnet seems to be changed anyway. I retried it several times.

@Vuncano
Copy link

Vuncano commented Oct 12, 2021

@Acreen could not proceed on the "Change start arguments (if you use an official Proton)" part, it says that "Proton: No compat data path?"

@Acreen
Copy link

Acreen commented Oct 12, 2021

@Vuncano Please check which Proton version you forced for Assetto Corsa. The guide assumes it is 6.3. I think if you do not select any it might be Proton Experimental instead. Also the guide assumes that steam is exactly in the default installation folder on ubuntu.

I think compat data path refers to the argument ~/.steam/root/steamapps/common/assettocorsa/'Content Manager Safe.exe' Please make sure to set the ' in the path else the spaces will mix up the path. I copied the whole line from my launch arguments.

If the Content Manager Safe.exe is at another location in your installation you must adapt it.

@Vuncano
Copy link

Vuncano commented Oct 12, 2021

@Acreen yeah I did check all of that but I still have the same error. Thanks anyway

@paypur
Copy link

paypur commented Nov 9, 2021

@Acreen I was able to get Assetto Corsa working with content manager but for some unknown reason it just doesn't launch anymore

@ANBAL534
Copy link
Author

err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"Content Manager Safe.exe" cannot be loaded

is this a dotnet dll? dotnet48 installed.

Looks like that is exactly your problem, not following the guide, no dotnet48 is said to be installed, you no dotnet version installed but dotnet452 and dotnet472 and no other modern version

@alemunter
Copy link

Guys! Can you help me? I followed the instructions on the top. Here is my log. I uploaded to GDrive. https://drive.google.com/file/d/1B4LEzOIsqs95du8QWeu5eq12F64XIWjr/view?usp=sharing

@alohl669
Copy link

I started to follow the acreed guide and I was not read the ANBAL comment "If at any stage of the steps wine asks you to install mono or gecko, just cancel/press 'no'"... ooops, I click "yes". How can I undo this decision? erasing pfx don't.

@ANBAL534
Copy link
Author

ANBAL534 commented Mar 14, 2022

Guys! Can you help me? I followed the instructions on the top. Here is my log. I uploaded to GDrive. https://drive.google.com/file/d/1B4LEzOIsqs95du8QWeu5eq12F64XIWjr/view?usp=sharing

Well, it seems like you are having problems with your linux install in itself, and also not following the guide as you are also using an invalid proton version to run the game ;)

I started to follow the acreed guide and I was not read the ANBAL comment "If at any stage of the steps wine asks you to install mono or gecko, just cancel/press 'no'"... ooops, I click "yes". How can I undo this decision? erasing pfx don't.

the pfx is the wine prefix folder, the bottle, it should be the only thing needed to be deleted to restart the process. Anyways, if you want/need a better more exhaustivelly cleaning, uninstall the game, remove the 244210 folder from the compatdata folder if it exists as @Acreen suggests and delete again the pfx all before installing assetto again.

@CapitanUncino
Copy link

AC and CM work quite well on proton 7.0 but i have a problem with CSP.
CM says its active but it realy isn't.
i tried switching of the car instruments extension but i had no luck.

@alohl669
Copy link

the pfx is the wine prefix folder, the bottle, it should be the only thing needed to be deleted to restart the process. Anyways, if you want/need a better more exhaustivelly cleaning, uninstall the game, remove the 244210 folder from the compatdata folder if it exists as @Acreen suggests and delete again the pfx all before installing assetto again.

any version of protontricks, wine, etc suggested?
I have:
wine-7.0
protontricks (1.8.0)

I ask this because i was waiting about 6 hrs after "protontricks 244210 -q dotnet472" step and can not wait more. im using an SSD disk and my PC is not old at all.

It stucks on
------------------------------------------------------ warning: Running /home/alohl669/.cache/protontricks/proton/Proton 5.0/bin/wineserver -w. This will hang until all wine processes in prefix=/mnt/alohl669/mySSD_for_Games/SteamLibrary/steamapps/compatdata/244210/pfx terminate ------------------------------------------------------

I left my process and logs on pastebin(I use generic names for my disk in the log to avoid confussions):
https://pastebin.com/raw/35TvrBQb

PS: I use many disk, some disks for games, other for VM and... im sorry, another to play on windows if everything fails.

@ANBAL534
Copy link
Author

the pfx is the wine prefix folder, the bottle, it should be the only thing needed to be deleted to restart the process. Anyways, if you want/need a better more exhaustivelly cleaning, uninstall the game, remove the 244210 folder from the compatdata folder if it exists as @Acreen suggests and delete again the pfx all before installing assetto again.

any version of protontricks, wine, etc suggested? I have: wine-7.0 protontricks (1.8.0)

I ask this because i was waiting about 6 hrs after "protontricks 244210 -q dotnet472" step and can not wait more. im using an SSD disk and my PC is not old at all.

It stucks on ------------------------------------------------------ warning: Running /home/alohl669/.cache/protontricks/proton/Proton 5.0/bin/wineserver -w. This will hang until all wine processes in prefix=/mnt/alohl669/mySSD_for_Games/SteamLibrary/steamapps/compatdata/244210/pfx terminate ------------------------------------------------------

I left my process and logs on pastebin(I use generic names for my disk in the log to avoid confussions): https://pastebin.com/raw/35TvrBQb

PS: I use many disk, some disks for games, other for VM and... im sorry, another to play on windows if everything fails.

The version I use is the Proton 5.0-10 forced from steam, I have not tested 7.x versions so I cant say if they work or not.

The dotnet install is a very lenghty install, not because of how powerfull is the machine but for the wine execution. In rare cases the installation fails and needs to be restarted again to succeed.

@alohl669
Copy link

alohl669 commented Mar 15, 2022

The version I use is the Proton 5.0-10 forced from steam, I have not tested 7.x versions so I cant say if they work or not.

_

Wait, at the begining I was not understand why did you say me this. I was using
WINEPREFIX=/mnt/alohl669/mySSD_for_Games/SteamLibrary/steamapps/compatdata/244210/pfx WINE=/mnt/alohl669/mySSD_for_Games/SteamLibrary/steamapps/common/Proton\ 5.0/dist/bin/wine winecfg and eventually i was need to install wine because wincfg does not start... even I had Proton 5.0, etc. I think that I have an important missundertanding here because to me
WINE=/mnt/alohl669/mySSD_for_Games/SteamLibrary/steamapps/common/Proton\ 5.0/dist/bin/wine winecfg is a variable declaration and I dont understand why exists the winecfg argument.

Maybe this format turns confusing. Then, If I am in the right way, it is true, there are 2 variable declarations and then you executes wincfg using this path, right?

_

EDIT: Ok ok, Im a really noob. It is only one line, give me time to learn something of wine :S. Sorry

By the way, could I see the protontricks progress while it is installing dotnet. I mean, after show the last message.

@alohl669
Copy link

Nah, it is impossible to me, I was stuck about 12h in "his will hang until all wine processes in prefix=... compatdata/244210/pfx terminate" message. Im done.

@MasterLooter
Copy link

MasterLooter commented Apr 9, 2022

I don't seem to get the protontricks 244210 -q dotnet472 command to work after "cleaning up" my installation. The first time I tried it everything worked and I got prompts to install the dotnet components but ever since I tried to do it again by this guide I don't think anything gets installed and I have no idea how to clean it up so the whole process would run again. Since this fails I am unable to start the game afterwards with an error of missing the required dotnet 4.52. The reason I tried to start over was to use CM. Until then my game worked and was playable. Then I deleted the 244210 folder and even tried removing and reinstalling the game but still can't get the dotnet stuff to install again.

@Vegetta666
Copy link

I have a problem launching the installation:
"WINE=/home/yourusername/path/to/steam/steamapps/common/Proton\ 5.0/dist/bin/wine protontricks 244210 -q dotnet452"
it tells me that the Steam installation directory is not found.
"Steam installation directory could not be found"
I have set the Steam dir variable by putting in the terminal
STEAM_DIR=path of the local assetto files
i just do not see the variable that I have created.
Any help would be much appreciated

@Cathie44
Copy link

Cathie44 commented Nov 2, 2023

did it just as told, tho it says that .net4.5.2 isn't installed...

even after running protontricks 244210 -q dotnet452 it still asks the same thing...

@mithunkalan
Copy link

if anyone is following this in 2024, i got it working on my system.
ubuntu 22.04, radeon 7600, amd 9 something.
AC+ CM(latest)+ CSP(1.79 manual install. CM install wasnt working. ) + SOL(latest)
i could leave the dash instruments on.

i used the latest wine. v8 i think. then protontricks installed using pipx.
follow the long guide above thanks @Acreen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment