Exult on Linux doesn't show paperdolls.

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
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Exult on Linux doesn't show paperdolls.

Post by Blah »

Hey there, I have recently download the latest version of the 1.1 CVS source for Exult and I compiled it with no worries (after I downloaded all the appropiate libraries) and I was wondering how I can get the paperdolls function to work (I'll try sound later)

Here's what I did in the unzipped folder of the Exult source...

# sh autogen.sh
# ./configure
# make

(At this point I had received no errors that halted the compile stage)

Rather than typing 'make install' I decided to use a handy little program called 'checkinstall'. This basically runs 'make install' and creates a package from it, so I can keep track of what I have installed (via 'pkgtool').

# checkinstall
(checkinstall created the package and installed it)

Now at this point I could go into where my Ultima7 location was and type exult and it would work fine. However Paperdolls do not work, and I assume that the graphics for those paperdolls are arn't in there right places or arn't there at all. Also, I cannot seem to find 'exult.cfg' in either my Ultima7 directory or my exult directory (this would be /usr/local/share/exult/).

I did read throught the FAQ and the Documentation for anything concerning linux and this hasn't come up. Oh and btw, I run Slackware 8.1 and have installed all the required libraries for exult to compile (SDL, SDL Mixer, Timidty etc...) Any help on this would be greatly appreciated.
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by wjp »

.exult.cfg is in your home directory on linux
(~/.exult.cfg)

Modify this according to the docs to set the proper path for both BG and SI, and you'll be able to use the SI-style paperdolls in BG.

(And in addition you'll be able to run exult from anywhere)
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Blah »

I ask myself, why are the answers so obvious? heh, I'm such a newbie
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Blah »

Oh yeh and one more problem... This was set in my config file by default and yet it still does not work.


yes
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by wjp »

Does it say anything in the console output about not being able to find SI files?
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Blah »

Umm... now I feel like an even bigger fool. I saved the file putting the paths for each game, and now the paperdolls work.

Thanks wjp :)
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Dominus »

From the ducumentation:
2.2. Settings in exult.cfg
...
If you do not already have a configuration file, Exult will make one for you filling in sensible defaults by itself. The location of this file varies slightly. On UNIX systems you can expect to find it in $HOME/.exult.cfg while other operating systems will probably locate it as 'exult.cfg' in the same directory as the Exult binary.

---------
Is this really written so badly that no one understands this? And I don't write this to mock you, just to make it more understandable.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Blah »

nah I probably forgot that I read it.

Well now that everything else is in working order, I want to try and get the sound to work. I have compiled Timidity and I'm stuck as to what I should do now. Perhaps if has something to do with /etc/rc.d/rc.modules ?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Dominus »

*not knowing exactly much about such systems* I think that you need to compile Exult with timidity.
Then make sure that timidity.cfg is in /usr/local/lib/timidity/ then you should be ready to go...
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Blah »

compile exult with timidity? :/
I managed to get sound effects to work by the jmsfk.flx and jmsisfx.flx.
I have a sound blaster live and the FAQ said that I need the ALSA drivers to get it running. Well I have ALSA and all it's components installed (despite vauge and crap documentation). Now what?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Dominus »

ök, again take notice that I don't know much about Unix-style systems but I got the the feeling that it is important for Exult and timidity to work together on such systems, timidity needs to be "installed" beforehand (I got the impression it got compiled *after* exult on your system) so configure finds it and compiles support for timidity into Exult.
Does this make sense to you?
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Dominus »

grrr, these damn SF server problems really messed up a long post!

What I wanted to write:
For the 1.1.x version of exult you don't need timidity as in that branch we have digital music.
For more information read the file "readme" or "/docs/readme.html" in the source.
One notice though, the readme that comes with the digital music is very Win32 specific. The files need to go into the subdir music of the exult shared dir.
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Blah »

Ahh... I see.
Well I think I did install timidity after exult, in anycase I am using the 1.1 CVS snapshot so what you just said about 1.1 not needing timidity, I will now uninstall it. btw, ALSA is installed should exult pick these changes up?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Dominus »

I really hope that someone with more knowledge can now jump in and tell you more. I'm past overdue for a good sleep!
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Blah »

hehe, thanks anyway :) I'm running the game with paperdolls and sound effects, just not music (not sure about voices). You've helped me heaps already.
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Blah »

Well that's just confirmed, voices work fine. now that paperdolls and sound is out of the way, I must discover how listen to music. I've downloaded smurf and compiled it, so I'm gonna have a little tinker with an awesome soundfont I was using back in the old windows xp days.
SB-X
Posts: 980
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by SB-X »

in anycase I am using the 1.1 CVS snapshot
I must discover how listen to music
Download these packages:
http://prdownloads.sourceforge.net/exul ... p?download
http://prdownloads.sourceforge.net/exul ... p?download

And, as Dominus said, unzip the files into the directory "music" under your Exult data directory.
In Exult, select music conversion->digital.
IMO this is the best option but you may like to try the other music conversions.
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Blah »

Im doing this now.... thanks SBX I totally forgot about the ogg implementation for 1.1.
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by wjp »

In 1.1.x, we're using timidity through SDL_mixer. So you only need a set of patches for timidity, and not the actual timidity binary. Also, like Dominus said, SDL_mixer looks for the timidity.cfg file in /usr/local/lib/timidity, by default.
Blah
Posts: 32
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Blah »

I am now using digital conversion and it's working quite well. But it'd be really nice if there were a volume control for it because when I turn it up to listen to it, my game sounds are incredibably loud.
And also, how do I get OpenGL to run? when I switch to it says in the console 'Open GL not supported'. Is this because you guys are just experimenting with it? Perhaps I need to download something. I've got the latest video card drivers for my Geforce so no problems there.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: Exult on Linux doesn't show paperdolls.

Post by Dominus »

volume problem: try the volume cureve setting. this may help
opengl: higly experimental and needs special defines on compiling. Don't ask me which :-)
--
Read the documentation and the FAQ! There is no excuse for not reading them! RTFM
Read the Rules!
We do not support Piracy/Abandonware/Warez!
Locked