mapconv

mapconv

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

Post Reply
Cloud_Flakker
Posts: 18
Joined: 05 Jul 2006, 21:28

mapconv

Post by Cloud_Flakker »

Hi.
Im having trouble with the compilation.
i have a folder c:\map\
in it are:
features.bmp,hight.bmp,geovent,bmp,mapconv.exe,mapper.bat,
metal.bmp,nvdxt.exe,texture.bmp,typemap.bmp.

i start the compile like this..
c:\map\MapConv -f Features.bmp -i -l -c 0.5 -x 300 -n -150 -o YourMapName.smf -y Typemap.bmp -m Metal.bmp -a Height.bmp -t Texture.bmp
it tells me:
parse error:argument: -f
couldnt find match for argument

i triedcompiling like this:c:\map\MapConv -i -l -c 0.5 -x 300 -n -150 -o YourMapName.smf -y Typemap.bmp -m Metal.bmp -a Height.bmp -t Texture.bmp
(without -f features.bmp)

it tells me:
loading textures
creating hightmap and than it tells me error failed to open dib file hight.bmp in a different window.
than in the console again it continues and tells me:
errenous dimesions for hightmap image.

help...?
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

first of all you need to getMother's MapConv to support feature maps.

second of all your height map needs to be [your texture map]/8+1 in width and heigh, and in increments of 128 (129,257,385,513 etc)... if you don't understand post the dimentions of your images and we can tell you what's wrong.
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

I'll try to see if I can help you out ...

Here is a bat file I just used to compile my latest map.


mapconv.exe -l -i -x 160 -n -70 -y mi-m1-ym.bmp -f mi-m1-fm2.bmp -m mi-m1-mm2.bmp -a mi-m1-hm.bmp -t mi-newmap31.bmp -o Metal-Isles-Redux.smf -c .6

The break down of the commands ..

* -l low pass filter

* -i invert

* -x the max height of the map

* -n the min height of the map

* -y is the typemap ( a way to seperate water and land ..)
Something you will learn to use as time moves on

* -f feature map ( this is where you include grass, geos and custom items)
(important also if you make custom feature don't forget fs.txt )

* -m Metal map

* -a height map

* -t Texture map

* -o output name of the map

* -c compress of the map

When compiling maps you need 4 thing ...

directory structor NO spaces ... c:/custom-Maps .. OK
c:/custom Maps .. Wrong ..

You need the the geovent.bmp, that nvidia dds compression util and
the mapconv.exe.

The texture maps need to be size in 512 or 1024 increments ...
Like 11264x 10240 ... You should be able to divide it by 512
without leaving only whole numbers like 11264 = 22 , 10240 = 20 ..

the -Y -A -M is 1/8 of the texture + 1 .. so 11264 = 1409 10240 = 1281

the -F is 1/8 of the texture .. so 11264 = 1408 10240 = 1280

There is a 800 MB bit limit on the texture map .. will cause the util to crash

also large maps don'r compile good


I hope some of this helps you out.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

also... you can't run it like "c:/map/MapConv", you need to run it from the folder it's in.
Cloud_Flakker
Posts: 18
Joined: 05 Jul 2006, 21:28

Post by Cloud_Flakker »

I dont understand....
i wrote everything in detail...
of course i have mapconv.. didnt u read the message? i wrote down all the files i have im c:\map\they include all the nessecery map files and the files of mapconv.
as i said i tried it without the feature map as well it didnt work.....
please read my message carfully so u will not waste ur time writing answers that are not connected to the question.
i read the tutorials my files are as specified.
Cloud_Flakker
Posts: 18
Joined: 05 Jul 2006, 21:28

Post by Cloud_Flakker »

Ok.
problem soved... there was a mistake in 1 of the file names..
sorry for ur time..
thx
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Post by SinbadEV »

did you get the feature map working? different errors mean different problems and both versions of mapconv.exe have exactly the same filename.
Post Reply

Return to “Map Creation”