Ploaj / HSDLib

A library that assists with reading/writing HSD DAT files
MIT License
53 stars 16 forks source link

Crash - An item with the same key is already added #66

Closed 8bitgentleman closed 1 year ago

8bitgentleman commented 1 year ago

Upon attempting to open a rootjoint within DAT file map HSDLib keeps crashing with the error An item with the same key has already been added. See the screenshot and the attached error output. image error.txt

This happens on some files but not others, all from the same batch/game (Mario Kart Arcade GP). Any idea how to fix this or get around it an fully be able to open & export from these files?

Ploaj commented 1 year ago

Which files specifically give that error?

8bitgentleman commented 1 year ago

All the files here do. The rest of the GP2 files open just fine https://mega.nz/folder/sxwCTDSJ#zta6WWEKcO6kdsVufsfK2A

Ploaj commented 1 year ago

Should be fixed now.

8bitgentleman commented 1 year ago

Thanks for taking a look at this @Ploaj ! I can now open the models but when trying to export the RootJoint to a dae file a similar error is thrown. error.txt image