Thread: Albion for N900
View Single Post
ArnimS's Avatar
Posts: 1,107 | Thanked: 720 times | Joined on Mar 2007 @ Germany
#49
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.

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.

cheers! this is one of the great games.
__________________
find . -name \*.mp3 -exec mplayer -quiet -shuffle "{}" +
das ist your media player, and yuu vill like it