Important information: this site is currently scheduled to go offline indefinitely by end of the year.

The Movies .PAK-archives (Sample added)

Old posts about game archives and other formats.
Post Reply
hdnine
ultra-n00b
Posts: 9
Joined: Sun Nov 06, 2005 6:02 pm

The Movies .PAK-archives (Sample added)

Post by hdnine »

It would be great to have a script / plugin that would let me peek inside the PAK-files in the game The Movies since they have very nice models and textures i wish to view and learn from.
Last edited by hdnine on Mon Nov 14, 2005 6:52 pm, edited 1 time in total.
User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 532
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto »

Hi mate,

We can take a look at them if you can send us some archives.

Download one of our ArchiveCutter programs (mine is at http://www.watto.org/extract/download/cutter.zip ) and run it. Select one of the *.pak archives and click the OK button. You can then send us the zip file that the program creates.

Thanks

WATTO
[email protected]
http://www.watto.org
Game Extractor - Read and write thousands of game archives!
hdnine
ultra-n00b
Posts: 9
Joined: Sun Nov 06, 2005 6:02 pm

Post by hdnine »

Ok so here is a sample:

http://www.wonderworks.se/online/themovies.zip

Hopefully this will help since i have no clue as how to make scripts / plugins? :)
Thanks!
User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 532
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto »

Thanks, I will look at it soon.

WATTO
[email protected]
http://www.watto.org
Game Extractor - Read and write thousands of game archives!
hdnine
ultra-n00b
Posts: 9
Joined: Sun Nov 06, 2005 6:02 pm

Post by hdnine »

No, thank you :)
keshire
advanced
Posts: 41
Joined: Thu Jul 15, 2004 6:15 am

Post by keshire »

If its anything like what Lionhead did with Fable. Good luck.
User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 532
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto »

Hi again,

I have analysed the file you attached, and it should be easy enough to make a plugin for it. However, the archive has so many files in it that the Archive Cutter didn't grab the full directory for the archive. So, if you could, would you be able to run the Archive Cutter program again, and select the 2MB size please. The zip that will be created will probably be about 3MB in size so sorry about that, but its still much better than sending the entire archive :)

Thanks mate.

WATTO
[email protected]
http://www.watto.org
Game Extractor - Read and write thousands of game archives!
hdnine
ultra-n00b
Posts: 9
Joined: Sun Nov 06, 2005 6:02 pm

Post by hdnine »

Ok thanks, the same link as above applies. There will now be a 3 MB file there instead. =)
User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 532
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto »

Thanks mate, that should hopefully be OK now - I will test my plugin and get something released soon.

WATTO
[email protected]
http://www.watto.org
Game Extractor - Read and write thousands of game archives!
User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 532
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto »

Hi again,

I was able to add support for this game in the latest Game Extractor. There is a new update (1.5504) available on the website for users of the Full Version. If you are using the Basic Version, you can download the plugin here (or just wait a few weeks for me to upload a new Basic Version).

1. Download the attachment
2. Unzip the file into your GameExtractor/plugins directory
3. Restart Game Extractor.

If it doesn't work, unzip it into your GameExtractor/ directory and try again.

If that still doesn't work, let me know. Good luck.

WATTO
[email protected]
http://www.watto.org



Mr Mouse: If you want to add support for this game - here are the specs - I will post them on the wiki when I have some more time.

Code: Select all

+------------------+
| The Movies *.pak |
+------------------+

// Uses ZLib Compression

4 - Version (5)
4 - First File Offset
4 - null
4 - Number Of Files
4 - Number Of Offset Pairs (256)
4 - Number Of Folder Names (43)
4 - Unknown (752)
12 - null
4 - File Directory Offset (52)
4 - Folder Directory Offset
4 - Folder Names Directory Offset

// FILE DIRECTORY
  // for each file
    4 - Unknown
    4 - Hash?
    4 - File Offset
    4 - Compressed File Length (including file data header fields and null padding)
    4 - Decompressed File Length
    4 - Hash?
    32 - Filename (null terminated)
    
// OFFSET PAIR DIRECTORY
  // for each offset pair
    4 - Relative Offset to Start of XXX (relative to what?)
    4 - Relative Offset to End of XXX (relative to what?)
    
// FOLDER NAMES DIRECTORY
  1 - null
  
  // for each folder name
    X - Folder Name
    1 - null Folder name Terminator
  
// FILE DATA
  // for each file
    4 - Compressed File Length (including file data header fields and null padding)
    4 - Decompressed File Length
    4 - Compressed File Length
    4 - null
    if (next 4 bytes == "zcmp"){
      // a second compression header
      4 - Compressed File Length (including file data header fields and null padding)
      4 - Decompressed File Length
      4 - Compressed File Length
      4 - null
      }
    X - File Data
    0-3 - null Padding to a multiple of 4 bytes
You do not have the required permissions to view the files attached to this post.
Game Extractor - Read and write thousands of game archives!
hdnine
ultra-n00b
Posts: 9
Joined: Sun Nov 06, 2005 6:02 pm

Post by hdnine »

Ok, very nice. I'll give it a try! Thanks!
User avatar
friendsofwatto
VVIP member
VVIP member
Posts: 532
Joined: Wed Jun 30, 2004 3:01 pm
Location: Australia
Been thanked: 13 times
Contact:

Post by friendsofwatto »

Hi mate,

This plugin is actually now in the Basic Version download - so you won't need to use the attachment here - just download the latest Basic Version from the website and it will be all set up ready to go.

WATTO
[email protected]
http://www.watto.org
Game Extractor - Read and write thousands of game archives!
Post Reply