CrazyPanda
Ex Rune-Scaper
- Jun 2, 2008
- 3,532
- 273
- 0
Better Sprite Packer (version 2)
What is better sprite packer?
Better sprite packer (BSP) is a program designed to pack sprites into RuneScape's 2006 file system. Revision #317
Features
Versions
Use GIMP or Photoshop to reduce image colors
Meta format
Notes
Issues
Media
Automatically generates new image archives if any archives have more than 256 colors. Placeholders take the place of the sprites moved out of the archive to preserve order.
Before
After
What is better sprite packer?
Better sprite packer (BSP) is a program designed to pack sprites into RuneScape's 2006 file system. Revision #317
Features
- Follows 317-377 sprite format
- No needed libraries
- No needed classes
- Supports GIF, PNG
- Exports to PNG-8
- Exports meta information into a file called Meta.json in the root of your sprites directory
- Includes jfxrt (some jre's don't contain the javafx libs especially pre 1.8)
Compatiable with Linux and Windows 10 (I don't have a mac so I can't say it works on there. If you have a mac and this program works for you let me know)
Versions
- 1.0 - 1.44: Compatible with Galkon's format
- 1.45 - 1.49: New experimental formats.
- 2.0 + Designed to work with RuneScape's file system.
Use GIMP or Photoshop to reduce image colors


Meta format
Code:
{
"mod_icons": [
{
"id": 0,
"offsetX": 0,
"offsetY": 1,
"resizeWidth": 13,
"resizeHeight": 13,
"format": 1
},
{
"id": 1,
"offsetX": 0,
"offsetY": 1,
"resizeWidth": 13,
"resizeHeight": 13,
"format": 1
}
],
"number_button": [
{
"id": 0,
"offsetX": 0,
"offsetY": 0,
"resizeWidth": 64,
"resizeHeight": 64,
"format": 0
}
]
}
Notes
- A single image archive can only contain 256 colors (255 if rgb 0 is not present which indicates transparency)
- To reduce image colors you can use either Photoshop or GIMP image -> mode -> indexed then change max number of colors or use web palette
- Transparency is set in the client, not BSP. (In a #317 rgb 0 aka black is used for transparency)
Issues
- if the program isn't working for you, feel free to submit an issue request here.
Media

Spoiler for More Media:
Automatically generates new image archives if any archives have more than 256 colors. Placeholders take the place of the sprites moved out of the archive to preserve order.
Before

After


Last edited: