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

failed to build row hash table #11

Open
DankuCrown opened this issue May 16, 2024 · 4 comments
Open

failed to build row hash table #11

DankuCrown opened this issue May 16, 2024 · 4 comments

Comments

@DankuCrown
Copy link

I dont know why, but I keep getting this error and as a result everything gets extracted except for system.bdat

"thread '' panicked at src\table\modern.rs:328:35:
failed to build row hash table: duplicate key Hash(2344178646)"

Screenshot attached.
Screenshot 2024-05-15 210621

@DankuCrown
Copy link
Author

Screenshot 2024-05-15 210621

Using the hashes gets rid of the errors, but the system.bdat never comes back when it's repackaged into bdats again.

@roccodev
Copy link
Owner

What game version and language are those BDAT files for?

It seems that you have a duplicate row in the msg_npc_name table (the row with name = DUMMY).

Passing hashes should not make a difference, the collision happens on a row ID and the hash file does not affect row IDs. I suspect the error is simply eaten by something else (and the command doesn't seem to complete)

@DankuCrown
Copy link
Author

2.2.0 and the files in gb, which should be English.

@roccodev
Copy link
Owner

Is the file straight from the game or was it modified? The copy I have only has one row with a label of 8BB953D6, the first one (Miibomii).

The duplicate key check first appeared in 0.5.0 (the latest version), is there a chance it was modified with an older one and exported with a duplicate row ID?

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

No branches or pull requests

2 participants