View Single Post
Old 07-07-2010, 07:52 PM   #22
bgbennyboy
Festively Plump
 
bgbennyboy's Avatar
 
Status: Super Moderator
Join Date: Feb 2002
Location: England
Posts: 1,984
LFN Staff Member 
Quote:
Originally Posted by Serge View Post
Just in case you haven't already done it, bg (I can't tell from the thread), the filename table offsets in .PAK should simply be ignored completely - the entries of the filename table are actually stored in the same order as the entires of the file offsets/size table, so for the first file, start from the beginning of the name table and just read the name up until the null terminator. For the next file, read from there until the next, etc.

Still no idea where the hell those name table offsets come from, but since monkey1.pak had the file table in the same order as the actual file content (while monkey2.pak doesn't), there's probably a bug there, and they never actually use the filename table offsets in either game.
Thanks for that Serge, I've only really looked at the audio stuff this evening


Thanks to Serge I've updated Monkey Island Explorer to support MI2-SE. Its not fully optimised or anything yet - but it'll work for browsing the pak and extracting images and files.

It'll also work with the Xbox (if you use the XBDecompress tool) and iPhone versions should you feel the need to delve into them.

Get it here.


Last edited by bgbennyboy; 07-07-2010 at 07:58 PM.
bgbennyboy is offline   you may: quote & reply,