Join also our Discord channel! Click here.

Death Stranding

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
User avatar
wunk
advanced
Posts: 44
Joined: Thu Dec 23, 2010 9:49 am
Has thanked: 9 times
Been thanked: 32 times
Contact:

Death Stranding

Post by wunk » Wed Jul 15, 2020 6:14 am

Game just came out, it's protected with Denuvo so it can be a bit of a pain picking through a runtime dump of the executable.

Format seems to be a different version of the Decima engine than Horizon Zero Dawn and the file format looks quite different

0x20304050 for Horizon Zero Dawn
0x21304050 for Death Stranding

Here's one of the more smaller .bin files
https://mega.nz/file/GOwSUYpK#tIASi5h1E ... Hv1t4XkWaQ

File IO seems to take advantage of the Murmur3 hash function utilizing seeds like `0x0FA3A9443,0x0F41CAB62,0x0F376811C, 0x0D2A89E3E` and some precursing SIMD code at the call site. After that, likely lots of oo2core via (oo2core _7_ win64.dll) for compression.

qs12
beginner
Posts: 34
Joined: Sat Sep 21, 2019 12:55 am
Has thanked: 7 times
Been thanked: 3 times

Re: Death Stranding

Post by qs12 » Thu Jul 16, 2020 12:35 am


User avatar
wunk
advanced
Posts: 44
Joined: Thu Dec 23, 2010 9:49 am
Has thanked: 9 times
Been thanked: 32 times
Contact:

Re: Death Stranding

Post by wunk » Thu Jul 16, 2020 4:58 am

I think it deserves its own thread, rather than relying on one persons proprietary and obfuscated tools that don't even work on the PC version of the game. This is generally for interfacing with the game archive format rather than just interest in the 2d/3d assets.

User avatar
wunk
advanced
Posts: 44
Joined: Thu Dec 23, 2010 9:49 am
Has thanked: 9 times
Been thanked: 32 times
Contact:

Re: Death Stranding

Post by wunk » Thu Jul 16, 2020 3:18 pm

Murmur3 seed is "answer to everything" number "42" and it seems to just use a chain of salted(`0x0FA3A9443,0x0F41CAB62,0x0F376811C, 0x0D2A89E3E` interleaves with an input int) murmur3 hashes xored with the next 16 bytes.
The Murmur3 implementation is basically the one found here, where "seed" is always 42.
https://github.com/PeterScott/murmur3/b ... ur3.c#L234

I'll post the some notes here and formalize some code on my github
while I make a basic dumper

Here is the header/filetable/chunktable of the 138969409f16e44df28d7fbcb87a5909.bin file posted in the OP. Structures are ultimately the same as Horizon Zero Dawn on the PS4 but with the added layer of encryption. The Header/FileTable/ChunkTable entries are encrypted somewhat differently.

Code: Select all

Magic:                   21304050
Version:                 6DD02CEF
FileSize:                 2004617
DataSize:                 2131705
FileTableCount:                 4
ChunkTableCount:                9
MaxChunkSize:              262144
        ---------------------------------------
        EntryID:                      797099076
        Unknown04:                   1833628696
        Unknown08:             3F821535414ED8FD
        Offset:                               0
        Size:                           1354751
        Unknown1C:                     7496F6C2
        ---------------------------------------
        EntryID:                     4172398392
        Unknown04:                   2136868349
        Unknown08:             D3D19A0EB596F903
        Offset:                         1354751
        Size:                            145618
        Unknown1C:                     3D7F6668
        ---------------------------------------
        EntryID:                     3114963283
        Unknown04:                   4088237356
        Unknown08:             3E20BD7DB9BE7960
        Offset:                         1532501
        Size:                            599204
        Unknown1C:                     58D97D4F
        ---------------------------------------
        EntryID:                     1447133094
        Unknown04:                   3705277707
        Unknown08:             130EA489D652BD55
        Offset:                         1500369
        Size:                             32132
        Unknown1C:                     00176D49
        ---------------------------------------------
        OffsetUncompressed:                          
        SizeUncompresed:                       262144
        Unknown0C:                           030DFD13
        OffsetCompressed:                         456
        SizeCompressed:                        213931
        Unknown1C:                           5859112B
        ---------------------------------------------
        OffsetUncompressed:                    262144
        SizeUncompresed:                       262144
        Unknown0C:                           AE3F6A60
        OffsetCompressed:                      214387
        SizeCompressed:                        258608
        Unknown1C:                           DF45ABE1
        ---------------------------------------------
        OffsetUncompressed:                    524288
        SizeUncompresed:                       262144
        Unknown0C:                           D9A5F8E8
        OffsetCompressed:                      472995
        SizeCompressed:                        259270
        Unknown1C:                           9D9AC56C
        ---------------------------------------------
        OffsetUncompressed:                    786432
        SizeUncompresed:                       262144
        Unknown0C:                           CCE42AAC
        OffsetCompressed:                      732265
        SizeCompressed:                        258467
        Unknown1C:                           9015E633
        ---------------------------------------------
        OffsetUncompressed:                   1048576
        SizeUncompresed:                       262144
        Unknown0C:                           E52D54EF
        OffsetCompressed:                      990732
        SizeCompressed:                        254252
        Unknown1C:                           8A3465A0
        ---------------------------------------------
        OffsetUncompressed:                   1310720
        SizeUncompresed:                       262144
        Unknown0C:                           FE5724A2
        OffsetCompressed:                     1244984
        SizeCompressed:                        213497
        Unknown1C:                           EFFCE6F5
        ---------------------------------------------
        OffsetUncompressed:                   1572864
        SizeUncompresed:                       262144
        Unknown0C:                           DBCB4E32
        OffsetCompressed:                     1458481
        SizeCompressed:                        257844
        Unknown1C:                           D961FE10
        ---------------------------------------------
        OffsetUncompressed:                   1835008
        SizeUncompresed:                       262144
        Unknown0C:                           A7CD7DB2
        OffsetCompressed:                     1716325
        SizeCompressed:                        254539
        Unknown1C:                           DF590A89
        ---------------------------------------------
        OffsetUncompressed:                   2097152
        SizeUncompresed:                        34553
        Unknown0C:                           A5DAA534
        OffsetCompressed:                     1970864
        SizeCompressed:                         33753
        Unknown1C:                           5D58BE0F

PatrickJr
ultra-n00b
Posts: 8
Joined: Tue Feb 28, 2017 4:11 am
Has thanked: 1 time

Re: Death Stranding

Post by PatrickJr » Mon Jul 20, 2020 6:11 am

Looking forward to what you make Wunk!

redspike474
n00b
Posts: 11
Joined: Thu Feb 04, 2016 7:24 pm

Re: Death Stranding

Post by redspike474 » Tue Jul 21, 2020 4:07 pm

Any idea if the shaders in DeathStranding will be dumpable?

Post Reply