• Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

Shapirus

Sergeant
Jan 28, 2006
63
0
I choose '1) Make initial radish files'

And..

A fatal error has occurred. Send in D:\Game Management\Paradox\Utilities\MapUtility v1.2.1\log.txt. The application will now exit.

Alway this error :(
 

Shapirus

Sergeant
Jan 28, 2006
63
0
Log of MapMaker v2.2.4.0
Logging started at: 2008-07-27 오전 9:24:31 UTC

A
B
D
E
F
G
H
I


#################################
An exception has occurred.
#################################
Exception: System.NullReferenceException
Derived from System.SystemException
Derived from System.Exception
2008-07-27 오전 9:24:34
Message: 개체 참조가 개체의 인스턴스로 설정되지 않았습니다.
Source: MapMaker

STACK TRACE
Void .ctor(MapEditor.LineData)
위치: MapEditor.RadishMaker..ctor(LineData data)
위치: MapEditor.RadishMaker.MakeFile(LineData data)
위치: MapEditor.MakeFileTask.TaskOverride()
위치: CoreLib.Task.DoTask(Int32 index, TaskQueue tq)
위치: CoreLib.TaskQueue.DoWork(Object value)
위치: System.Threading.ThreadHelper.ThreadStart_Context(Object state)
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
위치: System.Threading.ThreadHelper.ThreadStart(Object obj)


I'm sorry to have caused you so much trouble :wacko:
 
Last edited:

Shapirus

Sergeant
Jan 28, 2006
63
0
OK.


It's my settings.txt

#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:\Games\Paradox Interactive\Victoria\

#The max province number
MaxProvinceNumber=2864

#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

------------------------------------------------------------------------

And my images file..

map_0_0.png;0;0
map_0_45.png;0;45
map_0_90.png;0;90
map_0_135.png;0;135
map_0_180.png;0;180
map_0_225.png;0;225
map_0_270.png;0;270
map_0_315.png;0;315
map_117_0.png;117;0
map_117_45.png;117;45
map_117_90.png;117;90
map_117_135.png;117;135
map_117_180.png;117;180
map_117_225.png;117;225
map_117_270.png;117;270
map_117_315.png;117;315
map_234_0.png;234;0
map_234_45.png;234;45
map_234_90.png;234;90
map_234_135.png;234;135
map_234_180.png;234;180
map_234_225.png;234;225
map_234_270.png;234;270
map_234_315.png;234;315
map_351_0.png;351;0
map_351_45.png;351;45
map_351_90.png;351;90
map_351_135.png;351;135
map_351_180.png;351;180
map_351_225.png;351;225
map_351_270.png;351;270
map_351_315.png;351;315
map_468_0.png;468;0
map_468_45.png;468;45
map_468_90.png;468;90
map_468_135.png;468;135
map_468_180.png;468;180
map_468_225.png;468;225
map_468_270.png;468;270
map_468_315.png;468;315
map_585_0.png;585;0
map_585_45.png;585;45
map_585_90.png;585;90
map_585_135.png;585;135
map_585_180.png;585;180
map_585_225.png;585;225
map_585_270.png;585;270
map_585_315.png;585;315
map_702_0.png;702;0
map_702_45.png;702;45
map_702_90.png;702;90
map_702_135.png;702;135
map_702_180.png;702;180
map_702_225.png;702;225
map_702_270.png;702;270
map_702_315.png;702;315
map_819_0.png;819;0
map_819_45.png;819;45
map_819_90.png;819;90
map_819_135.png;819;135
map_819_180.png;819;180
map_819_225.png;819;225
map_819_270.png;819;270
map_819_315.png;819;315


Did I make a mistake?
 

Shapirus

Sergeant
Jan 28, 2006
63
0
Log of MapMaker v2.2.5.0
Logging started at: 2008-07-27 오전 10:29:56 UTC



#################################
An exception has occurred.
#################################
Exception: System.NullReferenceException
Derived from System.SystemException
Derived from System.Exception
2008-07-27 오전 10:30:01
Message: 개체 참조가 개체의 인스턴스로 설정되지 않았습니다.
Source: MapMaker

STACK TRACE
Void .ctor(MapEditor.LineData)
위치(Location): MapEditor.RadishMaker..ctor(LineData data) 파일(File) E:\Projects\MapUtility\MapMaker\RadishMaker.cs:줄(Line) 81
위치: MapEditor.RadishMaker.MakeFile(LineData data) 파일 E:\Projects\MapUtility\MapMaker\RadishMaker.cs:줄 380
위치: MapEditor.MakeFileTask.TaskOverride() 파일 E:\Projects\MapUtility\MapMaker\RadishMaker.cs:줄 540
위치: CoreLib.Task.DoTask(Int32 index, TaskQueue tq) 파일 E:\Projects\CoreLib\TaskQueue.cs:줄 249
위치: CoreLib.TaskQueue.DoWork(Object value) 파일 E:\Projects\CoreLib\TaskQueue.cs:줄 89
위치: System.Threading.ThreadHelper.ThreadStart_Context(Object state)
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
위치: System.Threading.ThreadHelper.ThreadStart(Object obj)
-----------------------------------------------------------------------
Wait for me.
I'm archiving image files now :rofl:
 

Jamie550

'
48 Badges
Jan 29, 2007
4.177
154
  • Stellaris
  • Semper Fi
  • Sengoku
  • Sword of the Stars II
  • Victoria 2
  • Rome: Vae Victis
  • War of the Roses
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Victoria 2 Beta
  • Europa Universalis: Rome
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Call to arms event
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
Shapirus said:
Unfortunately, I was only able to reproduce the error once, but not while debugging.

Do you get this error every single time you do step 1? Do you get the error immediately or is there some waiting time? What is your processor speed (and is it overclocked?) and RAM capacity?

Your log.txt should have a bunch of numbers inside. Do step 1 twice and see if the final numbers match up.
 

Shapirus

Sergeant
Jan 28, 2006
63
0
1. I've got the same errors whenever I try to turn it on and they occurs instantly.
please check the following descriptions about it in detail.





2. the cpu is 1.6GHz and RAM has 512 MB. It's not ever overclocked.


3. when if I try MapMaker v2.2.5.0, the same errors occurs all the time.
I've already tried it 3-4 times but it didn't work. The log data is enclosed.

Log of MapMaker v2.2.5.0
Logging started at: 2008-07-27 오후 2:19:21 UTC



#################################
An exception has occurred.
#################################
Exception: System.NullReferenceException
Derived from System.SystemException
Derived from System.Exception
2008-07-27 오후 2:19:25
Message: 개체 참조가 개체의 인스턴스로 설정되지 않았습니다.
Source: MapMaker

STACK TRACE
Void .ctor(MapEditor.LineData)
위치: MapEditor.RadishMaker..ctor(LineData data) 파일 E:\Projects\MapUtility\MapMaker\RadishMaker.cs:줄 81
위치: MapEditor.RadishMaker.MakeFile(LineData data) 파일 E:\Projects\MapUtility\MapMaker\RadishMaker.cs:줄 380
위치: MapEditor.MakeFileTask.TaskOverride() 파일 E:\Projects\MapUtility\MapMaker\RadishMaker.cs:줄 540
위치: CoreLib.Task.DoTask(Int32 index, TaskQueue tq) 파일 E:\Projects\CoreLib\TaskQueue.cs:줄 249
위치: CoreLib.TaskQueue.DoWork(Object value) 파일 E:\Projects\CoreLib\TaskQueue.cs:줄 89
위치: System.Threading.ThreadHelper.ThreadStart_Context(Object state)
위치: System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
위치: System.Threading.ThreadHelper.ThreadStart(Object obj)


Now hundreds of thousands of fans in South Korea are awaiting a good news from me :rofl:
 

Jamie550

'
48 Badges
Jan 29, 2007
4.177
154
  • Stellaris
  • Semper Fi
  • Sengoku
  • Sword of the Stars II
  • Victoria 2
  • Rome: Vae Victis
  • War of the Roses
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Victoria 2 Beta
  • Europa Universalis: Rome
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Call to arms event
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
1.2.5 beta out

Download link

Changelog since 1.2

MapUtility v1.3

Global

MapViewer v6.3
-Changed icon
-Improved logging
-Probably fixed a occasional extraction crash

MapMaker v2.3
-Changed icon
-New adj-mod.txt validation
-Always checks for duplicates and warns users
-Always checks for redundant entries and warns users
-If settings.txt has AdjacentTableEntryCount, will check that there are the specified number of entries
-For border layer, anything other than pure red or pure blue will be considered transparent
-Reports whether adj-mod was found or not.
-Checks for province ids out of range

ObjectEditor v1.1
-Changed icon
-Parser reports improved errors in log.txt

MapExtractor v1.1
-Changed icon
-Improved logging
-Probably fixed an occasional extraction crsh


MapUtility v1.2.1

MapViewer v6.2.1
-Fixed some problems with extracting readonly files

MapMaker v2.2.1
-Radish headers exported to separate file
-Making initial radish files and making adjacents now have better status updates
-Speed improvements in reading and writing radishes
-Bound boxes now made from lightmap1, not radishes, which is much faster
-When a border is not found, no longer causes an infinite loop, but simply returns the value without the border

MapExtractor v1.0.1
-Fixed some problems with extracting readonly map files


MapUtility v1.2

Global
-Now supports different map sizes, lightmap offset sizes, and numbers of lightmaps, and method of reading different id formats, all set in settings.txt (though support is not complete)
-Index.tbl values can now be two bytes wide as well as the previous four bytes
-ObjectEditor added
-MapExtractor added
-index.tbl now reads and writes UInt16s when working on two bytes
-Log files now have a header

MapViewer v6.2
-Fixed GUI title
-Logfile at log.txt
-Tweaked sizes of displaying and exporting images
-Can view CK lightmaps
-Got rid of GUI export button, as it was more trouble then it was worth
-Scrolling (!!!)
-With scrolling, some sliders are no longer necessary and have been removed
-Now displays information about the current pixel
-Now gives message when completely done extracting
-Now colorscale images are saved correctly

MapMaker v2.2
-Changed recommended MAXPROVINCE number for HoI to 2608, as that is the correct one.
-Fixed message reporting lack of images.txt
-Fixed minor problem with finding adjancies
-Now will read a file called adj-mod.txt to change adjancies
-Errors will be logged to errorLog.txt
-Fixed problem with creating tiles.bmp, now the original palette is used
-When making lightmaps, shading is slightly more flexible
-Now after creating initial lightmaps, will automatically check for block existence, and removed corresponding option 11
-Now supports varying numbers of lightmaps (3 or 4)
-Support for CK-type province ids, excluding rivers
-Can make CK maps
-Fixed minor bug with CompressableBlockBase<T> which had problems when setting the same value to a compressed block
-Now uses log.txt, not errorlog.txt
-Index.tbl can now write in two bytes
-Fixed a problem where the border layer color was inversed in the radish file
-Improved speed of making adjacent table, including multithreading it
-Now should be able to view and extract Victoria-sized tiles.bmp

ObjectEditor v1.0
-As this is new, nothing has been changed from previous versions

MapExtractor v1.0
-As this is new, nothing has been changed from previous versions


MapUtility v1.1

Global
-Reduced memory usage slightly (in Leaf and MapBlock classes)
-Renamed psd.txt to images.txt
-Will no longer report lack of ids.csv

MapViewer v6.1
-Problem with extraction memory usage fixed
-Fixed problem with extracting borders, all pixels used to be considered borders, causing creation of lightmaps to fail
-You can now see a grid overlay
-Can use commandline "-extract" to do -extract(0,0,72,72,13,5) and create a automatic psd.csv
-Can now view and extract tiles
-Added version number to various places
-Warning if lightmap1 is not found, which suggests that MapViewer is not in the same place as the game exe
-Fixed problem with "-extract", now the folder "exported maps" will be created
-settings.txt made, including an option to keep MapViewer separate from the game files

MapMaker v2.1
-Made messages while creating adjacent file shorter
-Now the MAXPROVINCE number will be saved to a new file settings.txt, so you don't have to type it in every time
-Added version number to title
-Shorter messages while creating tiles
-Fixed problems with creating index.tbl
-Improved messages for making initial radish files
-Removed references to photoshop files when missing images.txt, as different images can be used, not just photoshop files
-Fixed a minor error with shading
-Improved boundbox making messages
-Added an option to check whether all blocks exist, and whether there are duplicates
 

unmerged(45765)

Corporal
Jun 28, 2005
39
0
Hello everybody,

it's great that finally there exists a tool to manipulate the Victoria map!

I had to install quite a lot of stuff to get it running, but now it seems to be working and I started to play around with it a little.

One question: Did somebody already figure out what font (possibly .ttf-format) is used on the Victoria map?

I found a similar one that looks promising when changed a little bit, but of course it would be better to work with the original one.

Thanks a lot for a hint & best regards!
 

unmerged(45765)

Corporal
Jun 28, 2005
39
0
Thanks for the answer, unfortunately it is not a free font and I do not know if I want to pay the 40 $ to get it. First, I will look for a similar one in my font library...

Another question, if you allow:

In the Hannibal-tutorial it is said that you have to modify the file adj-mod.txt. But after extracting the Victoria map, I did not find this file.

Just to understand well: Do I have to modify this only when editing the HoI map while in case of Victoria the program will manage the connections between the new provinces automatically?

If not, am I supposed to generate the file on my own? But if yes, where do I get adj-defs.csv from in case of Victoria?


Thanks again for any help & best regards
 

unmerged(45765)

Corporal
Jun 28, 2005
39
0
Unfortunately, there is one thing I did not read before... that the number of provinces in Victoria is limited to 2864!

This means, you can only make new ones when deleting existing ones, right?

Or is there maybe another possibility?
 

Jamie550

'
48 Badges
Jan 29, 2007
4.177
154
  • Stellaris
  • Semper Fi
  • Sengoku
  • Sword of the Stars II
  • Victoria 2
  • Rome: Vae Victis
  • War of the Roses
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Victoria 2 Beta
  • Europa Universalis: Rome
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Call to arms event
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Victoria: Revolutions
hierakares said:
Unfortunately, there is one thing I did not read before... that the number of provinces in Victoria is limited to 2864!

This means, you can only make new ones when deleting existing ones, right?

Or is there maybe another possibility?
You must delete old ones, unless there are some unused ones in province.csv
 

Prinz Wilhelm

Field Marshal
32 Badges
Jul 12, 2006
4.049
88
  • Crusader Kings II: Conclave
  • Crusader Kings III
  • Hearts of Iron IV: La Resistance
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings Complete
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Arsenal of Democracy
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines
  • 500k Club
  • Victoria 2: A House Divided
  • Victoria 2
  • Magicka
  • For The Glory
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
hierakares said:
Unfortunately, there is one thing I did not read before... that the number of provinces in Victoria is limited to 2864!

This means, you can only make new ones when deleting existing ones, right?

Or is there maybe another possibility?
Just merge the lakes into one province. :)