Page 1 of 1
can not find static path
Posted: Fri Mar 22, 2013 9:32 am
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?
Re: can not find static path
Posted: Fri Mar 22, 2013 10:05 am
by wjp
That should be ~/.exult.cfg
-Willem Jan
Re: can not find static path
Posted: Fri Mar 22, 2013 10:25 am
by Dominus
And if that was a spelling mistake, please give us your exult.cfg entries and the actual path to the games
Re: can not find static path
Posted: Sat Mar 23, 2013 7:16 pm
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?
Re: can not find static path
Posted: Sat Mar 23, 2013 8:12 pm
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
Re: can not find static path
Posted: Sat Mar 23, 2013 8:55 pm
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)
Re: can not find static path
Posted: Sat Mar 23, 2013 9:25 pm
by Ulf
I seem to be a bit distracted. It is and always was .exult.cfg. Sorry for the hassle.
Re: can not find static path
Posted: Sun Mar 24, 2013 3:23 am
by Dominus
Your cfg snippet also looks broken. is not an element of ...
Re: can not find static path
Posted: Sun Mar 24, 2013 3:25 am
by Dominus
@Paulo, why wouldn't this be a problem with your ppa? And please stop spamming it again and again.
Re: can not find static path
Posted: Sun Mar 24, 2013 4:04 am
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'
Re: can not find static path
Posted: Sun Mar 24, 2013 7:45 am
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.
Re: can not find static path
Posted: Sun Mar 24, 2013 8:07 am
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.
Re: can not find static path
Posted: Sun Mar 24, 2013 8:18 am
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.
Re: can not find static path
Posted: Sun Mar 24, 2013 9:03 am
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...
Re: can not find static path
Posted: Sun Mar 24, 2013 9:11 am
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.