Cybermercs: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
(fixed) |
||
| Line 3: | Line 3: | ||
Choose archive extension: | Choose archive extension: | ||
== RES == | == RES / MFD == | ||
* ''' Format Type ''': Archive | * ''' Format Type ''': Archive | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian | ||
=== Format Specifications === | === Format Specifications === | ||
{{GRAFPageFormat|1= | |||
{{BlockDescription| // Archive Header }} | |||
: uint16 {2} - Number Of Files | |||
: uint16 {2} - {{Unknown}} {{Constant|(0/1)}} | |||
: uint32 {4} - {{Unknown}} | |||
: uint32 {4} - {{Unknown}} | |||
{{BlockDescription| // for each file }} | |||
:: uint32 {4} - Filename Offset (absolute) | |||
:: uint16 {2} - Filename Length | |||
:: uint16 {2} - {{Unknown}} | |||
{{BlockDescription| // for each file }} | |||
:: char {X} - Filename {{Constant|(the length is obtained from the directory above)}} | |||
:: uint32 {4) - File Offset | |||
:: uint32 {4} - File Size | |||
byte {X} - File Data}} | |||
=== Notes and Comments === | |||
Files with extension ".inc", ".scr", ".h", ".ini", ".brj" and ".txt" XORed with byte 0xAA. It's a way how the game detects which file must be uncrypted. | |||
=== MultiEx BMS Script === | === MultiEx BMS Script === | ||
Not written yet | |||
=== Compatible Programs === | === Compatible Programs === | ||
* [[Game Extractor|Game Extractor]] | * [[Game Extractor|Game Extractor]] | ||
* ctpax-x.ru/?goto=files&show=115 / Cybermercs .RES / .MFD unpacker (with Delphi source codes) | |||
Revision as of 21:48, 20 March 2012
Choose archive extension:
RES / MFD
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// Archive Header
- uint16 {2} - Number Of Files
- uint16 {2} - Unknown (0/1)
- uint32 {4} - Unknown
- uint32 {4} - Unknown
// for each file
- uint32 {4} - Filename Offset (absolute)
- uint16 {2} - Filename Length
- uint16 {2} - Unknown
// for each file
- char {X} - Filename (the length is obtained from the directory above)
- uint32 {4) - File Offset
- uint32 {4} - File Size
Notes and Comments
Files with extension ".inc", ".scr", ".h", ".ini", ".brj" and ".txt" XORed with byte 0xAA. It's a way how the game detects which file must be uncrypted.
MultiEx BMS Script
Not written yet
Compatible Programs
- Game Extractor
- ctpax-x.ru/?goto=files&show=115 / Cybermercs .RES / .MFD unpacker (with Delphi source codes)