Converting 0.23 (or older) maps to 0.30?

Moos

Chieftain
Joined
Nov 3, 2007
Messages
44
Spurred by the similar thread and the fact I've tried and failed I'm now asking if anyone knows how to make this conversion?
I've tried to update them myself, renaming the file with proper extension. Changing all the civilization info's to suit the new format, including changing all leader names and civic options, added starting locations, fixed the number of teams. All according to this post http://forums.civfanatics.com/showpost.php?p=6259528&postcount=58
Also removed all units from the map as well as reworked the technologies that were given and removed all treaties between civs.

However there isn't a .py file with the map but when I load it I get python errors.
Code:
Traceback (most recent call last):
 File "CvWBInterface", line 65, in getGameData
 File "CvUtil", line 176, in findInfoTypeNum
RuntimeError: unidentifiable C++ exception
ERR: Python fuinction getGameData failed, module CvWBInterface

Traceback (most recent call last):
 File "CvWBInterface", line 43, in applyMapDesc
 File "CvWBDesc", line 1557, in applyMap
 File "CvUtil", line 176, in findInfoTypeNum
RuntimeError: unidentifiable C++ exception
ERR: Python fuinction getGameData failed, module CvWBInterface

If anyone can shed any light on this matter or can tell if it's a hopeless cause that would be nice?
 
I did a comparison with a newly created map and I didn't find any differences I haven't addressed. But I'm sure I must have missed something cause it don't work.
Now the map I used can be found here, the 120*60 version.
It had however been modified to 0.21 and from there it was easy to modify it to 0.23. Just had to add victory conditions and remove any dwarven mines.
And the modified versions can be found here here, the nations reborn scenario.

Edit: upon further browsing the old thread here is the one I ended up running AR 300 FfH2 0.21c
 
Note, I've not had a lot of time still to play Shadow, and certainly not to dig into specifics... take this post as "in general," my specific examples may not be accurate.

Just at a quick glance, there's stil A LOT more that will probably have to be done, even to Nikis version, for it to be compatable with Shadow.

Line 191: AWAKEN_THE_ANCIENTS I think this tech is gone.

Many of the civ-specific units and some buildings were removed, for example:
Line 13487 lists UNIT_ENFORCER, this is probably just a civ-flavored UNIT_WARRIOR now.
With a quick scan through the save I noticed MERRYMAN, ORC_ARCHER, DWARVEN_WARRIOR_LUCHUIRP, and several others. Some of these still exists, but most of them will need to be changed to the general unit (warrior, archer, scout, etc).

Line 29389 BUILDING_MONUMENT I think this has been removed, should it just be an obelisk?

Good luck with updating this... glad to see the scenario is still kicking around, even if it's not in a playable form :-P I'm hoping to have some time after March (contract's up), maybe I'll dive back into a scenario!
 
I actually removed all units and buildings from the map. Just noted down the plots of the capital so I got the starting locations.
Further removed all techs except the starter ones.
Had intended t repopulate things in the WB
But there was still some calls made as the error log in the first post said. You don't happen to have a .py file accompaning the scenarios and I just missed getting it?
 
When you get a python error the easiest way to solve it is find the python file it's talking about and look at the line it tells you to...

File "CvWBDesc", line 1557, in applyMap
File "CvWBInterface", line 65, in getGameData

Both these lines look up the worldsize, so you problably have an invalid world size (or none at all) set in the scenario file.
 
Done some more tinkering around the worldsize, which seems to be one of the two problems, but all I've found out so far is that the maps created with the pangea script has their huge set to a smaller map than these at large.
Apart from that I find no difference in the mapsize part of the scenario file.

Edit1: Upon further going through the log files I've found that the game fails to find type NONE in several xml files although I have no idea why it would search for those.
Further there is indeed something wrong with the mapdesc. as the finished map is set to size 0x0

Attached the map scenario file I'm currently tinkering with. It's stripped of units and cities.
 

Attachments

You only have 18 players. You need 35 (up to number 34 since the first is 0).

You also have stone resources in the map, a resource which no longer exist.
 
doh!
Thanks Snarko, adding the players and replacing all stone with marble cleared it up and now it runs.
So here's the basic AR 0 map and I'll get to tackle the more evolved ones as I get time now that I've gotten one to work.
 

Attachments

Back
Top Bottom