OpenCGSS / DereTore

Music and beatmap authoring toolkit for THE iDOLM@STER Cinderella Girls Starlight Stage (CGSS/DereSute/デレステ). / 偶像大师灰姑娘女孩星光舞台音乐&谱面制作工具箱
MIT License
185 stars 28 forks source link

ACB+AWB encryption #56

Open mayonai opened 5 years ago

mayonai commented 5 years ago

Hello there, I've been using this tool to try and modify the audio of the game Shadowverse, another Cygames title which has the same 00003657 F27E3B22. While I can decode and encode most acb with the current version of deretore, when the files carry an external AWB, such as bgm, all that outputs is garbage. Do acb+awb have special encryptions, and if so, is there possibility of being able to crack them for the purposes of creating custom music/etc? I appreciate any help, and apologize for my amateur understanding on the subject.

hozuki commented 4 years ago

I don't think there is extra encryptions when using acb+awb. I guess that the problem is caused by a sub key, and DereTore v0.8.0+ has the ability to handle that. Confusing. But it's only a guess, without seeing any samples.

You can try acb2hcas (if you have vgmstream) and acb2wavs in libcgss. They worked correctly with acb+awb (at least in this issue). acb2wavs in DereTore should have the similar behavior. If that's not the case, there is a bug and could you provide a sample then?