View Full Version : Lets find out whats the big **** about the maps
Ok I downloaded Balkan mod and tryed to edit the base map as the maps are the uglyest part of all mods \the colors and the no border between wather and land\
I made basic map for it, which looks like that, but it's wy bigger
http://a.imageshack.us/img820/8824/copyofintrobase.jpg
So it looks just fine, but when I start the game it looks way too bad...
Its rotated and saved as bmp 16 bit but there is that bad bad ingame look... I'm sure the base map has something to do with the colors too :bash: If we came up with idea haw to fix that then we'll be able to bring KoH back to life with good mods.... or eaven mega mod \mede by all modders in the forum\ :cheers:
This is how it looks ingame
http://a.imageshack.us/img180/1733/wtfzk.jpg
The colors would be just fine if there wasnt this "noise" :@
What I saw is that the current origianal basemap is 30 mb, when I reseve it as 16 bit bmp it becomes 3 mb...
Mephistopheles
30 Jul 2010, 16:57
Here's a first thought:
While developing the Png-to-KoH mapconverter I learned that the .bmp format contains a number of types that all work slightly different but are all called the same. Maybe KoH only correctly opens a specific type.
Can you try saving the basemap with other programs or play around with the settings in the save-dialog? That might perhaps solve the issue.
I know... yesterday i try 4-5 different 16 bit settings and they all looked different ingame... but still havent find the right settings
I think that we should find out which is the biggest 16bit type... I don't know like uncompressed one ?
edit: I asked Frujin by PM... hope he will give us some info
Mathyas Rex
30 Jul 2010, 20:46
Hmm, those patterns are very familiar, I suspect there is another file which needs to be edited, to change or remove those patterns.
The proplem is that the base must have 3,74MB and 32 bit, but i cannot find a tool who can make this. At the moment the modding base have 3,74MB and 16 bit.
now i see... ok I'll do my best to finnd a way for compressing 32bit to 3 mb
if I'm not wrong, the map needs to have these properties (exactly):
height/width: 1400 pixels
horizontal and vertical resolution 25dpi (IMHO 24 is ok)
bit depth: 32 bit
that makes 3,74 MB
IIRC I did these edits in GIMP, which worked fine.
I hope I am right and this could help
yes, yes... I saw the parameter ... But it's hard to make 32 bit bmp with 14000 pixels... the smallest I could do was 5,60 mb... wonder how did bss make it
I have no idea waht to do... pray god Frujin to help us
send me the BMP file, I PMed you my address, and I will try to edit it so it fits to KoH requirements
ok...
So heres what I did
all basemaps has 25,39 pdi \or whatever\
16
http://a.imageshack.us/img835/3048/59258068.jpg
24
http://a.imageshack.us/img823/6820/65502090.jpg
32
http://a.imageshack.us/img842/5062/83362371.jpg
Bulgaroktonos
1 Aug 2010, 07:03
hey i m glad that you show interest in my mod. of the three images the first one aint bad ... what are the settings?
ok all of the settings of the original BSS's basemap
Compression - none
resolution - 25 x 25 DPI
Original size - 1400 x 1400 pixels (1,96 MPixels)
Print size - 142.2 x 142.2 cm; 56.0 x 56.0 inches
Original colors - 65536 (16 BitsPerPixel)
Current colors - 16,7 Millions (24 BitsPerPixel)
Noumber of unique colors - 2816
Disk size - 3.74 MB (3,920,066 Bytes)
Current memory size - 5.61 MB (5,880,040 Bytes)
Current directory index - 1 / 8
Loaded in - 188 milliseconds
And then I saw this in that (http://en.irfanview-forum.de/vb/showthread.php?3751-Saving-images-as-BMP) forum
Saving images as BMP
I am trying to write a C# application that is running OCR on images using a software product called tesseract. When I use Irfanview to select a tif file to view and then save it as a BMP file tesseract is able to read your file and OCR it. Irfanview shows the memory size and the disk size as being equal (No compression of image).
When I save the same tif file using C# (GDI+) as a BMP file with Compression set to None it shows the BMP file as having a disk size as half of the memory size. Tesseract is not able to read the file created by GDI+ even when it is saved with compression set to none. How are you able to save the tif file with no compression. Do you use a windows dll in your program that I can use in my C# application?
The original tif file 224 k bytes
The original file viewed by Irfanview and then saved as a BMP file 446 bytes
The original file read in a tif file and saved as BMP file by .NET C# 223 k bytes.
This might be what we need, but I don't know how to start it
http://www.codeproject.com/KB/GDI-plus/BitonalImageConverter.aspx#_comments
I made it almost...
I managed to render a Bmp file from Tif one... the disk size is 7 mb, but the mem size is 5 mb... the colors are 32 and 24 mb... the settings are just like the tiff ones.... I just need too find way to save tiff file as 24 bits not 32... \then the current colors wiould be 24, but the originalwould be 16\ and the disk size will be 5 but the mem 3,6
Bulgaroktonos
3 Aug 2010, 09:46
can u show us a screenshot of what u did?
http://a.imageshack.us/img62/5164/80143179.jpg
No noise and no red coloring but still far from good
This could be somethink about the pixel aspec ratio ?
it looks almost perfect.
as to change the redction to 24 instead of 32 bits, I think you can do it in IrfanView
(in the menu Image -> Information) and there you can change the resolution... and let us know if it works. I hope so :))
Mephistopheles
3 Aug 2010, 11:54
When you figure out the exact properties the BaseMap needs to have I could perhaps give the MapConverter an update so that it can convert common image formats (jpg, png, etc.) into the specific one KoH expects.
Papiczky
3 Aug 2010, 12:11
If you update the map converter tell me please, I upload the new version to my website.
I asked Frujin and he said that he will take a look of the screenshots and if he could he will tell us whats wrong...
The strange thing is that 16 bit bmp works just fine, but mess the colors... the 25 and 32 bit bmp looks just like koh in colors but its messed up
maybe
this (http://stackoverflow.com/questions/2574564/save-a-32-bit-bitmap-as-1-bit-bmp-file-in-c) or this (http://www.allegro.cc/forums/thread/604024)
ore something similar will be useful for fixing the big **** of the map :) .
Unfortunately I don't have even basic knolege of programing and don't understand anything off these codes. I don't know how to do this .
Bulgaroktonos
29 May 2011, 12:29
That sounds cool. I believe the 8bit version is whats needed. Did you try out already?
I think base.bmp has size like 16bit, but colors like 32 bit. And I don't know how to make these codes working , because I don't undedrstand nothing about #c