Futurama XBox IMG: Difference between revisions
Jump to navigation
Jump to search
imported>WATTO No edit summary |
imported>Ikskoks No edit summary |
||
| (5 intermediate revisions by 3 users not shown) | |||
| Line 33: | Line 33: | ||
<font color="blue"> ''' // FILE DATA ''' </font> <br> | <font color="blue"> ''' // FILE DATA ''' </font> <br> | ||
: <font color="blue"> ''' // for each file ''' </font> <br> | : <font color="blue"> ''' // for each file ''' </font> <br> | ||
:: | :: byte {X} - File Data <br> | ||
:: byte {0-2047} - null Padding to a multiple of 2048 bytes <br> | :: byte {0-2047} - null Padding to a multiple of 2048 bytes <br> | ||
</b></tt> | </b></tt> | ||
| Line 47: | Line 47: | ||
=== Supported Programs === | === Supported Programs === | ||
* [[Game Extractor|Game Extractor]] | * [[Game Extractor|Game Extractor]] | ||
* [https://github.com/JayFoxRox/futurama-tools Futurama toolset] | |||
[[Category:File Format]] | |||
Latest 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.