Need help with LEGO City Undercover .PAK files

Codecs, formats, encoding/decoding of game audio, video and music
Havi
Posts: 60
Joined: Fri Jun 23, 2017 5:55 pm

Need help with LEGO City Undercover .PAK files

Post by Havi »

Hey folks,

Any of you smart people know how I can extract the .PAK files of LEGO City Undercover?

It would be very much appreciated if I could get some help.
Havi
Posts: 60
Joined: Fri Jun 23, 2017 5:55 pm

Re: Need help with LEGO City Undercover .PAK files

Post by Havi »

http://www21.zippyshare.com/v/N5T8Nysx/file.html - File for the people who don't have the game installed.
spider91
Posts: 233
Joined: Sun Aug 24, 2014 5:26 pm

Re: Need help with LEGO City Undercover .PAK files

Post by spider91 »

Code: Select all

get MAGIC long
get FILES long
get PAK_SIZE long
get UNKNOWN long
for i = 0 < FILES
   getdstring UNKNOWN 0x08
   get NAME_OFF long
   get FILE_OFF long
   get FILE_SIZE long
   getdstring UNKNOWN 0x08
   savepos POS
   goto NAME_OFF
   get NAME string
   goto POS
   log NAME FILE_OFF FILE_SIZE
next i
Havi
Posts: 60
Joined: Fri Jun 23, 2017 5:55 pm

Re: Need help with LEGO City Undercover .PAK files

Post by Havi »

spider91 wrote:

Code: Select all

get MAGIC long
get FILES long
get PAK_SIZE long
get UNKNOWN long
for i = 0 < FILES
   getdstring UNKNOWN 0x08
   get NAME_OFF long
   get FILE_OFF long
   get FILE_SIZE long
   getdstring UNKNOWN 0x08
   savepos POS
   goto NAME_OFF
   get NAME string
   goto POS
   log NAME FILE_OFF FILE_SIZE
next i


Mate, you're a legend. Much love to you sir!