GameServerManagers / LinuxGSM

The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
https://linuxgsm.com
MIT License
4.34k stars 822 forks source link

[Feature]: LD_PRELOAD #4530

Open krulci opened 8 months ago

krulci commented 8 months ago

User story

I am trying to preload mod framework before server start.

Game

Palworld

Linux distro

Debian 12

Command

command: start

Further information

LD_PRELOAD=/<UE4SS Location>/libUE4SS.so /<Game Location>/Pal/Binaries/Linux/PalServer-Linux-Test <Your ARGS>
h3o66 commented 1 month ago

atm you can probably try to use the varibale preexecutable for this.

preexecutable="LD_PRELOAD=/<UE4SS Location>/libUE4SS.so"

put that into the instace config and try to start it. That is not intended for it, but might work.