What the heck is wrong with mapconv

What the heck is wrong with mapconv

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

Moderator: Moderators

Post Reply
Rakentaja
Posts: 21
Joined: 06 May 2007, 15:39

What the heck is wrong with mapconv

Post 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
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Post 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
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post 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 ...

Image

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
User avatar
LathanStanley
Posts: 1429
Joined: 20 Jun 2005, 05:16

Post by LathanStanley »

sigh....

:roll:
Rakentaja
Posts: 21
Joined: 06 May 2007, 15:39

Post 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
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post by genblood »

post your more details about how you compiled your map.
If you used a bat file post it ...
User avatar
Ishach
Posts: 1670
Joined: 02 May 2006, 06:44

Post by Ishach »

you're wrong

the whole damn system is wrong
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Post by Forboding Angel »

Take a breath. Upload your feature map to http://www.temporary-files.com and let me see it.
User avatar
Goolash_
Posts: 201
Joined: 25 Nov 2006, 16:26

Post 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...
Rakentaja
Posts: 21
Joined: 06 May 2007, 15:39

Post 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:

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

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

Image
Metal map, actually the only thing that works wonderfully

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

Image
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
Image
User avatar
Goolash_
Posts: 201
Joined: 25 Nov 2006, 16:26

Post by Goolash_ »

if your texture comes out inverted try not using -i in your command line.
Rakentaja
Posts: 21
Joined: 06 May 2007, 15:39

Post 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 :P
User avatar
genblood
Posts: 862
Joined: 19 Jan 2005, 03:37

Post 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 ...

Image

Image

Image



The more time you put into making maps the better you'll get at it ...
Rakentaja
Posts: 21
Joined: 06 May 2007, 15:39

Post 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?
Post Reply

Return to “Map Creation”