Jump to content

Torus Games Leapster sprite format


Recommended Posts

This format predates Sonic X for the Leapster and works entirely differently from what I can tell (and might have some form of compression for the image data?). There aren't any palettes in the file that has them in it. The attached zip file contains both the file that has the sprites in it and a file I got out of it that I'd assume is a sprite (both from Counting on Zero). The same format appears to be used in Cars, Cars Supercharged and Nascar as well.
SpriteData.zip

Link to comment
Share on other sites

Update:
The data I shared isn't sprite data. I figured out that the tiles are actually in the DPAK section with the ID 3 but are compressed using some custom "LZB" and "LZW" compression (this info was obtained using another Torus game on the LeapFrog Didj known as Didji Racing: Tiki Tropics. That one has debug symbols intact.)

Here are some sample files (I couldn't find any LZW ones in the data, but there's a ton of LZB-compressed data):
LZB.zip

 

The names of the functions I found that handle these if anyone looks into this:
- TSEUnpack_GetType
- TSEUnpack_Lzb
- TSEMemcpy (also used in that function)

Edited by Blingus
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...