Skip to content

Conversation

@infirit
Copy link

@infirit infirit commented Feb 26, 2024

I also redid forcing the proton version in the config. It works for me but poke me on discord if you want something changed.

PROTON_ID="1887720"
RUNTIME_VERSION="2.0"
RUNTIME_ID="1391110"
RUMTIME_NAME="soldier"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you rename this to RUNTIME_NAME?

COMPAT_STRING="s/"CompatToolMapping"\\n\\s+{/"CompatToolMapping"\\n\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t"39140"\\n\\t\\t\\t\\t\\t{\\n\\t\\t\\t\\t\\t\\t"name"\\t\\t"proton_${PROTON_VERSION:0:1}"\\n\\t\\t\\t\\t\\t\\t"config"\\t\\t""\\n\\t\\t\\t\\t\\t\\t"priority"\\t\\t"250"\\n\\t\\t\\t\\t\\t}gs"

export STEAM_COMPAT_MOUNTS="$(getSteamLibrary ${PROTON_ID}):$(getSteamLibrary ${RUNTIME_ID}):$(getSteamLibrary 39140)"
PROTON=$(LIBRARY=$(getSteamLibrary ${PROTON_ID}) && [ -n "$LIBRARY" ] && echo "$LIBRARY/steamapps/common/Proton ${PROTON_VERSION}/proton" || echo "NONE")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to account for the use of Proton Experimental, in which the directory is named "Proton - Experimental."

If we set PROTON_VERSION to - Experimental this line will work, but line 39 and 75 will not look proper.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants