Issue with VGMToolbox and CRI ACB/AWB formats [Tokyo Mirage Sessions #FE Encore]

Codecs, formats, encoding/decoding of game audio, video and music
AlphaKretin
Posts: 10
Joined: Mon Jan 24, 2022 8:35 am

Issue with VGMToolbox and CRI ACB/AWB formats [Tokyo Mirage Sessions #FE Encore]

Post by AlphaKretin »

I'm trying to extract the BGM from Tokyo Mirage Sessions #FE Encore, for Switch. After unpacking "pack_040_sound.cpk" with QuickBMS, I get audio archives in the ACB and AWB formats. VGMToolbox seems to be the recommended way to deal with these (other software I have tried such as Sonic Toolbox does not preserve the filenames, which for my purposes is a must). When I use it to unpack "Common.acb" (and .awb), it seems like some of the audio data is getting mixed up. For example, "b45_e_armsgattai_loop.adx" has been corrupted into a copy of "b05_d_daibastudio.adx", and several tracks in runs are offset by one, for example "b_48_e_gattaiend.adx" playing what should be "b_49_normal.adx", which plays what should be "b50_b_boss.adx", and so on.

Are there any extractors for these formats that preserve filenames and don't have these issues? Is there something I can do within VGMToolbox to prevent these issues? Has anyone else experienced issues like this with this file format, or does it seem to be rare/unique?

The files are too big to upload, so I've provided them in a Google Drive link. Unfortunately I cannot upload a smaller archive, as the files within are mostly sound effects and voice lines with hard to distinguish filenames, so I wouldn't be able to tell if they're having the same issue. Thank you all for any help you can provide.

https://drive.google.com/file/d/1a0td36 ... sp=sharing
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: Issue with VGMToolbox and CRI ACB/AWB formats [Tokyo Mirage Sessions #FE Encore]

Post by BloodRaynare »

I tried to open both of your sample file directly in foobar2000 w/ vgmstream plugin component (It added support for loading ACB/AWB combo about few years ago), and while the most of your problematic files plays just fine here, it seems the "b_48_e_gattaiend" is nowhere to be found in the subsongs. Either it was not referenced or were dummied out by using the same offset from the other entries or only has 0 byte size.
AlphaKretin
Posts: 10
Joined: Mon Jan 24, 2022 8:35 am

Re: Issue with VGMToolbox and CRI ACB/AWB formats [Tokyo Mirage Sessions #FE Encore]

Post by AlphaKretin »

Oh! I failed to consider that VGMStream would do the job. Thanks for letting me know! I would guess that whatever's up with b48, that's why VGMToolbox struggled, but this will do nicely. Thanks again.