Page 1 of 1
Error box loading scenario
Posted: Fri Sep 26, 2014 9:12 pm
by VR_Nocturne
Everything was fine. I went to export the description I typed in through the editor. Worked. Saved. Closed editor.
Went to test it - got the box that shows up in the attached screenshot.
And now it won't go away. I delete everything that wasn't there in the text1 and text9 files (only new files I made) and no luck.
Every time I try to load my campaign, it crashes with this box. Can't even get to the map load screen.
I can't get back into my map now.
Re: Error box loading scenario
Posted: Fri Sep 26, 2014 9:17 pm
by pipfromslitherine
Could it be that it generated a UI file? This error is because of too long a tag in a file, probably not a text file as these don't load using the code specified.
Cheers
Pip
Re: Error box loading scenario
Posted: Fri Sep 26, 2014 9:37 pm
by VR_Nocturne
It did, and that was the problem.
However, isn't that supposed to be where it shows the text for the description of the map/scenario?
Hmm...I looked at a stock one and it seems the UI file the editor generates does not have line breaks? Maybe that's why it threw the error since it looked like one incredibly long line?

- This is the UI file made by the editor for my map.
- MyUIFile.jpg (86.25 KiB) Viewed 1911 times

- This is how the UI file looks for the stock Kharkov campaign.
- StockKarkovUIFile.jpg (52.67 KiB) Viewed 1911 times
Re: Error box loading scenario
Posted: Sat Sep 27, 2014 12:36 am
by VR_Nocturne
I figured it out.
It has to do with the size of the filename I use to save the map...
This isn't mentioned anywhere and it's not as though I had a really long name (Storming the Soviet Plains). When I saved it as "Misson1" - it worked without a problem.
I think either the limit should be much longer or mention (and disallow in the editor) names that are long enough to cause the whole game to crash.
Re: Error box loading scenario
Posted: Sat Sep 27, 2014 1:45 am
by pipfromslitherine
Yes - it should definitely prevent you from entering names that are too long. Will add to the bug list. Sorry for the hassles!
Cheers
Pip