Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
B1naryKill3r
Posts: 7
Joined: Mon Jan 28, 2019 9:16 pm

Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by B1naryKill3r »

Hello,

I'm trying to unpack Heavy Rain game files, i found .'s script that seems to be partially working on PS4 games.
quickbms crashes due to file not found (it tries to load non-existing file BigFile_PS4.d11) so i'm assuming that their format changed a little bit.

Samples: https://drive.google.com/file/d/10EL5JB ... sp=sharing
(734Mb, I've included one archive, one .idx file, one .idm file, one .dep file)

Also here's file structure:

Code: Select all

2018-01-27  16:15     1 049 405 272 BigFile_PS4.d01
2018-01-27  16:15     1 071 065 388 BigFile_PS4.d02
2018-01-27  16:15     1 016 242 818 BigFile_PS4.d03
2018-01-27  16:15       739 619 190 BigFile_PS4.d04
2018-01-27  16:15       994 713 675 BigFile_PS4.dat
2018-01-27  16:15         3 099 564 BigFile_PS4.dep
2018-01-27  16:15           106 600 BigFile_PS4.idm
2018-01-27  16:15           130 444 BigFile_PS4.idx
2018-01-27  16:15        25 325 184 eboot.bin
2019-01-27  21:06    <DIR>          GameData
2019-01-27  21:07    <DIR>          LanguageData
2019-01-27  21:07    <DIR>          Misc
2018-01-27  16:15             6 306 playgo-chunks.xml
2018-01-27  16:15             1 101 runtime.ini
2018-01-27  16:15         3 288 792 sce_discmap.plt
2019-01-27  21:15    <DIR>          sce_module
2019-01-27  21:23    <DIR>          sce_sys
2018-01-27  16:15               197 SKU.nosdat
2019-01-27  21:07    <DIR>          Videos


Thank you in advance!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by aluigi »

Better uploading only the idx/idm/dep files for analysis, just to make things quicker :)
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by shadow_lonely »

aluigi wrote:Better uploading only the idx/idm/dep files for analysis, just to make things quicker :)

Could you take and look? Thanks!
My example files: https://drive.google.com/file/d/1HZkXvn ... sp=sharing
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by aluigi »

I have made a new script because there is no way for making the original one working with both the formats.
http://aluigi.org/bms/heavy_rain.bms

Could you please upload BigFile_PS4.idm too?
I want to double check some fields.
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by shadow_lonely »

aluigi wrote:I have made a new script because there is no way for making the original one working with both the formats.
http://aluigi.org/bms/heavy_rain.bms

Could you please upload BigFile_PS4.idm too?
I want to double check some fields.

Yes! I can! I will upload BigFile_PS4.idm when I'm at home! Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by aluigi »

I did some magic and was able to make write a new script that now has the same link of the old quanticdream one, version 0.2
http://aluigi.org/bms/quanticdream.bms
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by shadow_lonely »

aluigi wrote:I did some magic and was able to make write a new script that now has the same link of the old quanticdream one, version 0.2
http://aluigi.org/bms/quanticdream.bms

Thanks! Quantic Dream prepare bring Heavy Rain and Beyond Two Souls to PC, I will research more when they released, both of them are greate game.
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by shadow_lonely »

Hi aluigi! Today Heavy Rain released demo version on Epic Game: https://www.epicgames.com/store/en-US/p ... -rain/home

I'm trying to unpack Heavy Rain game files with quanticdream.bms: http://aluigi.org/bms/quanticdream.bms
but quickbms crashes after extracting some file so i'm assuming that their format changed a little bit.

My example files: https://drive.google.com/file/d/1lMRMpq ... sp=sharing

Install Game's Structure:

Code: Select all

Misc\
Resources\
Videos\
user_setting.ini
gpudetect.ini
HeavyRain.exe
libexpat.dll
bink2w64.dll


All file in Resources folder

Code: Select all

Resources\BigFile_WIN.pdbg
Resources\BigFile_WIN.idx
Resources\BigFile_WIN.idm
Resources\BigFile_WIN.dep
Resources\BigFile_WIN.dbg
Resources\BigFile_WIN.dat
Resources\BigFile_WIN.d04
Resources\BigFile_WIN.d03
Resources\BigFile_WIN.d02
Resources\BigFile_WIN.d01


Thank you in advance!
Puterboy1
Posts: 382
Joined: Wed Sep 12, 2018 2:22 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by Puterboy1 »

shadow_lonely wrote:Hi aluigi! Today Heavy Rain released demo version on Epic Game: https://www.epicgames.com/store/en-US/p ... -rain/home

I'm trying to unpack Heavy Rain game files with quanticdream.bms: http://aluigi.org/bms/quanticdream.bms
but quickbms crashes after extracting some file so i'm assuming that their format changed a little bit.

My example files: https://drive.google.com/file/d/1lMRMpq ... sp=sharing

Install Game's Structure:

Code: Select all

Misc\
Resources\
Videos\
user_setting.ini
gpudetect.ini
HeavyRain.exe
libexpat.dll
bink2w64.dll


All file in Resources folder

Code: Select all

Resources\BigFile_WIN.pdbg
Resources\BigFile_WIN.idx
Resources\BigFile_WIN.idm
Resources\BigFile_WIN.dep
Resources\BigFile_WIN.dbg
Resources\BigFile_WIN.dat
Resources\BigFile_WIN.d04
Resources\BigFile_WIN.d03
Resources\BigFile_WIN.d02
Resources\BigFile_WIN.d01


Thank you in advance!


Could you post the sound files as well? It would do us some good for the researching process.
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by shadow_lonely »

Puterboy1 wrote:
shadow_lonely wrote:Hi aluigi! Today Heavy Rain released demo version on Epic Game: https://www.epicgames.com/store/en-US/p ... -rain/home

I'm trying to unpack Heavy Rain game files with quanticdream.bms: http://aluigi.org/bms/quanticdream.bms
but quickbms crashes after extracting some file so i'm assuming that their format changed a little bit.

My example files: https://drive.google.com/file/d/1lMRMpq ... sp=sharing

Install Game's Structure:

Code: Select all

Misc\
Resources\
Videos\
user_setting.ini
gpudetect.ini
HeavyRain.exe
libexpat.dll
bink2w64.dll


All file in Resources folder

Code: Select all

Resources\BigFile_WIN.pdbg
Resources\BigFile_WIN.idx
Resources\BigFile_WIN.idm
Resources\BigFile_WIN.dep
Resources\BigFile_WIN.dbg
Resources\BigFile_WIN.dat
Resources\BigFile_WIN.d04
Resources\BigFile_WIN.d03
Resources\BigFile_WIN.d02
Resources\BigFile_WIN.d01


Thank you in advance!


Could you post the sound files as well? It would do us some good for the researching process.

Sound storage in BigFile too. You can download demo version, only 4GB.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by aluigi »

Script 0.2.1
shadow_lonely
Posts: 216
Joined: Mon Oct 06, 2014 3:30 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by shadow_lonely »

aluigi wrote:Script 0.2.1

Hi! I just tested it, but have an error. I captured a screenshot for that error:
Image
Could you look it again?
BigFile_WIN.d01.rar: https://mega.nz/#!ZBRVyKjC!q2yfuP4r0SqO ... iK3I5OkPJg
Thanks!
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by aluigi »

Script 0.2.2.
The only difference is that here "segs" uses deflate compression instead of zlib.
No way to know that except by checking the endianess.
I can set it to unzip_dynamic but I will loose the chance of reimporting.

Ah, I have removed the usage of MEMORY_FILE.
In theory there are better chances of reimporting if your file has the same size.
BGmoder
Posts: 5
Joined: Sat Dec 08, 2018 9:13 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by BGmoder »

Hi, I see you are trying to get the same files from Heavy Rain on the PC? I have the full version here and I tried to get the files already, but for some reason most of the music files are not unpacked.I am currently trying to use Quick BMS.
BGmoder
Posts: 5
Joined: Sat Dec 08, 2018 9:13 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by BGmoder »

But instead of files we get a lot of obscure parts ∼ 20kb
kotn3l
Posts: 8
Joined: Mon Oct 22, 2018 12:24 pm

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by kotn3l »

aluigi wrote:Script 0.2.2.
The only difference is that here "segs" uses deflate compression instead of zlib.
No way to know that except by checking the endianess.
I can set it to unzip_dynamic but I will loose the chance of reimporting.

Ah, I have removed the usage of MEMORY_FILE.
In theory there are better chances of reimporting if your file has the same size.

Hello! Unfortunately this script doesn't work with detroit become human PS4 files.
Image

I have found an edited version of this script on another forum, which extracts files: qzi, com, dc, and seq extensions. *edit: oh and .dat
The qzi files I assume are Quantic Dream Zip files. Would it be possible to find a script that extracts those files? Or a whole new script that works with the dbh ps4 files and extracts these too? Thanks in advance! Sample file with a bigfile and idm and dep: https://drive.google.com/file/d/1MWe2vxKUG_odJJiyAXaou7pIXuXWkygM/view?usp=sharing
Sample with only dep and idm: https://drive.google.com/file/d/14VvxfuqbEoA6jS_2pbkLN8Xxpol_Ceb6/view?usp=sharing

Thanks in advance!!
ProGamer
Posts: 45
Joined: Wed Oct 02, 2019 10:01 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by ProGamer »

I managed to extract the files.
BigFile_PS4.d01
BigFile_PS4.d02
BigFile_PS4.d03
BigFile_PS4.d04
BigFile PS4.d05
BigFile_PS4.dep

with
QuanticDream.bms I edited the version of QuanticDream (script 0.2).

I use the other Quantic Dream Script 0.2.2. This one does not extract the files

BigFile_PS4.d01
BigFile_PS4.d02
BigFile_PS4.d03
BigFile_PS4.d04
BigFile PS4.d05
BigFile_PS4.dep

As mentioned by kotn3l
Is it possible to extract its files

dc
qzi
seg
MS-DOS

with a script or a tool, I share the script that works

QuanticDream.bms
(script 0.2).

https://mega.nz/#!K7531QCQ!zNufluFgnBip ... Ag7OB1eP4s

he extracts
BigFile_PS4.d01
BigFile_PS4.d02
BigFile_PS4.d03
BigFile_PS4.d04
BigFile PS4.d05
BigFile_PS4.dep

Thanks in advance
juka
Posts: 3
Joined: Mon Sep 02, 2019 10:34 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by juka »

ProGamer wrote:I managed to extract the files.
BigFile_PS4.d01
BigFile_PS4.d02
BigFile_PS4.d03
BigFile_PS4.d04
BigFile PS4.d05
BigFile_PS4.dep

with
QuanticDream.bms I edited the version of QuanticDream (script 0.2).

I use the other Quantic Dream Script 0.2.2. This one does not extract the files

BigFile_PS4.d01
BigFile_PS4.d02
BigFile_PS4.d03
BigFile_PS4.d04
BigFile PS4.d05
BigFile_PS4.dep

As mentioned by kotn3l
Is it possible to extract its files

dc
qzi
seg
MS-DOS

with a script or a tool, I share the script that works

QuanticDream.bms
(script 0.2).

https://mega.nz/#!K7531QCQ!zNufluFgnBip ... Ag7OB1eP4s

he extracts
BigFile_PS4.d01
BigFile_PS4.d02
BigFile_PS4.d03
BigFile_PS4.d04
BigFile PS4.d05
BigFile_PS4.dep

Thanks in advance

Could I translate this game? Thanks!
ProGamer
Posts: 45
Joined: Wed Oct 02, 2019 10:01 am

Re: Quantic Dream Engine (quanticdream.dms) not working with PS4 versions of Heavy Rain/Beyond: Two Souls

Post by ProGamer »

no it's just to recover the animation. the videos. and the sound