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,253
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
  • BigOnYa @ BigOnYa:
    A friend give me a $35 cigar, and pssf, just as good as a $5 one. But of course gonna have to tell him it was awesome.
  • Psionic Roshambo @ Psionic Roshambo:
    What makes a good Cuban rum soaked cigar is a nice cosmopolitan to go with it.
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Used to do that every time I went to Miami on business
  • Psionic Roshambo @ Psionic Roshambo:
    There was this little bar I would stop in have that combo and watch the beach
    +1
  • BigOnYa @ BigOnYa:
    I've never met a girl named cosmopolitan, but cool. And where do you insert the cigar? Mr clinton
  • Psionic Roshambo @ Psionic Roshambo:
    Slightly more than 35 dollars lol but I was making thousands on a job.
  • Psionic Roshambo @ Psionic Roshambo:
    Cosmopolitan is just vodka and cranberry juice lol
  • Psionic Roshambo @ Psionic Roshambo:
    I'm a martini glass
  • K3Nv2 @ K3Nv2:
    My dental assistant is Cuban I'm gonna have to him for cigars and sandwiches now
    +1
  • BigOnYa @ BigOnYa:
    Yea wish I could get Cubans cheap, they are ridiculous priced up here. But they are hard workers.
  • Psionic Roshambo @ Psionic Roshambo:
    I think I was paying like 75 back in the early 90s
  • Psionic Roshambo @ Psionic Roshambo:
    Rolled on the thighs of virgins if the stories are to be believed
  • K3Nv2 @ K3Nv2:
    I don't think we belive any of your stories
  • Psionic Roshambo @ Psionic Roshambo:
    That's honestly for the best lol
  • BigOnYa @ BigOnYa:
    I'd read his autobiography.
  • K3Nv2 @ K3Nv2:
    "If I may have done it."
  • Psionic Roshambo @ Psionic Roshambo:
    I'm deliberately vague about some of the details sure it's been 30 years but some crimes don't have limitations
  • K3Nv2 @ K3Nv2:
    Psis sex life is Dubai
    FB-IMG-1717887564361.jpg
  • BigOnYa @ BigOnYa:
    Or I picture its like quagmire from family guy, gigity.
    +2
  • Psionic Roshambo @ Psionic Roshambo:
    Back then I was so wasteful with money, didn't bother me to spend 600 bucks in a strip club, some of those private dances though... Lol
  • Psionic Roshambo @ Psionic Roshambo:
    My life back then was a mix of Breaking Bad and John Wick and Dumb and Dumber lol
  • Psionic Roshambo @ Psionic Roshambo:
    The things we do as kids so lucky to be alive lol
  • Sonic Angel Knight @ Sonic Angel Knight:
    Kids put chocolate in their pockets :ninja:
    Sonic Angel Knight @ Sonic Angel Knight: Kids put chocolate in their pockets :ninja: