ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Wed Apr 25, 2018 12:51 am

All times are UTC




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Tue Mar 27, 2018 7:15 pm 

Joined: Tue Mar 27, 2018 6:41 pm
Posts: 4
Game: Buffy The Vampire Slayer, 2002 (XBOX)
Developer: The Collective
Publisher: EA
File: Pak

Hi,

I hope can help. I was hoping one of you talented guys and gals may be able to help unpack the pak file for this game.

This is the same developer behind the 'Indiana Jones and The Emperor's Tomb', it uses the same engine, but appears to use a different file compression method.

I've uploaded two of the pak files to OneDrive link below - if anyone is willing to take a look, it would be much appreciated. Thank you! :D

https://1drv.ms/u/s!Amua2WvdGonP70tw72QO5J00LSF3


Top
   
PostPosted: Tue Apr 17, 2018 4:26 pm 

Joined: Tue Apr 17, 2018 4:23 pm
Posts: 5
interested in this as well... since the Indiana jones and the emperors tomb is the same engine, it might be possible to simply replace the files (once they are unpacked) and get the game working on PC ..the engine is really script based..they even all have the same bindings file format


Top
   
PostPosted: Sat Apr 21, 2018 8:47 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7929
I see only a list of reference names in the header immediately followed by the data, without other useful information for locating and extracting the content.


Top
   
PostPosted: Sat Apr 21, 2018 8:08 pm 

Joined: Tue Apr 17, 2018 4:23 pm
Posts: 5
aluigi wrote:
I see only a list of reference names in the header immediately followed by the data, without other useful information for locating and extracting the content.


try this one, both buffy and indiana jones have it in their pak folder(although they are different of course)..it could be a lookup type file

https://1drv.ms/u/s!AnMPZ9Q-EFaIhU3wuT96r5d3Smgj

and there is also an install.dat file that seems, if I recall, to have directory structure in plain text inside it
https://1drv.ms/u/s!AnMPZ9Q-EFaIhU5gA1_AyEi-jIig


Top
   
PostPosted: Sat Apr 21, 2018 9:54 pm 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7929
What a mess


Top
   
PostPosted: Sun Apr 22, 2018 8:10 pm 

Joined: Tue Mar 27, 2018 6:41 pm
Posts: 4
aluigi wrote:
What a mess


Its a shame that the file format doesn't hold anything identifiable to help extract the contents.

Thanks for taking the time to check the file format out regardless - I must say your commitment to helping the community on pretty much each and every topic here is highly commendable - thank you ;)


Top
   
PostPosted: Mon Apr 23, 2018 7:22 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 7929
Never say never:
http://aluigi.org/bms/buffy_2002_pak.bms


Top
   
PostPosted: Mon Apr 23, 2018 8:09 am 

Joined: Tue Mar 27, 2018 6:41 pm
Posts: 4
aluigi wrote:


You Sir, are an absolute genius, thank you! Works like a charm.


Top
   
PostPosted: Tue Apr 24, 2018 12:26 am 

Joined: Tue Apr 17, 2018 4:23 pm
Posts: 5
- error in src\extra\xalloc.c line 618: xdbg_malloc()

Error: memory allocation problem
File exists


Top
   
PostPosted: Tue Apr 24, 2018 3:41 am 

Joined: Tue Apr 17, 2018 4:23 pm
Posts: 5
ehhh even extracted it is gonna be work....seems each pak only had what was needed for that part of the level instead of one file with all the info fir example... in textures there should be one large file called SuperParticle.mtx but in pak form it is broken down into superparticle(dirt01).mtx , superparticle(bubbles01).mtx , etc...
The large header looks something like (this is an excerpt from a hex editor):
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  4D 55 4C 54 49 54 45 58 06 00 02 00 01 00 00 00  MULTITEX........
00000010  00 00 00 00 4B 01 00 00 80 A5 00 00 18 00 00 00  ....K...€¥......
00000020  80 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF  €.......ÿÿÿÿÿÿÿÿ
00000030  FF FF FF FF E0 8B 1E 3B 01 00 00 00 61 63 69 64  ÿÿÿÿà‹.;....acid
00000040  73 70 69 74 30 31 00 00 00 00 00 00 00 00 00 00  spit01..........
00000050  00 00 00 00 00 00 00 00 00 00 00 00 61 63 69 64  ............acid
00000060  73 70 69 74 30 31 00 00 00 00 00 00 00 00 00 00  spit01..........
00000070  00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00  ............@...
00000080  40 00 00 00 00 00 00 00 20 00 00 00 08 08 08 08  @....... .......
00000090  06 00 00 00 FF FF FF FF 05 00 00 00 A4 A5 00 00  ....ÿÿÿÿ....¤¥..
000000A0  78 15 00 00 01 00 00 00 FF FF FF FF FF FF FF FF  x.......ÿÿÿÿÿÿÿÿ
000000B0  FF FF FF FF D5 8B 1E 3B 01 00 00 00 61 63 69 64  ÿÿÿÿÕ‹.;....acid
000000C0  73 70 69 74 30 32 00 00 00 00 00 00 00 00 00 00  spit02..........
000000D0  00 00 00 00 00 00 00 00 00 00 00 00 61 63 69 64  ............acid
000000E0  73 70 69 74 30 32 00 00 00 00 00 00 00 00 00 00  spit02..........
000000F0  00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00  ............@...
00000100  40 00 00 00 00 00 00 00 20 00 00 00 08 08 08 08  @....... .......
00000110  06 00 00 00 FF FF FF FF 05 00 00 00 1C BB 00 00  ....ÿÿÿÿ.....»..
00000120  78 15 00 00 02 00 00 00 FF FF FF FF FF FF FF FF  x.......ÿÿÿÿÿÿÿÿ
00000130  FF FF FF FF C2 8B 1E 3B 01 00 00 00 61 63 69 64  ÿÿÿÿ‹.;....acid
00000140  73 70 69 74 30 33 00 00 00 00 00 00 00 00 00 00  spit03..........
00000150  00 00 00 00 00 00 00 00 00 00 00 00 61 63 69 64  ............acid
00000160  73 70 69 74 30 33 00 00 00 00 00 00 00 00 00 00  spit03..........
00000170  00 00 00 00 00 00 00 00 00 00 00 00 40 00 00 00  ............@...
00000180  40 00 00 00 00 00 00 00 20 00 00 00 08 08 08 08  @....... .......


While the individual broken down files have a header (this is actually a complete file size and all)
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  64 69 72 74 30 31 00 00 00 00 00 00 00 00 00 00  dirt01..........
00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
00000020  08 00 00 00 08 00 00 00 00 00 00 00 01 00 00 00  ................
00000030  40 00 00 00 08 00 00 00 45 00 00 00 01 00 00 00  @.......E.......
00000040  FF 00 29 00 00 00 00 00 09 6B 23 29 57 F2 A8 02  ÿ.)......k#)Wò¨.
00000050  C3 FA 3F FD 3F FF FF 1F 0C 94 81 10 15 5F 5E D7  Ãú?ý?ÿÿ..”..._^×
00000060  DF E8 F8 FF FF FF EF FC E9 62 60 10 00 CF 55 56  ßèøÿÿÿïüéb`..ÏUV
00000070  6F B9 3F FC DB 8F 6D DB CB 8B 20 00 35 8D AD 8A  o¹?üÛ.mÛË‹ .5..Š
00000080  01 64 69 72 74 30 31 00 00 00 00 00 00 00 00 00  .dirt01.........
00000090  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000A0  00 04 00 00 00 04 00 00 00 00 00 00 00 00 00 00  ................
000000B0  00 10 00 00 00 08 00 00 00 45 00 00 00 01 00 00  .........E......
000000C0  00 FF 00 00 00 00 00 0A 20 A8 5A 81 10 7C E0 D2  .ÿ...... ¨Z..|àÒ
000000D0  15 01 64 69 72 74 30 31 00 00 00 00 00 00 00 00  ..dirt01........
000000E0  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  ................
000000F0  00 00 02 00 00 00 02 00 00 00 00 00 00 00 00 00  ................
00000100  00 00 10 00 00 00 08 00 00 00 45 00 00 00 01 00  ..........E.....
00000110  00 00 FF FF 00 00 00 00 00 00 46 4A C1 18 CC 77  ..ÿÿ......FJÁ.Ìw
00000120  CC 77 00 00 00 00                                Ìw....


Sound files extracted don't play either (and again suffer the multiple extractions)
Here's an example of a good one (From indiana jones)
Code:
Offset(d) 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15

00000000  52 49 46 46 88 2F 00 00 57 41 56 45 66 6D 74 20  RIFFˆ/..WAVEfmt
00000016  14 00 00 00 11 00 01 00 22 56 00 00 5C 2B 00 00  ........"V..\+..
00000032  00 02 04 00 02 00 F9 03 66 61 63 74 04 00 00 00  ......ù.fact....
00000048  00 5E 00 00 64 61 74 61 54 2F 00 00 00 00 00 00  .^..dataT/......
00000064  00 11 12 31 33 59 40 40 70 89 05 D3 04 01 73 98  ...13Y@@p‰.Ó..s˜
00000080  43 D3 50 01 B2 24 89 93 69 9B 21 0D A8 C1 72 8A  CÓP.²$‰“i›!.¨ÁrŠ
00000096  01 20 95 04 11 56 22 42 26 44 43 44 35 44 44 33  . •..V"B&DCD5DD3
00000112  32 90 88 98 99 99 9A AB AB AD AC 8E FF FF 9A 80  2.ˆ˜™™š««.¬Žÿÿš€
00000128  80 00 08 08 80 00 80 00 00 81 01 02 14 77 77 08  €...€.€......ww.
00000144  08 08 08 88 08 88 FD 0A 80 80 80 80 00 08 08 00  ...ˆ.ˆý.€€€€....
00000160  80 81 77 07 08 08 08 88 F8 8B 00 08 08 08 08 80  €.w....ˆø‹.....€
00000176  80 00 80 00 00 77 33 94 18 82 88 80 2A 8F FD 09  €.€..w3”.‚ˆ€*.ý.


Versus the extracted file that won't play
Code:
Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F

00000000  52 49 46 46 08 35 00 00 57 41 56 45 66 6D 74 20  RIFF.5..WAVEfmt
00000010  14 00 00 00 69 00 01 00 22 56 00 00 73 30 00 00  ....i..."V..s0..
00000020  24 00 04 00 02 00 40 00 64 61 74 61 E0 34 00 00  $.....@.dataà4..
00000030  00 00 00 00 00 11 12 31 33 59 40 40 70 89 05 D3  .......13Y@@p‰.Ó
00000040  04 01 73 98 43 D3 50 01 B2 24 89 93 69 9B 21 0D  ..s˜CÓP.²$‰“i›!.
00000050  A8 C1 72 0A ED 01 1E 00 81 30 93 06 11 56 22 42  ¨Ár.í....0“..V"B
00000060  26 44 43 44 35 44 44 33 32 90 88 98 99 99 9A AB  &DCD5DD32.ˆ˜™™š«
00000070  AB AD AC 8E FF FF 9A 00 21 89 4F 00 80 80 80 00  «.¬Žÿÿš.!‰O.€€€.
00000080  08 80 00 00 80 81 01 01 14 77 57 80 80 80 08 08  .€..€....wW€€€..
00000090  88 88 FF 89 00 08 08 08 08 80 80 00 AA A5 45 00  ˆˆÿ‰.....€€.ª¥E.
000000A0  00 80 77 05 08 08 08 88 F9 8C 80 00 08 08 08 08  .€w....ˆùŒ€.....
000000B0  80 00 08 80 81 77 32 83 18 92 80 08 2B 9F FD 0A  €..€.w2ƒ.’€.+Ÿý.



extracted wav is 2k bigger as well (14k versus original pc version 12k)

interesting, the wav files are in a proprietary format, otherwise they are normal at least according to the header in the analyzer I used


whom ever cleaned my post up... much appreciated, was gonna come back and do it but got into checked on all these files and lost track of time... anyway audio issue figured out, they are xbox adpcm..now if I can figure out how to batch convert them with luigi's xbadpdec.exe file...


Top
   
PostPosted: Tue Apr 24, 2018 9:15 am 

Joined: Tue Mar 27, 2018 6:41 pm
Posts: 4
Yeah I noticed that on the Buffy files too - the pak structure seems to fragment the files.

Sound effects, on Buffy, at least all seem to be standard wav files and play fine, the rpe files contain audio from several cut scenes however the bulk of the in level dialogue from what I can tell is in ddb files in the dialogue folder, which come out at a file size of 0 bytes which is odd.


Top
   
PostPosted: Tue Apr 24, 2018 3:07 pm 

Joined: Tue Apr 17, 2018 4:23 pm
Posts: 5
just as a test I replaced the first level on indiana jones with the first one form buffy and the level layout did work, just no textures..light map seemed to work and you had tree shadows and leaves falling...gonna find a multi text tool and see if I can't recombine them


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 12 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