• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.
i will use the mapextractor but i can´t start it, the map viewer works.

this is the log :
Successfully reached start
Since there were no arguments, doing default extract
Extracting from command -extract
Successfully created default images.txt
Extracting images with following parameters: OffsetX=0 OffsetY=0 ImageSizeX=117 ImageSizeY=45 NumImagesX=8 NumImagesY=8
Loading lightmap at E:\SteamLibrary\steamapps\common\Darkest Hour A HOI Game\map
Lightmap1 successfully loaded.
Lightmap1 tile data successfully loaded
Doing the following image: Offset=(0,45), Size=(117,45)
Doing the following image: Offset=(0,0), Size=(117,45)
Doing the following image: Offset=(0,135), Size=(117,45)
Doing the following image: Offset=(0,90), Size=(117,45)
Extracting grayscale of (0,45), Size=(117,45)
Extracting grayscale of (0,135), Size=(117,45)
Extracting grayscale of (0,90), Size=(117,45)
Extracting grayscale of (0,0), Size=(117,45)
Extracting ownership image of (0,90), Size=(117,45)
Extracting tile image of (0,90), Size=(117,45)
Extracting border image of (0,90), Size=(117,45)
Done doing the following image: Offset=(0,90), Size=(117,45)
Doing the following image: Offset=(0,180), Size=(117,45)
Extracting grayscale of (0,180), Size=(117,45)
Extracting ownership image of (0,135), Size=(117,45)
Extracting tile image of (0,135), Size=(117,45)
Extracting ownership image of (0,45), Size=(117,45)
Extracting border image of (0,135), Size=(117,45)
Done doing the following image: Offset=(0,135), Size=(117,45)
Doing the following image: Offset=(0,225), Size=(117,45)
Extracting grayscale of (0,225), Size=(117,45)
Extracting tile image of (0,45), Size=(117,45)
Extracting ownership image of (0,180), Size=(117,45)
Extracting border image of (0,45), Size=(117,45)
Done doing the following image: Offset=(0,45), Size=(117,45)
Doing the following image: Offset=(0,270), Size=(117,45)
Extracting grayscale of (0,270), Size=(117,45)
Extracting tile image of (0,180), Size=(117,45)
Extracting border image of (0,180), Size=(117,45)
Done doing the following image: Offset=(0,180), Size=(117,45)
Doing the following image: Offset=(0,315), Size=(117,45)
Extracting grayscale of (0,315), Size=(117,45)
Extracting ownership image of (0,0), Size=(117,45)
Extracting tile image of (0,0), Size=(117,45)
Extracting ownership image of (0,315), Size=(117,45)
Extracting tile image of (0,315), Size=(117,45)
Extracting border image of (0,0), Size=(117,45)
Extracting border image of (0,315), Size=(117,45)
Done doing the following image: Offset=(0,315), Size=(117,45)
Doing the following image: Offset=(117,0), Size=(117,45)
Extracting grayscale of (117,0), Size=(117,45)
Extracting ownership image of (0,225), Size=(117,45)
Done doing the following image: Offset=(0,0), Size=(117,45)
Doing the following image: Offset=(117,45), Size=(117,45)
Extracting grayscale of (117,45), Size=(117,45)
Extracting tile image of (0,225), Size=(117,45)
Extracting border image of (0,225), Size=(117,45)
Done doing the following image: Offset=(0,225), Size=(117,45)
Doing the following image: Offset=(117,90), Size=(117,45)
Extracting grayscale of (117,90), Size=(117,45)
Extracting ownership image of (0,270), Size=(117,45)
Extracting tile image of (0,270), Size=(117,45)
Extracting border image of (0,270), Size=(117,45)
Done doing the following image: Offset=(0,270), Size=(117,45)
Doing the following image: Offset=(117,135), Size=(117,45)
Extracting grayscale of (117,135), Size=(117,45)
Extracting ownership image of (117,0), Size=(117,45)
Extracting tile image of (117,0), Size=(117,45)
Extracting border image of (117,0), Size=(117,45)
Done doing the following image: Offset=(117,0), Size=(117,45)
Doing the following image: Offset=(117,180), Size=(117,45)
Extracting grayscale of (117,180), Size=(117,45)
Extracting ownership image of (117,45), Size=(117,45)
Extracting tile image of (117,45), Size=(117,45)
Extracting ownership image of (117,90), Size=(117,45)
Extracting border image of (117,45), Size=(117,45)
Done doing the following image: Offset=(117,45), Size=(117,45)
Doing the following image: Offset=(117,225), Size=(117,45)
Extracting grayscale of (117,225), Size=(117,45)
Extracting tile image of (117,90), Size=(117,45)
Extracting ownership image of (117,180), Size=(117,45)
Extracting tile image of (117,180), Size=(117,45)
Extracting border image of (117,90), Size=(117,45)
Extracting border image of (117,180), Size=(117,45)
Done doing the following image: Offset=(117,90), Size=(117,45)
Doing the following image: Offset=(117,270), Size=(117,45)
Extracting grayscale of (117,270), Size=(117,45)
Done doing the following image: Offset=(117,180), Size=(117,45)
Doing the following image: Offset=(117,315), Size=(117,45)
Extracting grayscale of (117,315), Size=(117,45)
Extracting ownership image of (117,225), Size=(117,45)
Extracting tile image of (117,225), Size=(117,45)
Extracting ownership image of (117,315), Size=(117,45)
Extracting ownership image of (117,270), Size=(117,45)
Extracting tile image of (117,315), Size=(117,45)
Extracting ownership image of (117,135), Size=(117,45)
Extracting border image of (117,225), Size=(117,45)
Done doing the following image: Offset=(117,225), Size=(117,45)
Doing the following image: Offset=(234,0), Size=(117,45)
Extracting grayscale of (234,0), Size=(117,45)
Extracting tile image of (117,270), Size=(117,45)
Extracting border image of (117,315), Size=(117,45)
Done doing the following image: Offset=(117,315), Size=(117,45)
Doing the following image: Offset=(234,45), Size=(117,45)
Extracting grayscale of (234,45), Size=(117,45)
Extracting border image of (117,270), Size=(117,45)
Done doing the following image: Offset=(117,270), Size=(117,45)
Doing the following image: Offset=(234,90), Size=(117,45)
Extracting grayscale of (234,90), Size=(117,45)
Extracting tile image of (117,135), Size=(117,45)
Extracting border image of (117,135), Size=(117,45)
Done doing the following image: Offset=(117,135), Size=(117,45)
Doing the following image: Offset=(234,135), Size=(117,45)
Extracting grayscale of (234,135), Size=(117,45)
Extracting ownership image of (234,45), Size=(117,45)
Extracting ownership image of (234,90), Size=(117,45)
Extracting tile image of (234,45), Size=(117,45)
Extracting tile image of (234,90), Size=(117,45)
Extracting border image of (234,45), Size=(117,45)
Extracting border image of (234,90), Size=(117,45)
Done doing the following image: Offset=(234,45), Size=(117,45)
Doing the following image: Offset=(234,180), Size=(117,45)
Extracting grayscale of (234,180), Size=(117,45)
Done doing the following image: Offset=(234,90), Size=(117,45)
Doing the following image: Offset=(234,225), Size=(117,45)
Extracting grayscale of (234,225), Size=(117,45)
Extracting ownership image of (234,0), Size=(117,45)
Extracting ownership image of (234,135), Size=(117,45)
Extracting tile image of (234,0), Size=(117,45)
Extracting tile image of (234,135), Size=(117,45)
Extracting border image of (234,135), Size=(117,45)
Extracting border image of (234,0), Size=(117,45)
Done doing the following image: Offset=(234,135), Size=(117,45)
Doing the following image: Offset=(234,270), Size=(117,45)
Extracting grayscale of (234,270), Size=(117,45)
Done doing the following image: Offset=(234,0), Size=(117,45)
Doing the following image: Offset=(234,315), Size=(117,45)
Extracting grayscale of (234,315), Size=(117,45)
Extracting ownership image of (234,225), Size=(117,45)
Extracting tile image of (234,225), Size=(117,45)
Extracting border image of (234,225), Size=(117,45)
Done doing the following image: Offset=(234,225), Size=(117,45)
Doing the following image: Offset=(351,0), Size=(117,45)
Extracting grayscale of (351,0), Size=(117,45)
Extracting ownership image of (234,315), Size=(117,45)
Extracting tile image of (234,315), Size=(117,45)
Extracting ownership image of (234,270), Size=(117,45)
Extracting border image of (234,315), Size=(117,45)
Done doing the following image: Offset=(234,315), Size=(117,45)
Doing the following image: Offset=(351,45), Size=(117,45)
Extracting grayscale of (351,45), Size=(117,45)
Extracting tile image of (234,270), Size=(117,45)
Extracting ownership image of (234,180), Size=(117,45)
Extracting border image of (234,270), Size=(117,45)
Done doing the following image: Offset=(234,270), Size=(117,45)
Doing the following image: Offset=(351,90), Size=(117,45)
Extracting grayscale of (351,90), Size=(117,45)
Extracting tile image of (234,180), Size=(117,45)
Extracting border image of (234,180), Size=(117,45)
Done doing the following image: Offset=(234,180), Size=(117,45)
Doing the following image: Offset=(351,135), Size=(117,45)
Extracting grayscale of (351,135), Size=(117,45)
Extracting ownership image of (351,0), Size=(117,45)
Extracting tile image of (351,0), Size=(117,45)
Extracting border image of (351,0), Size=(117,45)
Done doing the following image: Offset=(351,0), Size=(117,45)
Doing the following image: Offset=(351,180), Size=(117,45)
Extracting grayscale of (351,180), Size=(117,45)
Extracting ownership image of (351,135), Size=(117,45)
Extracting tile image of (351,135), Size=(117,45)
Extracting border image of (351,135), Size=(117,45)
Done doing the following image: Offset=(351,135), Size=(117,45)
Doing the following image: Offset=(351,225), Size=(117,45)
Extracting grayscale of (351,225), Size=(117,45)
Extracting ownership image of (351,45), Size=(117,45)
Extracting tile image of (351,45), Size=(117,45)
Extracting border image of (351,45), Size=(117,45)
Extracting ownership image of (351,90), Size=(117,45)
Done doing the following image: Offset=(351,45), Size=(117,45)
Doing the following image: Offset=(351,270), Size=(117,45)
Extracting grayscale of (351,270), Size=(117,45)
Extracting ownership image of (351,225), Size=(117,45)
Extracting tile image of (351,90), Size=(117,45)
Extracting tile image of (351,225), Size=(117,45)
Extracting ownership image of (351,180), Size=(117,45)
Extracting border image of (351,225), Size=(117,45)
Done doing the following image: Offset=(351,225), Size=(117,45)
Doing the following image: Offset=(351,315), Size=(117,45)
Extracting grayscale of (351,315), Size=(117,45)
Extracting ownership image of (351,270), Size=(117,45)
Extracting tile image of (351,180), Size=(117,45)
Extracting tile image of (351,270), Size=(117,45)
Extracting border image of (351,90), Size=(117,45)
Done doing the following image: Offset=(351,90), Size=(117,45)
Doing the following image: Offset=(468,0), Size=(117,45)
Extracting grayscale of (468,0), Size=(117,45)
Extracting ownership image of (351,315), Size=(117,45)
Extracting border image of (351,270), Size=(117,45)
Done doing the following image: Offset=(351,270), Size=(117,45)
Doing the following image: Offset=(468,45), Size=(117,45)
Extracting grayscale of (468,45), Size=(117,45)
Extracting border image of (351,180), Size=(117,45)
Extracting tile image of (351,315), Size=(117,45)
Done doing the following image: Offset=(351,180), Size=(117,45)
Doing the following image: Offset=(468,90), Size=(117,45)
Extracting grayscale of (468,90), Size=(117,45)
Extracting border image of (351,315), Size=(117,45)
Done doing the following image: Offset=(351,315), Size=(117,45)
Doing the following image: Offset=(468,135), Size=(117,45)
Extracting grayscale of (468,135), Size=(117,45)
Extracting ownership image of (468,135), Size=(117,45)
Extracting tile image of (468,135), Size=(117,45)
Extracting border image of (468,135), Size=(117,45)
Extracting ownership image of (468,0), Size=(117,45)
Done doing the following image: Offset=(468,135), Size=(117,45)
Doing the following image: Offset=(468,180), Size=(117,45)
Extracting grayscale of (468,180), Size=(117,45)
Extracting tile image of (468,0), Size=(117,45)
Extracting border image of (468,0), Size=(117,45)
Done doing the following image: Offset=(468,0), Size=(117,45)
Doing the following image: Offset=(468,225), Size=(117,45)
Extracting grayscale of (468,225), Size=(117,45)
Extracting ownership image of (468,45), Size=(117,45)
Extracting ownership image of (468,180), Size=(117,45)
Extracting tile image of (468,45), Size=(117,45)
Extracting tile image of (468,180), Size=(117,45)
Extracting border image of (468,45), Size=(117,45)
Done doing the following image: Offset=(468,45), Size=(117,45)
Doing the following image: Offset=(468,270), Size=(117,45)
Extracting grayscale of (468,270), Size=(117,45)
Extracting border image of (468,180), Size=(117,45)
Done doing the following image: Offset=(468,180), Size=(117,45)
Doing the following image: Offset=(468,315), Size=(117,45)
Extracting grayscale of (468,315), Size=(117,45)
Extracting ownership image of (468,225), Size=(117,45)
Extracting tile image of (468,225), Size=(117,45)
Extracting border image of (468,225), Size=(117,45)
Done doing the following image: Offset=(468,225), Size=(117,45)
Doing the following image: Offset=(585,0), Size=(117,45)
Extracting grayscale of (585,0), Size=(117,45)
Extracting ownership image of (468,315), Size=(117,45)
Extracting tile image of (468,315), Size=(117,45)
Extracting border image of (468,315), Size=(117,45)
Done doing the following image: Offset=(468,315), Size=(117,45)
Doing the following image: Offset=(585,45), Size=(117,45)
Extracting grayscale of (585,45), Size=(117,45)
Extracting ownership image of (585,0), Size=(117,45)
Extracting tile image of (585,0), Size=(117,45)
Extracting ownership image of (468,270), Size=(117,45)
Extracting border image of (585,0), Size=(117,45)
Done doing the following image: Offset=(585,0), Size=(117,45)
Doing the following image: Offset=(585,90), Size=(117,45)
Extracting grayscale of (585,90), Size=(117,45)
Extracting tile image of (468,270), Size=(117,45)
Extracting border image of (468,270), Size=(117,45)
Done doing the following image: Offset=(468,270), Size=(117,45)
Doing the following image: Offset=(585,135), Size=(117,45)
Extracting grayscale of (585,135), Size=(117,45)
Extracting ownership image of (585,45), Size=(117,45)
Extracting tile image of (585,45), Size=(117,45)
Extracting border image of (585,45), Size=(117,45)
Done doing the following image: Offset=(585,45), Size=(117,45)
Doing the following image: Offset=(585,180), Size=(117,45)
Extracting grayscale of (585,180), Size=(117,45)


#################################
An exception has occurred.
#################################
Exception: System.NullReferenceException
27.11.2017 17:46:34
Message: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
Source: MapExtractor

STACK TRACE
MapUtility.Leaf FindLeaf(System.Predicate`1[MapUtility.Leaf])
bei MapUtility.Leaf.FindLeaf(Predicate`1 comparison)
bei MapUtility.Leaf.FindSolution(Int32 x, Int32 y, Int32 rightX, Nullable`1 bottomY, MapBlock same, Predicate`1 check)
bei MapUtility.Leaf.FindCoordinates(Int32 x, Int32 y)
bei MapUtility.Leaf.get_RightNeighbor()
bei MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
bei MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
bei MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
bei MapUtility.Lightmap.GetTrueColoredGrayscaleLayer(Int32 x, Int32 y, Int32 captureWidth, Int32 captureHeight)
bei MapUtility.Extraction.ExtractGrayscale(Lightmap map, Rectangle bounds)
bei MapUtility.Extraction.ExtractSection(Lightmap lm, Rectangle bounds)
bei MapUtility.Extraction.ExtractFileTask.TaskOverride()
bei CoreLib.Task.DoTask(Int32 index, TaskQueue tq)
bei CoreLib.TaskQueue.DoWork(Object value)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart(Object obj)
can anyone help me ?
the error is : a fatal error has occured....

so its done, but i want a map in color and stuff like, it was on the online map earlier...
 
Read the fudging manual. You must edit it's settings file with the appropriate variables in order to overlay a colorscale. I wish ederon had uploaded his asp map somewhere. That thing was invaluable.
 
Last edited:
Hi guys,

I have a problem with the naval distances in my mod of HoI2 DD Armageddon. I edited the map with Jamie's MapUtility and followed all the steps accurately. After many tests, I’ve eventually managed to get the game work, even fixing the odd adj-mod/connections issue.
My first editing test consisted in separating the island of Zanzibar from the mainland province, so I’ve created a new province 2602 with the right colour IDs (no changes in the colorscales but just in the provID) and I’ve set all the facility coordinates, added a port seazone (I used Hofn) and added a connection to the sea (I’ve balanced this connection with removing a land connection in Europe (Triest-Ljubljana takes 13 days! Then no reason to go through it).

Now, I launched the game and it worked smoothly, I could see the new province but I couldn’t move my navy to the island as it is more than 10.000 miles away from the starting navalbase of my navy (I’ve assigned Zanzibar to the sultanate of Muscat in a XVIII century mod. Normally, Muscat is less than 3.000 miles far). If I add a port, I can rebase my ships to the island and the blue arrow is correct, but then I obviously cannot move any ships to the surrounding sea (Zanzibar Channel) as it is too far away.
To test this issue, I’ve added a sea connection from the mainland Zanzibar in Africa (1140) to the island (2602) through the Zanzibar Channel (2031) in the adj-defs.csv file in HoI2\map, but the directional blue arrow is heading to Paris! Or it ends somewhere close to Paris. I don’t know if the Paris province is really involved in this all, or if the arrow is heading to Hofn but couldn't get to there.

I’ve done a new test, modding a useless random province (I picked province 1616, Pulusuk in the Carolines) and setting new coordinates, so to incorporate the map’s Pulusuk islands of former ID 1616 into another cluster of islands nearby, and I’ve assigned ID 1616 to the newly independent island of Zanzibar.
Again I’ve played a bit with the connections, which now look this way:

(759;2573;Delete
2573;759;Delete)
1616;2249;Delete
2249;1616;Delete
1616;2031;Add
1616;2031;Add

The result is that I can launch the game, but now the Zanzibar 1616 province is again thousands of miles away from Muscat (the same navaldistance to get to the former 1616 in the Carolines). Although it is geographically located in the Zanzibar Channel, the new province 1616 is still considered as part of the Carolines archipelago. So the navy from the Arabian peninsula can’t get there.
If I build up a port, the ships can rebase there (with a correct trajectory of the blue arrow) but they cannot move anywhere else except for the seas of the Caroline islands (see the picture).

navy.png



With a sea connection from mainland Africa to the island of Zanzibar, the blue arrow now heads to the sea 2249 of the former ID 1616 in the Carolines (see the pictures).

troops.png


troops2.png



That’s weird. I’ve tried my tests but none worked out. I still don’t know how to figure this out. Is it a bug of the navaldistance calculations or because of any wrong X Y position (maybe the ObjectEditor) that I’ve missed?

Hope I’ve explained the issue clearly. If anyone has ever encountered this issue and/or knows how to deal with it, any tips would be extremely appreciated!
Thanks
 
Last edited:
I know this topic is old, but still. Question - when using MapExtractor, the action does not seem to end and freezes. And errors occur. But the entire card is removed. Next, I make changes to MapMaker (even a clean, unmodified map), step 1 does not work, but all the others work. My results:
Безымянный-1.jpg
Безымянный-2.jpg
Безымянный-3.jpg