• 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.

Stahl-Opa

Marshall & Grossadmiral of Helvetia
72 Badges
Jun 16, 2011
749
169
www.vmods.org
  • Victoria 2: A House Divided
  • Europa Universalis IV: Call to arms event
  • Gettysburg
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: Wrath of the Nagas
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Stellaris: Nemesis
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
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:

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