RAS (File Format)

From Wexos's Wiki
Revision as of 19:43, 10 July 2025 by Wexos (talk | contribs) (Created page with "'''RAS''' is a streamable audio file format used in Donkey Kong Country Returns. = File Format = == Header == The file starts with the following header: {|class="wikitable" ! Offset !! Type !! Description |- | 0x00 || Char[4] || '''File magic'''. Always ''RAS_'' (0x5241535F) in ASCII. |- | 0x04 || UInt32 || {{Unknown-left|'''Unknown'''.}} |- | 0x08 || UInt32 || {{Unknown-left|'''Unknown'''.}} |- | 0x0C || UInt32 || {{Unknown-left|'''Unknown'''.}} |- | 0x10 || UInt...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

RAS is a streamable audio file format used in Donkey Kong Country Returns.

File Format

Header

The file starts with the following header:

Offset Type Description
0x00 Char[4] File magic. Always RAS_ (0x5241535F) in ASCII.
0x04 UInt32 Unknown.
0x08 UInt32 Unknown.
0x0C UInt32 Unknown.
0x10 UInt32 Unknown, possibly number of channels.
0x14 UInt32 Sample rate in Hz.