Futurama XBox IMG: Difference between revisions
Jump to navigation
Jump to search
imported>Dinoguy1000 (→Supported Programs: add toolset by JayFoxRox) |
imported>Ikskoks No edit summary |
||
| Line 49: | Line 49: | ||
* [[Game Extractor|Game Extractor]] | * [[Game Extractor|Game Extractor]] | ||
* [https://github.com/JayFoxRox/futurama-tools Futurama toolset] | * [https://github.com/JayFoxRox/futurama-tools Futurama toolset] | ||
[[Category:File Format]] | |||
Revision as of 13:05, 6 January 2021
IMG
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// DIRECTORY
- uint32 {4} - Directory Length
- // for each file and folder
- char {X} - Filename
- byte {1} - null Filename Terminator
- byte {0-3} - null Padding to a multiple of 4 bytes
- char {X} - Filename
- if (bit#1 of the filename is =1){
- // directory
- uint32 {4} - Number Of Files In This Folder?
- }
- // directory
- if (bit#1 of the filename is =1){
- else {
- // file
- uint32 {4} - File Length
- uint32 {4} - File Offset
- }
- // file
- else {
- uint16 {2} - null
byte {0-2047} - null Padding to a multiple of 2048 bytes
// FILE DATA
- // for each file
- byte {X} - File Data
- byte {0-2047} - null Padding to a multiple of 2048 bytes
- byte {X} - File Data
MultiEx BMS
Not written yet
Notes and Comments
- The bit#1 of the filename determines whether the entry is a file or a folder. If it is a folder, the first character of the filename will need to have bit#1 removed.