Trouble with a map
Moderator: Moderators
Trouble with a map
Cant seem to get the texture map to display properly, any ideas?
http://img150.imageshack.us/my.php?image=screen000g.jpg
http://img150.imageshack.us/my.php?image=screen000g.jpg
Re: Trouble with a map
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!
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!
Re: Trouble with a map
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
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
Re: Trouble with a map
quadruple-check photoshop export settigs?
- SirArtturi
- Posts: 1164
- Joined: 23 Jan 2008, 18:29
Re: Trouble with a map
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...
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...
You could set compression value -c and if you are using users conv, it doesnt support .bmp'sSheekel wrote:
c:\mapconv\mapconv.exe -c - x 500 -n 50 -o TestMap.smf -t texture1.bmp -m metal.bmp -a height1.bmp -i -l
Re: Trouble with a map
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
Link to tweaked mothers mapconv:
http://spring.jobjol.nl/show_file.php?id=1745
Re: Trouble with a map
Can you send that program source code? (and all needed libaries etc) i want to make it faster.
Re: Trouble with a map
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.
Re: Trouble with a map
where is the source code?
Re: Trouble with a map
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 
Re: Trouble with a map
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
http://spring.clan-sy.com/phpbb/viewtop ... 70#p336070
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
Re: Trouble with a map
I compiled mothers mapconv in linux out the box by just using just makeMidKnight 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
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
Re: Trouble with a map
i mean mapconv source lolBeherith 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
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?
Re: Trouble with a map
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.
I only had major trouble compiling it, thus I decided it took less time to write a wrapper.
