LinuxGSM icon indicating copy to clipboard operation
LinuxGSM copied to clipboard

[FEATURE] Integrate BepInEx into LinuxGSM independent of ValheimPlus

Open Albonation opened this issue 3 years ago • 2 comments

User Story

As a user of LinuxGSM to get a Valheim dedicated game server up and running, I would like to use ./vhserver mods-install to list BepInEx (for Valheim) separate from ValheimPlus. Currently ./vhserver mods-install only lists ValheimPlus which bundles BepInEx with it, but there are individuals who would not want to use ValheimPlus. So, having an option to install ValheimPlus OR BepInEx would be appreciated.

Basic info

Distro: Debian GNU/Linux 10 (buster) Arch: x86_64 Kernel: 4.19.0-20-amd64

Further Information

I was able to achieve this on my own by installing BepInEx manually and adjusting the file "start_server_bepinex.sh" so that the line starting with "exec ./valheim_server.x86_64 reads as the following (as opposed to what it says originally): exec ./valheim_server.x86_64 "$@"

Before making that change, the file "start_server_bepinex.sh" would not allow the instance configuration files from LinuxGSM to do anything and I had to troubleshoot why I was getting the wrong password. Because start_server_bepinex.sh was setting the password.

Albonation avatar Apr 08 '22 03:04 Albonation

This would be helpful also for other games that have mods that use BepInEx. For instance 7 Days to Die with the Undead Legacy overhaul. It comes bundled with a specific version of BepInEx, but could use a flag in LGSM to have it run the BepInEx launcher instead of the default startserver.sh file.

ottyn avatar May 01 '22 03:05 ottyn

Needed for the integration/update of beepinex: Api docs from thunderstore: https://valheim.thunderstore.io/api/docs/

example to get the latest beepinex version from thunderstore: curl -s -X GET "https://valheim.thunderstore.io/api/experimental/package/denikson/BepInExPack_Valheim/" -H "accept: application/json"

h3o66 avatar Aug 22 '22 22:08 h3o66

I see that a PR for this has been merged, ergo it should be included in the next release? Is there an ETA for the next release?

MLNW avatar Dec 29 '22 09:12 MLNW

is this usable normally? how can i use it in my current install?

andreileonsalas avatar Mar 09 '23 06:03 andreileonsalas

is this usable normally? how can i use it in my current install?

You should be able to use this with version 23.1.0 and later.

to install bepinex just use: ./vhserver mods-install (or mi as short command of lgsm)

then type bepinexvh to install it.

h3o66 avatar Mar 12 '23 10:03 h3o66

I am getting a lot of: ERROR: ld.so: object 'libdoorstop_x64.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. After installing and running ./vhserver start

mamolli avatar Mar 25 '23 15:03 mamolli

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

github-actions[bot] avatar Mar 25 '24 00:03 github-actions[bot]