Skip to content

[BUG] - Ultimate Chicken Horse does not launch on linux #1845

@raku-cat

Description

@raku-cat

Describe the bug
The Ultimate Chicken Horse profile prompts to include the linux_wrapper.sh script, but this script fails and makes it impossible to launch via r2m or steam due to the error fixed by #1843 due to the path to the game having spaces ($STEAM/steamapps/common/Ultimate Chicken Horse/).
Applying the patch allows the script to run, but then fails again due to start_game_beepinex.sh missing from the profile. Dropping this file in manually (grabbed from here in my case, it may be wrong (got it from valheim bug report), but the file isn't dropped in so this was the best I could find) results in the game actually launching, though a console error is logged due to:
ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
But the game is able to launch, though still un-modded.
Inspecting where the script sets this LD_PRELOAD, if its even relevant to this issue, it looks like it's looking in the profile for the doorstop lib, which is also not present in the profile created for ultimatechickenhorse with beepinex installed, at this point it's not clear where to proceed, but either way, the furthest one can get is being able to open the game with no mods loaded.

To Reproduce
Steps to reproduce the behavior:

  1. Create a stock profile for Ultimate Chicken Horse
  2. Get prompt instructing to add launch options to the game in steam (I'll note this took deleting and recreating the profile a couple times to even have show up and for the wrapper script to even drop in the folder)
  3. Apply Fix posix scripts to preserve arguments with spaces #1843
  4. Install beepinex and any additional mod (even_more_players in my case)
  5. Start Modded
  6. The game opens unmodded

Expected behavior
The game to launch with mods present.

Screenshots
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugMinor issue

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions