ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Sun Oct 25, 2020 4:42 pm

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: BOCW xpaks
PostPosted: Sat Oct 17, 2020 12:06 pm 

Joined: Sat Oct 17, 2020 11:55 am
Posts: 1
Hey, anyone know how to extract these xpak files? tried scripts which worked fine on older cod games but format seems to be altered, appreciate any help, thanks all.
heres a sample file: https://mega.nz/file/bJhDTCwa#VdVRlfIAs ... xVOpDJT6B8


Top
   
 Post subject: Re: BOCW xpaks
PostPosted: Sat Oct 17, 2020 12:23 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 11688
This KAPI format is weird and very different than the one I checked years ago in cod_kapi.bms (which was experimental btw).
I see the list of 0x5e3 entries but nothing meaningful from them.
The data from offset 0x60000 is just a sequence of information/metadata.

This is the script for parsing the format (does NOT dump anything):
Code:
idstring "KAPI"
get DUMMY short # 4
get DUMMY short # 0x10
get DUMMY long  # 1
get DUMMY long  # 0
get DUMMY long  # 2
get DUMMY long  # 4
get XPACK_SIZE longlong
get DUMMY longlong
get DUMMY longlong
goto 0x7a0
get FILES longlong
get INFO_OFF longlong
get INFO_SIZE longlong
get ZERO longlong
get DATA_OFF longlong
goto INFO_OFF
for i = 0 < FILES
    get DUMMY long
    get DUMMY long
    get DUMMY long
    get DUMMY long
next i
goto DATA_OFF
for i = 0 < FILES
    get DUMMY longlong
    get SIZE longlong
    getdstring DUMMY SIZE
next i


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

All times are UTC


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:
Powered by phpBB® Forum Software © phpBB Limited