MelonLoader
MelonLoader copied to clipboard
[Bug]: Can't launch loader in Linux (LD_PRELOAD not working)
All of the following criteria must be met
- [X] All Requirements must be installed.
- [X] Changed the title so that it doesn't just says "[Bug]: "
- [X] I have searched the GitHub issues for my bug, even in the closed issues.
All of the following are optional to answer
- [ ] Tried reinstalling the Game.
- [X] Tried reinstalling MelonLoader.
- [ ] Tried restarting PC.
- [ ] Was able to see the Start Screen.
Describe the issue.
I'm trying to run melonloader on linux (native linux game), so I took the latest release and put the MelonLoader folder and the libversion.so file in the games root directory. But when I try to do the LD_PRELOAD=$LD_PRELOAD:/path/to/game/folder/libversion.so
cmd (using my games path ofc), it's just gives me a bunch of error.
I tried to do the steam launch option LD_PRELOAD=$LD_PRELOAD:/path/to/game/folder/libversion.so %command%
but it doesn't seem to be working too, it either launch the game without the loader (when I remove the %command%) or doesn't launch it at all (when I keep it)
I tired to do the chmod +x /path/to/game/folder/MelonLoader/Dependencies/Il2CppAssemblyGenerator/Cpp2IL/Cpp2IL
but I get an "No such file or directory" error, even tho i tried
Idk if the fact that I have the game installed on my secondary drive have anything to do with it but telling it just in case (Also don't mention the game I swear I'm playing it cuz it's fun)
Did you attach your log file?
No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log