Error when starting the second campaign

Our old place to report Bugs, it's not used anymore. To report bugs, please read this topic.
Locked
JorgeAldo
Rookie
Rookie
Posts: 24
Joined: 21 Dec 2006, 04:58

Error when starting the second campaign

Post 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
User avatar
Watermelon
Code contributor
Code contributor
Posts: 551
Joined: 08 Oct 2006, 09:37

Re: Error when starting the second campaign

Post 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)
tasks postponed until the trunk is relatively stable again.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Error when starting the second campaign

Post 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.
JorgeAldo
Rookie
Rookie
Posts: 24
Joined: 21 Dec 2006, 04:58

Re: Error when starting the second campaign

Post 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...
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Error when starting the second campaign

Post 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"...
JorgeAldo
Rookie
Rookie
Posts: 24
Joined: 21 Dec 2006, 04:58

Re: Error when starting the second campaign

Post 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...
Locked