Created
May 26, 2022 20:57
-
-
Save ANBAL534/8057b5200ace9bdd98795b627e550ba0 to your computer and use it in GitHub Desktop.
Asseto Corsa on Linux Updated
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you want this guide to work on the deck, for easiness of following the guide, make your filesystem temporally writable | |
and install protontricks regularly. | |
This is really an update for the guide found here https://github.com/ValveSoftware/Proton/issues/148#issuecomment-585921635 | |
We will be using Proton 5.0-10 the only proton version that works good for assetto. | |
Before starting, make sure you have no pfx folder for assetto corsa, you can search for it in: | |
/path/to/your/SteamLibrary/steamapps/compatdata/244210 | |
If there is a pfx folder, delete it completely before starting the guide. | |
1. Set in Assetto Corsa Properties in Steam to force the use of a compatibility tool to Proton 5.0-10 | |
2. Start the game and let it crash | |
-Execute in a terminal as a user the commands preceded with $- | |
3. $ protontricks -c "wine uninstaller" 244210 | |
3.1. From the list Remove "Wine Mono Windows Support" | |
4. Download https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe | |
4.1. Use 'cd' command to navigate to the folder containing the file downloaded | |
5. $ protontricks --no-background-wineserver 244210 winxp | |
6. $ protontricks --no-background-wineserver 244210 shell | |
7. $ cd - | |
This last command is to navigate back to the folder where you were and so containing the file | |
8. $ wine dotNetFx40_Full_x86_x64.exe /q | |
-This step will take a good while- | |
9. $ exit | |
10. Download https://web.archive.org/web/20210816191501if_/https://download.microsoft.com/download/9/E/6/9E63300C-0941-4B45-A0EC-0008F96DD480/NDP471-KB4033342-x86-x64-AllOS-ENU.exe | |
10.1 Use 'cd' command to navigate to the folder containing the file downloaded if saved in a different folder than on step 4. | |
11. $ protontricks --no-background-wineserver 244210 win7 | |
1w. $ protontricks --no-background-wineserver 244210 mscoree=native | |
13. $ protontricks --no-background-wineserver 244210 shell | |
14. $ cd - | |
15. $ wine NDP471-KB4033342-x86-x64-AllOS-ENU.exe /q | |
-This step will take a good while- | |
16. $ exit | |
17. $ protontricks --no-background-wineserver 244210 -q vcrun2015 | |
18. $ protontricks --no-background-wineserver 244210 -q d3dcompiler_47 | |
19. $ protontricks --no-background-wineserver 244210 win10 | |
Now you have a good prefix for the game. But we are not finished yet as we need now to link the loginvdf file for CM. | |
20. $ mkdir /path/to/your/SteamLibrary/steamapps/compatdata/244210/pfx/drive_c/Program\ Files\ \(x86\)/Steam/config | |
21. $ ln -s $HOME/.steam/root/config/loginusers.vdf /path/to/your/SteamLibrary/steamapps/compatdata/244210/pfx/drive_c/Program\ Files\ \(x86\)/Steam/config/loginusers.vdf | |
Now the Content manager part of the guide | |
22. Download Content Manager from https://assettocorsa.club/content-manager.html | |
23. Extract the .exe to assetto's game folder and rename the file to: | |
Content Manager Safe.exe | |
Now prepare the launch command for the game in Assetto Corsa's properties | |
24. Set assetto's steam launch parammeters to: | |
/path/to/your/SteamLibrary/steamapps/common/'Proton 5.0'/proton waitforexitandrun /path/to/your/SteamLibrary/steamapps/common/assettocorsa/'Content Manager Safe.exe'; echo %command% | |
If you have installed assetto's in a hidden folder (as is the case in the default install location but not for a sd install or | |
other locations) you will need to execute the 24.1 command to get the path to copy it when CM asks you for the installation folder | |
of assetto | |
24.1 $ echo 'Z:\home\'$USER'\.steam\root\steamapps\common\assettocorsa' | |
25. Launch the game, if you are on the Deck, do it in the desktop mode for now. | |
It may take a while to launch, just let it be. | |
26. Search for the installation folder or paste the result of the step 24.1 | |
-You will notice that detects your steam account automagically- | |
27. Set your player name and press accept | |
28. Close the launcher | |
Let's install CSP | |
29. $ protontricks -c winecfg 244210 | |
30. In 'Libraries' tab, add a new override with text: | |
dwrite | |
31. Press Add and set it to native, built-in (it is the default option) | |
32. Press OK to close the window | |
-At this step you can make a backup of the 'pfx' folder in case you try things and break it not to make the whole process again.- | |
Renember: Changing and launching the game with different Proton versions effectivelly breaks the pfx, so to go back you need to delete | |
the pfx folder and restore the backup. | |
There is a TLS/SSL problem with latest CM versions and so the launcher can't connect to web servers (online races work just fine), thus | |
we need to manually install Custom Shaders Patch and the other mods that you want. | |
33. Download from https://acstuff.ru/patch/ The very latest version .zip file | |
34. Extract the contents of the .zip inthe root folder of the game, | |
so dwrite.dll and extension folder are in the same folder as Custom Manager Safe.exe | |
35. Enjoy the game | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I didn't experience any problems going through the list of steps, but at the very end of it, the game simply won't run. Here's my error log from Steam. Note that I was careful to manually change every mention of the native installer path to the flatpak path; that's not the problem