0ADMods / millenniumad

Millennium A.D. is a mod for 0 A.D. covering the AD 500–1000 timeframe.
http://wildfiregames.com/forum/index.php?showforum=297
GNU General Public License v2.0
35 stars 18 forks source link

Unable to open/play maps. #16

Closed s0600204 closed 9 years ago

s0600204 commented 9 years ago

I'm having problems with Millennium AD's maps, and thought I'd report them here.

Firstly, some observations:

And my main problem: If I try opening any of the four maps provided by this mod, 0AD crashes to Desktop.

Assertion failed: "0 && (L"Invalid map XML data")"
Location: MapReader.cpp:788 (ReadEnvironment)

Call stack:

(0x8ff41b) /usr/bin/pyrogenesis() [0x8ff41b]
(0x8b8dd1) /usr/bin/pyrogenesis() [0x8b8dd1]
(0x8ba63a) /usr/bin/pyrogenesis() [0x8ba63a]
(0x6dac0e) /usr/bin/pyrogenesis() [0x6dac0e]
(0x6e317d) /usr/bin/pyrogenesis() [0x6e317d]
(0x6e341e) /usr/bin/pyrogenesis() [0x6e341e]
(0x6d7658) /usr/bin/pyrogenesis() [0x6d7658]
(0x5f345e) /usr/bin/pyrogenesis() [0x5f345e]
(0x431f79) /usr/bin/pyrogenesis() [0x431f79]
(0x421a37) /usr/bin/pyrogenesis() [0x421a37]
(0x7fe17cbcb800) /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7fe17cbcb800]
(0x430b79) /usr/bin/pyrogenesis() [0x430b79]

errno = 0 (No error reported here)
OS error = ?

I also cannot open any of them in the Map Editor.

For reference, I'm running A18 on Arch Linux 64-bit, and I have no problems with 0AD's own maps.

They'll also need to be converted to the new A19 format eventually...

StanleySweet commented 9 years ago

I don't think we converted them to the new format. In fact there is no trace of such thing in the commit history. So it's really weird you can't open them with A18...

niektb commented 9 years ago

The map format have had actually 2 changes: the height and the colour/color in the environment settings. The latter is implemented (which makes them incompatible with A18), the former is not (which make them incompatible with SVN/A19 too). I figure they should be converted to the new format.

s0600204 commented 9 years ago

Ah yes, switching Color => Colour resolves that problem, and the maps load. However, they're still not 'playable'.

Both Fjords.xml and Norse Migration Test.xml complain about missing entities:

Fjords:

Norse Migration Test:

Sandbox - Norse loads fine, but the player is not given any units and no structures other than palisade walls...

And stormy water test? Six of the seven Petra/AI opponents report that "it does not know how to interpret this map" and then resigns. Quite possibly because neither they nor the player have any structures or units (Player 2 does, though). It would be nice it the map's description informed players that this is a test map that shouldn't really be played...

niektb commented 9 years ago

Ah yes, Stormy Water Test was nothing but a showcase made I used to write a story around (Hvanndalir): http://www.moddb.com/mods/millennium-ad/news/development-update-september-2014

Skhorn indeed used some han_china props that should be removed (or copied over).

The only map that should be playable is Fjords.