CS2D General Workaround for Segmentation fault (core dumped) Workaround for Segmentation fault (core dumped)
5 repliesmrc User Online
A Discord user named FredyFired had this error and "solved" it using Proton on Steam.
If needed, to force enable Proton or a specific version of Proton for a game, right click on the game, click Properties > Compatibility > Force the use of a specific Steam Play compatibility tool, and select the desired version. Doing so can also be used to force games that have a Linux port to use the Windows version.
So if you're having this error you may give it a try. Also don't forget you'll still need to install the 32 bit libraries if your OS is 64 bit. Also don't forget to give chmod +x CS2D to make it executable. Last but not least, some recent versions of some distros stopped suporting 32 bit libraries (for example, Ubuntu 22.04), so make sure yours supports it.
Extra: if you're getting "error while loading shared libraries: libfreetype.so.6: cannot open shared object file: No such file or directory", please install: sudo apt install libfreetype6:i386 libopenal-dev:i386
Generally you get this error before the Segmentation fault (core dumped) @ mrc: i have little bit another problem. with native run on linux cs2d i am just dont have any sound from game. Try different drivers but your solution will work for me to dont with that. i use proton exp and all sound work good To make clear, that package libopenal-dev:i386
adds OpenAL sound support for CS2D. mrc User Online
@ MaksDragon: Good to hear that!
Also, FredyFired said that the portable Win version works flawlessly under Wine 8.1!
For those who are unable to run at all on Linux.
https://www.winehq.org/ Also, according to FredyFired, Wine 8.1 and the portable Windows version are both faultless!
For people who can't run anything on Linux Sometimes, surprisingly, wine performs better at virtualizing Windows games on Linux than playing them natively on Windows... Although the reasons for this are unclear (for me), the benchmarks prove it. It is likely due to the fact that Wine does not actually virtualize, but rather translates binaries between two different operating systems.
In any case, I was able to install CS2D (Linux) on Ubuntu and Zorin OS without encountering any major issues, and without having to compile the assets.