Hi, daemon!
I’ve been trying for days to solve the problem of exporting models from Death Stranding. but i'm a newbie.
• Tell me please, for a successful implementation, I need a fake PKG?
• Is there somewhere in the clouds (possibly yours) a given package suitable for decryption?
• I found CUSA of the original version of DS, will this help me solve the problem?
• Also I have both, PS4 + acquired digital copy of the game
I ask for help, as soon as I can successfully complete this, I will make a video on YouTube to help others
https://imgur.com/16R0lJb
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Death Stranding (PS4)
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2870 times
-
- MEGAVETERAN
- Posts: 2647
- Joined: Tue Mar 24, 2015 8:12 pm
- Has thanked: 65 times
- Been thanked: 2870 times
-
- M-M-M-Monster veteran
- Posts: 1823
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 92 times
- Been thanked: 1058 times
Re: Death Stranding (PS4)
Nah, it does not works (for me). There are 3 problems.daemon1 wrote:PS4 tool can just work with PC. Files must be almost the same.
1)
Code: Select all
File not found in cache! prefetch/fullgame.prefetch.core
2)
Code: Select all
Необработанное исключение: System.IO.EndOfStreamException: Чтение после конца потока невозможно.
в System.IO.MemoryStream.InternalReadInt32()
в ?????????????????????????????????????????.?????????????????????????????????????????(String[] )
Code: Select all
Необработанное исключение: OutOfMemoryException.
I suppose that the master key (init hash) is different from the PC version, not sure because I do not know it from PS4 (if PS4 also encrypted as PC of cource).
Can you tell me what is the identifier for bin files in PS4 version? 0x20304050 or 0x21304050?
My Github repo
- wunk
- advanced
- Posts: 44
- Joined: Thu Dec 23, 2010 9:49 am
- Has thanked: 9 times
- Been thanked: 32 times
- Contact:
Re: Death Stranding (PS4)
It's a different format, the previously mapped out structures will not work.
PC Magic is 0x21304050, PS4 is likely 0x20304050, but it could also be that Death Stranding is using a newer iteration of the engine in general as opposed to the file format being a console-difference.
Re: Death Stranding (PS4)
Maybe start work with a movies container? It must have BINK files inside and the structure at the beginning and the end of the file seems just xored.
Re: Death Stranding (PS4)
This seems very nice but do you plan to make it work for the PC version? It appears to crash on startup.
-
- M-M-M-Monster veteran
- Posts: 1823
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 92 times
- Been thanked: 1058 times
Re: Death Stranding (PS4)
There is only one difference - an identifier that specifies that the archives are encrypted.DEElekgolo wrote:It's a different format, the previously mapped out structures will not work.
PC Magic is 0x21304050, PS4 is likely 0x20304050, but it could also be that Death Stranding is using a newer iteration of the engine in general as opposed to the file format being a console-difference.
1) Header encrypted
2) Record table encrypted
3) Block table encrypted
4) Files data aslo encrypted
5) Structures have not changed
I have solved the problem with the decrypting of the header and tables. now i ve trying to decrypt content because algorithm is little bit different.
Movies archive also encrypted
My Github repo
- Yretenai
- veteran
- Posts: 126
- Joined: Tue Jan 28, 2020 4:39 pm
- Has thanked: 20 times
- Been thanked: 138 times
Re: Death Stranding (PS4)
Someone found my HZD project it looks like
0x20304050 according to the files I have, PS4 version is also not encrypted.
-
- M-M-M-Monster veteran
- Posts: 1823
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 92 times
- Been thanked: 1058 times
Re: Death Stranding (PS4)
Ah, you here This is an interesting projectYretenai wrote:Someone found my HZD project it looks like
I'll give information on encryption later.
My Github repo
-
- M-M-M-Monster veteran
- Posts: 1823
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 92 times
- Been thanked: 1058 times
Re: Death Stranding (PS4)
Here is my test tool for decrypting and dump the header and tables (source's included).
Not a professional code, but I think it's okay
PS: There is no code to decrypt files yet.
Not a professional code, but I think it's okay
PS: There is no code to decrypt files yet.
You do not have the required permissions to view the files attached to this post.
My Github repo
- wunk
- advanced
- Posts: 44
- Joined: Thu Dec 23, 2010 9:49 am
- Has thanked: 9 times
- Been thanked: 32 times
- Contact:
Re: Death Stranding (PS4)
Lookin good
I got some C++ code up here too
https://github.com/Wunkolo/DecimaTools
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
-
- M-M-M-Monster veteran
- Posts: 1823
- Joined: Wed Mar 31, 2010 6:54 am
- Has thanked: 92 times
- Been thanked: 1058 times
Re: Death Stranding (PS4)
Great job! Do you looked code for decrypt files data? Seems MD5 is involved in decryption and there other key (salt) are used
or
As you wish
Code: Select all
static unsigned long lpSalt2[4] = {
0x6C084A37, 0x7E159D95, 0x3D5AF7E8, 0x18AA7D3F};
Code: Select all
static unsigned char lpSalt2[16] = {
0x37, 0x4A, 0x08, 0x6C, 0x95, 0x9D, 0x15, 0x7E,
0xE8, 0xF7, 0x5A, 0x3D, 0x3F, 0x7D, 0xAA, 0x18};
My Github repo
- Yretenai
- veteran
- Posts: 126
- Joined: Tue Jan 28, 2020 4:39 pm
- Has thanked: 20 times
- Been thanked: 138 times
Re: Death Stranding (PS4)
Mind slapping a license on that project? I'm planning on rewriting ProjectZeroDawn to C++ when the PC port releases and I'd love to have a C++ point of reference.DEElekgolo wrote: ↑Thu Jul 16, 2020 5:35 pmLookin good
I got some C++ code up here too
https://github.com/Wunkolo/DecimaTools