• 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.
Jamie550 said:
Can we see your colorscales.csv, then?

oh... :eek:o of course
Black
red green blue index
120 120 120 0
60 60 60 29
40 40 40 50
10 10 10 64
Green
red green blue index
172 172 50 0
150 150 30 35
100 100 10 50
0 0 0 64
Orange
red green blue index
205 205 180 0
190 190 165 20
175 175 150 30
0 0 0 64
light blue
red green blue index
168 220 220 0
152 195 195 25
137 175 170 40
0 0 0 64
light grey
red green blue index
193 205 205 0
178 190 190 9
163 175 175 24
0 0 0 64
light brown
red green blue index
0 169 157 0
0 149 149 20
0 139 139 50
0 0 0 64
dark yellow
red green blue index
222 185 115 0
207 170 100 20
111 67 46 50
0 0 0 64
yellow
red green blue index
255 195 25 0
240 180 10 17
225 165 5 37
0 0 0 64
dark grey
red green blue index
262 241 173 0
206 192 138 40
150 142 110 50
0 0 0 64
light yellow
red green blue index
225 160 50 0
210 145 40 25
195 130 20 50
0 0 0 64
grey
red green blue index
187 187 187 0
162 162 162 45
135 135 135 55
0 0 0 64
dark green
red green blue index
130 180 130 0
129 138 129 20
101 112 101 40
0 0 0 64
blue
red green blue index
170 220 255 0
150 200 230 0
120 170 200 45
0 0 0 64
light red
red green blue index
160 210 255 0
140 190 230 35
110 160 200 45
0 0 0 64
white
red green blue index
255 255 255 0
200 200 220 25
140 140 140 35
80 80 80 64
dark brown
red green blue index
183 172 183 0
153 142 173 30
123 112 143 50
0 0 0 64
red
red green blue index
205 140 129 0
190 125 114 20
170 105 97 30
0 0 0 64
light green
red green blue index
124 171 26 0
104 151 6 25
100 131 90 35
0 0 0 64
light orange
red green blue index
220 175 40 0
200 160 25 20
185 145 18 45
0 0 0 64
brown
red green blue index
214 187 182 0
176 154 152 20
138 121 127 40
0 0 0 64
dark blue
red green blue index
197 205 139 0
167 185 109 20
135 160 79 40
0 0 0 64
dark red
red green blue index
245 20 20 0
225 10 10 15
205 5 5 40
0 0 0 64
dark orange
red green blue index
170 170 160 0
150 150 100 25
90 90 100 40
0 0 0 64
water
red green blue index
153 192 212 0
128 160 176 20
0 128 140 40
50 64 70 64
border
red green blue index
220 0 0 0
220 0 0 4
220 0 0 35
220 0 0 64
border outline
red green blue index
50 0 0 0
50 0 0 4
50 0 0 35
50 0 0 64
 
I don't know what's the range.
But dark grey looks like that and works fine :

080807100117694031.png



PErhaps 264 is considered as 255.
 
I got that error while extracting the maps (using latest beta) :

log.txt said:
Log of MapExtractor v1.0.2.0
Logging started at: 07/08/2008 09:46:48 UTC

Successfully reached start.
Since there were no arguments, doing default extract
Extracting from command -extract
Successfully created 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:\Paradox interactive\WiF\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)
Extracting grayscale of (0,45), Size=(117,45)
Extracting grayscale of (0,0), Size=(117,45)
Extracting ownership image of (0,45), Size=(117,45)
Extracting tile image of (0,45), 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,90), Size=(117,45)
Extracting grayscale of (0,90), 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,90), Size=(117,45)
Extracting tile image of (0,90), Size=(117,45)
Extracting border image of (0,0), 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,135), Size=(117,45)
Extracting grayscale of (0,135), Size=(117,45)
Done doing the following image: Offset=(0,0), 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 ownership image of (0,180), Size=(117,45)
Extracting tile image of (0,135), Size=(117,45)
Extracting tile image of (0,180), 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 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,270), Size=(117,45)
Extracting grayscale of (0,270), Size=(117,45)


#################################
An exception has occurred.
#################################
Exception: System.NullReferenceException
Derived from System.SystemException
Derived from System.Exception
07/08/2008 09:47:14
Message: Object reference not set to an instance of an object.
Source: MapExtractor

STACK TRACE
MapUtility.Leaf FindLeaf(System.Predicate`1[MapUtility.Leaf])
Extracting ownership image of (0,225), Size=(117,45)
at MapUtility.Leaf.FindLeaf(Predicate`1 comparison)
at MapUtility.Leaf.FindSolution(Int32 x, Int32 y, Int32 rightX, Nullable`1 bottomY, MapBlock same, Predicate`1 check)
at MapUtility.Leaf.FindCoordinates(Int32 x, Int32 y)
at MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
at MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
at MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
at MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
at MapUtility.Lightmap.DrawLeaf(Int32 x, Int32 y, Leaf l, ImageData`1 canvas)
at MapUtility.Lightmap.GetTrueColoredGrayscaleLayer(Int32 x, Int32 y, Int32 captureWidth, Int32 captureHeight)
at MapUtility.Extraction.ExtractGrayscale(Lightmap map, Rectangle bounds)
at MapUtility.Extraction.ExtractSection(Lightmap lm, Rectangle bounds)
at MapUtility.Extraction.ExtractFileTask.TaskOverride()
at CoreLib.Task.DoTask(Int32 index, TaskQueue tq)
at CoreLib.TaskQueue.DoWork(Object value)
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart(Object obj)

How can i solve this ?

EDIT nevermind, it works fine at third try.
 
Last edited:
Sorry but i have to ask again. after switching a symbol on the map I wanted to test how it worked, but mapmaker have stopped working here for the 3rd time :confused:
D:\Program Files\jamie\MapUtility v1.2.4b>MapMaker
MapMaker v2.2.5.0

Initializing...
Checking directories...Done!
Loading data from images.txt...Done!
...Done!

What do you want to do now?
0) Exit
1) Make initial radish files
2) Make other radish files
3) Make adjacent.tbl
4) Make index.tbl and tiles.bmp
5) Make the lightmaps
6) Make boundbox.tbl

Other options:
7) Rebuild a certain radish file
8) Rebuild a certain radish file level

Enter the number of the choice that you want
1
Working...
Status as of 07-08-2008 11:52:29
Thread 1: Doing map_819_315.png
Thread 2: Doing map_702_90.png
2
Ikke-afviklet undtagelse: System.NullReferenceException: Objektreferencen er ikk
e indstillet til en forekomst af et objekt.
ved MapEditor.RadishMaker..ctor(LineData data) i E:\Projects\MapUtility\MapMa
ker\RadishMaker.cs:linje 83
ved MapEditor.RadishMaker.MakeFile(LineData data) i E:\Projects\MapUtility\Ma
pMaker\RadishMaker.cs:linje 380
ved MapEditor.MakeFileTask.TaskOverride() i E:\Projects\MapUtility\MapMaker\R
adishMaker.cs:linje 540
ved CoreLib.Task.DoTask(Int32 index, TaskQueue tq) i E:\Projects\CoreLib\Task
Queue.cs:linje 249
ved CoreLib.TaskQueue.DoWork(Object value) i E:\Projects\CoreLib\TaskQueue.cs
:linje 89
ved System.Threading.ThreadHelper.ThreadStart_Context(Object state)
ved System.Threading.ExecutionContext.Run(ExecutionContext executionContext,
ContextCallback callback, Object state)
ved System.Threading.ThreadHelper.ThreadStart(Object obj)

D:\Program Files\jamie\MapUtility v1.2.4b>
Edit: never mind I missed a couple of files from the extractor
 
Last edited:
Jamie550 said:
Under dark gray you have a 262. I'm almost positive that this actually isn't allowed. But maybe it actually is?

What if the game assumes that 262 is actually 255+7, and thus uses 7?

Just like 360° of a circle. 450° is 360+90°. So if you use 450 or 90°, it should not matter, as it#s the same.

Maybe? :eek:o
 
Gen.Schuermann said:
What if the game assumes that 262 is actually 255+7, and thus uses 7?

Just like 360° of a circle. 450° is 360+90°. So if you use 450 or 90°, it should not matter, as it#s the same.

Maybe? :eek:o
Strangely enough, it actually becomes 255. I actually expected 11 (from subtracting wrong), for the same reasons you did (though wondering if the next byte over would be corrupted)
 
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
 
Last edited: