XML maps from TOAW III

Post bug reports and ask for game support here.
Post Reply
User avatar
lion_of_judah
Posts: 2332
Joined: Mon Jan 08, 2007 6:36 pm
Location: somewhere over the rainbow

XML maps from TOAW III

Post by lion_of_judah »

unable to load XML maps from TOAW III, when I try the game crashes back to desktop. I do have the latest patch. I'am able to load a scenario from TOAW III and go from there.
User avatar
cathar1244
Posts: 1321
Joined: Sat Sep 05, 2009 2:16 am

RE: XML maps from TOAW III

Post by cathar1244 »

ORIGINAL: lion_of_judah

unable to load XML maps from TOAW III, when I try the game crashes back to desktop. I do have the latest patch. I'am able to load a scenario from TOAW III and go from there.

Can you zip one of the XML files you are trying to load into TOAW IV, and post it here as an upload? I would like to take a look at the XML file. Thanks.

Cheers
User avatar
Lobster
Posts: 5582
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

RE: XML maps from TOAW III

Post by Lobster »

ORIGINAL: lion_of_judah

unable to load XML maps from TOAW III, when I try the game crashes back to desktop. I do have the latest patch. I'am able to load a scenario from TOAW III and go from there.

If you can load a scenario from TOAWIII into the editor for TOAWIV and save it then reload the saved scenario into the editor for TOAWIV and try to save the map from there.
ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
User avatar
lion_of_judah
Posts: 2332
Joined: Mon Jan 08, 2007 6:36 pm
Location: somewhere over the rainbow

RE: XML maps from TOAW III

Post by lion_of_judah »

Here is a XML map that i saved from TOAW III, and tried to open it in TOAW IV, but the game CTD again. Thanks
Attachments
SinoKoreanwar.zip
(18.8 KiB) Downloaded 15 times
User avatar
cathar1244
Posts: 1321
Joined: Sat Sep 05, 2009 2:16 am

RE: XML maps from TOAW III

Post by cathar1244 »

ORIGINAL: lion_of_judah

Here is a XML map that i saved from TOAW III, and tried to open it in TOAW IV, but the game CTD again. Thanks

Looking at the file with a hex editor. There are three extra bytes up front, but removing them did no good. Something is corrupt with the file. I'll look at it to see if I can determine why it is crashing when loaded into the map editor.

Cheers
User avatar
cathar1244
Posts: 1321
Joined: Sat Sep 05, 2009 2:16 am

RE: XML maps from TOAW III

Post by cathar1244 »

Okay, it appears to be a file format issue.

The .MML file you are trying to load describes terrain with 47 fields.

.MML files in TOAW IV describe terrain with 48 fields.

How to fix. If you have TOAW III installed, load the .MML file into TOAW III and save as a scenario file. Then load that scenario file into TOAW IV. If you don't have TOAW III, I do, and will be able to do this in a day or two.

Cheers
User avatar
cathar1244
Posts: 1321
Joined: Sat Sep 05, 2009 2:16 am

RE: XML maps from TOAW III

Post by cathar1244 »

I was able to add the extra field using Notepad [X(]

File is attached. Change the file type from ".zip" to ".mml" This one loads in TOAW IV.

Now, there is a problem with the data shown in the file for a lot of locations. They appear to be off-map locations and the names are all jumbled up on the margins of the map. You probably want to get rid of those. You may be able to do it in the map editor, but if not, use Notepad on the .mml file and get rid of all locations that show coordinates with negative numbers.

Cheers
Attachments
SinoKoreanwar.zip
(246.46 KiB) Downloaded 18 times
User avatar
Curtis Lemay
Posts: 15312
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: XML maps from TOAW III

Post by Curtis Lemay »

We go to extreme lengths to make .sce files backward compatible (it's a mess, believe me). No such effort is wasted on making xml files do so. When the game is updated, xml files need to be regenerated. To transfer a scenario from III to IV needs to be done via the .sce file.
My TOAW web site:

Bob Cross's TOAW Site
User avatar
cathar1244
Posts: 1321
Joined: Sat Sep 05, 2009 2:16 am

RE: XML maps from TOAW III

Post by cathar1244 »

Bob, I would certainly agree that is the easiest way to generate the .MML file for TOAW IV.

Cheers
Post Reply

Return to “Tech Support”