• 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.
Status
Not open for further replies.
ADukes said:
Argh, of course.


Here are both screens again.

separate object={} clauses:


ViewAllAtOnce=yes:
With the default icons I could not duplicate, but possibly there is something special about your icons. Could you please upload them? (Don't want to download hundreds of mbs of stuff just for those icons)
 
Jamie, i have repeated the step 4 but it still happens :(
 
Jamie550 said:
Are you using the latest beta version?

Also, is GamePath in settings.txt set correctly?

Yes i'm using the latest version or at least the one you had published the same that i posted the image.

This is how my settings.txt look like:

Code:
GamePath= C:\Program Files\Paradox Interactive\Doomsday\exported maps
MaxProvinceNumber=2608
Lightmap1Width=936
Lightmap1Height=360
NumLightmaps=4
LightmapOffsetWidth=4
IdsAreNewWay=true

I have it in "exported maps" because that's the folder where i have both mapviewer and mapmaler.
 
Kretoxian said:
Yes i'm using the latest version or at least the one you had published the same that i posted the image.

This is how my settings.txt look like:

Code:
GamePath= C:\Program Files\Paradox Interactive\Doomsday\exported maps
MaxProvinceNumber=2608
Lightmap1Width=936
Lightmap1Height=360
NumLightmaps=4
LightmapOffsetWidth=4
IdsAreNewWay=true

I have it in "exported maps" because that's the folder where i have both mapviewer and mapmaler.
GamePath should point to the location of hoi2.exe, in this case it would be C:\Program Files\Paradox Interactive\Doomsday

When you open MapMaker, what does it say its version number is (the info is somewhere on top)?



ADukes: I never noticed that the images were different sizes, not just 32x32 :wacko:

Now a fix is easy

EDIT: Think it is fixed
 
Last edited:
MapUtility 1.1.3 beta is available. Download here as always.

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

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

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

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
 
Last edited:
The file seems to be taken off, atleast the link above and the one on first page is returning a file is not there anymore error message, from download site.
 
Indeed, now i could download it aswell without problems.

Perhaps Mediafire had taken it momentarily off for scrutiny or something when i tried lasttime.

excellent work you and also Adukes has done with this. thumps up.
 
What went wrong Jamie?
None of the extracted png files are 8bpp/indexed, but mapmaker seems to require it.
Log file is empty.
Code:
MapMaker v2.1.3.0

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...
Press any key to view current status...


Unhandled Exception: System.ArgumentException: bitmap must be Format8bppIndexed
   at CoreLib.Graphics.ImageData`1.ToData(Bitmap b)
   at MapEditor.SimpleImageRadishMaker.LoadAPic(Boolean required, String path, ColorType type)
   at MapEditor.SimpleImageRadishMaker.LoadFile()
   at MapEditor.RadishMaker..ctor(LineData data)
   at MapEditor.SimpleImageRadishMaker..ctor(LineData data)
   at MapEditor.RadishMaker.MakeFile(LineData data)
   at MapEditor.MakeFileTask.TaskOverride()
   at CoreLib.Task.DoTask()
   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)System.ArgumentException: bitmap must be Format8bppIndexed
   at CoreLib.Graphics.ImageData`1.ToData(Bitmap b)
   at MapEditor.SimpleImageRadishMaker.LoadAPic(Boolean required, String path, ColorType type)
   at MapEditor.SimpleImageRadishMaker.LoadFile()
   at MapEditor.RadishMaker..ctor(LineData data)
   at MapEditor.SimpleImageRadishMaker..ctor(LineData data)
   at MapEditor.RadishMaker.MakeFile(LineData data)
   at MapEditor.MakeFileTask.TaskOverride()
   at CoreLib.Task.DoTask()
   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)
 
Last edited:
Jamie550 said:
Is there any information in log.txt or errorlog.txt?
Oh, yes.

Code:
Missing block at (0, 0)
...
Missing block at (935, 359)
I only extracted a single 220x150 (IIRC) block of map starting from the offset (648,64) and edited that. Is that what's causing the problem?
 
mib said:
Oh, yes.

Code:
Missing block at (0, 0)
...
Missing block at (935, 359)
I only extracted a single 220x150 (IIRC) block of map starting from the offset (648,64) and edited that. Is that what's causing the problem?
Yes

Extract the whole map, and only edit what you need

Also make sure that images.txt is correct
 
Jamie550 said:
The link above has been changed. The new download should fix the reported problems
Do you mean my reported problem? If so, it still happens.

EDIT: Ah okay, I see there was a problem with MapExtractor.exe, so I must extract the files again.
The new colorscale files look strange; probably a new bug.
 
Last edited:
Status
Not open for further replies.