Extract VG Images & Sound with filenames?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
aihara
Posts: 10
Joined: Sun Apr 16, 2017 4:08 pm

Extract VG Images & Sound with filenames?

Post by aihara »

Hi all,

First, thank you for making bms script, especially for aluigi.

I'm new in this "game", so I'm trying to understand little by little by read and googling, but it seems I'm deadlocked :?

And here I'm, hope that somebody can help me in the forum

What I need :
Extracted sound files from obb data including file names on each sound

What I have done :
Use quickbms with vainglory bms (got 2 .dat files and I don't know what can I do to that files :shock: )
change obb data to zip and extract
use droid (digital record object identification)

Problem:
Now I can see where the sound files and change the extensions to .mp3 manually and it work, but the file name is to messy
So, How to get sound files from obb data including file names on each sound?

Sorry for bad english & Thanks
Last edited by aihara on Sat Mar 03, 2018 4:35 am, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extract VG Images & Sound with filenames?

Post by aluigi »

There are no filenames stored in the vainglory archive.
aihara
Posts: 10
Joined: Sun Apr 16, 2017 4:08 pm

Re: Extract VG Images & Sound with filenames?

Post by aihara »

aluigi wrote:There are no filenames stored in the vainglory archive.


Hi aluigi,

I'm back again with same problem, sorry for bump thread. I hope it does not violate forum rules.

After I search, I found interesting post here : Reddit

Maybe you can help me to find out how he can get that file names? the 1522b92e47a0c135c072e85ad3f43915 is on obb, but I don't know how that file become this Sounds/Tutorial/en/Announcer_Enemy_Turret_Destroyed.mp3

I also include apk file and JADX file, maybe it can help.
apk
JADX

Thanks in advanced
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Extract VG Images & Sound with filenames?

Post by aluigi »

aihara wrote:Maybe you can help me to find out how he can get that file names? the 1522b92e47a0c135c072e85ad3f43915 is on obb, but I don't know how that file become this Sounds/Tutorial/en/Announcer_Enemy_Turret_Destroyed.mp3

That's the wrong question.
The rigth question is: how Sounds/Tutorial/en/Announcer_Enemy_Turret_Destroyed.mp3 become 1522b92e47a0c135c072e85ad3f43915?
The answer is: that's the md5 hash of the filenames.
Some archives don't store the original filenames, they store their hash (sha1, md5, 32 and 64bit hash/crc and so on).
And the answer to your next question is: no, you can't get the original filename from the hash
aihara
Posts: 10
Joined: Sun Apr 16, 2017 4:08 pm

Re: Extract VG Images & Sound with filenames?

Post by aihara »

aluigi wrote:That's the wrong question.
The rigth question is: how Sounds/Tutorial/en/Announcer_Enemy_Turret_Destroyed.mp3 become 1522b92e47a0c135c072e85ad3f43915?
The answer is: that's the md5 hash of the filenames.
Some archives don't store the original filenames, they store their hash (sha1, md5, 32 and 64bit hash/crc and so on).
And the answer to your next question is: no, you can't get the original filename from the hash


thats too bad, because I imagine they stored the original file names to apk and some script from apk call obb data file. Thats why i also includes apk file above.

I already try to contact the OP on reddit, but it seems he not active anymore on there.

Can you please pm me aluigi? I want to ask you something If you do not mind