Jupiter Engine REZ

From XentaxWiki
Revision as of 21:41, 12 June 2023 by imported>Ikskoks (→‎Compatible Programs)
Jump to navigation Jump to search

Back to index | Edit this page

REZ

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : RezMgr Version 1 Copyright (C) 1995 MONOLITH INC.


Format Specifications

// header
1 byte (uint8) - CR1  // 13
1 byte (uint8) - LF1 // 10
60 bytes (char) - signature  // "RezMgr Version 1 Copyright (C) 1995 MONOLITH INC."
1 byte (uint8) - CR2  // 13
1 byte (uint8) - LF2 // 10
60 bytes (char) - user title  // "LithTech Resource File"
1 byte (uint8) - CR3  // 13
1 byte (uint8) - LF3 // 10
1 byte (uint8) - EOF // 26

4 bytes (uint32) - file format version  // 1
4 bytes (uint32) - root directory offset
4 bytes (uint32) - root directory size
4 bytes (uint32) - root directory time
4 bytes (uint32) - next write offset
4 bytes (uint32) - time
4 bytes (uint32) - largest key array
4 bytes (uint32) - largest directory name size
4 bytes (uint32) - largest rez name size
4 bytes (uint32) - largest comment size
1 byte (uint8) - is sorted flag


// data
number_of_files *
{
   x bytes - file data
}


// Directory
// for each file
4 bytes (uint32) - Type (0=file, 1=directory)
if (type == 1)
{
   4 bytes (uint32) - Directory Offset
   4 bytes (uint32) - Directory Length
   4 bytes (uint32) - Date/Time
   x bytes (char) - filename (terminated by 1 null)
}


if (type == 0)
{
   4 bytes (uint32) - File Offset
   4 bytes (uint32) - File Length
   4 bytes (uint32) - Date/Time
   4 bytes (uint32) - File ID?
   4 bytes (char) - Type/Extension (reversed)
   4 bytes (uint32) - null
   x bytes (char) - filename (terminated by 2 nulls)
} 

Notes and Comments

  • This file format occurs in games made on Jupiter Engine.

Games

List of games using this file format:

  • Alien Vs Predator
  • Aliens Versus Predator 2
  • Arthur's Quest: Battle for the Kingdom (PC) (*.REZ)
  • Blood II
  • Contract JACK
  • Die Hard Nakatomi Plaza
  • I, The Gangster
  • Global Operations
  • Marine Sharpshooter
  • Marine Sharpshooter 2: Jungle Warfare
  • No One Lives Forever
  • No One Lives Forever 2
  • Purge
  • Sanity Aikens Artifact
  • Shogo: Mobile Armor Division
  • Tron 2.0
  • World War 2 Normandy
  • World War 2 Sniper: Call To Victory

QuickBMS Script

Not written yet.

Compatible Programs

See Also