metamod-source
metamod-source copied to clipboard
Add installation steps for CS2 linux server
Please extend the installation guide a little to cover bin/linuxsteamrt64/cs2 and gameinfo inclusion. I can't do it.
I've been trying to load mmsource and cant do it on linux ubuntu 20
failed to dlopen libserver_valve.so error=libserver_valve.so: cannot open shared object file: No such file or directory
This is the only error I see not in console at start, the paths seem to be executing correctly, as added to gameinfo.gi. Please help, googling for that libserver_valve.so gives me nothing.
I've tried multiple things for many hours, please halp.
Here is my full log:
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libengine2.so, got 0x55710f83b470
Console initialized.
Steam AppId(730), BreakpadId(2347771)
InitSteamLogin_Internal: Initializing breakpad.
Using breakpad crash handler
Steam Universe is invalid, possibly asking before Steam was successfully initialized.
ResetBreakpadAppId: Universe is 0 (k_EUniverseInvalid)
ResetBreakpadAppId: Setting dedicated server app id: 2347773
Setting breakpad minidump AppID = 2347773
Forcing breakpad minidump interfaces to load
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Loaded libSDL3.so.0, got 0x55710f9359f0
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libtier0.so, got 0x55710f825140
Visibility enabled.
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libfilesystem_stdio.so, got 0x55710f935eb0
USRLOCAL path not found!
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/liblocalize.so, got 0x55710f9483d0
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/librendersystemempty.so, got 0x55710f95a4c0
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libresourcesystem.so, got 0x55710f96c9e0
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libschemasystem.so, got 0x55710f97ef00
Trying to set dxlevel (111) which is higher than the card can support (110)!
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libmaterialsystem2.so, got 0x55710f991000
---------------
Path ID: File Path:
ADDONS "/home/steam/cs4/game/csgo_addons/"
CONTENT "/home/steam/cs4/content/csgo/addons/metamod/bin/"
CONTENT "/home/steam/cs4/content/csgo/"
CONTENT "/home/steam/cs4/content/csgo_imported/"
CONTENT "/home/steam/cs4/content/csgo_core/"
CONTENT "/home/steam/cs4/content/core/"
CONTENTADDONS "/home/steam/cs4/content/csgo_addons/"
CONTENTROOT "/home/steam/cs4/content/"
DEFAULT_WRITE_PATH "/home/steam/cs4/game/csgo/addons/metamod/bin/"
EXECUTABLE_PATH "/home/steam/cs4/game/bin/linuxsteamrt64/"
GAME "/home/steam/cs4/game/csgo/pak01.vpk" (vpk) /home/steam/cs4/game/csgo/pak01.vpk
GAME "/home/steam/cs4/game/csgo_imported/pak01.vpk" (vpk) /home/steam/cs4/game/csgo_imported/pak01.vpk
GAME "/home/steam/cs4/game/csgo_core/pak01.vpk" (vpk) /home/steam/cs4/game/csgo_core/pak01.vpk
GAME "/home/steam/cs4/game/core/pak01.vpk" (vpk) /home/steam/cs4/game/core/pak01.vpk
GAME "/home/steam/cs4/game/csgo/addons/metamod/bin/"
GAME "/home/steam/cs4/game/csgo/"
GAME "/home/steam/cs4/game/csgo_imported/"
GAME "/home/steam/cs4/game/csgo_core/"
GAME "/home/steam/cs4/game/core/"
GAMEBIN "/home/steam/cs4/game/csgo/addons/metamod/bin/bin/linuxsteamrt64/"
GAMEBIN "/home/steam/cs4/game/csgo/addons/metamod/bin/bin/"
GAMEBIN "/home/steam/cs4/game/csgo/bin/linuxsteamrt64/"
GAMEBIN "/home/steam/cs4/game/csgo/bin/"
GAMEBIN "/home/steam/cs4/game/csgo_imported/bin/linuxsteamrt64/"
GAMEBIN "/home/steam/cs4/game/csgo_imported/bin/"
GAMEBIN "/home/steam/cs4/game/csgo_core/bin/linuxsteamrt64/"
GAMEBIN "/home/steam/cs4/game/csgo_core/bin/"
GAMEBIN "/home/steam/cs4/game/core/bin/linuxsteamrt64/"
GAMEBIN "/home/steam/cs4/game/core/bin/"
GAMEROOT "/home/steam/cs4/game/"
MOD "/home/steam/cs4/game/csgo/pak01.vpk" (vpk) /home/steam/cs4/game/csgo/pak01.vpk
MOD "/home/steam/cs4/game/csgo_imported/pak01.vpk" (vpk) /home/steam/cs4/game/csgo_imported/pak01.vpk
MOD "/home/steam/cs4/game/csgo_core/pak01.vpk" (vpk) /home/steam/cs4/game/csgo_core/pak01.vpk
MOD "/home/steam/cs4/game/csgo/"
MOD "/home/steam/cs4/game/csgo_imported/"
MOD "/home/steam/cs4/game/csgo_core/"
PLATFORM "/home/steam/cs4/game/core/pak01.vpk" (vpk) /home/steam/cs4/game/core/pak01.vpk
PLATFORM "/home/steam/cs4/game/core/"
SHADER_SOURCE "/home/steam/cs4/src/shaders/csgo/addons/metamod/bin/"
SHADER_SOURCE "/home/steam/cs4/src/shaders/csgo/"
SHADER_SOURCE "/home/steam/cs4/src/shaders/csgo_imported/"
SHADER_SOURCE "/home/steam/cs4/src/shaders/csgo_core/"
SHADER_SOURCE "/home/steam/cs4/src/shaders/core/"
SHADER_SOURCE_MOD "/home/steam/cs4/src/shaders/csgo/addons/metamod/bin/"
SHADER_SOURCE_ROOT "/home/steam/cs4/src/shaders/"
command line arguments:
-dedicated -game csgo -usercon +game_type 1 +game_mode 2 +map de_inferno -dev +sv_setsteamaccount 76AB70EB43FED5A579AA03DCEEA5BCAE
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libmeshsystem.so, got 0x55710f9a3940
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libworldrenderer.so, got 0x55710f9b5e60
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libpulse_system.so, got 0x55710f9c8380
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libvscript.so, got 0x55710f9dcd60
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libnetworksystem.so, got 0x55710f9eee50
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libanimationsystem.so, got 0x55710fa03470
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libvphysics2.so, got 0x55710fa19350
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libsoundsystem.so, got 0x55710fa2c4c0
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libscenesystem.so, got 0x55710fa423a0
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libv8system.so, got 0x55710fa57a40
Network System Initialized
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libserver_valve.so, got (nil)
failed to dlopen /home/steam/cs4/game/bin/linuxsteamrt64/libserver_valve.so error=/home/steam/cs4/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory
failed to dlopen "/home/steam/cs4/game/bin/linuxsteamrt64/libserver_valve.so" error=/home/steam/cs4/game/bin/linuxsteamrt64/libserver_valve.so: cannot open shared object file: No such file or directory
Loaded libserver_valve.so, got (nil)
failed to dlopen libserver_valve.so error=libserver_valve.so: cannot open shared object file: No such file or directory
failed to dlopen "libserver_valve.so" error=libserver_valve.so: cannot open shared object file: No such file or directory
Loaded /home/steam/cs4/game/csgo/bin/linuxsteamrt64/libserver.so, got 0x55710fa71840
Physics Console Communications is not initialized
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libengine2.so, got 0x55710f83b470
Loaded /home/steam/cs4/game/csgo/bin/linuxsteamrt64/libhost.so, got 0x55710faa3140
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libscenefilecache.so, got 0x55710fab66d0
Loaded /home/steam/cs4/game/bin/linuxsteamrt64/libparticles.so, got 0x55710fac87d0
Loaded /home/steam/cs4/game/csgo/bin/linuxsteamrt64/libmatchmaking.so, got 0x55710fadc180
There are numerous installation guides which you can follow, like:
- https://wiki.alliedmods.net/Installing_metamod:source#Source_2
- https://cs2.poggu.me/metamod/installation/
Just in case someone comes across this thread, I had the same issue and couldn't figure out how to get meta mod running. Long story short, this was caused by me installing a second account "steam" as recommended by valve but having downloaded and moved the files via my main account, messing up the file permissions.
Check ls -l CS2PATH/game/csgo/ if the permissions and owner of addons matches the rest of the directories. If not, fix by
sudo chmod -R 755 CS2PATH/game/csgo/addons (in my case 755 matched the other directories) and
sudo chown -R steam:steam CS2PATH/game/csgo/addons (in my case user and group were both steam, this will also be listed for the other folders in the csgo directory if you use ls -l.
Sorry for bumping this but I searched for quite a while and for some reason never thought to check this. The missing libserver_valve.so didn't seem to have any effect on it working. Hope this helps someone. Btw, version 1348 worked for me (arch).