|
2010-10-29
, 10:44
|
Posts: 5 |
Thanked: 2 times |
Joined on May 2010
|
#42
|
|
2010-10-29
, 11:17
|
Posts: 111 |
Thanked: 110 times |
Joined on Mar 2010
|
#43
|
|
2010-10-29
, 16:18
|
Posts: 5 |
Thanked: 2 times |
Joined on May 2010
|
#44
|
The Following User Says Thank You to Tailbone For This Useful Post: | ||
|
2010-10-29
, 19:06
|
Posts: 111 |
Thanked: 110 times |
Joined on Mar 2010
|
#45
|
|
2010-10-29
, 22:12
|
Posts: 5 |
Thanked: 2 times |
Joined on May 2010
|
#46
|
|
2011-03-07
, 10:29
|
|
Posts: 1,107 |
Thanked: 720 times |
Joined on Mar 2007
@ Germany
|
#47
|
|
2011-03-07
, 20:05
|
Posts: 111 |
Thanked: 110 times |
Joined on Mar 2010
|
#48
|
strace sez...
open("/home/user/MyDocs/games/Albion/cd/albion/\r/xldlibs/fonts0.xld", O_RDONLY) = -1 ENOENT (No such file or directory)
you got a problem with that config parsing man... looks to me like that \r is screwing things up
---------------
edit: got it to run. edited /home/user/.config/albion/albion.cfg to have a gamedir = . then ran /opt/usr/games/albion from the shell with current working directory being the Albion/cd/albion directory
The Following User Says Thank You to lukash For This Useful Post: | ||
|
2011-03-07
, 22:10
|
|
Posts: 1,107 |
Thanked: 720 times |
Joined on Mar 2007
@ Germany
|
#49
|
[SYSTEM]^M VESA=Y^M FPU=Y^M SOURCE_PATH=.\CD\ALBION\^M LANGUAGE=2^M ...
[SYSTEM]^M VESA=Y^M FPU=Y^M SOURCE_PATH=.\CD\ALBION\ LANGUAGE=2^M ...
|
2011-03-08
, 09:57
|
Posts: 111 |
Thanked: 110 times |
Joined on Mar 2010
|
#50
|
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
to:Code:[SYSTEM]^M VESA=Y^M FPU=Y^M SOURCE_PATH=.\CD\ALBION\^M LANGUAGE=2^M ...
fixes the \rCode:[SYSTEM]^M VESA=Y^M FPU=Y^M SOURCE_PATH=.\CD\ALBION\ LANGUAGE=2^M ...
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.
Now the only thing you need to do is copy the XLDLIBS directory from the <CD>/ALBION location (note: not the XLDLIBS you may have installed on your PC, that one doesn't contain all files) directly to the game directory. So if you didn't change the path, you need to have this: MyDocs/games/Albion/XLDLIBS. Thats all.
The setup.ini will be created by default (and the current one will be respected if you already have it set up the old way), the saves directory too.
There is now also the Albion Demo package, containing the demo files. To play the demo, all you need is to install this package and it will work. The demo files are loaded automatically if you don't have the <CDPATH>/XLDLIBS directory, otherwise this one is used.
(The demo currently crashes at the end. I don't think I can do anything about that, it probably happened with the original author's version too. Its not such a big problem.)
Testing of the installation process and both the demo and full game gameplay is highly welcome. There is a real chance I messed something up while doing the hacks... Please report any error you find here.
Next up is implementing the pause when the window loses focus and then I will try to promote the package to Extras (and most probably be done with it).
Enjoy.
EDIT: I should also mention, that due to the hacks the game now exits with an error every time you quit it. It doesn't seem to affect the gameplay in any way though. Please see the somewhat updated first post for more info.
Albion for N900
case file manager
Last edited by lukash; 2010-10-28 at 15:52.