I'm really going crazy...
I have extracted the map using -extract(0,0,156,180,6,2)
I created a test map with a few provinces. A little island in the middle of the ocean. (I created a 29950x11520px file and i have imported all the pieces exported with the mapextractor)
the border file should be ok.
the ID map is a png 24bit rgb
the colorscale map is a png 8 bit (indexed 256)
then i cropped the map in pieces. I saved every piece overwriting the old map pieces.
I opened the mapmaker and I pressed 1.
the error is
#################################
An exception has occurred.
#################################
Exception: System.NullReferenceException
Derived from System.SystemException
Derived from System.Exception
17/06/2012 07:52:34
Message: Object reference not set to an instance of an object.
Source: CoreLib
STACK TRACE
System.Collections.Generic.List`1[System.String] ReadAndCleanLines(System.String, System.Text.Encoding)
at CoreLib.Io.File.ReadAndCleanLines(String path, Encoding encoding)
at CoreLib.Io.File.ReadAndCleanLines(String path)
at MapUtility.ColorToId.FromFile(String path)
at MapUtility.ColorToId..ctor(Boolean loadDefault)
at MapUtility.Global..cctor()
#################################
An exception has occurred.
#################################
Exception: System.TypeInitializationException
Derived from System.SystemException
Derived from System.Exception
17/06/2012 07:52:34
Message: The type initializer for 'MapUtility.Global' threw an exception.
Source: MapMaker
STACK TRACE
Void DoBlockOwnership(MapEditor.ProtoBlock)
at MapEditor.RadishMaker.DoBlockOwnership(ProtoBlock b)
at MapEditor.RadishMaker.DoBlock(Point p)
at MapEditor.RadishMaker..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.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)
Can someone help me? I'm losing the will to make this mod =\