AtomCrafty / yukatool2

New and fresh version of yukatool, rewritten from the ground up to be much faster and more maintainable than its predecessor
GNU General Public License v3.0
15 stars 1 forks source link

problem while unpacking #3

Closed urupz closed 4 years ago

urupz commented 4 years ago

N6X0F0QXcS game: https://vndb.org/v11086 file: data01.ykc

AtomCrafty commented 4 years ago

Thanks for the report. Could you maybe extract the archive without converting (yuka unpack --raw data1.ykc) and upload the problematic ykg image file? The formats differ slightly between the various versions of the engine.

urupz commented 4 years ago

Thanks for the report. Could you maybe extract the archive without converting (yuka unpack --raw data1.ykc) and upload the problematic ykg image file? The formats differ slightly between the various versions of the engine.

window01_batu_dummy.zip

AtomCrafty commented 4 years ago

Thanks, I'll have a look at it when I'm free.

urupz commented 4 years ago

sure, take your time

AtomCrafty commented 4 years ago

Alright, managed to pinpoint the issue. The ykg file you provided does not contain any image data, just animation data. That's why the png decode fails. This shouldn't be a problem though, during package extraction it should generate a file called window01_batu_dummy.ani with no corresponding png file. If you plan to repack the files at some point, you might need to replace this .ani file by the original .ykg file.

urupz commented 4 years ago

thanks, i got it