Skip to content

Game File Headers

Yong Jian Ming edited this page Sep 5, 2023 · 11 revisions

ACL

This file contains information about DLC definition.

File Header
    0x00h 4     ID "ACL" (0x004C4341)
    0x04h 4     DLC Pointer Count
    0x08h 4     DLC Pointer Address
    0x0Ch 4*N   DLC Data Address

DLC Data
    0x00h 2     DLC Index
    0x02h 2     DLC ID

DBG

This file contains information about debug stuff.

File Header
    0x00h 4     ID "DBG" (0x00474244)
    0x04h 4     Unknown
    0x08h 4     Unknown

DBTL

This file contains information about BP exchange in DP exchange shop.

File Header
    0x00h 4     ID "DBTL" (0x4C544244)
    0x04h 4     Unknown
    0x08h 4     BP Exchange Count
    0x0Ch 4     Starting Offset
    0x10h 4*N   BP Exchange Info

BP Exchange Info
    0x00h 2     BP Exchange Value
    0x02h 2     DP Cost

Note: BP Exchange Value cannot be changed as it would require the corresponding image to be present.

DMS

This file contains a value for maxid depending on the target file.

File Header
    0x00h 4     ID "DMS" (0x00534D44)
    0x04h 4     Value

DMSK

This file contains information about mask in DP exchange shop.

File Header
    0x00h 4     ID "DMSK" (0x4B534D44)
    0x04h 4     Unknown
    0x08h 4     Mask Count
    0x0Ch 4     Start Offset (Offset from DMSK+0)
    0x10h 4*N   Mask Definition

Mask Definition
    0x00h 2     Mask ID
    0x02h 2     DP Cost

DTX

This file contains information about text in-game. (Encoded in UTF-8)

File Header
    0x00h 4     ID "DTX" (0x00585444)
    0x04h 4     Text Pointer Count
    0x08h 4     Text Pointer Address
    0x0Ch 4*N   Text Data Address
    ....  ....  Text Data (Each text ends at null (0x00) character)

MMS

This file contains information about sprites used in-game.

File Header
    0x00h 4     ID "MMS" (0x00534D4D)
    0x04h 4     Unknown
    0x08h 4     Unknown
    0x0Ch 4     Unknown
    0x10h 4     Unknown
    0x14h 4     Unknown
    0x18h 4     Animation File Indexes Count
    0x1Ch 4     Animation File Indexes Offset (Offset from MMS+0)
    0x20h 4     Animation File Name Offset (Offset from MMS+0)
    0x24h 4     Color Palette File Indexes Count
    0x28h 4     Color Palette File Indexes Offset (Offset from MMS+0)
    0x2Ch 4     Color Palette File Name Offset (Offset from MMS+0)
    0x30h 4     Bitmap File Indexes Count
    0x34h 4     Bitmap File Indexes Offset (Offset from MMS+0)
    0x38h 4     Bitmap File Name Offset (Offset from MMS+0)

MPM

This file contains information about images used in-game.

File Header
    0x00h 4     ID "MPM" (0x004D504D)
    0x04h 4     Unknown
    0x08h 4     Unknown
    0x0Ch 4     Unknown
    0x10h 4     Image Width
    0x14h 4     Image Height
    0x18h 4     Unknown
    0x1Ch 4     Unknown
    0x20h 4     Unknown
    0x24h 4     Color Palette File Index
    0x28h 4     Color Palette File Name Offset (Offset from MPM+0)
    0x2Ch 4     Bitmap File Index
    0x30h 4     Bitmap File Name Offset (Offset from MPM+0)
    0x34h 4     BG Map File Index
    0x38h 4     BG Map File Name
Clone this wiki locally