Jupiter Engine REZ: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks (Created page with "{{GRAFPageHeader}} == REZ == * ''' Format Type ''': Archive <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> * ''' Signature '''...") |
imported>Ikskoks (→Games) |
||
| (18 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
<pre> | <pre> | ||
// header | // header | ||
1 byte (uint8) - | 1 byte (uint8) - CR1 // 13 | ||
1 byte (uint8) - | 1 byte (uint8) - LF1 // 10 | ||
60 bytes (char) - signature // "RezMgr Version 1 Copyright (C) 1995 MONOLITH INC." | 60 bytes (char) - signature // "RezMgr Version 1 Copyright (C) 1995 MONOLITH INC." | ||
1 byte (uint8) - | 1 byte (uint8) - CR2 // 13 | ||
1 byte (uint8) - | 1 byte (uint8) - LF2 // 10 | ||
60 bytes (char) - user title // "LithTech Resource File" | 60 bytes (char) - user title // "LithTech Resource File" | ||
1 byte (uint8) - | 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) - file format version // 1 | ||
4 bytes (uint32) - root directory offset | 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) | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 28: | Line 69: | ||
=== Notes and Comments === | === Notes and Comments === | ||
* This file format occurs in games made on ''Jupiter Engine''. | * This file format occurs in games made on '''Jupiter Engine'''. | ||
=== Games === | === Games === | ||
List of games using this file format: | List of games using this file format: | ||
* Alien Vs Predator | |||
* Aliens Versus Predator 2 | |||
* Arthur's Quest: Battle for the Kingdom (PC) (*.REZ) | * Arthur's Quest: Battle for the Kingdom (PC) (*.REZ) | ||
* Blood II: The Chosen | |||
* Contract JACK | |||
* Die Hard Nakatomi Plaza | |||
* F.E.A.R. | |||
* 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 | |||
* The Operative: No One Lives Forever | |||
* Tron 2.0 | |||
* World War 2 Normandy | |||
* World War 2 Sniper: Call To Victory | |||
=== QuickBMS Script === | === QuickBMS Script === | ||
| Line 40: | Line 100: | ||
=== Compatible Programs === | === Compatible Programs === | ||
* [[Dragon_Unpacker|Dragon UnPACKer]] | |||
* [[Game Extractor|Game Extractor]] | |||
* [https://github.com/jsj2008/lithtech Jupiter Engine] (source code) | |||
* [https://forum.xentax.com/viewtopic.php?t=10152 REZ TOOL PACK] | * [https://forum.xentax.com/viewtopic.php?t=10152 REZ TOOL PACK] | ||
=== See Also === | |||
* [https://github.com/jsj2008/lithtech/blob/master/libs/rezmgr/rezmgr.cpp rezmgr.cpp] | |||
<br/><br> | <br/><br> | ||
Latest revision as of 21:48, 12 June 2023
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: The Chosen
- Contract JACK
- Die Hard Nakatomi Plaza
- F.E.A.R.
- 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
- The Operative: No One Lives Forever
- Tron 2.0
- World War 2 Normandy
- World War 2 Sniper: Call To Victory
QuickBMS Script
Not written yet.
Compatible Programs
- Dragon UnPACKer
- Game Extractor
- Jupiter Engine (source code)
- REZ TOOL PACK
See Also