Jade Empire RIM
From XentaxWiki
(Redirected from Jade Empire)
Choose archive extension:
Contents
RIM
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
char {8} - Header (RIM V1.0)
uint32 {4} - null
uint32 {4} - Number Of Files
uint32 {4} - Directory Offset (120)
uint32 {4} - Version (1)
byte {96} - null Padding
// Directory
- // for each file
- char {16} - Filename (null)
- uint32 {4} - File Type ID (2002, 3011, 3016, 3017)
- uint32 {4} - File ID (incremental, starting from 0)
- uint32 {4} - File Offset
- uint32 {4} - File Length
- char {16} - Filename (null)
- byte {0-127} - null Padding to a multiple of 128 bytes
// File Data
- // for each file
- byte {X} - File Data
- byte {0-127} - null Padding to a multiple of 128 bytes
- byte {X} - File Data
MultiEx BMS
ImpType Standard ; GoTo 12 0 ; Get FNum Long 0 ; Get DirOff Long 0 ; GoTo DirOff 0 ; For n = 1 To FNum ; SavePos FNJump 0 ; Math FNJump += 24 ; Get FN String 0 ; GoTo FNJump 0 ; SavePos FOO 0 ; Get FO Long 0 ; SavePos FSO 0 ; Get FS Long 0 ; Log FN FO FS FOO FSO ; Next n ;
Notes and Comments
- Files with size=0 still incur padding, so infact take up 128 null padding bytes in the archive.