-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
I was trying to extract some acb, awb files from theaterdays' assets.
Almost all of acb, awb files can be eatracted, but several acb files can't.
I attach some sample acb files which is not able to be extracted, and simplified codes.
These bad(?) acb files seem to be contain cues which access out of range index of syns.rows.
So IndexError occurs when below code is executed at TrackList class's constructor in acb.py.
r_data = syns.rows[row["ReferenceIndex"]]["ReferenceItems"]
I tried to add below codes before accessing syns.rows, at my fork repository.
if row["ReferenceIndex"] >= len(syns.rows): continue
In this situation, cues which have bad-index are ignored, but other cues which access in safe index are extracted.
sample.zip
t-wy
Metadata
Metadata
Assignees
Labels
No labels