Better Sprite Packer

just a small suggestion: add option to dump the login menu background too
 
just a small suggestion: add option to dump the login menu background too

i have my cache tool for that, this is just for clients that use galkons custom spriteloader class, it doesn't access your cache at all.
 
i have my cache tool for that, this is just for clients that use galkons custom spriteloader class, it doesn't access your cache at all.

Was meant to post on that osrs sprite tool thread.. oh well.
 
Can you ignore "thumbs.db"? (Windows Thumbnail Cache File)

The program currently chokes and crashes if thumbs.db exists within the sprites folder you're attempting to repack. (The original sprite packer has this issue too)
 
Can you ignore "thumbs.db"? (Windows Thumbnail Cache File)

The program currently chokes and crashes if thumbs.db exists within the sprites folder you're attempting to repack. (The original sprite packer has this issue too)

show hidden files/folders, and delete the thumbs.db manually.
 
Can you ignore "thumbs.db"? (Windows Thumbnail Cache File)

The program currently chokes and crashes if thumbs.db exists within the sprites folder you're attempting to repack. (The original sprite packer has this issue too)

Yeah I can do that. I'll update it later today.

Edit:

Update: June 8, 2016
  • Files are now validated when loading sprite images. (Make sure they are in png format, all other formats will be ignored) This fixed the "thumbs.db" crash.
  • Updated the UI with more animations, new style to progressBar, also text over progress bar indicating files completed.
  • Fixed several bugs I found looking through the source
  • You can now name images. (The names are stored in the archives when you write them, and loaded when you load the archives)
  • By default, if a sprite has no name the index will be displayed. If the sprite has a name, the name will be shown rather than the index.
  • You can now filter the list based on the index of the sprite, or the sprites name (Before you could only search the index of the sprite not the name)
  • ImageView is now capped at a width of either 512 or height of 512. If the image you select from the list has a larger width or height than 512 the ImageView will be re-sized while maintaining the images aspect ratio. (This has no effect on the image when you write them) (This fixed the issue of large images making the program extremely big)
  • Changed application icon.

Media:
TNFAvhf.png

fd596QM.png

nxbuJ2F.png

jybE8GJ.png


rippp
 
Absolutely sick! Good job on this Seven, makes sprite packing super easy. :D

Thanks :)

Update: June 16, 2016

Changes in 1.42
  • Fixed an issue with loading tons of images (1000+)
  • Fixed another issue with file extensions
  • Fixed the bug where if you clicked a larger image then click a smaller image the textfield would disappear.
 
When loading a new sprite folder add option to load sprite offsets from a file.
format could be like:
Code:
ID:X_OFFSET:Y_OFFSET
 
Really well done, can become useful for many people :)

Thanks :)

How do you rewrite .idx and .dat files with it?

I just posted some GIF's on how to use this.

Updates: July 10, 2016
Changes in 1.43
  • Can now keep track of your current directory
  • Added icons for dialogues
  • Cleaned up some code
  • If you rename an image, the index will always show in the list not the name, but you can still search the image via the name or index.

Looking forward
  • Loading Offsets
  • Option to add your own transparent backgrounds
  • Loading sprites that aren't already ordered
  • Automatically update/ version checking

How to use

Loading Sprites From Archives (Select the directory that contains sprites.dat, sprites.idx)
H40YXs7.gif


Writing Sprite Archives

bvMM2yE.gif


Loading Sprites From A Directory
(Must be numbered 0-#...)
g6esll2.gif


Dumping Sprites

iUBwt9l.gif


rippp
 
Thank you for this, man. This should really help me out.

You're welcome :)

Should add the ability to add an image into the already packed sprites.

Patch: 1.44
This is a pretty useful update, I would encourage everyone who has this program to use this new patch.
  • You can now add new sprites while sprites are already loaded.
  • You can now replace sprites (no support for multi-section yet)
  • You can now remove sprites
  • You no longer need to have the images named in order 0, 1 ,2 ,3 you can have #2 missing for example and the program will know the sprite is missing so it will make an empty slot for you.
  • When you create an image archive, the missing sprites will be saved as well (no bytes is taken up, it just creates an empty index for you)
  • When you remove sprites from the program and when you dump the images if any sprites are missing, the program will skip those indexes, but you can load the sprites back from that directory even if the sprites aren't there.
  • Fixed an issue when you would clear the program when there's sprites in there and re populate the program with sprites the list contains the old sprite indices in the list view.
  • The program will now notify you if a new version is available.
  • Fixed an small bug with sorting.

Add Function
M7H94HM.gif


Replace Function
o6GXFbm.gif


Remove Function

yaZHmgf.gif


Importing a sprite directory with empty sprites

xocu7Gg.gif


Exporting list containing empty sprites to an image archive
So9YfJn.gif

rippp
 
You're welcome :)



Patch: 1.44
This is a pretty useful update, I would encourage everyone who has this program to use this new patch.
  • You can now add new sprites while sprites are already loaded.
  • You can now replace sprites (no support for multi-section yet)
  • You can now remove sprites
  • You no longer need to have the images named in order 0, 1 ,2 ,3 you can have #2 missing for example and the program will know the sprite is missing so it will make an empty slot for you.
  • When you create an image archive, the missing sprites will be saved as well (no bytes is taken up, it just creates an empty index for you)
  • When you remove sprites from the program and when you dump the images if any sprites are missing, the program will skip those indexes, but you can load the sprites back from that directory even if the sprites aren't there.
  • Fixed an issue when you would clear the program when there's sprites in there and re populate the program with sprites the list contains the old sprite indices in the list view.
  • The program will now notify you if a new version is available.

Add Function
M7H94HM.gif


Replace Function
o6GXFbm.gif


Remove Function

yaZHmgf.gif


Importing a sprite directory with empty sprites

xocu7Gg.gif


Exporting list containing empty sprites to an image archive
So9YfJn.gif
Did you forget to add the link for the new patch?
 

Users who are viewing this thread (total: 1, members: 0, guests: 1)