Page 1 of 1
What the heck is wrong with mapconv
Posted: 06 May 2007, 20:43
by Rakentaja
Okay listen up;
My mapconv goes batshit insane. I can't compile any maps. It tries to fit a geo vent in every goddamn pixel on the map and gets stuck in an infinite loop. I don't get any output files from the program. I have spent so much time fixing this problem it sickens me and makes me want to curl up and die. No, I haven't found a solution, no thanks to the fragmented documentation provided in the wiki.
TASMapMaker v0.2 can create a map out of the files I have. Problem is, the map is inverted (can't change that EVEN BY FLIPPING THE HEIGHTFIELD BITMAP BEFORE COMPILING I've tried plenty of times oh god make it stop already) and it creates 3 geo vents per green pixel on the feature map.
.bmp details
Texture map: 8192x8192 px 24 bit
Height map: 1025x1025 px 24 bit
Feature map: 1024x1024 px 24 bit
Metal map: 1025x1025 px 24 bit
please help
Posted: 06 May 2007, 21:29
by hunterw
it is dumb when it places features, it can't do it right on slopes for god knows what reason
a good trick is to set the min height to 0 and the max height to 10 for the compile - then it doesn't fuck up your feature placement. after that just use the smfed to change the min and max heights to their correct numbers
Posted: 06 May 2007, 21:52
by Forboding Angel
Posted: 06 May 2007, 22:07
by genblood
When adding Geos to the feature.bmp. I've always used a white single
pixel(255,255,255) ... it might not always work, but so far I've
not had any issues when compiling my maps ...
Here is a screenie of the last feature.bmp I used on my last map ...
Here is what's in my bat file I used to compile my map ....
mapconv.exe -i -l -x 100 -n -85 -f kpc-fm4.bmp -m kpc-mm4.bmp -a kpc-hm.bmp -t kpc-map-101.bmp -o Chasm-V1.smf -c .2
Posted: 06 May 2007, 22:11
by LathanStanley
sigh....

Posted: 06 May 2007, 22:54
by Rakentaja
Cheers guys, I got it working. Though my map is full of black right now but I guess I have to fiddle around with the lighting settings a bit more to get it fixed (although it worked fine earlier and I didn't change any settings? Weird).
Thanks again.
edit: There should be a mention somewhere that mapconv.exe doesn't overwrite anything, it would have made my efforts much less frustrating
edit 2: okay what the titfuck I broke it again what is this shit my map isn't even on the damn list anymore
It isn't even a good map why do I deserve this
I need a breather
Posted: 07 May 2007, 00:17
by genblood
post your more details about how you compiled your map.
If you used a bat file post it ...
Posted: 07 May 2007, 00:44
by Ishach
you're wrong
the whole damn system is wrong
Posted: 07 May 2007, 03:21
by Forboding Angel
Take a breath. Upload your feature map to
http://www.temporary-files.com and let me see it.
Posted: 07 May 2007, 05:33
by Goolash_
something the usually screws the mapconv and puts it in an infinite loop is having features too close to the map's edge, trees especially screw things up...
Posted: 07 May 2007, 16:44
by Rakentaja
Ah, there's nothing like a good night's sleep to clear my mind of frothing internet rage. Now, where were we...
Here's pics of my heightmap, terrain, metal and features, in full 8 bit gif glory:

Features (1 geo sitting right in the middle, which is also the position around which the 2 extra geos spawn)

Heightmap (after L3DT and a bit of funky brushing, base shamelessly ripped off from FA's mapping tutorial for testing purposes)

Metal map, actually the only thing that works wonderfully

Terrain texture (jpg would have most probably sufficed but yeah)

This is what it currently looks like (atrocious) ingame, things of note: inverted texture and my inability to fix that. Most probably needs steeper hills too but I'm not touching the max/min height values until the other problems have been sorted out. Oh, the max/min height values are 101/100 as per my batch, unlike what spring.exe is showing, so I am probably doing something horribly, horribly wrong here
My batch file:
thisprogramisapieceofshit.bat wrote:mapconv -i -l -c 0.8 -x 101 -n 100 -o TestMap.smf -t texture.bmp -m metal.bmp -a height.bmp -f feature.bmp
pause
Ishach wrote:you're wrong
the whole damn system is wrong

Posted: 07 May 2007, 18:51
by Goolash_
if your texture comes out inverted try not using -i in your command line.
Posted: 07 May 2007, 19:20
by Rakentaja
Got it working again... This time with the texture too, so it's not completely black. I really don't know what the hell is up. This thread is now redundant until I manage to mess it up again

Posted: 08 May 2007, 02:52
by genblood
Rakentaja,
A good start ... you need to redo the metal & feature bmp ...
Also, the texture might need some toughing up ... but a good
start ...
I've grabbed the height and messed around and made a quicky
map ... here are some screenies ...
The more time you put into making maps the better you'll get at it ...
Posted: 08 May 2007, 19:21
by Rakentaja
Yeah, there was no way in hell I was going to release that map in any anyways since the base heightmap wasn't mine. T'was just a test to get everything working smoothly, and I've accomplished that for now.
Also that's a hella sweet looking rock texture, did you brush it in in Photoshop or output a high resolution file with L3DT?