The Sims IFF: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>WATTO
No edit summary
No edit summary
Line 2: Line 2:


* ''' Format Type ''':    Archive <br>  
* ''' Format Type ''':    Archive <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian container, Little Endian data<br>  




Line 8: Line 8:


<tt><b>
<tt><b>
char {60}&nbsp;&nbsp;&nbsp; - Header <font color="purple">(IFF FILE 2.5:TYPE FOLLOWED BY SIZE JAMIE DOORNBOS & MAXIS 1)</font> <br>  
char {60}&nbsp;&nbsp;&nbsp; - Header <font color="purple">(The Sims: IFF FILE 2.5:TYPE FOLLOWED BY SIZE\0 JAMIE DOORNBOS & MAXIS 1)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Offset to directory file <font color="purple">(sometimes is 0)</font> <br>  
uint32 {4}&nbsp;&nbsp; - Offset to resource map <font color="purple">(sometimes is 0)</font> <br>  
<br>
<br>
<font color="blue"> ''' // for each file ''' </font> <br>  
<font color="blue"> ''' // for each file ''' </font> <br>  
: char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Extension/Type <br>  
: char {4}&nbsp;&nbsp;&nbsp;&nbsp; - Extension/Type <br>  
: uint32 {4}&nbsp;&nbsp; - Size <font color="purple">(including 76 header)</font> <br>  
: uint32 {4}&nbsp;&nbsp; - Size <font color="purple">(including 76 byte header)</font> <br>  
: uint16 {2}&nbsp;&nbsp; - File ID <br>  
: uint16 {2}&nbsp;&nbsp; - File ID <br>  
: uint16 {2}&nbsp;&nbsp; - <font color="red"> '' Unknown '' </font> <br>  
: uint16 {2}&nbsp;&nbsp; - Flags <font color="purple">(0x0000 or 0x0010)</font> <br>  
: char {64}&nbsp;&nbsp;&nbsp; - Filename <font color="purple">(null)</font> <br>  
: char {64}&nbsp;&nbsp;&nbsp; - Label <font color="purple">C string</font> <br>  
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
: byte {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <br>  
<br>
<br>
Line 29: Line 29:
* [[Game Extractor|Game Extractor]]<br><br>
* [[Game Extractor|Game Extractor]]<br><br>


=== Other Games ===  
=== Other Extensions ===  
The Sims and The Sims Online use the extensions .iff .spf .stx .flr .wll


These games also use this file format<br>
== Chunk formats ==
* The Sims *.iff *.flr *.wll
Chunk formats are game-specific.
* The Sims Online *.iff *.flr *.wll *.spr

Revision as of 18:46, 28 April 2012

IFF, FLR, WLL

  • Format Type : Archive
  • Endian Order : Big Endian container, Little Endian data


Format Specifications

char {60}    - Header (The Sims: IFF FILE 2.5:TYPE FOLLOWED BY SIZE\0 JAMIE DOORNBOS & MAXIS 1)
uint32 {4}   - Offset to resource map (sometimes is 0)

// for each file

char {4}     - Extension/Type
uint32 {4}   - Size (including 76 byte header)
uint16 {2}   - File ID
uint16 {2}   - Flags (0x0000 or 0x0010)
char {64}    - Label C string
byte {X}     - File Data


MultiEx BMS Script

Not written yet

Compatible Programs

Other Extensions

The Sims and The Sims Online use the extensions .iff .spf .stx .flr .wll

Chunk formats

Chunk formats are game-specific.