Marmalade SDK S3E

From XentaxWiki
Jump to: navigation, search

Back to index | Edit this page

S3E

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : XE3U


Format Specifications

// header (64 bytes)
4 bytes (char) - signature // "XE3U"
4 bytes (uint32) - archive version  // e.g. 00 0F 04 00 = v4.15.0
2 bytes (uint16) - flags  // 0x01 - DEBUG
                          // 0x02 - GCC
                          // 0x04 - RVCT
2 bytes (uint16) - architecture  // e.g. 0x00 - ARM[0]

// Note: If section size or offset is "0", then section doesn't exist in the archive

4 bytes (uint32) - fixup section offset
4 bytes (uint32) - fixup section size

4 bytes (uint32) - code section offset
4 bytes (uint32) - code section size

4 bytes (uint32) - BSS size?

4 bytes (uint32) - signature section offset
4 bytes (uint32) - signature section size

4 bytes (uint32) - entry point  // e.g. 0x00

4 bytes (uint32) - config section offset
4 bytes (uint32) - config section size

4 bytes (uint32) - Base Address

4 bytes (uint32) - extra section offset
4 bytes (uint32) - extra section size


// extra header  (only if version > 4.9.0)
4 bytes (uint32) - extra header length  // 8
4 bytes (uint32) - data offset


// sections
x bytes - config section data (contains "app.icf" and "s3e.icf" config files)
x bytes - code section data / loadable data (code + data + BSS)
x bytes - fixup section data
x bytes - signature section data
x bytes - extra section data / license section data (188 bytes)

Notes and Comments

  • This file format occurs in games made using Marmalade SDK.
  • Whole archive may be compressed with LZMA compression or with ZLIB compression.

Games

List of games using this file format:

  • Angry Birds POP! (needs confirmation)
  • Backbreaker (needs confirmation)
  • Bubble Mania (*.S3E) (Android)
  • Expendable:Rearmed (needs confirmation)
  • Lara Croft and the Guardian of Light (needs confirmation)
  • Resident Evil: Degeneration (*.S3E) (N-Gage / iOS)
  • Metal Gear Solid Mobile (needs confirmation)
  • SimCity BuildIt (*.S3E)

QuickBMS Script

Compatible Programs

  • Marmalade SDK (c:\Marmalade\8.6\s3e\bin\)
    • s3e_info.py
  • s3extract.py
  • 7-zip (only for LZMA decompression)

See Also