I want to play an audio file in a bin file.

Codecs, formats, encoding/decoding of game audio, video and music
Parasite
Posts: 48
Joined: Tue Oct 18, 2022 10:49 pm

I want to play an audio file in a bin file.

Post by Parasite »

Hello.
I would like to extract and play the audio file contained in the snd.bin file, but the audio file is corrupted? I would like to extract and play the audio file contained in the snd.bin file, but the audio file is corrupted, or perhaps the extraction method was not good, and the audio will not play. If anyone can help me, I would appreciate it if you could download the file from the link and check and respond to the problem.
https://mega.nz/file/PM40XAoJ#bbXn9jD4g ... Vhs2xIdNas
snd.bin file_93MB
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I want to play an audio file in a bin file.

Post by BloodRaynare »

What's the name of the game? Also, is there an index file for this snd.bin ? (Something like snd.idx or else). I saw a few ogg vorbis files packed inside.
Parasite
Posts: 48
Joined: Tue Oct 18, 2022 10:49 pm

Re: I want to play an audio file in a bin file.

Post by Parasite »

Thanks for the reply.
-------
●GAME NAME:「グリパチ Pスーパー海物語 IN JAPAN2_v1.0.1」/
「P SUPER_UMIMONOGATARI_IN_JAPAN2」
●There was no idx file, but some files may be related to the .bin file.
- snd.bin, I don't know what this is but given the filename it may be useful :
https://mega.nz/file/qJwTiTSR#8M9ti-euz ... 05sV3_tGbs
- sound_id.dat, this file looks like a file table for the sound :
https://mega.nz/file/rZR0WKCI#eJc7ChyYS ... kVTsfFyvzs
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I want to play an audio file in a bin file.

Post by BloodRaynare »

Just re-checked your snd.bin file again and turns out the first 24-byte of each ogg files inside was encrypted, making it unplayable. Unfortunately, I don't know what encryption it uses neither the key value needed the decrypt it but I bet it was something simple.
Parasite
Posts: 48
Joined: Tue Oct 18, 2022 10:49 pm

Re: I want to play an audio file in a bin file.

Post by Parasite »

I see...encryption.
Is decryption a possibility at this point?
If so, you can download the game itself at the link, and I would be happy if you could refer to it.
https://apkpure.com/%E3%82%B0%E3%83%AA% ... p.sy017002
BloodRaynare
Posts: 367
Joined: Fri Mar 10, 2017 7:23 am

Re: I want to play an audio file in a bin file.

Post by BloodRaynare »

Parasite wrote:I see...encryption.
Is decryption a possibility at this point?
If so, you can download the game itself at the link, and I would be happy if you could refer to it.
https://apkpure.com/%E3%82%B0%E3%83%AA% ... p.sy017002
Unfortunately, cracking an encryption are kinda out of my abilities (especially if it was an Android game).
Maybe others will chime in and can figure what it was.