View Full Version : How to convert a map from 1.52 to 1.61?
GarretSidzaka May 07, 2006, 07:42 PM 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?
GarretSidzaka May 08, 2006, 03:06 AM :cry: :bump: :cry:
GarretSidzaka May 08, 2006, 08:23 AM 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
Teg_Navanis May 08, 2006, 08:27 AM I think it would help if you uploaded the file that causes problems, so we can have a look at it.
surt May 08, 2006, 08:58 AM 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.
GarretSidzaka May 08, 2006, 11:12 AM going to give it a try right now
GarretSidzaka May 08, 2006, 11:56 AM 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.
GarretSidzaka May 08, 2006, 12:05 PM here is the map file i wish to make functional, or at least salvage the plots:
Gyathaar May 09, 2006, 08:33 AM My guess would be :
Tech=TECH_COMMUNISM
This is TECH_UTOPIA in 1.61
GarretSidzaka May 09, 2006, 08:39 AM 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
Gyathaar May 09, 2006, 09:08 AM 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
Gyathaar May 09, 2006, 11:19 AM Here is the map after i edited it it.. it loads fine in the default game (without loading any mods)
GarretSidzaka May 09, 2006, 12:44 PM lemme give it a shot!!
GarretSidzaka May 09, 2006, 01:35 PM 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.
Gyathaar May 09, 2006, 02:11 PM 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?
GarretSidzaka May 09, 2006, 02:27 PM 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.
MaxRiga May 13, 2006, 06:20 PM thx for this post
i've fixed this in my mod too
but i have another problem
why i have no FORESTS and JUNGLES on my map i made? any ideas?
GarretSidzaka May 13, 2006, 07:46 PM 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.
|
|