[BUG] - Ultimate Chicken Horse does not launch on linux
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 https://github.com/ebkr/r2modmanPlus/pull/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:
- Create a stock profile for Ultimate Chicken Horse
- 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)
- Apply #1843
- Install beepinex and any additional mod (even_more_players in my case)
- Start Modded
- The game opens unmodded
Expected behavior The game to launch with mods present.
Screenshots N/A
Additional context N/A
Just to note. Unlike other native games, for UCH r2modman doesn't even download start_game_bepinex.sh and doorstop_libs
Just to note. Unlike other native games, for UCH r2modman doesn't even download
start_game_bepinex.shanddoorstop_libs
You'll want to report that to whomever is responsible for https://thunderstore.io/c/ultimate-chicken-horse/p/BepInEx/BepInExPack/ as they would need to update the pack to include the file for linux support.
EDIT: This seems to be a generic pack used by many games. A UCH specific pack might need to be created if generic native linux support cannot be added to it.