BepInEx / bepinex-docs

Documentation and API pages for BepInEx
https://docs.bepinex.dev
3 stars 18 forks source link

Launch instructions for Steam Deck don't seem to work #23

Open CooperWallace opened 2 months ago

CooperWallace commented 2 months ago

I've been trying to add Bepinex to my instance of Graveyard Keeper on my Steam Deck. I followed the guide on the wiki, and used the advanced steam launch instructions, ./run_bepinex.sh %command%. Albiet this does not launch the modded version of the game for me, and I could only get it to launch via manual execution.

After scouring the web for a little bit, I came upon a post on reddit detailing how to get it to run. The relevant details are here:

There is one thing you have to do slightly different for steamdeck, in the launch options insetad of the command on the BepinExPack Valheim instrustions section, use:

./start_game_bepinex.sh || %command%

I found this out because their default command would just crash the second you tried to launch the game. After some research and trial/error I realized you need %command% otherwise steam assumes its the first argument, thus never getting to the shell script meaning it wont launch with BepInEx but it will launch just vanilla. Using the OR command above it first tries the shell script OR the base command to launch the game. Between the default linux install instructions and this updated launch arugment command, Valheim on my steam deck is now modded and working great!

Could this be added to the docs so other users don't have issues with this? I can provide confirmation that it works on my deck if required.

CooperWallace commented 2 months ago

Note: I did adapt the launch command to be ./run_bepinex.sh || %command% which is on par with the current launch mechanism