Problem Exult and Linux

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Buedi

Problem Exult and Linux

Post by Buedi »

Hi all!

I have a problem getting Exult running under my SuSE 7.3. Under Windows it runs perfectly, but I want to play it on my Laptop.
I copied all the Files from my Windows System (BG / SI and so on) on my Linux system and altered the .exult.cfg in my Home Dir. When I start exult, I can choose "The Black Gate", see the Intro and create a new player. But when the Game should start (after the "Red" screen) it stops. Below I post the console Output. Maybe this helps you. I start the game as root, so no permission problems should occur.

====snip========snip========
base:/usr/games # ./exult
Exult V0.96beta1.
Data path = /usr/share/games/exult
is_installed: /usr/games/exult.files/bg/static/endgame.dat
is_installed: ./static/sispeech.spc
setting game directories to: /usr/games/exult.files/bg
Starting a BLACK GATE game
is_installed: ./static/sispeech.spc
Skin is: 3 Sex is: 0
Creating 'gamedat' files.
creating dir: /usr/games/exult.files/bg/gamedat/Loading exult.flx...
Loading /exult_bg.flx...
Exception attempting to load Serpent Isle 'paperdol.vga', 'gumps.vga' or 'shapes.vga'
Do you have Serpent Isle and is the correct path set in the config for Serpent Isle?
Support for 'Serpent Isle' Paperdolls and Multiracial Avatars in 'Black Gate' DISABLED.
Loading default keybindings
player
Error reading saved monsters. Clearing list.
Exult Exception: Error opening file /usr/games/exult.files/bg/gamedat/schedule.dat
Trying /schedule.dat
./exult: error while loading shared libraries: ./exult: undefined symbol: __dynamic_cast_2
====snip========snip========

I hope there is somebody out there who can help me.
Thank you very much in advance.

cu...

buedi!
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: Problem Exult and Linux

Post by drcode »

Sounds like a library mismatch. Did you install Exult from the .rpm? It may be that you'll have to build Exult on your laptop from source.
buedi

Re: Problem Exult and Linux

Post by buedi »

Yes, I installed from the RPM... the newest Version I could get from the Exult Homepage. I even installed the actual SDL Lib. Abuse.sdl works great. But I don´t want to play abuse... I want to play exult :-)
Are there some Libs I should look for (Version numbers)?
nadir
Site Admin
Posts: 407
Joined: Thu May 14, 2020 1:34 pm

Re: Problem Exult and Linux

Post by nadir »

It's most probably a mismatch of C++ libraries. Your best bet is to download the source rpm and rebuild with

rpm --rebuild exult-0.96beta1-1.src.rpm

Or something to that effect...
buedi

Re: Problem Exult and Linux

Post by buedi »

I tried that... but when it should compile I got some error messages that something´s wrong with the C++ compiler. Compiling the Linux Kernel worked great. When I have time (maybe next Weekend) I will research this... I think that there are missing some Libs or something like that.

If there are special Libs needed by Exult, maybe someone can post them. Then I mustn´t try every package from the D-Series of my SuSE Distribution :-)

Thank you for the Tip with compiling my own Exult. I think I am closer to a solution for my problem now ;-)


cu...

buedi!
nadir
Site Admin
Posts: 407
Joined: Thu May 14, 2020 1:34 pm

Re: Problem Exult and Linux

Post by nadir »

When Exult's configure runs it looks for all required libraries and tells you if you're missing any.
At any rate you need the following:

Exult: gcc, g++, libstdc++, libstdc++-devel, SDL, SDL-devel
GIMP plugin: glib, glib-devel, gtk+, gtk+-devel, gimp, gimp-devel
ExultStudio: libglade, libglade-devel

If compiling from CVS you also need

automake, autoconf, libtool
buedi

Re: Problem Exult and Linux

Post by buedi »

Thank you very much for the great help!!!
Maybe I find time on weekend to give it another try... with your detailed help it MUST work. Otherwise the problem is me :-))


cu...

buedi!
buedi

Re: Problem Exult and Linux

Post by buedi »

AAARRGGHH!!! It still doesn't work :-((
I have installed all the Packages you mentioned above. The ./configure runs now without error messages. But when I do a ./make, it compiles for a few minutes and when it gets to the gtk1.2 it exits with an error message. I cut & paste the last lines from my make here:

====snip======snip========
/usr/include/gtk-1.2/gdk/gdkprivate.h:283: syntax error before `;' token
In file included from paledit.cc:31:
/usr/include/gtk-1.2/gdk/gdkx.h:53: `VisualID' was not declared in this scope
/usr/include/gtk-1.2/gdk/gdkx.h:53: parse error before `)' token
/usr/include/gtk-1.2/gdk/gdkx.h:56: `Colormap' was not declared in this scope
/usr/include/gtk-1.2/gdk/gdkx.h:56: parse error before `)' token
/usr/include/gtk-1.2/gdk/gdkx.h:59: `Display' was not declared in this scope
/usr/include/gtk-1.2/gdk/gdkx.h:59: `dpy' was not declared in this scope
/usr/include/gtk-1.2/gdk/gdkx.h:60: `Window' was not declared in this scope
/usr/include/gtk-1.2/gdk/gdkx.h:60: parse error before `)' token
make[2]: *** [paledit.lo] Error 1
make[2]: Leaving directory `/home/krass/downloads/exult-0.96beta1/mapedit'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/krass/downloads/exult-0.96beta1'
make: *** [all-recursive-am] Error 2
====snip======snip========

First I thought, that I have installed the wrom GTK. But it is the latest Version (1.2.10). Maybe the error is me, but I hope you can give me another tip. I'd love playing exult on my linux Laptop :-/

Thank you very much in advance!


cu...

buedi!
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: Problem Exult and Linux

Post by drcode »

Seems like it's not pulling in the X headers when trying to build exult studio. Not sure what's going on, but a workaround that should build exult itself is to run:
"make -k"

The -k tells make to keep going even if there are errors.
buedi

Re: Problem Exult and Linux

Post by buedi »

Hey!!! X was the word :-)
I tried to install all the X-Devel Libs I could find in my SuSE Distri. Now it builds!!!
Great! The only thing I think is curious: My built Exult has around 21MB and not only 2.x MB like the bin I downloaded from your page. What´s wrong here? Why is it THAT big? Any chance to compress it?

Thank you for your great help!! Now I can play Exult every night when I go to bed on my little Toshiba Laptop :-))
It is a little bit choppy, but it is OK. It makes just fun :-)
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Problem Exult and Linux

Post by wjp »

If you run 'strip' on it, it should become its normal size.
drcode
Site Admin
Posts: 2267
Joined: Thu May 14, 2020 1:34 pm

Re: Problem Exult and Linux

Post by drcode »

You could do a 'strip exult'. Maybe you built with debug info.
buedi

Re: Problem Exult and Linux

Post by buedi »

You guys are great! Now it has a "normal" size :-)
A big "Thank you very very much" goes to all the developers of exult. It is a really great piece of software! I love it!!!
Locked