No fix for my problem Jamie? Really sorry to bug you, but I want to get to work on my mod.
IndoEsia45: I just extracted the map and found out what the dimensions would equal if they were all together (29952 x 11250 px). After that, it was a lot of cut and pasting.
Beware though, it takes forever to make any changes (opening, saving, editing, etc.).
Log of MapMaker v2.2.1.0
Logging started at: 09.1.2009 г. 10:46:34 UTC
#################################
An exception has occurred.
#################################
Exception: System.ArgumentException
09.1.2009 г. 10:49:24
Message: bitmap must be Format8bppIndexed
Source: CoreLib
STACK TRACE
CoreLib.Graphics.ImageData`1[T] ToData(System.Drawing.Bitmap)
at CoreLib.Graphics.ImageData`1.ToData(Bitmap b)
at MapEditor.SimpleImageRadishMaker.LoadAPic(Boolean required, String path, ColorType type)
at MapEditor.SimpleImageRadishMaker.LoadFile()
at MapEditor.RadishMaker..ctor(LineData data)
at MapEditor.SimpleImageRadishMaker..ctor(LineData data)
at MapEditor.RadishMaker.MakeFile(LineData data)
at MapEditor.MakeFileTask.TaskOverride()
at CoreLib.Task.DoTask(Int32 index, TaskQueue tq)
at CoreLib.TaskQueue.DoWork(Object value)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
do you plan any new version of Map Editor or this project is finished? If you plan to continue work on this project you could maybe design tool to edit climate, terrain and regions more easily as all this part of mapmaking is really too time-consuming to set it in province.csv for 2608 provinces (we'll have to edit them all for E3 Map ).
If AoD doesn't change the map format, no new version is needed. Just some tweaks in the settings.xml file.I would like to see a new Version of the MapUtility for AoD.
The version of MapUtility that I have, currently, has no limits, and derives upper limits from the settings file. However it seems that this version was never released. If you are in reality planning for provinces above the currently-hardcoded limits, then I can release the current version I have. However it could well have problems with function.I've been playing around with this a little in Arsenal of Democracy. Wanted to see how well AoD would perform with a much higher number of provinces, since the engine province cap was removed. To do this, I started using some of the map data from HoI3, which runs just under 15,000 provinces. This is actually an interesting idea to me, as apart from the base image, I think all the other data necessary to generate an HoI2 version of the HoI3 map would be fairly easy to do.
However, I get error messages any time I try to create the radish files, mostly index out of range errors. I did some testing with a generic HoI2 set of map files, and I think the problem is coming from having an ids.csv file with more than 4000 lines. To test this theory, I ran a base extract with the extractor, and made sure I could compile it back using those files. That worked fine. Then, I opened the ids.csv, simply added a new entry on line 4001, and tried to compile it back again with MapMaker... poof, got the index out of bounds message again.
Does that sound right to you, Jamie? Is there a hard limit in the number of provinces at 4000? If so, could this be changed?
EDIT: I think I found the culprit in the source files. Looks like IdToColor.cs uses a 4000 upper limit in a for-loop, also, looks like the RgbData list structure is only set up for 3000 entries as well. Any chance of having these bumped up to a higher limit, say like 25K? Would that alone do the trick you think?
Log of MapMaker v2.2.6.0
Logging started at: 5/12/2010 11:47:52 PM UTC
#################################
An exception has occurred.
#################################
Exception: System.IO.FileNotFoundException
Derived from System.IO.IOException
Derived from System.SystemException
Derived from System.Exception
5/12/2010 11:47:52 PM
Message: Could not load file or assembly 'MapUtility, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
Source: MapMaker
STACK TRACE
Void BeginWork(System.String[])
at MapEditor.Program.BeginWork(String[] args)
at MapEditor.Boot.Main(String[] args)