Skip to content

Conversation

@zeroepoch
Copy link
Contributor

Description

Resolves a recent change (I think) with how Steam on Linux launches applications. I believe the extra -- arguments are messing up the argument counts for the relaunch. Using the following change I was able to get the game working. Basically added 2 extra arguments and shifted the last argument by 2.

if [ "$2" = "SteamLaunch" ]; then
    steam="$1 $2 $3 $4 $5 $6 $0 $7"
    shift 7
    $steam "$@"
    exit
fi

Motivation and Context

This PR resolves issue #559. See also #562 for the same change on v5-lts branch.

How Has This Been Tested?

I tested this change using the game Ultimate Chicken Horse on Steam on a laptop running Fedora 37.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@natronium
Copy link

Thanks for posting this fix! I was having some trouble getting Overcooked 2 Mods working, and shifting the ending arguments over by two

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.

3 participants