Skip to content

Instantly share code, notes, and snippets.

@jspmarc
Last active December 26, 2022 13:02
Show Gist options
  • Select an option

  • Save jspmarc/642efa4a98779ab95602e8c102176ae6 to your computer and use it in GitHub Desktop.

Select an option

Save jspmarc/642efa4a98779ab95602e8c102176ae6 to your computer and use it in GitHub Desktop.
Assetto Corsa + CM + CSP on Proton

Sources:

Assetto Corsa

  1. Install the game or run rm -rf ~/.steam/root/steamapps/compatdata/244210/pfx ~/.steam/root/steamapps/compatdata/244210/pfx.lock

  2. Set to Proton ver to Proton 5.0-x

  3. Run the game, let it crash

  4. Install dependencies using Protontricks

    protontricks 244210 -q dotnet48
    protontricks 244210 -q d3dcompiler_43 d3dx11_43
    protontricks 244210 -q vcrun2015 win10
    
  5. Change proton version to Proton 6.3-x

  6. (Optional, do only when not installing CM) Set launcher option to PROTON_USE_DXVK=1 echo %command%

CM

  1. Continue from Assetto Corsa installation

  2. Download CM from https://assettocorsa.club/content-manager.html

  3. Unzip then copy Content\ Manager.exe to ~/.steam/steam/steamapps/common/assettocorsa/Content\ Manager\ Safe.exe

  4. Run the following to create a symbolic link to your steam profile

    mkdir ~/.steam/root/steamapps/compatdata/244210/pfx/drive_c/Program\ Files\ \(x86\)/Steam/config && \
        ln -s ~/.steam/root/config/loginusers.vdf ~/.steam/root/steamapps/compatdata/244210/pfx/drive_c/Program\ Files\ \(x86\)/Steam/config/loginusers.vdf
  5. Set steam launcher option to

    ~/.steam/steam/steamapps/common/Proton\ 6.3/proton waitforexitandrun ~/.steam/steam/steamapps/common/assettocorsa/Content\ Manager\ Safe.exe; PROTON_USE_DXVK=1 echo %command%
    
  6. Run AC from steam (first run will show an error, ignore it)

  7. then put this as path and change <user> to your local username ($USER):

    Z:\home\<user>\.steam\root\steamapps\common\assettocorsa
    
  8. Set name and install additional plugins

  9. (Optional to improve CM's interface) On CM, setting -> Content Manager -> appearance -> system:

    • Check Disable windows transparency
    • Check Disable hardware acceleration for UI
  10. Restart CM

CSP

Warning, installing CSP will cause:

  • Keep in mind that Wine+CSP will force to turn down the volume of tyres and surface audio. It will complicate car control because the tires screech will become silent.
  • Driver model will disappear, only helmet will remain visible.
  1. Continue from CM Installation

  2. Close CM

  3. Run

    protontricks -c winecfg 244210
    
  4. Go to Libraries tab

  5. On New override for librart: write dwrite, click Add (it should have the type native, builtin)

  6. Apply then close window

  7. Open CM from Steam

  8. Go to settings -> Custom Shaders Patch to install CSP

  9. AT THIS POINT CM WON'T WORK, proceed to next steps

  10. Still in settings -> Custom Shaders Patch, find Extensions -> Windscreen FX in the right sidebar, do one of the following:

    • disable completely by unchecking Active in Extension:, OR
    • Remove all the files from ~/.steam/root/steamapps/common/assettocorsa/extension/sfx directory
  11. find Extensions -> Car Instruments, disable:

    • Use odometers
    • Navigators for some cars
  12. find Extensions -> Smart Mirror, do one of the following:

    • disable completely by unchecking Active in Extension:, OR

    • Open ~/.steam/root/steamapps/compatdata/244210/pfx/drive_c/users/steamuser/Documents/Assetto\ Corsa/cfg/extension/smart_mirror.ini (create if it doesn't exist) then append:

      [PIECE_0]
      ROLE=TOP
      
  13. find Extensions -> Fake Shadows FX, disable:

    • Properly project shadows on the ground
  14. (Optional because VAO patches are not loaded properly under Wine) find Extensions -> Extra FX, enable SSAO or HBAO+ (this will be very resource consuming)

Issues I ran into

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