It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
Hi.
gog_afterlife_2.2.0.8.sh just causes DOSBOX to segfault on current Arch Linux.
Ideas?
avatar
hollunder: Hi.
gog_afterlife_2.2.0.8.sh just causes DOSBOX to segfault on current Arch Linux.
Ideas?
~~I can confirm this, and so far I've been unable to find a fix.~~


Ok, forcing to use the 32 bit dosbox did the trick, but I had to edit the dosbox script to force the ARCH variable, if someone has a better way to do this I would prefer it.
Post edited June 16, 2018 by nibodhika
I found running it in Wine of all things works nicely.
Works fine for me on slackware 14.1 (64 bit).

There is probably a library compatibility issue with your system and the version of dosbox provided with the game. You can try to use your system's dosbox to run the game instead.
I have that same problem with DOSBOX, provided with the game on Ubuntu 18.04. The game runs with embedded dosbox, but uses about 90% of CPU. Fan on my laptop work constantly, so I don't think it's a good idea to play afterlife on my machine.
On Ubuntu 18.04, I was getting the same segmentation fault error as stated in this thread. All I had to do was change the DOSBox command to use the system one in gog_com.shlib. For example, if the line says ./dosbox/dosbox, just change it to read dosbox. This is assuming you install DOSBox from the Ubuntu repositories. This works for me.
Similar in Arch linux. To do it right now (January 2022), first install dosbox in your system (Google that if you don't know how). Then in the installation folder there's a folder called `support` and inside a file called `gog_com.shlib`.

Open that file with a text editor.

If you scroll down (it's line 158 for me) there's a line that starts with:

run_dosbox() {

and then after a couple of lines one that starts with

./dosbox/dosbox -conf ...

That's the line you have to change. Basically, remove the first part so that it starts like so:

dosbox -conf

(ie. delete `/dosbox/`). And that's it.