Red Dead Redemtion 2 PC

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Red Dead Redemtion 2 PC

Post by michalss »

Hi all,

Anyone stat working on RDR2 please ? Not sure if OvenIV gonna do it yet. BTW looking for texts for now..

First step would be find they key i guess... :)

Code: Select all

https://mega.nz/#!XkIwFAAZ!sbpt6urZnL98b0bTJEGktxcMKjDFjPh3xZZzAgwDA0U
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Red Dead Redemtion 2 PC

Post by Puterboy1 »

michalss wrote:Hi all,

Anyone stat working on RDR2 please ? Not sure if OvenIV gonna do it yet. BTW looking for texts for now..

First step would be find they key i guess... :)

Code: Select all

https://mega.nz/#!XkIwFAAZ!sbpt6urZnL98b0bTJEGktxcMKjDFjPh3xZZzAgwDA0U

You took the words right out of my mouth. We need to get the ball rolling.
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Re: Red Dead Redemtion 2 PC

Post by michalss »

It is already happening...
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Red Dead Redemtion 2 PC

Post by Puterboy1 »

Here's the first example:
Vehicles.rpf.zip
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

Re: Red Dead Redemtion 2 PC

Post by Panzerdroid »

This is an audio file, they have no encryption, unlike rpf's in in the main or dlc folders. Those are packed with oodle and have some kind of encryption applied over. And it seems not on the whole file, but only on the beginning.
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Red Dead Redemtion 2 PC

Post by Puterboy1 »

Panzerdroid wrote:This is an audio file, they have no encryption, unlike rpf's in in the main or dlc folders. Those are packed with oodle and have some kind of encryption applied over. And it seems not on the whole file, but only on the beginning.

Well in that case, here's the full file: https://mega.nz/#!3KRBVQqJ!chuUUqYtzu36 ... yUzzuIeMVg
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Red Dead Redemtion 2 PC

Post by Ekey »

michalss wrote:First step would be find they key i guess... :)

As far as I remember in recent games, the encryption key was must be combined from several code places. I think the same method here. It also does not make sense to hope that there is AES as encryption (may be any other).
Only one solution is - reverse engineering. :)
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

Re: Red Dead Redemtion 2 PC

Post by Panzerdroid »

Puterboy1 wrote:
Panzerdroid wrote:This is an audio file, they have no encryption, unlike rpf's in in the main or dlc folders. Those are packed with oodle and have some kind of encryption applied over. And it seems not on the whole file, but only on the beginning.

Well in that case, here's the full file: https://mega.nz/#!3KRBVQqJ!chuUUqYtzu36 ... yUzzuIeMVg

Why did you upload it? I told you already that vehicles.rpf is an enencrypted audio file. Why on earth did you upload an rpf from audio folder, when the real problem is in rpfs in game root or in dlc folder?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Red Dead Redemtion 2 PC

Post by Ekey »

Panzerdroid wrote:Why did you upload it? I told you already that vehicles.rpf is an enencrypted audio file. Why on earth did you upload an rpf from audio folder, when the real problem is in rpfs in game root or in dlc folder?

In this file TOC is encrypted.
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Red Dead Redemtion 2 PC

Post by Puterboy1 »

Panzerdroid wrote:
Puterboy1 wrote:
Panzerdroid wrote:This is an audio file, they have no encryption, unlike rpf's in in the main or dlc folders. Those are packed with oodle and have some kind of encryption applied over. And it seems not on the whole file, but only on the beginning.

Well in that case, here's the full file: https://mega.nz/#!3KRBVQqJ!chuUUqYtzu36 ... yUzzuIeMVg

Why did you upload it? I told you already that vehicles.rpf is an enencrypted audio file. Why on earth did you upload an rpf from audio folder, when the real problem is in rpfs in game root or in dlc folder?

I though it would be better if I gave you the whole file.
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

Re: Red Dead Redemtion 2 PC

Post by Panzerdroid »

Puterboy1 wrote:
Panzerdroid wrote:
Puterboy1 wrote:Well in that case, here's the full file: https://mega.nz/#!3KRBVQqJ!chuUUqYtzu36 ... yUzzuIeMVg

Why did you upload it? I told you already that vehicles.rpf is an enencrypted audio file. Why on earth did you upload an rpf from audio folder, when the real problem is in rpfs in game root or in dlc folder?

I though it would be better if I gave you the whole file.

OK.
https://www.youtube.com/watch?v=eMvYJsjwT3Y

Here's the smallest "generic" rpf + exe and all DLCs. If someone needs larger files to be uploaded, I can do it as well.
https://www.mediafire.com/file/c8qtd4tp ... 2.zip/file
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Red Dead Redemtion 2 PC

Post by Ekey »

Edited: removed useless info..
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Red Dead Redemtion 2 PC

Post by Ekey »

Well guys, I found an encryption algorithm and honestly, it does not looks like AES anymore. I'm still studying him :)

Special thanks to h3x3r ;)
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

Re: Red Dead Redemtion 2 PC

Post by Panzerdroid »

Ekey wrote:Well guys, I found an encryption algorithm and honestly, it does not looks like AES anymore. I'm still studying him :)

Special thanks to h3x3r ;)

Super! Any details while you're studying? :) Are all RPFs are affected?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Red Dead Redemtion 2 PC

Post by Ekey »

In sounds and movies - encrypted only TOC.

The content is as follows - RPFs inside RPFs (except sounds and movies):

Sample:

Code: Select all

data_0.rpf
    ui_scaleform.rpf
    ui_loadingscreens.rpf
    ui_photos.rpf


List of files and folders moved to the end of archives -> At the end of each archive, you can see sometimes an unencrypted block that is less than 16 bytes. Example:
In levels_2.rpf file we can see folder like > ounds/m_04_02.

I attached some decrypted index from update.rpf file at offset 9EE756C0 if someone wants to study it :)
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

Re: Red Dead Redemtion 2 PC

Post by Panzerdroid »

Ekey wrote:I attached some decrypted index from update.rpf file at offset 9EE756C0 if someone wants to study it :)

Thanks for info! Can we hope for a BMS script soon? :)
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Red Dead Redemtion 2 PC

Post by Ekey »

Who knows ;)
Panzerdroid
Posts: 66
Joined: Sun Aug 30, 2015 12:51 pm

Re: Red Dead Redemtion 2 PC

Post by Panzerdroid »

Ekey wrote:Who knows ;)

Keeping fingers crossed for your success, mate! :)
michalss
Posts: 320
Joined: Sun Aug 10, 2014 12:49 pm

Re: Red Dead Redemtion 2 PC

Post by michalss »

Ekey wrote:Who knows ;)


Mate any chance to get me localization files from american.rpf pls?
Ekey
Posts: 1383
Joined: Sat Aug 09, 2014 2:34 pm

Re: Red Dead Redemtion 2 PC

Post by Ekey »

I took apart the encryption and format, but I will not do any tools because the guys from OpenIV have already made partial support for files from RDR2. Wait for the release ;)

https://openiv.com/?p=1635