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

Error with reading Dragalia acb file #9

Open
ActualMandM opened this issue Jun 18, 2019 · 3 comments
Open

Error with reading Dragalia acb file #9

ActualMandM opened this issue Jun 18, 2019 · 3 comments

Comments

@ActualMandM
Copy link

When using a batch script to extract every acb file, I ended up finding this file where the program just crashes on.
VO_CHR_INGAMESTORY_00_05.zip

@hozuki
Copy link
Owner

hozuki commented Jun 20, 2019

I'm quite busy these weeks. I won't be possible to investigate this issue until next week.

@hozuki
Copy link
Owner

hozuki commented Jul 3, 2019

I found the problem. Unlike common ACBs, this file has no WaveformTable table. This affects how to locate the files (labeled by cue IDs, which are computed using the info from waveform and reference tables) in internal/external AWB.

A possible workaround is:

  • assuming the AWB is always an external one ("streaming") the files are always in the external ("streaming") AWB
  • assuming the encoding is always HCA
  • try to map names in cue name table with files in AWB by index instead of ID
  • and short circuit some format validation code

@hozuki
Copy link
Owner

hozuki commented Jul 3, 2019

I don't know how frequent this happens and whether this is another hidden "feature" in the offical format library. If they exploit confusing default behaviors (like this one) on purpose, I am tired of playing this game.

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