Closed Gabriela-Orzechowska closed 1 year ago
Do you have a test case file or reproducible way to create the bug fixed by this commit in current Canary? Everything I have on my end appeared to be fixed by #64
This is the file I was testing with koopa_course.zip
Correctly appears to fix corruption of brasd, effect, and posteffect paths. Thank you for the PR!
Currently the tool saves 0x08 of folder entry of U8 archive as index of last entry of the folder, although it is supposed to be index of first node that is not a part of the folder. This results in incorrect folder structure being saved, where folders are one inside of another. This fixes this issue. It's not perfect, but gets the job done correctly.