can not find static path

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
Ulf

can not find static path

Post by Ulf »

Hi there,

I try to play Ultima7. I have installed the svn version on arch linux and have first run exult to generate a cfg and the edited the paths. But exult cannot see them and throws an error and ends then.

It seems to ignore the ~/.exult/cfg. I started exult from console and it did not even search there.

Why o why?
wjp
Site Admin
Posts: 1708
Joined: Thu May 14, 2020 1:34 pm

Re: can not find static path

Post by wjp »

That should be ~/.exult.cfg

-Willem Jan
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: can not find static path

Post by Dominus »

And if that was a spelling mistake, please give us your exult.cfg entries and the actual path to the games
--
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!
Ulf

Re: can not find static path

Post by Ulf »

Whoops, it is a typo. Of course it is ~/exult.cfg

...

...

200



/home/i/.exult/blackgate/




/home/i/.exult/serpentisle/



...



In the meantime i have just copied it over to /usr/share/exult and that works (exult hangs itself up, which is another topic)

I can of course post the full exult.cfg, but the output from terminal says:

Exult version 1.5.0svn
Built at: Mar 19 2013 22:14:44
Compile-time options: USE_TIMIDITY_MIDI, USE_FMOPL_MIDI, USE_ALSA_MIDI, HAVE_ZIP_SUPPORT
Compiler: gcc, version: 4.7.2

Platform: Linux version 3.8.3-2-ARCH
Exult path settings:
Data : /usr/share/exult
Digital music : /usr/share/exult/music

Looking for 'blackgate' at '/usr/share/exult/blackgate'... found game with identity 'FORGE'
Looking for 'forgeofvirtue' at '/usr/share/exult/forgeofvirtue'... but it wasn't there.
Looking for 'serpentisle' at '/usr/share/exult/serpentisle'... found game with identity 'SILVER SEED'
Looking for 'silverseed' at '/usr/share/exult/silverseed'... but it wasn't there
...

I suppose it does not even look at ~/exult.cfg?
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: can not find static path

Post by Dominus »

No, it never looks at ~/exult.cfg on linux.
As Wjp wrote, the cfg is at ~/.exult.cfg
Mind the ".", meaning it is a hidden file.
http://exult.info/docs.php#exult_config_location
--
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!
paulo

Re: can not find static path

Post by paulo »

This wouldn't be a problem if you used this ppa:
https://code.launchpad.net/~exult-team/ ... xult-daily

(if you're in ubuntu, not sure how it works in debian, mint or whatever)
Ulf

Re: can not find static path

Post by Ulf »

I seem to be a bit distracted. It is and always was .exult.cfg. Sorry for the hassle.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: can not find static path

Post by Dominus »

Your cfg snippet also looks broken. is not an element of ...
--
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: can not find static path

Post by Dominus »

@Paulo, why wouldn't this be a problem with your ppa? And please stop spamming it again and again.
--
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: can not find static path

Post by Dominus »

I'm not a linux user but so far I was under the impression that home is an environment variable and not a path. Does it work if you enter
cd /home/i/.exult
in terminal or bash or whatever?

Edit: At least on OS X 'cd /home' gives me a different result than 'cd $HOME'
--
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!
Ulf

Re: can not find static path

Post by Ulf »

@DominusMobile1, that interesting, because exult was preinstalled with that cfg and sets it up in case i remove it automatically. I will rewrite a cfg manually and place it there write-protected and look what happens.

I will report back then. Thank you for your fast replies, btw.
Ulf

Re: can not find static path

Post by Ulf »

I have more or less solved the problem. I have copied the sample exult.cfg and edited all entries and removed the comments. Exult now uses those paths, but it can not start.

I can post the whole cfg if you like.

Since this is another problem, i would need help with, i would like to open a new thread.
Ulf

Re: can not find static path

Post by Ulf »

Thank you all for your help. It is done. I had to activate digital music, since i did not go through the hassle to configure mide through timidity and the likes. It works.

I do not know for sure, what went wrong in the first place. I think i was just too sleepy, when i changed paths.

Sorry to bother you, since it was all my fault. Thanks again.
Dominus
Site Admin
Posts: 5656
Joined: Thu May 14, 2020 1:34 pm

Re: can not find static path

Post by Dominus »

because exult was preinstalled with that cfg
preinstalled? This cannot be good...

Also don't set exult.cfg to be write protected. setting things in game will not work then...
--
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!
Ulf

Re: can not find static path

Post by Ulf »

@ Dominus everything is fine now. I think i messed the cfg up. Saw and just copied the path stuff there, because i thought it belonged here. But i did not see the other section later on, where the path is set for real. It is my fault, really.
Locked