Script needed to decrypt this binary [Vainglory]

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
krishrocks
Posts: 8
Joined: Thu Jan 21, 2016 4:25 am

Script needed to decrypt this binary [Vainglory]

Post by krishrocks »

Some one shed some light on this binary and write a bms script to it, any help would be much appreciated
link;-
https://drive.google.com/file/d/0B7aXhq ... sp=sharing
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Script needed to decrypt this binary

Post by aluigi »

krishrocks
Posts: 8
Joined: Thu Jan 21, 2016 4:25 am

Re: Script needed to decrypt this binary

Post by krishrocks »

Thanks man.... :D
How did u know it was vainglory... :roll: out of my curiosity TBH
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Script needed to decrypt this binary

Post by aluigi »

Name of the file on Google :)
Remember to specify the name of the game next time.
krishrocks
Posts: 8
Joined: Thu Jan 21, 2016 4:25 am

Re: Script needed to decrypt this binary

Post by krishrocks »

Oh!...lol :!:

That binary given some .dat files which are again encrypted i guess...please shed some light
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Script needed to decrypt this binary

Post by aluigi »

The output files are WebP lossless images or videos:
https://en.wikipedia.org/wiki/WebP
https://developers.google.com/speed/web ... iner?hl=en

You can search more info by searching "WEBPVP8L" on Google.
krishrocks
Posts: 8
Joined: Thu Jan 21, 2016 4:25 am

Re: Script needed to decrypt this binary

Post by krishrocks »

Yes i know they are webp images(Saw on hex dump of binary), But my actual question is those webp images are suppose to open in google chrome which doesn't happening..

Sorry if i'm boring u with my noobish questions... :) :idea: :geek:
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Script needed to decrypt this binary

Post by aluigi »

Try with Irfanview, they are visualized correctly with that viewer.
krishrocks
Posts: 8
Joined: Thu Jan 21, 2016 4:25 am

Re: Script needed to decrypt this binary

Post by krishrocks »

I just wanna kiss u bruh...(not physically :D :P )
Now i know why all pro's use irfan viewer....lol
Thanks again for all the help...
krishrocks
Posts: 8
Joined: Thu Jan 21, 2016 4:25 am

Need help in opening these files(script)

Post by krishrocks »

There is a script called vainglory.bms used to decrypt webp files and it seems not decrypting these binaries, Help me in decrypting these files...
link:-https://drive.google.com/folderview?id=0B_kK2poYIxhzVFVlc21QYkFfZjA&usp=sharing
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Script needed to decrypt this binary

Post by aluigi »

I don't see information about the archived files, there no size values for extracting something.
krishrocks
Posts: 8
Joined: Thu Jan 21, 2016 4:25 am

Re: Script needed to decrypt this binary

Post by krishrocks »

Thanks aluigi for checking out those files.....if u have time plz check out vainglory once, i want models of the game badly :D
krishrocks
Posts: 8
Joined: Thu Jan 21, 2016 4:25 am

Script needed to decrypt this binary

Post by krishrocks »

Can any one decode this binary for me....

https://drive.google.com/file/d/0B_kK2p ... sp=sharing

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

Re: Script needed to decrypt this binary

Post by aluigi »

Is it about Vainglory or is it just a random file? You must ever specify the game name.

Anyway I see some repeated patterns of 8 bytes in the first part of the file which makes me think about blowfish or *tea encryption, but all the rest is non-compressed / non-encrypted data without much sense (not random)
verticalD
Posts: 9
Joined: Thu May 18, 2017 10:35 am

Re: Script needed to decrypt this binary

Post by verticalD »

aluigi wrote:The output files are WebP lossless images or videos:
https://en.wikipedia.org/wiki/WebP
https://developers.google.com/speed/web ... iner?hl=en

You can search more info by searching "WEBPVP8L" on Google.

the output of what? the bms doesnt work
I've used TrID on the data and it has detected some of them as .pcx, but when I read their binary they're indeed webp files. however even irfanview can't open them
it seems like im skipping some obvious thing in the process? help me, please. I need these textures
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Script needed to decrypt this binary

Post by aluigi »

That post was referred to the exact archive posted (and no longer existent) in the first post for which the script has been created, so it's useless that you quote that.

As written in my latest posts it looks like there is encryption used on all the other files except the sample provided by the user.

Feel free to post other samples and wait the possible response/help of other users that have worked on this game.
rajawelas
Posts: 1
Joined: Wed Dec 06, 2017 5:40 pm

Re: Script needed to decrypt this binary

Post by rajawelas »

aluigi wrote:http://aluigi.org/bms/vainglory.bms

hi, after i using that script, that give me around 5 file of .wav, but some file that actualy not wav, but webp image file. just wondering how to get autorename from wav to webp. (using this script)
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Script needed to decrypt this binary [Vainglory]

Post by aluigi »

RIFF containers are automatically named as "wav" since there is no way to guess the content from the first 4 bytes.
Maybe in the next version of quickbms I can check if it's possible to add support for other types of files that use the RIFF container but currently there are no alternatives/solutions.
lmiol
Posts: 3
Joined: Sat Feb 16, 2019 10:05 pm

Re: Script needed to decrypt this binary [Vainglory]

Post by lmiol »

Hi Aluigi
i have this one OBB file https://www.modapkdown.com/vainglory-2- ... ading.html
of game Vainglory 2.11.0 version (it is a DEC 04, 2017 update)

I renamed this OBB to ZIP and almost full unpacked, but than can be seen folders 0A 0B 0C 0D 0F 01. It seems all data encrypted.
Then i tried your script.
but decryption is complete with error (attach file)
then i sow .dat files.
tried to open them with zip - winzip is open it but cant unpack (windows explorer even cant open)
Last edited by lmiol on Sat Feb 16, 2019 11:12 pm, edited 1 time in total.
lmiol
Posts: 3
Joined: Sat Feb 16, 2019 10:05 pm

Re: Script needed to decrypt this binary [Vainglory]

Post by lmiol »

we need unpack all images for viewing
for our becoming Vainglory Lore app https://www.reddit.com/r/vainglorygame/ ... _finished/