#Hi guys. is there any way to run Sven Co-op on Ubuntu 20.04?

1 messages · Page 1 of 1 (latest)

drowsy quest
#

I have a lot of problems trying to run sven coop from linux, the first problem is libiconv... I have done some changes in LD_PRELOAD var... but I still having problems

hard anchor
#

libiconv shouldn't cause issues, mostly you get a message with something like "wrong elf" but that don't prevent game from launching.

What output you get when running from linux terminal?

#

There are some thing you can try, like adding -nosteamruntime parameter to the game launch settings or switching Steam compatibility tool to one of the Steam Native runtime options (sniper, scout, etc)

drowsy quest
#

undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev, version GLIBCXX_3.4.21

#

I'll try the parameter thanks

hard anchor
#

That error happens because the game was compiled on a specific environment that is newer than what Steam Linux Runtime is injecting.
Steam uses the Linux runtime 1.0 by default which was compiled in an older environment (with GCC 4.x I think) than ours (Debian Stretch, GCC 6.3), missing some symbols not available in the former, making our game run only in a native environment (no Steam runtime, using system side libraries) or a equal or newer equivalent of ours (Steam "soldier" 2.0 runtime probably can do).

#

You might have to install some libraries like libssl1.1, preferably grabbing a package manually and extracting its libraries into game directory. That dependency is gone in next update.

wide cloak
#

20.04 should run flawlessly. Do you mean 22.04?

#

Although you do need some 32 bit libraries if you run a 64-bit OS, which you most likely are.
dkpg --add-architecture i386
apt-get install libc6:i386
Those commands might help

drowsy quest
#

I think it was a sh problem because I copied hl.sh from half life and renamed it because it works... I have edited the var GAMEEXE=svencoop_linux and now I can run sven co-op

hard anchor
#

ah you're using OG HL launcher script

#

I never tried that, I just try to workaround these issues as much as I can in our launcher script svencoop.sh

drowsy quest
#

It was weird because Half Life works... but I can run Sven Co-Op now so I'm Happy thank you for your time guys

hard anchor
#

they're pretty different in terms of code execution, so you might be able to run HL out of box but Sven may not due to very many customizations made over the years.

#

but hey at least you got working! 🙂