Dragon Quest XI S - custom zlib?

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Dragon Quest XI S - custom zlib?

Post by masagrator »

Dragon Quest XI S (switch edition) is not encrypted, unrealpak reads filenames fine, it can unpack not compressed files, but it can't unpack many zlib compressed files because probably of some customization (I think only bigger files are compressed with standard zlib). Offzip shows nothing was detected for this custom files.
Can someone help?
In pack I've uploaded 32MB chunk (so it's unpackable with unrealpak and current quickbms Unreal tournament 4 script) and unrealpak list of files from whole pak file. Even first file can't be unpacked.
Dragon Quest XI bms script from forum doesn't work.

https://drive.google.com/file/d/1oBmQ48 ... sp=sharing
lionheartuk
Posts: 28
Joined: Mon Jan 26, 2015 8:39 pm

Re: Dragon Quest XI S - custom zlib?

Post by lionheartuk »

How were you able to extract the initial pakchunk1-Switch.pak and pakchunk0-Switch.pak

using the quickbms script from here: viewtopic.php?f=9&t=1005 I'm unable to open it.
Gildors tool umodel can see all the filenames without issue but can't seem to open anything (tried all of the UE4 versions and got nothing).
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: Dragon Quest XI S - custom zlib?

Post by masagrator »

Unrealpak from Unreal Engine 4.19 binaries can unpack only not compressed and big zlib files from DQ XI S.

https://gbatemp.net/threads/how-to-unpa ... es.531784/
masagrator
Posts: 82
Joined: Sat Dec 22, 2018 10:03 am

Re: Dragon Quest XI S - custom zlib?

Post by masagrator »

So from some research from one person
https://gbatemp.net/threads/how-to-unpa ... st-8766939

it looks like they are using Oodle with table changed to little endian, not zlib.
lionheartuk
Posts: 28
Joined: Mon Jan 26, 2015 8:39 pm

Re: Dragon Quest XI S - custom zlib?

Post by lionheartuk »

Ah, so it seems like they've made quite a change to things then.
I'd guess that the final release will have the same packing method as the demo, so if we're able to open this, then the full game should be openable too.
Nevermore
Posts: 2
Joined: Wed Oct 09, 2019 11:34 pm

Re: Dragon Quest XI S - custom zlib?

Post by Nevermore »

@Pokeytax was able to figure it out I believe, but I can't get the bms script to work for me.

viewtopic.php?f=9&t=1005&hilit=dragon&start=1140

When I follow the steps with the exe: select the bms, select the file, select the output, it asks for a key because it's encrypted.

EDIT: Looks like it could be because I had the files split upon dumping it. I'll try to get it joined and retry. I'll be over in the GBATemp thread.

EDIT: Yup, that worked, haha. Boy that's embarrasing.