EMI

From XentaxWiki
Jump to: navigation, search

Back to index | Edit this page

EMI

{{GRAFPageMisc{{ subst:#if: Archive | {{subst:!}}Archive }}{{ subst:#if: Little Endian | {{subst:!}}Little Endian }}}}

Format Specifications

None written yet.

Notes and Comments

None

MultiEx BMS Script

<bms ext="emi" games="'Breath of Fire 4'" platforms="'PS'" version="1.0" author="Mr.Mouse" verbose="no" silence="no"># MexScript for EMI files from Breath Of Fire 4

  1. By Mr.Mouse
  2. ----------------------------
  3. First get the Number of files (FN)

ImpType SFileSize ; Get FN Long 0 ; Get U1 Long 0 ; GetDString ID 8 0 ;

  1. The ID string is "MATH_LAB"
  2. Very well, now prepare some padding calculations
  3. Each data stream (data section) is padded up to
  4. 0x800 blocks.

Set B Long 2048 ; Set A Long FN ; Math A *= 16 ; Math A += 16 ; Set C Long A ; Math C /= B ; Math C *= 2048 ; Math C += 2048 ; Set Off Long C ;

  1. Good, now we have calculated the Offset of the
  2. first file. Lets start reading the file info for each file
  3. in the archive!

For T = 1 To FN ; SavePos FSO 0 ; Get FS Long 0 ; Get U2 Long 0 ; Get ID2 Long 0 ; Get U3 Int 0 ; Get END Int 0 ; Log "" Off FS 0 FSO ;

  1. Need to perform padding calculations to get to the
  2. offset of the next file (if any)

Math FS /= 2048 ; Math FS *= 2048 ; Math FS += 2048 ; Math Off += FS ; Next T ;

  1. There! That did the trick!</bms>

Supported by Programs

MultiEx Commander http://multiex.xentax.com

Documentation

Original request thread: http://forum.xentax.com/viewtopic.php?t=1984

Games

Breath of Fire 4

Navigation

Jump to a listing by...
All Formats - Common Formats - Standard Formats - Malformed Pages
Platforms
Microsoft:
Xbox
Xbox 360
Nintendo:
GameCube
DS
Desktop:
PC
Sega:
Dreamcast
Sony:
PlayStation
PlayStation 2
PlayStation 3
PlayStation Portable
Type
Animation - Archive - Audio - Image - Mesh - Miscellaneous - Model - Video
Endianness
Little-endian - Big-endian
BMS Scripts
Pages Without a BMS Script

All Pages with Scripts:
Recently Added Scripts

Program Support
No Known Support

MultiEx Commander - Game Extractor

Format Specification Completion
Work in Progress - Almost Done - Completed
Compression and Encryption
No Compression or Encryption Used - Unknown Compression or Encryption Used

One or Both Used:
Compression Used - Both Compression and Encryption Used