Converting maps from one mod to another

A_Hamster

Small Furry Animal
Joined
Dec 20, 2007
Messages
627
Is it possible to convert maps made under one mod to another? Is there a utility program that can do this?

What I'd like to do is take a few maps which were made for Vanilla civ (and Warlords & BtS as well), and convert them for use with the FfH II mod. At the moment, attempts to load the maps with the FfH mod cause CtDs, so worldbuilder editing is not possible.
 
The maps WBS saves are Text-files, you can edit those with a text editor. Chances are, that the "offending condition" is rather simple - like a Leader,Civ or Unit is placed on the map who does not exist in the mod - it should be a easy fix.

Otherwise - with stuff like incompartible terrain, fixing it by hand woudl be a pain.
There might still be a solutin - perhaps use querry-replace to replace all occurences of one terrain type with the terrain supported by the mod.
 
The maps WBS saves are Text-files, you can edit those with a text editor. Chances are, that the "offending condition" is rather simple - like a Leader,Civ or Unit is placed on the map who does not exist in the mod - it should be a easy fix.
Thank you.

Otherwise - with stuff like incompatible terrain, fixing it by hand would be a pain.
There might still be a solutin - perhaps use querry-replace to replace all occurences of one terrain type with the terrain supported by the mod.
This seems like it would be the problem. FfH has custom resource types and improvements. Still, if I can get a clean map that can be loaded into WBS, the mod-only resources can be added manually.
 
thats what I would do.... clear the map of any civs or resources, or anything that isn't in the mod your converting it to. Basically make it just a clear map, though you could copy and paste easier stuff such as civs and leaders like Refar said. Then once you get a (mostly) clear map it should work.

It shouldn't be terribly difficult though, if you have problems just ask.

Shiggs
 
It isn't working. While I've cleared the .txt file of basic game resources (there were no set civs on the map, just starting spots), I still get a CtD when I load the "clean" map, so I must be missing something unique to regular civ.

Is there a way to convert a .bmp or other graphics file to a WBS file. In the case of official fantasy maps (like Middle Earth) I could just use one of those and build it by hand once it is in WB, if the basic part could be scanned in.
 
try creating a custom game in FFH2. Add in all the civs and options that you will want to have in your game. Save it. Find the map(s) that you want to convert.

From here:

Code:
BeginMap
	grid width=100
	grid height=73
	top latitude=0
	bottom latitude=0
	wrap X=0
	wrap Y=0
	world size=WORLDSIZE_HUGE
	climate=CLIMATE_TEMPERATE
	sealevel=SEALEVEL_MEDIUM
	num plots written=7300
	num signs written=0
	Randomize Resources=false
EndMap
on down, use all of that from the maps you want to use. Anything above this use the part from your save game that you just created. So basically your copying the map part of the older map and pasting it over the map of your custom game. Its worked for me like that converting many maps.... if you have any problems doing that, its definitely a conflict with resources or terrains.

Shiggs
 
I forgot to mention that the part that begins with [Save it]. You should actually go into worldbuilder and then save it. That way its readable by notepad. All the other steps are the same, then you should be able to convert just about any map to any mod.
 
Back
Top Bottom