XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Mon Nov 19, 2018 2:47 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: PC Killer Instinct (2013) .pak
PostPosted: Mon Apr 11, 2016 5:31 pm 
Offline
veteran
User avatar

Joined: Tue Jul 17, 2012 3:52 am
Posts: 87
Has thanked: 16 times
Have thanks: 10 times

Hello,

I was wondering if anybody has any idea on how to unpack the .pak archives from the PC version of KI. I'm after the announcer sounds and the arbiters sounds.

KI uses Double Helix's HEX engine and despite my best efforts, I have not been able to find any information on the engine at all. I've tried several .pak tools on it with no success.

Here is a sample.

https://www.mediafire.com/?f8vf5acq884dzvo

Thanks.

You can make the ads go away by registering



Top
 Profile  
 
 Post subject: Re: PC Killer Instinct (2013) .pak
PostPosted: Mon Apr 11, 2016 10:30 pm 
Offline
double-veteran
double-veteran

Joined: Sun Apr 20, 2008 2:58 am
Posts: 840
Has thanked: 5 times
Have thanks: 33 times
Yes, would very much like a way to unpack these.


Top
 Profile  
 
 Post subject: Re: PC Killer Instinct (2013) .pak
PostPosted: Tue Apr 12, 2016 1:23 am 
Offline
Moderator
User avatar

Joined: Sun May 18, 2008 3:01 pm
Posts: 2501
Has thanked: 57 times
Have thanks: 1246 times
Here is a beta script
Code:
IDSTRING PAK_
get VERSION long
get NULL00 long
get TYPE long
get COUNT00 long
get COUNT01 long
get COUNT02 long
for i = 0 < COUNT02
get NULL01 long
get COUNT03 long
get COUNT04 long
math COUNT03 * 4
getdstring NULL02 COUNT03
next i
for i = 0 < COUNT01
get HASH long
get NSIZE long
getdstring NVAR NSIZE
#print "%NVAR%"
next i
for i = 0 < COUNT00
getdstring NAME 0xF0
get VAR00 short
get VAR01 short
get OFFSET long
get VAR02 long
get SIZE long
get VAR03 short
get VAR04 short
get VAR05 short
if VAR03 == 0
elif VAR03 == 1
elif VAR03 == 2
set VAR03 string "kimesh"
elif VAR03 == 3
set VAR03 string "kimat"
elif VAR03 == 4
set VAR03 string "kitex"
elif VAR03 == 13
set VAR03 string "CinematicShot.xml"
elif VAR03 == 21
set VAR03 string "EventList.xml"
elif VAR03 == 22
set VAR03 string "MeshAttachmentInfo.xml"
elif VAR03 == 28
set VAR03 string "kihkx"
elif VAR03 == 29
set VAR03 string "hkAnim"
elif VAR03 == 53
set VAR03 string "ProceduralAnimationData.xml"
endif
string NAME += .
string NAME += VAR03
print "%NAME%"
log NAME OFFSET SIZE
next i


Top
 Profile  
 
 Post subject: Re: PC Killer Instinct (2013) .pak
PostPosted: Tue Apr 12, 2016 3:24 pm 
Offline
veteran
User avatar

Joined: Tue Jul 17, 2012 3:52 am
Posts: 87
Has thanked: 16 times
Have thanks: 10 times
GODLIKE COMBO.

the only thing is for the other .pak like the stage paks they don't extract it gives me:
STAGE_18_JUDGE.PAK
Code:
Error: the requested amount of bytes to allocate is negative (0X081da60d5)
last script line before the error or that produced the error:
18  getdstring NVAR NSIZE


I don't know if there is any audio in these .paks but I'd like to extract to be sure.


Top
 Profile  
 
 Post subject: Re: PC Killer Instinct (2013) .pak
PostPosted: Tue Apr 19, 2016 11:56 pm 
Offline
beginner

Joined: Mon Oct 26, 2009 5:53 pm
Posts: 21
Has thanked: 4 times
Have thanks: 4 times
chrrox wrote:
Here is a betscript

Thanks for the script. I have a question.
I want to extract audio, with your script I got some files that contains a lot of files inside.
To extract it I just remove all before the RIFF header, save it as
.wem and the run another tool that convert it to wav...
The thing is that the file has a lot of RIFF and only extracts the first one, so then I remove from start to next RIFF, save and all the process again.
Is there a chance of script to extract them all? I have no idea of scripting but seems an easy task


Top
 Profile  
 
 Post subject: Re: PC Killer Instinct (2013) .pak
PostPosted: Mon May 02, 2016 7:38 pm 
Offline
beginner
User avatar

Joined: Sat Feb 27, 2016 12:41 am
Posts: 25
Has thanked: 6 times
Have thanks: 1 time
This script doesn't work with patch2.pak unfortunately. Any chance you could investigate?
Code:
- open input file D:\WindowsApps\Microsoft.KillerInstinct-Win10_3.1.0.0_x64__8wekyb3d8bbwe\GAMEASSETS\PAK\DX11\patch2.pak
- open script D:\Software\QuickBMS\Scripts\ki_pak.bms
- set output folder D:\Documents\killerinstinct

  offset   filesize   filename
--------------------------------------

Error: incomplete input file number 0, can't read 908235055 bytes.
       anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted


Top
 Profile  
 
 Post subject: Re: PC Killer Instinct (2013) .pak
PostPosted: Sun Aug 07, 2016 4:10 pm 
Offline
beginner

Joined: Sun Aug 07, 2016 1:57 am
Posts: 28
Has thanked: 3 times
Have thanks: 5 times
One thing I might be sure of is the header, most .pak files have a 02 near bytes 0x8+ (first 16 bytes). Whenever you see this 02 then it's extractable, if it's 01 then it's compressed. Same thing applies to UE files. In MKX, it is a 01, and once LZO Decompressed it becomes 02.


Top
 Profile  
 
 Post subject: Re: PC Killer Instinct (2013) .pak
PostPosted: Sun Nov 04, 2018 9:27 pm 
Offline
n00b

Joined: Wed May 23, 2012 4:45 pm
Posts: 10
Has thanked: 6 times
Have thanks: 1 time
other files extracting but
KI.bms CRC32 45B50A24, script dont work with that? right?

Quote:
STAGE_00.PAK
STAGE_00_BLACK.PAK
STAGE_01_JAGO.PAK
STAGE_02_GLACIUS.PAK
STAGE_03_SABREWULF.PAK
STAGE_04_THUNDER.PAK
STAGE_05_SADIRA.PAK
STAGE_06_ORCHID.PAK
STAGE_07_SPINAL.PAK
STAGE_08_FULGORE.PAK
STAGE_09_SHADOW_JAGO.PAK
STAGE_10_TJCOMBO.PAK
STAGE_11_MAYA.PAK
STAGE_12_GAUZE.PAK
STAGE_13_RIPTOR.PAK
STAGE_14_AGANOS.PAK
STAGE_15_HISAKO.PAK
STAGE_16_CINDER.PAK
STAGE_17_ARIA.PAK
STAGE_18_JUDGE.PAK
STAGE_19_KIMWU.PAK
STAGE_20_TUSK.PAK
STAGE_21_ASTROFIELD.PAK
TJ_STORYSTAGE_3.PAK


QuickBMS generic files extractor and reimporter 0.7.3 (64bit test)
by Luigi Auriemma
e-mail: me@aluigi.org
web: aluigi.org
(Jan 31 2016 - 12:41:23)

quickbms.aluigi.org Homepage
zenhax.com ZenHAX Forum
@zenhax Twitter & Scripts

- open input file G:\RS\Killer Instinct [R.G. Catalyst]@\DX11\@\STAGE_02_GLACIUS
.PAK
- open script KI.txt
- set output folder G:\RS\Killer Instinct [R.G. Catalyst]@\DX11\@\STAGE_02_GLACI
US

offset filesize filename
--------------------------------------

- error in src\xalloc.c line 617: xdbg_malloc()

Error: memory allocation problem
Iaainoaoi?ii iaiyoe aey ia?aaioee eiiaiau.




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

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 8 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