View Single Post
Posts: 44 | Thanked: 15 times | Joined on Jan 2009 @ China
#192
Thanks for this port! However, I still have not been able to get it to run because I keep getting the "The Jagged Alliance 2 data files were not found on either memory card" message.

I bought JA2 onsale from GOG recently and downloaded it from Steam and installed it in Vista. I then copied the "Data" folder (860.5 MB) onto a flash drive and transferred it to my n810 (running Diablo) via the micro USB port.
I trolled this forum and have tried the following steps:

1. I had installed "Data" to /media/mmc2/ because there is slightly more room there--I have a recent version of Wikipedia for Aard Dictionary taking up most of the room on /media/mmc1. I ran the maemo Jagged Alliance 2 port to create the /home/user/.ja2 folder. I then tried to create the ja2.ini file with the echo command in xterm. (I first put the Data folder in /media/mmc1/share/ja2data because a few other game program data files were already in the "share" folder; later I moved the game data to /media/mmc2/ja2data/Data). I used the basic format: echo "data_dir=/media/mmc2/share/ja2data">/home/user/.ja2/ja2.ini". I tried all these variations for the ja2.ini without success:

data_dir=/media/mmc2/share/ja2data
data_dir=/media/mmc2/share/ja2data/Data
data_dir=/media/mmc2/ja2data
data_dir=/media/mmc2/ja2data/
data_dir=/media/mmc2/ja2data/Data/

(I also checked the contents of the ja2.ini file with Leafpad to make sure that the echo command worked correctly).

2. I checked the permissions for the "Data" directory. The folder and all its contents have "user" as the Owner and "root" as the group.

3. I allowed all permissions for the "Data" and "ja2.ini" files in /home/user/.ja2. I did this using:

chmod a+rwx Data
chmod a+rwx ja2.ini

4. I ran "ja2" in xterm and got the following error:

Code:
~ $ ja2
ERROR: Failed to open "/some/place/where/the/data/is/Data/data.slf"
ERROR: caught unhandled exception:
Initialising libraries failed
~ $
5. I un-capitilized the Data.slf and Ambient.slf files in the "Data" folder. However, I still get the same error as in my step #4.

--UPDATE--
Before I posted this thing, I checked the ja2.ini file one more time and I was surprised to see:

Code:
#Tells ja2-stracciatella where the binary datafiles are located
data_dir = /some/place/where/the/data/is
I don't understand how that happened. So I just changed it with Leafpad (I did a cp ja2.ini /media/mmc2/ja2.ini command to put it where Leafpad could see it and then copied it back afterwards):

Code:
#Tells ja2-stracciatella where the binary datafiles are located
data_dir = /media/mmc2/ja2data/
and now it works!! Thanks to the previous posters for your good tips!
 

The Following User Says Thank You to Palmleavr For This Useful Post: