CrazyPanda
Ex Rune-Scaper
- Jun 2, 2008
- 3,532
- 273
- 0
For Galkons format use...
v1.44
Better Sprite Packer 3 (View on GitHub)
Is a tool designed to pack sprites in a way they can be random-accessed.
Features
Info
The programs exports your files in a binary format in 2 files
main_file_sprites.dat
main_file_sprites.idx
memory consumption
v1.44
Better Sprite Packer 3 (View on GitHub)
Is a tool designed to pack sprites in a way they can be random-accessed.
Features
- No needed libraries! (you just need the SpriteCache class)
- You can randomly access any sprite (extremely fast and less memory consumption especially for sprites that aren't used right away such as sprites on interfaces)
- Images are fully preserved even the meta data, compression is done by the image format
- Transparency is never set, if you have transparent images they will remain transparent
- Displays image meta data
- Indexes are preserved (any image removed and if its not the last element will create a placeholder 0 byte)
- Import sprites from a directory
- Import from binary
- Select the sprites you want to add (with multi-selection)
- Export to raw formats
- Export to binary
- Search an image by it's imdex
- Modern, clean looking
- Made in Kotlin programming language
- Works on Windows, Mac, and Linux
- Supports PNG, JPEG, and GIF
Info
The programs exports your files in a binary format in 2 files
- main_file_sprites.dat (this is where all of the image data is kept)
- main_file_sprites.idx (this is the meta data that contains meta information)
main_file_sprites.dat
Code:
HEADER
signature: "bsp" (3 byte)
PAYLOAD
foreach image
data[]: (variable byte)
main_file_sprites.idx
Code:
HEADER
NONE
PAYLOAD
foreach sprite
dataOffset: 24uint
offsetX: ushort
offsetY: ushort
length: 24uint



memory consumption

Last edited: