Join also our Discord channel! Click here.

Blur .pak files

The Original Forum. Game archives, full of resources. How to open them? Get help here.
btlncn
ultra-n00b
Posts: 5
Joined: Mon Aug 31, 2009 3:17 am

Blur .pak files

Post by btlncn » Sun May 30, 2010 6:50 pm

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

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 645 times
Contact:

Re: Blur .pak files

Post by aluigi » Sun May 30, 2010 10:42 pm

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!
Last edited by aluigi on Mon May 31, 2010 11:45 am, edited 3 times in total.

btlncn
ultra-n00b
Posts: 5
Joined: Mon Aug 31, 2009 3:17 am

Re: Blur .pak files

Post by btlncn » Mon May 31, 2010 12:32 am

Thanks a million.

btlncn
ultra-n00b
Posts: 5
Joined: Mon Aug 31, 2009 3:17 am

Re: Blur .pak files

Post by btlncn » Mon May 31, 2010 1:14 am

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

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 645 times
Contact:

Re: Blur .pak files

Post by aluigi » Mon May 31, 2010 10:39 am

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

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 645 times
Contact:

Re: Blur .pak files

Post by aluigi » Mon May 31, 2010 11:46 am

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
mega-veteran
Posts: 183
Joined: Thu Oct 08, 2009 7:51 pm
Has thanked: 6 times
Been thanked: 10 times

Re: Blur .pak files

Post by bigBear » Mon May 31, 2010 4:05 pm

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.

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 634 times

Re: Blur .pak files

Post by AlphaTwentyThree » Mon May 31, 2010 4:51 pm

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 ;)

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 645 times
Contact:

Re: Blur .pak files

Post by aluigi » Mon May 31, 2010 5:46 pm

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.

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 634 times

Re: Blur .pak files

Post by AlphaTwentyThree » Mon May 31, 2010 7:47 pm

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 ;)

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 634 times

Re: Blur .pak files

Post by AlphaTwentyThree » Mon May 31, 2010 8:32 pm

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. :)

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 ;)

btlncn
ultra-n00b
Posts: 5
Joined: Mon Aug 31, 2009 3:17 am

Re: Blur .pak files

Post by btlncn » Mon May 31, 2010 10:07 pm

Thanks very much, sorry about the megaupload thing, I just used the first one that popped up.

AlphaTwentyThree
double-veteran
double-veteran
Posts: 984
Joined: Mon Aug 24, 2009 10:55 pm
Has thanked: 75 times
Been thanked: 634 times

Re: Blur .pak files

Post by AlphaTwentyThree » Tue Jun 01, 2010 12:25 am

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 ;)

User avatar
aluigi
VVIP member
VVIP member
Posts: 1917
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 645 times
Contact:

Re: Blur .pak files

Post by aluigi » Tue Jun 01, 2010 3:30 pm

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)

User avatar
Savage
VIP member
VIP member
Posts: 560
Joined: Sun Apr 17, 2005 11:00 am
Has thanked: 16 times
Been thanked: 17 times

Re: Blur .pak files

Post by Savage » Tue Jun 01, 2010 4:04 pm

Aluigi, the bms works perfect :)
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
Image

Post Reply