Thread: Albion for N900
View Single Post
Posts: 111 | Thanked: 110 times | Joined on Mar 2010
#50
Originally Posted by ArnimS View Post
SETUP.INI comes from the Albion game data - of course it has CRLF but even your setup.cfg has CRLFs. Something is odd about how albion builds the string from setup.ini.
If you mean my ~/.config/albion/albion.cfg, no, I'm pretty sure it doesn't contain CRLF. If yours does, it was you who introduced it. Can't speak for your SETUP.INI, but mine doesn't contain it either. Nor does the one from the demo.

Originally Posted by ArnimS View Post
Editing setup.ini from

Code:
[SYSTEM]^M
VESA=Y^M
FPU=Y^M 
SOURCE_PATH=.\CD\ALBION\^M
LANGUAGE=2^M 
...
to:
Code:
[SYSTEM]^M
VESA=Y^M
FPU=Y^M 
SOURCE_PATH=.\CD\ALBION\
LANGUAGE=2^M 
...
fixes the \r
and the game loads from shell and gui.
If you could printf / cout the string passed to
open("/home/user/MyDocs/games/Albion/cd/albion/\r/xldlibs/fonts0.xld", O_RDONLY)
to the console or better yet to the gui, people can see the actual path that is built from albion.cfg and setup.ini.
I really see no need for that. You can figure out how the path is built by reading the instructions. Using the last version the setup is really simple and you don't need to do anything but copy a folder from the game CD.

Originally Posted by ArnimS View Post
cheers! this is one of the great games.
Yeah enjoy
__________________
Albion for N900
case file manager