EA STRM (File Format)

From Wexos's Wiki
Jump to navigationJump to search
Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.

STRM is an archive file format used in some Wii games developed by EA, such as Boom Blox and Monopoly Streets. It is usually compressed with RefPack and found with the .rpk extension.

File Format

The file byte order is always big endian in Wii games. All offsets are absolute.

File Header

The file starts with the following header:

Offset Type Description
0x00 Char[4] File magic. Always STRM in ASCII.
0x04 UInt32 File size in bytes.

AGRP

STRM files may contain multiple AGRP sections. These sections contain one GHDR section and multiple ASET sections.

Offset Type Description
0x00 Char[4] Section magic. Always AGRP in ASCII.
0x04 UInt32 Section size in bytes.

GHDR

Unknown.

Offset Type Description
0x00 Char[4] Section magic. Always GHDR in ASCII.
0x04 UInt32 Section size in bytes.
0x08 UInt32 Unknown.
0x0C UInt32 Offset to name tag in the STRS section.
0x10 UInt32 Unknown. Always the same value as 0x8?

ASET

ASET sections link asset paths with their binary data.

Offset Type Description
0x00 Char[4] Section magic. Always ASET in ASCII.
0x04 UInt32 Section size in bytes.
0x08 Byte[4] Unknown. Flags?
0x0C UInt32 Unknown.
0x10 UInt32 Unknown.
0x14 UInt32 Unknown.
0x18 UInt32 File data offset in the DATA section.
0x1C UInt32 File data size in bytes.
0x20 UInt32 Asset path offset in the STRS section.
0x24 UInt32 Unknown. Always 0?

STRS

This section contains null-terminated strings, aligned by 0x4.

Offset Type Description
0x00 Char[4] Section magic. Always STRS in ASCII.
0x04 UInt32 Section size in bytes.

DATA

This section contains file data, aligned by 0x20.

Offset Type Description
0x00 Char[4] Section magic. Always DATA in ASCII.
0x04 UInt32 Section size in bytes.

Tools

The following tools can handle EA STRM files:

  • (none)