Blur .pak files
Blur .pak files
I have some .pak files from the game Blur. If someone could help me decompress them I would appreciate it. I've included files from both the 360 and PC versions of the game.
http://www.megafileupload.com/en/file/2 ... s-zip.html
http://www.megafileupload.com/en/file/2 ... s-zip.html
- aluigi
- VVIP member

- Posts: 1917
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 650 times
- Contact:
Re: Blur .pak files
unfortunately the table with the name of the files is obfuscated in some way, for the rest the following is the script for QuickBMS compatible with both the PC and the 360 version:
http://aluigi.org/papers/bms/blur.bms
*edit* the script has been updated!
http://aluigi.org/papers/bms/blur.bms
*edit* the script has been updated!
Last edited by aluigi on Mon May 31, 2010 11:45 am, edited 3 times in total.
Re: Blur .pak files
Well it does work for the ones I sent you but on the others its throwing an error. (Something about an incorrect zlib/deflate input as well as a negative output size for the PC version, and trying the other xbox files cause a hard lock up). Most of the others ones are too large to upload but here is one that didnt work that is a reasonable size. I uploaded it here.
http://www.megaupload.com/?d=VAO0FWB7
http://www.megaupload.com/?d=VAO0FWB7
- aluigi
- VVIP member

- Posts: 1917
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 650 times
- Contact:
Re: Blur .pak files
ok I have updated the script, anyway I can't assure it will work with the other files because the format is strange and I used work-arounds
- aluigi
- VVIP member

- Posts: 1917
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 650 times
- Contact:
Re: Blur .pak files
I have found the xor key for the names so now the new script I have linked in my original post extracts the file with all their names :)
-
bigBear
- mega-veteran

- Posts: 183
- Joined: Thu Oct 08, 2009 7:51 pm
- Has thanked: 6 times
- Been thanked: 10 times
Re: Blur .pak files
Next time use Sendspace or Mediafire.
The site you used is so damn annoying as hell!
Full of advertisements and scripts wich makes downloaling impossible.
And even impossible the downloadlink after finished counting.
The site you used is so damn annoying as hell!
Full of advertisements and scripts wich makes downloaling impossible.
And even impossible the downloadlink after finished counting.
-
AlphaTwentyThree
- double-veteran

- Posts: 985
- Joined: Mon Aug 24, 2009 10:55 pm
- Has thanked: 75 times
- Been thanked: 644 times
Re: Blur .pak files
The contents of this post was deleted because of possible forum rules violation.
If you like what you see, why not click the little Thank You button?
It will definitely motivate me! 
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks
- aluigi
- VVIP member

- Posts: 1917
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 650 times
- Contact:
Re: Blur .pak files
I have just updated the script (0.2.1) adding another work-around for supporting the non-compressed files.
I hope that now it will work with the majority of the archives.
I hope that now it will work with the majority of the archives.
-
AlphaTwentyThree
- double-veteran

- Posts: 985
- Joined: Mon Aug 24, 2009 10:55 pm
- Has thanked: 75 times
- Been thanked: 644 times
Re: Blur .pak files
Thanks a lot for this! 
If you like what you see, why not click the little Thank You button?
It will definitely motivate me! 
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks
-
AlphaTwentyThree
- double-veteran

- Posts: 985
- Joined: Mon Aug 24, 2009 10:55 pm
- Has thanked: 75 times
- Been thanked: 644 times
Re: Blur .pak files
If anyone is interested, here's a *.baf extractor I wrote. All those baf archives are contained in the pak files of Blur. Only tested with the 360 version though but I guess it works the same with the PC version.
EDIT: updated the script with an XMA header writer! All extracted XMA files can be decoded with toWAV now - correct frequency and channels obtained from baf header.
EDIT: updated the script with an XMA header writer! All extracted XMA files can be decoded with toWAV now - correct frequency and channels obtained from baf header.
Code: Select all
# *.baf extractor for Blur (Xbox 360)
# script version 1.1
endian big
idstring BANK
goto 0x04
get INFOSTART long
get DUMMY long
get FILES long
goto INFOSTART
for i = 0 < FILES
savepos MYOFF
getDstring TYPE 0x4
get INFOLENGTH long
get UNKNOWN long
savepos CURR
get NAME string
math CURR += 0x20
goto CURR
get OFFSET long
get SIZE long
if TYPE == "WAVE"
get UNKNOWN long
get UNKNOWN long
get FREQ long
ReverseLong FREQ
get UNKNOWN long
get DUMMY threebyte
get CH byte
callfunction xmaheader
string NAME += ".xma"
log NAME 0 SIZE MEMORY_FILE
else
log NAME OFFSET SIZE
endif
math MYOFF += INFOLENGTH
goto MYOFF
next i
startfunction xmaheader
set MEMORY_FILE binary "\x52\x49\x46\x46\xb8\x59\xa7\x00\x57\x41\x56\x45\x66\x6d\x74\x20\x20\x00\x00\x00\x65\x01\x10\x00\xd6\x10\x00\x00\x01\x00\x00\x03\xe3\x9a\x00\x00\x80\xbb\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x02\x02\x00\x64\x61\x74\x61\x00\x58\xa7\x00"
set RIFFSIZE SIZE
ReverseLong RIFFSIZE
putVarChr MEMORY_FILE 0x38 RIFFSIZE long # data size
math RIFFSIZE += 0x34
putVarChr MEMORY_FILE 0x04 RIFFSIZE long
putVarChr MEMORY_FILE 0x24 FREQ long
putVarChr MEMORY_FILE 0x31 CH byte
append
log MEMORY_FILE OFFSET SIZE
append
math SIZE += 0x3c
endfunction
If you like what you see, why not click the little Thank You button?
It will definitely motivate me! 
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks
Re: Blur .pak files
Thanks very much, sorry about the megaupload thing, I just used the first one that popped up.
-
AlphaTwentyThree
- double-veteran

- Posts: 985
- Joined: Mon Aug 24, 2009 10:55 pm
- Has thanked: 75 times
- Been thanked: 644 times
Re: Blur .pak files
The contents of this post was deleted because of possible forum rules violation.
If you like what you see, why not click the little Thank You button?
It will definitely motivate me! 
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks
And here's Mr.Mouse's Facebook link: http://www.facebook.com/permalink.php?s ... 8469022795 - thanks
- aluigi
- VVIP member

- Posts: 1917
- Joined: Thu Dec 08, 2005 12:26 pm
- Location: www.ZENHAX.com
- Has thanked: 4 times
- Been thanked: 650 times
- Contact:
Re: Blur .pak files
ops sorry my fault, I compared SIZE with the aligned size of ZSIZE and forgot to compare it with the original ZSIZE :)
updated version 0.2.2 (the last? maybe)
updated version 0.2.2 (the last? maybe)
- Savage
- VIP member

- Posts: 560
- Joined: Sun Apr 17, 2005 11:00 am
- Has thanked: 16 times
- Been thanked: 17 times
Re: Blur .pak files
Aluigi, the bms works perfect
Alphatwtythree i get errors in the audio files i'm using a PC version:
Alphatwtythree i get errors in the audio files i'm using a PC version:
- open input file env_traffic.baf
- open script bluraud.bms
- set output folder .
offset filesize filename
------------------------------
Error: incomplete input file number 0, can't read 4 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

