Home » PLAYER'S HQ 1.13 » JA2 Complete Mods & Sequels » Stracciatella Project (Platform Independent JA2) » File Naming Convention on Linux (and crashes)
File Naming Convention on Linux (and crashes)[message #263035] Sun, 19 September 2010 21:28 Go to next message
Enverex is currently offline Enverex
Messages:1
Registered:September 2010
Hi, I'm currently trying to get the game working on Linux and it seemed to be going well (after renaming all files to lowercase in the Data folder) but there is something else tripping it up. Every time the chopper goes to land (after hiring my first Merc) the game crashes with:


ERROR: caught unhandled exception:
Opening file failed
Creating an emergency savegame succeeded (error.sav).
Please report this error with a description of the circumstances. Do not forget to attach the savegame.


Doesn't matter who I pick or what I do. This is at the very start of the game. Basically I choose to start a game, pick a Merc (any) then press the time compression option, it goes to the map, I hear the chopper then poof. Game disappears with that message. Annoyingly I don't know which file it can't find.

I'm using the current SVN version (as of an hour ago or so). Including the strace file data seems a bit pointless as it seems to claim it can't find any files (while looking for upper case folders) but those all seemed to work anyway so it doesn't look like it was those that caused it. How should everything be named for this to work and is there anything else I'm missing?

Thanks.

Report message to a moderator

Civilian
Re: File Naming Convention on Linux (and crashes)[message #263045] Sun, 19 September 2010 23:34 Go to previous messageGo to next message
mgl is currently offline mgl

 
Messages:255
Registered:December 2007
Location: France
The policy is that all the data files are in lower case, including the "data/" folder itself.

If I remember well, bbun said that "make lowercase" still works. Your "data/" folder is probably already in lower case or the game would have ended on error earlier. It may be your tilesets. If you rename "data/" to "Data", "data/tilecache" to "Data/TILECACHE" and maybe another folder (search the "lowercase" rule in the file "Makefile"), "make lowercase" should convert all the files to lower case for you.

Or go to the folder $SGPDATADIR (the parent folder of "data") and type something like:
for if in $(find data); do of=$(echo $if | tr [] [:lower]); mv $if $of; done

Report message to a moderator

Master Sergeant
Re: File Naming Convention on Linux (and crashes)[message #263381] Thu, 23 September 2010 21:33 Go to previous message
bbun is currently offline bbun

 
Messages:74
Registered:April 2004
Location: Amsterdam
it still works. last time i used it was few months ago
make lowercase

enjoy

Report message to a moderator

Corporal
Previous Topic: [Debug Fix] Print format of GetJA2Clock()
Next Topic: [OSX] Precompiled Stracciatella (Intel Macs)
Goto Forum:
  


Current Time: Wed May 01 18:50:35 GMT+3 2024

Total time taken to generate the page: 0.00824 seconds