Server Help

LVZ/LVL Questions - import tileset into SSME - tileset is inverted

Jason - Sat Jul 03, 2004 6:23 pm
Post subject: import tileset into SSME - tileset is inverted
I've made a very simple tileset. However, when I import it into SSME, it's inverted horizontally. I've attached my bmp so you can take a look at it. I downloaded the SS palette and used it in Photoshop when converting. I'm not sure what could be wrong. :/
Jason - Sat Jul 03, 2004 6:25 pm
Post subject:
I suppose the tileset isn't exactly "inverted" so here's a screenshot of what I'm talking about.
Mr Ekted - Sat Jul 03, 2004 6:42 pm
Post subject:
This file does not have a complete palette (83 entries). Although it is a valid BMP, SSME expects all 256 palette entries. So it starts reading the pixel data (256-83) * 4 = 692 bytes after the pixel data actually starts.

Shame on ljc.
Jason - Sat Jul 03, 2004 7:20 pm
Post subject:
Ah, thanks a bunch Ekted! I've got it working now. :]
Anonymous - Sun Jul 04, 2004 6:40 pm
Post subject:
Do SS and ctm support partial palettes? Could reduce a lot of size from an uncompressed .lvl.
Mr Ekted - Sun Jul 04, 2004 7:45 pm
Post subject:
The palette is 256 RGBQUAD entries, which is only 1024 bytes. No big deal.
Smong - Fri Jul 09, 2004 10:15 am
Post subject:
Ah, it's the bitmap data that makes up the rest of the 49k.
Mine GO BOOM - Fri Jul 09, 2004 3:57 pm
Post subject:
Actually, if you want to, you can shrink every map by removing the bitmap section. Of course, then you'd use the default tiles.
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group