Hi Guys,
I ask the same in the mapping discussion thread in the tech-support forum, but there comes no answer. my mod is waiting for a new map, so i ask here - i think the chance that a modder see this post and can help is much better
sorry for my bad english, is not my main language and i don't used it since e few years
If i want to extract the map, i have the error:
my setting data:
I copy all the datas of the map_1 folder are in the map folder of the vanilla direction (D:\Spiele\Darkest Hour\map)
the layers from the download are in D:\Spiele\Darkest Hour\map
the province_names.csv is in the config folder and the provinces.csv in the db folder (I moved both from gamedir/map_1)
and, another question: i have my mod Era of Steel (gamedir\mods\era of steel), but i will not overwrite the DH map for EoS. I now made the folder map/map_2 in the main dir. But, how knows the game, that map_2 for the EoS Mod is? where I must wrote something, that the game knows from where it must load the map? I hope you understand:S
greetings
Opa
I ask the same in the mapping discussion thread in the tech-support forum, but there comes no answer. my mod is waiting for a new map, so i ask here - i think the chance that a modder see this post and can help is much better
sorry for my bad english, is not my main language and i don't used it since e few years
If i want to extract the map, i have the error:
Code:
Log of MapExtractor v1.0.5.0
Logging started at: 30/08/2011 15:16:12 UTC
Successfully reached start.
Since there were no arguments, doing default extract
Extracting from command -extract
Did not need to create exported maps directory.
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 D:\Spiele\Darkest Hour\map
#################################
An exception has occurred.
#################################
Exception: System.OverflowException
Derived from System.ArithmeticException
Derived from System.SystemException
Derived from System.Exception
30/08/2011 15:16:12
Message: Value was either too large or too small for an unsigned byte.
Source: mscorlib
STACK TRACE
Byte Parse(System.String, System.Globalization.NumberStyles, System.Globalization.NumberFormatInfo)
at System.Byte.Parse(String s, NumberStyles style, NumberFormatInfo info)
at MapUtility.Colorscales.Color..ctor(String line1, String line2, String line3, String line4)
at MapUtility.Colorscales..ctor()
at MapUtility.Lightmap..cctor()
#################################
An exception has occurred.
#################################
Exception: System.TypeInitializationException
Derived from System.SystemException
Derived from System.Exception
30/08/2011 15:16:12
Message: The type initializer for 'MapUtility.Lightmap' threw an exception.
Source: MapExtractor
STACK TRACE
Void ExtractImages(Int32, Int32, Int32, Int32, Int32, Int32)
at MapUtility.Extraction.ExtractImages(Int32 offsetX, Int32 offsetY, Int32 imageSizeX, Int32 imageSizeY, Int32 numImagesX, Int32 numImagesY)
at MapUtility.Extraction.DefaultExtract()
at MapUtility.Program.StartupWork(String[] args)
at MapUtility.Program.Main(String[] args)
my setting data:
Code:
#This contains settings for MapUtility, and can be shared among the programs
#The path to the game
#If the game exe is at C:\DD\HoI.exe, this would be GamePath=C:\DD
GamePath=D:\Spiele\Darkest Hour
#The max province number
MaxProvinceNumber=2608
#The width and height of lightmap1, the biggest one.
#The width and height are in blocks (each block is 32x32 pixels)
Lightmap1Width=936
Lightmap1Height=360
#The number of lightmaps
#Currently, only NumLightmaps=3 and NumLightmaps=4 are supported
NumLightmaps=4
#The width in bytes of each offset in the lightmap header
#Currently only 3 and 4 are supported
LightmapOffsetWidth=4
IdsAreNewWay=true
#The width of each value in index.tbl, in bytes
#Currently only 2 and 4 are supported
IndexTblValueWidth=4
#The number of entries that should be in the adjacent table
#This is strictly optional
#Usually used only with HoI
AdjacentTableEntryCount=14860
I copy all the datas of the map_1 folder are in the map folder of the vanilla direction (D:\Spiele\Darkest Hour\map)
the layers from the download are in D:\Spiele\Darkest Hour\map
the province_names.csv is in the config folder and the provinces.csv in the db folder (I moved both from gamedir/map_1)
and, another question: i have my mod Era of Steel (gamedir\mods\era of steel), but i will not overwrite the DH map for EoS. I now made the folder map/map_2 in the main dir. But, how knows the game, that map_2 for the EoS Mod is? where I must wrote something, that the game knows from where it must load the map? I hope you understand:S
greetings
Opa