ROM Hack Question How to unpack and repack *pak files which dragon quest 11 demo has ?

Falo

Well-Known Member
Member
Joined
Jul 22, 2012
Messages
680
Trophies
2
XP
2,628
Country
Germany
The Game uses Unreal Engine 4.18.3 "SDK MW+EpicGames+UnrealEngine-4_18_3", pak is Version 4.

The compression method in this game is 0x3 -> Oodle, but since it's version 4, UnrealPak.exe detects it as Zlib (because "(0x3 & 0x1) == 0x1").
The used Oodle compression is a little bit tricky, they reversed the compression tables and switched the big endian values to little endian.

Oodle is closed source (RAD Game Tools) and so it's up to the magic from aluigi (quickbms) to implement this custom algo.
 

Pokeytax

Member
Newcomer
Joined
Oct 4, 2014
Messages
12
Trophies
0
Age
41
XP
198
Country
United States
Bumping this thread with the game release. Seems to be using similar Oodle compression to the demo. QuickBMS will need a different library for Oodle to unpack the contents.
 

Pokeytax

Member
Newcomer
Joined
Oct 4, 2014
Messages
12
Trophies
0
Age
41
XP
198
Country
United States
The Game uses Unreal Engine 4.18.3 "SDK MW+EpicGames+UnrealEngine-4_18_3", pak is Version 4.

The compression method in this game is 0x3 -> Oodle, but since it's version 4, UnrealPak.exe detects it as Zlib (because "(0x3 & 0x1) == 0x1").
The used Oodle compression is a little bit tricky, they reversed the compression tables and switched the big endian values to little endian.

Oodle is closed source (RAD Game Tools) and so it's up to the magic from aluigi (quickbms) to implement this custom algo.

Thanks for the help, I'm looking at this and willing to do some work but can't figure it out. Are you sure it's Oodle? I know compression method is 0x3, yeah, but there's no Oodle header, and it looks bytewise which seems odd. A custom Oodle LZNIB/Selkie? I tried all the existing QuickBMS compression with no luck, it's definitely little-endian like you said.
 

Nevermore

Well-Known Member
Member
Joined
Jun 16, 2014
Messages
357
Trophies
0
XP
1,242
Country
United States
I can't get the extract to work... and I just realized as I was typing up this post, is my issue because the pak file is split up from when I dumped the Romfs?

upload_2019-10-9_21-2-39.png

Welp, redumping just the file, hopefully it stays intact.

EDIT: Yup, I'm a dum-dum, I just joined the two files, then ran the quick BMS and it worked flawlessly. Thank you.

Now I wonder how we can extract the texture files. JackGame\Content\UIs_common\Texture\Map has all the ingame maps.

Before I could use this UE Viewer set to Unreal 4.14 to open, but it doesn't work here :/
http://www.gildor.org/en/projects/umodel#files
 
Last edited by Nevermore,

Pokeytax

Member
Newcomer
Joined
Oct 4, 2014
Messages
12
Trophies
0
Age
41
XP
198
Country
United States
The Lizard/LZ5 compression should be out of the picture now, that was the compression format of the pak and now the files are decompressed. I think unfortunately it’s a UE Viewer issue (which I know little about). DQXI S probably runs on Unreal 4.15 or higher (one of the reasons for the game taking so long was updating from Unreal 4.13).

The original version of my bms script output some uncompressed files at 0 bytes, so that could also cause an issue.
 
Last edited by Pokeytax,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...