How to convert a map from 1.52 to 1.61?

GarretSidzaka

Modder
Joined
Dec 17, 2002
Messages
4,700
Hi

im trying to convert my Worldbuildersave of a populated scenario map from 1.52 to 1.61 and ive been having crashes to desktop. ive changed the forbidden palace over and im still crashing to desktop. Map makers, how can i convert this?
 
i think ive narrowed the bad code to the plot list. something in this list is not working with 1.61.
now i have already changed THREEGORGESDAM to GREAT_DAM and FORBIDDEN_PALACE to GREAT_PALACE, and am thinking about deleting them altogether; but are there some other intrinsic changes to the code of WorldBuilderSaves with the 1.61 patch?

edit: still crashes
 
I think it would help if you uploaded the file that causes problems, so we can have a look at it.
 
in your civ4config in the [DEBUG] section, turn the following on (1):


; Enable message logging
MessageLog = 1
; Show python debug msgs in IDE console
ShowPythonDebugMsgs = 1
; Enable the logging system
LoggingEnabled = 1

In the configuration section, you may also want to try these:
; Disable caching of file system (may slow initialization)
DisableFileCaching = 1

; Disable caching of xml and file system (may slow initialization)
DisableCaching = 1

Then after you crash go look through your civ4logs directory and see what you find. Particularly, your xml log and your 3 python logs are probably going to be the ones with errors.
 
thanks for help surt.

i have included the log files for reference. i all can guess is that the map system was changed in the patch, either that or something i placed on the terrain isnt happy. i have been pouring over the map code to trouble shoot, but i dont know what to change. all i want to do is keep the plots and transfer them to a new map file. i just want to save the map work ive done.

i might also upload a no-music version of my "edited" xml files that im trying to work with.
 

Attachments

i did that as well as renamed the forbidden palace too. still crashes.

anyone who can better understand what is happening in those error logs, please take a look at them. i bet its something simple :p
 
Have a new version of the worldbuildersave from after renaming them?

Edit: Nm.. I simply did a search replace on the 3 strings.. and the map loaded fine for me.

Remember that while THREEGORGESDAM -> GREATDAM is in just one place, FORBIDDEN_PALACE -> GREAT_PALACE and COMMUNISM -> UTOPIA are in several places
 
Here is the map after i edited it it.. it loads fine in the default game (without loading any mods)
 

Attachments

yes, your map works in standed (no mod) civ4, but when i load it in my mod, it still crashes. but when i load a vanilla map in my mod, it doesnt. so the problem must be in the custom units, is my guess. i cant figure this one out.
 
GarretSidzaka said:
yes, your map works in standed (no mod) civ4, but when i load it in my mod, it still crashes. but when i load a vanilla map in my mod, it doesnt. so the problem must be in the custom units, is my guess. i cant figure this one out.
Perhaps load your mod, with a normal map.. then use worldbuilder to add one of each unit or building untill it crashes?
 
okay, i just added all of the custom units, but i couldnt get the vanilla map to crash at all. im afraid im gonna have to ground-up remake my scenario :cry: if i want to be able to expand it in the patch.
 
im not sure. the map files arent really xml and i think they tie directly into SDK material, of which i have no knowlage. as some power programmers. civfanatics has several floating around.
 
Back
Top Bottom