English Workaround for Segmentation fault (core dumped)

5 replies
Goto Page
To the start Previous 1 Next To the start
Up
mrc
User
Offline Off
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.

IMG:https://cdn.discordapp.com/attachments/322860456769355777/1071829674956701767/image.png


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)
IMG:https://cdn.discordapp.com/attachments/1048445028361584671/1064255558372302979/cs2dbr.png
05.02.23 09:17:21 pm
Up
MaksDragon
User
Offline Off
@user 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
IMG:https://www.gs4u.net/en/350x20/s/267927.png
05.02.23 10:59:04 pm
Up
Hajt
User
Offline Off
To make clear, that package
libopenal-dev:i386
adds OpenAL sound support for CS2D.
06.02.23 04:59:52 am
Up
mrc
User
Offline Off
@user 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/
IMG:https://cdn.discordapp.com/attachments/1048445028361584671/1064255558372302979/cs2dbr.png
17.02.23 08:01:43 pm
Up
rubismith
User
Offline Off
Also, according to FredyFired, Wine 8.1 and the portable Windows version are both faultless!
For people who can't run anything on Linux
22.02.23 11:00:46 am
Up
Gaios
Reviewer
Offline Off
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.
To the start Previous 1 Next To the start