Build problem for Mac OS X
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Re: Build problem for Mac OS X
No luck getting it to locate the BG data files by setting the absolute pathway in the config file. How come there is no already a config file in the folder?
Re: Build problem for Mac OS X
putting the config file in my home directory has no effect. Could you post a copy of your config file for comparison?
Re: Build problem for Mac OS X
try following my instructions from 03-22-03 02:54
both versions 1.1.x and 1.0.0 use the config file in your home dir. not in the current folder from that you start exult.
Assuming your username is 'nova', the exult uses the following config config file: /Users/nova/.exult.cfg
my config file can be downloaded at:
http://www.stud.uni-hannover.de/~kleineb/.exult.cfg
both versions 1.1.x and 1.0.0 use the config file in your home dir. not in the current folder from that you start exult.
Assuming your username is 'nova', the exult uses the following config config file: /Users/nova/.exult.cfg
my config file can be downloaded at:
http://www.stud.uni-hannover.de/~kleineb/.exult.cfg
Re: Build problem for Mac OS X
Again, no effect, even when in my home directory.
Your config file is not there.
Your config file is not there.
Re: Build problem for Mac OS X
I know that I must be doing something wrong here, but maybe you can help me. Let's assume that I have downloaded and uncompressed the 1.1 package. I have placed the resulting folder in my Applications folder, and into that I have placed my "blackgate" and "serpentisle" folders, within each of which are the "static" and "gamedat" folders.
In addition, I have placed the "exult.cfg" file in my home directory, though it is not currently properly set up to run the game.
Now, what exactly do I need in my config file to correctly let Exult know where everything is? Also, is there somewhere that I need to set a path so that Exult knows where my config file is?
Maybe you can help me out by just posting a clip from your config file.
In addition, I have placed the "exult.cfg" file in my home directory, though it is not currently properly set up to run the game.
Now, what exactly do I need in my config file to correctly let Exult know where everything is? Also, is there somewhere that I need to set a path so that Exult knows where my config file is?
Maybe you can help me out by just posting a clip from your config file.
Re: Build problem for Mac OS X
> In addition, I have placed the "exult.cfg" file in my home directory
The file is supposed to be named ".exult.cfg". Note the leading dot.
The file is supposed to be named ".exult.cfg". Note the leading dot.
Re: Build problem for Mac OS X
OSX does not allow filenames to begin with a dot. There's no way I can do it. Why is this now necessary?
What do you suggest?
What do you suggest?
Re: Build problem for Mac OS X
I have no idea. Just repeating what Marc said
Re: Build problem for Mac OS X
You most definitly *can* create files starting with a dot in Mac OS X. Those files are then (as on all Unix systems) invisible.
And normally, "exult.cfg" (w/o a leading dot) works fine over here (with my own build; I didn't try the build used here).
And normally, "exult.cfg" (w/o a leading dot) works fine over here (with my own build; I didn't try the build used here).
Re: Build problem for Mac OS X
Here's the logic for which config file we read:
if XWIN is defined, and BEOS isn't defined, use $HOME/.exult.cfg
if XWIN and BEOS are defined, use $HOME/config/settings/exult.cfg
(If the HOME environment variable is set. Otherwise it falls back to exult.cfg)
Otherwise, use exult.cfg
(By "if XYZ is defined", I mean if it was defined during the build process)
if XWIN is defined, and BEOS isn't defined, use $HOME/.exult.cfg
if XWIN and BEOS are defined, use $HOME/config/settings/exult.cfg
(If the HOME environment variable is set. Otherwise it falls back to exult.cfg)
Otherwise, use exult.cfg
(By "if XYZ is defined", I mean if it was defined during the build process)
Re: Build problem for Mac OS X
I find it unaesthetic that a exult.cfg (w/o leading dot) appears when I start exult. So I modified the sources, that OSX is treaded linke Linux, so that exult will use the ~/.exult.cfg (w/ a leading dot in the home dir).
As Fingolfin said these files are invisible, but they can be opened with normal editors....
As Fingolfin said these files are invisible, but they can be opened with normal editors....
Re: Build problem for Mac OS X
Ah, so you modified that logic
Feel free to ignore my post, then
Feel free to ignore my post, then
Re: Build problem for Mac OS X
....in a shell a the 'dotfiles' can be displayed with 'ls -a', or 'ls -la'
Re: Build problem for Mac OS X
Btw, I don't want to sound too pedantic, but if you distribute Exult binaries from modified sources, you have to make the sources available too because of the GPL. (Or for example a patch against the version of Exult you used.)
If the config file thing is the only thing you changed it should be a very tiny patch
If the config file thing is the only thing you changed it should be a very tiny patch
Re: Build problem for Mac OS X
Okay, this may all be beyond me. I think I am just going to have to wait for Apple to address the bug that is preventing the official binary release.
Thanks for the effort, anyway.
Thanks for the effort, anyway.
Re: Build problem for Mac OS X
Okay that GPL thing....
I made a diff, takes less space than the sources...What about regenerated configure script and Makefiles with the *auto tools? I have modified my libstdc++ and compiler what does GPL say to this?
http://www.stud.uni-hannover.de/~kleine ... 0-patch.gz
http://www.stud.uni-hannover.de/~kleine ... s-patch.gz
BTW: a patch against the 1.0 version (including the new makefiles...) _was_ available on my PC (see message from 02-02-03 11:52). It was, cause I installed my PC new, but didn't setup the webserver again....
I made a diff, takes less space than the sources...What about regenerated configure script and Makefiles with the *auto tools? I have modified my libstdc++ and compiler what does GPL say to this?
http://www.stud.uni-hannover.de/~kleine ... 0-patch.gz
http://www.stud.uni-hannover.de/~kleine ... s-patch.gz
BTW: a patch against the 1.0 version (including the new makefiles...) _was_ available on my PC (see message from 02-02-03 11:52). It was, cause I installed my PC new, but didn't setup the webserver again....
Re: Build problem for Mac OS X
it works good for me....but I'm not sure what I did to make it work...I just threw all the files into one folder.
Re: Build problem for Mac OS X
Curse you.
Could you post the section of your config file that lists the pathways for the various files and folders?
Could you post the section of your config file that lists the pathways for the various files and folders?
Re: Build problem for Mac OS X
OKAY! I finally got the 1.1 build working. I had no idea that the config file was going to be invisible and that I would have to edit it via the command line (I still don't know how to make invisible items visible in OSX).
Why is it that the config file is invisible and in the home directory in this build? Will it always be this way?
By the way, I'm trying to get SDL installed on my machine so I can get the Ultima IV remake running, but I have no idea what I'm doing. Does anyone know the location of a good SDL on OSX tutorial?
Why is it that the config file is invisible and in the home directory in this build? Will it always be this way?
By the way, I'm trying to get SDL installed on my machine so I can get the Ultima IV remake running, but I have no idea what I'm doing. Does anyone know the location of a good SDL on OSX tutorial?
Re: Build problem for Mac OS X
congratulations!
to summarize this thread:
I have changed the sources to use the '.exult.cfg' (w/ leading dot) in the home directory, cause I don't like a config file floating around. A file with a leading dot is always 'invisible' on OS X, as on all Unix-ish systems. Fingolfin thought yesterday of putting the config file in an official exult in OS X's standard path for config files (~/Library/Preferences/Exult Preferences)
to summarize this thread:
I have changed the sources to use the '.exult.cfg' (w/ leading dot) in the home directory, cause I don't like a config file floating around. A file with a leading dot is always 'invisible' on OS X, as on all Unix-ish systems. Fingolfin thought yesterday of putting the config file in an official exult in OS X's standard path for config files (~/Library/Preferences/Exult Preferences)
Re: Build problem for Mac OS X
A little thread necromancy here
Just to say Apple finally released an update for the December 2002 tools, you can get it from there
http://developer.apple.com/tools/
Hope it will fix the previous issue.
Best regards.
Just to say Apple finally released an update for the December 2002 tools, you can get it from there
http://developer.apple.com/tools/
Hope it will fix the previous issue.
Best regards.
Re: Build problem for Mac OS X
Yes, they fixed the issue
Re: Build problem for Mac OS X
Does this mean we will soon see an "Official" OSX release of Exult 1.1 on the downloads page? Can it be?
Re: Build problem for Mac OS X
The chances are you will se an official 1.0 and when we release a version of the 1.1.x tree of that one as well...
--
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!
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!
Re: Build problem for Mac OS X
Cool. Since I'm already using a painstakingly compiled version from the 1.1.x tree (thanks to this thread) I'll just wait until that one.
Thanks guys!
Thanks guys!