tornado-ii / ShinyRipper

A two-input command line program that rips graphics from Shiny graphics archives.
GNU General Public License v3.0
8 stars 1 forks source link

Suggestion: Convert .png files in certain formats into .cha or .zrs files or "export spritesheet as single image" option? #3

Open AccurateJaney opened 1 year ago

AccurateJaney commented 1 year ago

Sorry if this is out of scope, but this is just about the only thing that might know about the format of these files. Is it possible that this could either provide the full spritesheet from the .cha file in an option or allow you to convert .png files in the correct format (pixel-wise) into .cha files?

tornado-ii commented 1 year ago

Hi, apologies for the dormancy of this repo. A spritesheet option is definitely possible, but would require extra information that isn't exactly intuitive to computers. There's no real way to organise the sprites by what purpose they serve, etc. Manual spritesheets are the way to go in that regard and they are already available on spriters-resource. If you just want all the sprites in one sheet, though, I can definitely have the program export a sheet with each sprite in sequence. As for the reverse, injection/compilation of sprites into .cha files was left very work-in-progress. It's technically functional and worked on my own machine, but it appeared to have issues on others. I still need to sort that out. Check out EversionPacker for that.