theNizo / linux_rocksmith

Guides to get Rocksmith 2014 running on Linux
https://thenizo.github.io/linux_rocksmith/
GNU General Public License v3.0
111 stars 10 forks source link

Can't seem to generate proton launch script. #44

Closed NaMLiM closed 5 months ago

NaMLiM commented 8 months ago
theNizo commented 8 months ago

Try Proton 8.

(Rocksmith has been working fine since at least Proton 4 anyway.)


There seems be a change since Proton 9. This doesn't work on official Proton 9, Proton Experimental and apparently Proton-GE anymore.

I'm currently reworking the non-arch guides and will make one big update.

(I'll close the issue after changing the guide.)

theNizo commented 8 months ago

Yes, flag is available in Proton 8 README, but not in Proton 9 README.

Relevant Issue: https://github.com/ValveSoftware/Proton/issues/7575

NaMLiM commented 8 months ago

Try Proton 8.

thank you it work, now i can play rocksmith on linux using my audio interface.

theNizo commented 5 months ago

Okay, I got it working with Proton 9. Basically, I started Rocksmith with the launch options PRESSURE_VESSEL_SHELL=instead %command%. I then ran

# choose your filenames
echo $@ > proton9-launch
echo $(env) > environment

I then put a bunch of seemingly useful environment variables in front, with the PIPEWIRE_LATENCY flag and it worked. I figured out the new variables by running env in a normal terminal and then comparing the output.

Now I need to figure out which environment variables I actually need.

If it turns out that you need a lot, I won't bother with Proton 9.

theNizo commented 5 months ago

Absolute minimum needed variables (only posting the names, pick them out yourself):

SteamAppId
STEAM_COMPAT_CLIENT_INSTALL_PATH
STEAM_COMPAT_DATA_PATH

potentially useful ones

SteamClientLaunch=1
PWD <-- Nope, can't figure out what for
container=pressure-vessel
SteamClientLaunch=1
SteamOverlayGameId=221680 <-- Can't see the overlay either way
STEAM_COMPAT_PROTON
STEAM_ZENITY
SteamEnv
SteamVirtualGamepadInfo_Proton <-- gamepad translation, probably

Please keep in mind that this was just done by trial and error.