Trouble with a map

Trouble with a map

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

Moderator: Moderators

Post Reply
Sheekel
Posts: 1391
Joined: 19 Apr 2005, 19:23

Trouble with a map

Post by Sheekel »

Cant seem to get the texture map to display properly, any ideas?

http://img150.imageshack.us/my.php?image=screen000g.jpg
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Trouble with a map

Post by MidKnight »

post source textures?
although you probably already know: texture images need to be 8x map size +1

to be honest, i dont have very much experience in mapping
dont expect good advice from me! :P
Sheekel
Posts: 1391
Joined: 19 Apr 2005, 19:23

Re: Trouble with a map

Post by Sheekel »

1) texturemap = 512*yourspringmapsize (in this example this value is: 512*4 = 2048)
2) heightmap = (texturemapsize/8)+1
3) metalmap = (texturemapsize/8)+1

I'm running 4096x2048 = 8x4 map, so height and metal maps are 513x257

The map compiled and displayed correctly once..then i did some minor tweaking to the heightmap in photoshop and now its borked :/


I've tried compiling with a blank heightmap, metalmap, and texturemap, and i still get the same screwy map. Am i missing a parameter when im compiling?

c:\mapconv\mapconv.exe -c - x 500 -n 50 -o TestMap.smf -t texture1.bmp -m metal.bmp -a height1.bmp -i -l
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Trouble with a map

Post by MidKnight »

quadruple-check photoshop export settigs?
Sheekel
Posts: 1391
Joined: 19 Apr 2005, 19:23

Re: Trouble with a map

Post by Sheekel »

yeah about 6 times
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: Trouble with a map

Post by SirArtturi »

This is because users map conv is buggy and give really weird results eventhough everything would be right...

Beherith has tweaked mothers map compiler to produce output without scanlines so I suggest you to use that compiler.

It should be uploaded to jobjol IIRC.

edit:

Also I would suggest you to make featuremap, eventhough you wouldnt have any features on it... Make it pure black...
Sheekel wrote:
c:\mapconv\mapconv.exe -c - x 500 -n 50 -o TestMap.smf -t texture1.bmp -m metal.bmp -a height1.bmp -i -l
You could set compression value -c and if you are using users conv, it doesnt support .bmp's
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Trouble with a map

Post by Beherith »

Yep, typical users mapconv bug. And as Artturi said, add a blank featuremap, 512*256 black bmp in your case.

Link to tweaked mothers mapconv:
http://spring.jobjol.nl/show_file.php?id=1745
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Trouble with a map

Post by TradeMark »

Can you send that program source code? (and all needed libaries etc) i want to make it faster.
BaNa
Posts: 1562
Joined: 09 Sep 2007, 21:05

Re: Trouble with a map

Post by BaNa »

TradeMark wrote:Can you send that program source code? (and all needed libaries etc) i want to make it faster.

AFAIK beh's tweak is a wrapper program that corrects the syntax problems with mother mapconv, not a lot to tweak there. You should look into mothers mapconvs source if you want to tweak.
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Trouble with a map

Post by TradeMark »

where is the source code?
User avatar
MidKnight
Posts: 2652
Joined: 10 Sep 2008, 03:11

Re: Trouble with a map

Post by MidKnight »

iirc, the reason beherith made a wrapper, and not a bona fide tweaked version, is that the mapconv source is apparently harder to compile than TASClient :P
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Trouble with a map

Post by Beherith »

I posted the source code into the thread. As you can see its really not much. No additional lib dependencies are needed. Its just a standard console app made in visual studio.

http://spring.clan-sy.com/phpbb/viewtop ... 70#p336070
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Trouble with a map

Post by BrainDamage »

MidKnight wrote:iirc, the reason beherith made a wrapper, and not a bona fide tweaked version, is that the mapconv source is apparently harder to compile than TASClient :P
I compiled mothers mapconv in linux out the box by just using just make
and i'd espect it be no more troublesome in mingw after i download the required libs ( probably spring's mingwlibs are more than enough ), so not hard at all
User avatar
TradeMark
Posts: 4867
Joined: 17 Feb 2006, 15:58

Re: Trouble with a map

Post by TradeMark »

Beherith wrote:I posted the source code into the thread. As you can see its really not much. No additional lib dependencies are needed. Its just a standard console app made in visual studio.

http://spring.clan-sy.com/phpbb/viewtop ... 70#p336070
i mean mapconv source lol

but seems like nobody has it / nobody knows how to compile

maybe someone could point out the map format definitions and i make it from scratch then?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Trouble with a map

Post by Beherith »

Oh, you can get mapconv source easily, its in the spring SVN repository under trunk/tools/mapconv . If you want the old version of it, you need to check out revision 5000 of mapconv.

I only had major trouble compiling it, thus I decided it took less time to write a wrapper.
Post Reply

Return to “Map Creation”