map conv crashing at features....

map conv crashing at features....

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

Moderators: Moderators, Moderators

Post Reply
User avatar
smoth
Posts: 22300
Joined: 13 Jan 2005, 00:46

map conv crashing at features....

Post by smoth »

......\GRTS_RiverValley\mapfiles>mapconv -c 0 -x 1200 -n -245 -o Grts_
RiverValley_009.smf -f feature.bmp -t texture.bmp -m metal.bmp -a height.raw
Loading texture
Creating height map
Creating features

......\GRTS_RiverValley\mapfiles>ECHO done waiting for keypress
done waiting for keypress

.......\GRTS_RiverValley\mapfiles>pause
Press any key to continue . . .
it is litterally crashing...

now the fs.txt exists, as does the feature file, the feature bmp is 1281X1281, which IIRC is the proper dimensions. I am using beherith's version of mothers map conv.

anyone?
0 x

User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Re: map conv crashing at features....

Post by hunterw »

features are one pixel less than metalmap so thats your prob i thhnk

20x20 map will be 1280x1280 featuremap
0 x

User avatar
smoth
Posts: 22300
Joined: 13 Jan 2005, 00:46

Re: map conv crashing at features....

Post by smoth »

nope tried that.
0 x

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

Re: map conv crashing at features....

Post by genblood »

Is there any extra key stroke or a extra return
in the fs.txt. That might cause the crash ..
0 x

User avatar
smoth
Posts: 22300
Joined: 13 Jan 2005, 00:46

Re: map conv crashing at features....

Post by smoth »

nope, it is just the feature names..
0 x

User avatar
Beherith
Moderator
Posts: 4934
Joined: 26 Oct 2007, 16:21

Re: map conv crashing at features....

Post by Beherith »

Are you by any chance using geo spots?
Geo spots in non flat areas can crash mapconv.
Also, having feature pixels next to each other can as well.
And yes, featuremap is heightmap-1.

Can you paste the output of mapconv please?
0 x

User avatar
ralphie
Posts: 426
Joined: 08 Jan 2007, 08:39

Re: map conv crashing at features....

Post by ralphie »

if you put features/trees (grass is ok, geos idk) too close too the edge of the feature map it can cause it to crash
0 x

User avatar
smoth
Posts: 22300
Joined: 13 Jan 2005, 00:46

Re: map conv crashing at features....

Post by smoth »

added a 2 pixel border around the edge and no luck so it isn't features around the edges, it might be side by side features but I never had an issue with that before.
0 x

User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14618
Joined: 17 Nov 2005, 02:43

Re: map conv crashing at features....

Post by Forboding Angel »

Smoth, sometimes mapconv is retardedly picky. Try using a 5 - 10 pixel black border on the feature map and that should do the trick.
0 x

Post Reply

Return to “Map Creation”