rFactor 2

rFactor 2

Nicht genug Bewertungen
CrewChief on Linux via Proton TKG
Von Sora und 1 Helfern
This guide should help you setup a working prefix with crewchief
   
Preis verleihen
Favorisieren
Favorisiert
Entfernen
DotNet Setup
Please note:
This guide SHOULD work for Project Cars, Project Cars 2, Automobilista 2, and others.
I've only tested this for rFactor 2 so far.


Software Needed:
https://thecrewchief.org/ -- Grab it via the forum download link.
Winetricks -- Grab it via github here[github.com] (Get it from repos if you're on Arch Linux/rolling release)
Proton TKG -- Grab it via github here[github.com]

NOTICE: YOU MUST BE USING ARCHLINUX OR COMPILE TKG FROM SOURCE.

First, launch rFactor 2 via steam with Proton TKG.
I have tested with: proton_tkg_6.17.r0.g5f19a815.release

WARNING! DO NOT GET THE RM -RF COMMAND WRONG! IT WILL WIPE DATA.

Now, open a terminal; and type
rm -rf "/path/to/steamapps/compatdata/365960/pfx"

Now run rFactor 2 once and close it to generate a new prefix. The enter the commands below

export WINEPREFIX="/path/to/steamapps/compatdata/365960/pfx/" winetricks -q dotnet472

Once installation of dotnet472 (Which will take quiet awhile to install) is done, you should have working installation of dotnet in the Proton prefix.
CrewChief Setup
NOTICE: This requires a bit of setup on your part.

Open Steam, choose rFactor 2 (Right Click) -> Properties -> General -> Launch Options:
PROTON_DUMP_DEBUG_COMMANDS=1 %command%


Note: I am using oversteer my launch options looks different than yours.

Once this is done, launch rFactor 2 and then exit the game.
Visit /tmp via file manager open the folder named /tmp/proton_USER/ where USER is your login. Copy "run" to your desktop, rename it to Install.sh we will be using this later First, we need to alter it to setup CrewChief.

Three lines should be enough to get its setup running.

cd "/path/to/file/location/"
DEF_CMD=("msiexec" "/i" "CrewChiefV4.msi")
In the last line of the file, remove the "steam.exe" part of that line or it won't run CrewChief.

Example Image:



Now run the shell script via terminal e.g. "./Install.sh"


You're done with CrewChief.
CrewChief Crashing
First up: Disable nAudio in Properties of CrewChief. This will prevent CrewChief from spawning multiple sinks per audio source eventually crashing PulseAudio/alsa



If CrewChief is crashing after clicking "Start Application"
There is a quick and simple fix atleast from my experience.

export WINEPREFIX=/path/to/steamapps/compatdata/365960/pfx/
winetricks sound=alsa

This will swap the audio to alsa directly. You can still choose the output source for the playback audio in pavucontrol, but all of the wine processes in this prefix will now output via alsa. This fixes a bug(??) with winegstreamer. Allowing CrewChief to playback audio.

Congratulations, you are done!
Running CrewChief
Take the "Install.sh" script you had earlier.
Edit it, and change the first two lines to point to the path of CrewChief. (DO NOT REMOVE #!/bin/bash)

For example:
#!/bin/bash

cd "/path/to/steamapps/compatdata/365960/pfx/drive_c/Program Files (x86)/Britton IT Ltd/CrewChiefV4"
DEF_CMD=("CrewChiefV4.exe")

Once this is done, simply rename Install.sh to CrewChief.sh launch rFactor 2 via steam, and then run CrewChief.sh such as "./CrewChief.sh &" in terminal.