Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplicate entries in dat files #89

Open
DankRank opened this issue May 20, 2021 · 0 comments
Open

duplicate entries in dat files #89

DankRank opened this issue May 20, 2021 · 0 comments

Comments

@DankRank
Copy link
Member

DankRank commented May 20, 2021

th17.dat entries under indices 143 and 155 have completely identical filenames (e01.anm) and contents.

When extracting the whole archive, thdat dumps all files in order, and you end up with 155 on disk. When e01.anm is specified on the command line, it dumps the first file in the archive that has the matching filename, i.e. 143. ZUN's code prefers earlier files.

This edge case probably should be handled in some way. (e.g. warnings, ability to extract by index, etc)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant