Page 1 of 1

Error when starting the second campaign

Posted: 26 Dec 2006, 01:59
by JorgeAldo
Warzone2100 Version
Current SVN version

Operating System
Windows XP Prof SP2

Hardware Information
Duron 1.2GHz 256MB RAM + NVidia GeForce MX 4000 64MB + Latest Drivers

Warzone2100 Configuration
Standard data files from the repository

Bug Description
Game freezes for a while upon ending the 1st campaign and starting the second, them stops and returns to the desktop.

stderr.txt contents
error:      loadLevFile: File not found: addon.lev
error:      gwCheckZoneSizes: warning zone 4 at (61,23) is too large 1068 tiles (max 600)
error:      gwCheckZoneSizes: warning zone 5 at (89,31) is too large 671 tiles (max 600)
error:      gwCheckZoneSizes: warning zone 6 at (114,21) is too large 713 tiles (max 600)
error:      gwCheckZoneSizes: warning zone 41 at (15,13) is too large 822 tiles (max 600)
warning:    loadFile2: optional file sequenceaudio/CAM2\C002.TXA could not be opened: Insecure filename
warning:    loadFile2: optional file sequenceaudio/CAM2\C002.txt could not be opened: Insecure filename

Re: Error when starting the second campaign

Posted: 26 Dec 2006, 09:27
by Watermelon
JorgeAldo wrote: stderr.txt contents
error:      loadLevFile: File not found: addon.lev
error:      gwCheckZoneSizes: warning zone 4 at (61,23) is too large 1068 tiles (max 600)
error:      gwCheckZoneSizes: warning zone 5 at (89,31) is too large 671 tiles (max 600)
error:      gwCheckZoneSizes: warning zone 6 at (114,21) is too large 713 tiles (max 600)
error:      gwCheckZoneSizes: warning zone 41 at (15,13) is too large 822 tiles (max 600)
warning:    loadFile2: optional file sequenceaudio/CAM2\C002.TXA could not be opened: Insecure filename
warning:    loadFile2: optional file sequenceaudio/CAM2\C002.txt could not be opened: Insecure filename
I think the error message in stderr means that your addon.lev in mp folder is missing,and some of your .wrf/.lev files are old ones(contains '\' in path variables)

Re: Error when starting the second campaign

Posted: 26 Dec 2006, 12:20
by DevUrandom
Did you use data from an old (non svn) version?
Try running the exe directly inside src/ or data/ or specify --datadir /path/to/data.

Re: Error when starting the second campaign

Posted: 26 Dec 2006, 22:03
by JorgeAldo
Using warzone2100 --datadir poiting to the unzipped svn data files results in the second campaign starting (actually, the text descriptions) but fails after the "cutscenes".

I found a file in the datadir, \trunk\data\messages\strings\scrstrigs.txt with some path strings with \ instead of /

Finally, altering this i still cannot get to the second campaign.


error:      gwCheckZoneSizes: warning zone 4 at (61,23) is too large 1068 tiles (max 600)
error:      gwCheckZoneSizes: warning zone 5 at (89,31) is too large 671 tiles (max 600)
error:      gwCheckZoneSizes: warning zone 6 at (114,21) is too large 713 tiles (max 600)
error:      gwCheckZoneSizes: warning zone 41 at (15,13) is too large 822 tiles (max 600)
warning:    loadFile2: optional file sequenceaudio/CAM2/C002.txt could not be opened: O sistema não pode encontrar o arquivo especificado.


"O sistema não pode encontrar o arquivo especificado." means : The system cannot find the specified file. And i really dont have any file named c002.txt in my datadir, only c002.txa...

Re: Error when starting the second campaign

Posted: 26 Dec 2006, 23:29
by DevUrandom
I think I changed all files and filenames when I removed the \ handling...
And it works here and on various other PCs.
So I guess your SVN copy is not "clean"...

Re: Error when starting the second campaign

Posted: 27 Dec 2006, 01:16
by JorgeAldo
I am deleting everything (even the save games and etc).

I am sure i am using a clean SVN version, but i will re-setup everything to replicate this bug...