XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Fri Nov 24, 2017 1:22 am

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: [3DS] Dragon Quest XI .pack files
PostPosted: Tue Aug 01, 2017 8:53 pm 
Offline
ultra-n00b

Joined: Tue Aug 01, 2017 8:50 pm
Posts: 3
Has thanked: 0 time
Have thanks: 0 time

Not sure how to open these ones. Tried the two BMS scripts for .pack and had no luck.

If it helps here is one of them opened in HxD.
Image

The text is stored in these ones thats why I ask.

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: [3DS] Dragon Quest XI .pack files
PostPosted: Tue Aug 01, 2017 10:31 pm 
Offline
beginner

Joined: Sat Apr 16, 2016 3:15 am
Posts: 34
Has thanked: 3 times
Have thanks: 13 times
Can you upload multiple samples? gdkchan sent me two, but we need multiple to confirm the format is correct.


Top
 Profile  
 
 Post subject: Re: [3DS] Dragon Quest XI .pack files
PostPosted: Tue Aug 01, 2017 10:48 pm 
Offline
ultra-n00b

Joined: Tue Aug 01, 2017 8:50 pm
Posts: 3
Has thanked: 0 time
Have thanks: 0 time
Anexenaumoon wrote:
Can you upload multiple samples? gdkchan sent me two, but we need multiple to confirm the format is correct.


Sure here are some examples:
https://mega.nz/#F!K1si2bZK!99zw94MNDJidv1FxhXAFGQ


Top
 Profile  
 
 Post subject: Re: [3DS] Dragon Quest XI .pack files
PostPosted: Sat Aug 05, 2017 10:17 pm 
Offline
beginner

Joined: Sat Apr 16, 2016 3:15 am
Posts: 34
Has thanked: 3 times
Have thanks: 13 times
I can't seem to figure out the compression type on the compressed ones labeled "PACA". It's apparently some sort of LZ variant, but I just don't know the type of it. This script portion will unpack the uncompressed "PACK" .pack files:
Code:
getdstring ID 0x4

if ID == "PACK"
get ARKSIZE long
get VER short
get ENDIANESS short
get FCOUNT short
getdstring NULL 0xA
get HEADER long
goto HEADER
get ETABLELN long
math ETABLELN - 0x4
savepos DATASTART

for i = 0 < FCOUNT
get SIZE long
putarray 0 i SIZE
get NAME string
putarray 1 i NAME
next i

savepos DATAEND
xmath PADDING "ETABLELN - (DATAEND - DATASTART)"
getdstring PAD PADDING
savepos OFFSET


for i = 0 < FCOUNT
getarray SIZE 0 i
getarray NAME 1 i
log NAME OFFSET SIZE
math OFFSET + SIZE
next i


elif ID == "PACA"



endif

Wasn't sure if any of the uncompressed ones held multiple files, so I accounted for that just in case.


Top
 Profile  
 
 Post subject: Re: [3DS] Dragon Quest XI .pack files
PostPosted: Sun Aug 06, 2017 9:39 pm 
Offline
ultra-n00b

Joined: Tue Aug 01, 2017 8:50 pm
Posts: 3
Has thanked: 0 time
Have thanks: 0 time
Anexenaumoon wrote:
I can't seem to figure out the compression type on the compressed ones labeled "PACA". It's apparently some sort of LZ variant, but I just don't know the type of it. This script portion will unpack the uncompressed "PACK" .pack files:
Code:
getdstring ID 0x4

if ID == "PACK"
get ARKSIZE long
get VER short
get ENDIANESS short
get FCOUNT short
getdstring NULL 0xA
get HEADER long
goto HEADER
get ETABLELN long
math ETABLELN - 0x4
savepos DATASTART

for i = 0 < FCOUNT
get SIZE long
putarray 0 i SIZE
get NAME string
putarray 1 i NAME
next i

savepos DATAEND
xmath PADDING "ETABLELN - (DATAEND - DATASTART)"
getdstring PAD PADDING
savepos OFFSET


for i = 0 < FCOUNT
getarray SIZE 0 i
getarray NAME 1 i
log NAME OFFSET SIZE
math OFFSET + SIZE
next i


elif ID == "PACA"



endif

Wasn't sure if any of the uncompressed ones held multiple files, so I accounted for that just in case.



I appreciate it. I tried using quickbms and it's working on files in images_cs.
I hope we can crack the PACA ones!



Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: siro1987 and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group