Author |
Message |
Jason Novice

Age:41 Gender: Joined: Feb 05 2004 Posts: 57 Offline
|
Posted: 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. :/
freezetag_tileset.bmp - 47.88 KB
File downloaded or viewed 39 time(s)
|
|
Back to top |
|
 |
Jason Novice

Age:41 Gender: Joined: Feb 05 2004 Posts: 57 Offline
|
Posted: 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.
This is screwy!
tileset_inverted.gif - 16.87 KB
File downloaded or viewed 35 time(s)
|
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: 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. _________________ 4,691 irradiated haggis!
|
|
Back to top |
|
 |
Jason Novice

Age:41 Gender: Joined: Feb 05 2004 Posts: 57 Offline
|
Posted: Sat Jul 03, 2004 7:20 pm Post subject: |
 |
|
|
|
Ah, thanks a bunch Ekted! I've got it working now. :]
|
|
Back to top |
|
 |
-Smong- Guest
Offline
|
Posted: 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.
|
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sun Jul 04, 2004 7:45 pm Post subject: |
 |
|
|
|
The palette is 256 RGBQUAD entries, which is only 1024 bytes. No big deal.
|
|
Back to top |
|
 |
Smong Server Help Squatter

Joined: 1043048991 Posts: 0x91E Offline
|
Posted: Fri Jul 09, 2004 10:15 am Post subject: |
 |
|
|
|
Ah, it's the bitmap data that makes up the rest of the 49k.
|
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: 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.
|
|
Back to top |
|
 |
|