syrupyy / boofunpack

Cocos2d-x texture unpacker, primarily for Cookie Run.
MIT License
2 stars 1 forks source link

Doesn't rip with the config.ini file. #1

Open RiffyDiffy opened 2 years ago

RiffyDiffy commented 2 years ago

Hi, RiffyDiffy speaking! I like your tool, and has great potential, but there's just one issue I'd like to respond. WindowsTerminal_mjMs6dyoLF

When I first drag in the spritesheet and the .plist file (without the config.ini file), it separates the sprites.

However, it doesn't exactly separate that well comparing to one-pill's texture unpacker script.

The config.ini file appears, I edit out this line from this:

_# Crops sprites to their edges, set to false for original animation size cropsprites = true

To this:

_# Crops sprites to their edges, set to false for original animation size cropsprites = false

When I saved it, delete the outputted folder, and tried it again. Well, the image above explain.

Can you figure out a way to fix this bug? It would be extremely appreciated, and I plan on to use this tool for future uses!

Thanks for reading this! -RiffyDiffy

RiffyDiffy commented 2 years ago

Oh, wait a minute, I found out how to separate the sprites like I wanted. atom_qlK7dk4ZSR So, I changed the "sourceSize" strings to "spriteSourceSize", in order for the script to separate with the "spriteSourceSize" component.

Sorry if I did some modifications. Is it okay if I can fork your project to feature my change, or no?

RiffyDiffy commented 2 years ago

Wait, again. It doesn't work with the "ani_cookie0000" files. It displays the same error.