Age of Wonders III

Age of Wonders III

Community Made Maps & Campaigns
Welcome to the Age of Wonder III Workshop. The place on Steam to get and share handcrafted scenarios, epic campaigns and mods that implement little tweaks to full game overhauls.
Learn More
. 24 Nov, 2016 @ 12:20pm
Mod Editor not working properly
When I add an XML file to my mod and try to launch the mod editor, I get the error message:

Assertion!

Assertion failed: "FSize>0"
Message:
..\Source\Localisation/EXMLReader.cpp(788): (click to open)


Press OK to continue.

Anybody got any idea what this means? The mod editor still opens but the XML files don't work.
< >
Showing 1-12 of 12 comments
Gloweye 17 24 Nov, 2016 @ 2:21pm 
Sounds like the XML file is somehow invalid.

Are you sure you have text in all fields in the XML file under your selected language ? Empty fields are a possible cause for this.
. 24 Nov, 2016 @ 4:30pm 
I've added you on steam, I'll send you the file, it seems fine to me but I'm not 100%

edit: Actually here's a link to it https://docs.google.com/spreadsheets/d/1aBFhGYFXTd6qJ6tug5euEbpPJV5ksz5UmeADyaTAtMo/edit?usp=sharing
Last edited by .; 24 Nov, 2016 @ 4:34pm
Gloweye 17 25 Nov, 2016 @ 9:01am 
Not entirely sure, but a possible cause might be the SCENE ID's. I don't know how the parser works exactly, but a space can screw it up if it's read out a few specific ways. Can you try either appending the words together (i.e., LesserDraconianHatchling) or replacing them with underscores (Lesser_Draconian_Hatchling), relinking them in your mod, and trying again ?
. 25 Nov, 2016 @ 10:22am 
I've updaded the file and I'm having the exact same issue, right down to the same error message, I think I've tweaked it to what you suggested but im not 100%, would you mind taking a look? If it is how it should be, any ideas?
Gloweye 17 25 Nov, 2016 @ 11:17am 
Can you put it up somewhere that doesn't convert the file type ? Google docs version looks OK, but that doesn't mean the XML version behind it does.

Alternatively, changing the file extension to .txt before putting it on google docs should work as well. It'll give me a chance to take a look at how the file looks to a computer.
. 25 Nov, 2016 @ 11:30am 
Gloweye 17 25 Nov, 2016 @ 1:53pm 
yeah, that, but of the xml file that contains the data ? This is just an empty xml...(and would be unreadable to AoW, btw.)

Only the middle part is valid XML, btw. if whatever editor you use makes it look like that, get a new one.

Not sure if steam is going to show this....

This is the only valid XML in there:

<?xml version="1.0" encoding="UTF-8"?> <office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:grddl="http://www.w3.org/2003/g/data-view#" office:version="1.2"><office:meta><meta:initial-creator>Oskar Borton</meta:initial-creator><meta:creation-date>2016-11-24T12:02:11.98</meta:creation-date><dc:date>2016-11-25T18:21:01.22</dc:date><dc:creator>Oskar Borton</dc:creator><meta:editing-duration>PT25M28S</meta:editing-duration><meta:editing-cycles>12</meta:editing-cycles><meta:generator>OpenOffice/4.1.3$Win32 OpenOffice.org_project/413m1$Build-9783</meta:generator><meta:document-statistic meta:table-count="1" meta:cell-count="39" meta:object-count="0"/></office:meta></office:document-meta>
Last edited by Gloweye; 25 Nov, 2016 @ 1:54pm
. 25 Nov, 2016 @ 4:08pm 
It's openoffice as I don't have excel but it functions in a similar way - what would you suggest?
Gloweye 17 26 Nov, 2016 @ 2:29am 
Never said anything about excel.

Can you rename that file that doesn't work to a .txt file, instead of a new one ?
Gloweye 17 26 Nov, 2016 @ 3:23am 
Redownload the official example.xml, rename it, and put your lines in there, see if that works. You made this one yourself, and it looks like openoffice really screwed a few things up. No decent XML parser can read that.
sikbok  [developer] 28 Nov, 2016 @ 12:39am 
Originally posted by sillysalami18:
It's openoffice as I don't have excel but it functions in a similar way - what would you suggest?
We've had some issues with Team Members editing the file open office, so that might well be the underlying issue. There is some disagreement about how to do XML iirc and ours was made to work with Excel. Do seem to remember modders found workarounds for that ...
< >
Showing 1-12 of 12 comments
Per page: 1530 50