P5R .adx Files Encrypted?

Need help finding something? Is a program not working? Game crashing? Give us all the details you have and we'll try to sort it out!
Please be patient when waiting for a response, this is a small community staffed by a handful of busy volunteers. It may take up to a day or two.
User avatar
zettonaender
Posts: 51
Joined: Mon Jul 20, 2020 7:27 pm
Has liked: 6 posts
Been liked: 12 posts

P5R .adx Files Encrypted?

Post by zettonaender »

So when I tried to play the adx from the P5R Chinese PKG (from bp_10.awb in this case) results in it playing but as a garbled mess/earrape. Is it encrypted?

I searched around and found an adx file decryptor which bruteforces an adx file and decrypted the rest.

I left it for a few hours (probably around 7-8 hours) and it's still not done so I think it's gonna take a while (I know brute forcing an encryption is slow af). I want to ask is it actually encrypted or am I missing something here cause I don't wanna waste electricity for a few days only for it to be not encrypted.

Some insight will be appreciated. Thanks.
Beta morgana is nightmare fuel lol
User avatar
ShrineFox
Site Admin
Posts: 237
Joined: Mon Oct 07, 2019 3:19 am
Has liked: 265 posts
Been liked: 102 posts

Re: P5R .adx Files Encrypted?

Post by ShrineFox »

The ADX key is 10882899, you can batch decrypt them using a .bat file containing the following in the same directory:

Code: Select all

for %%f in (*.adx) do VGAudioCli.exe  %%~nf.adx %%~nf_dec.adx --keycode 10882899
Only problem with this method is it doesn't change the encryption key at 0x13 to 0 afterward so you'd have to manually hex edit each one. Another thing you could do is use foobar2000 with the vgmstream plugin and put this in the same folder as your encrypted AWB: https://cdn.discordapp.com/attachments/ ... 491/adxkey

That should allow you to play/convert them
User avatar
zettonaender
Posts: 51
Joined: Mon Jul 20, 2020 7:27 pm
Has liked: 6 posts
Been liked: 12 posts

Re: P5R .adx Files Encrypted?

Post by zettonaender »

ShrineFox wrote: Thu Aug 27, 2020 4:03 am The ADX key is 10882899, you can batch decrypt them using a .bat file containing the following in the same directory:

Code: Select all

for %%f in (*.adx) do VGAudioCli.exe  %%~nf.adx %%~nf_dec.adx --keycode 10882899
Only problem with this method is it doesn't change the encryption key at 0x13 to 0 afterward so you'd have to manually hex edit each one. Another thing you could do is use foobar2000 with the vgmstream plugin and put this in the same folder as your encrypted AWB: https://cdn.discordapp.com/attachments/ ... 491/adxkey

That should allow you to play/convert them
So the foobar+VGMStream worked because the key you posted here should be 29915170 (found on vgmstream github). Just putting this here for anyone looking in the future.
Cheers.
Beta morgana is nightmare fuel lol
Post Reply