-
Notifications
You must be signed in to change notification settings - Fork 0
File formats
Ithamar R. Adema edited this page Jan 14, 2026
·
2 revisions
This page will list all known file formats used by Lego Racers.
Basically the same format, with just a slightly different header:
| offset | size | description |
|---|---|---|
| 0x00 | 0x04 | "ALP " as magic |
| 0x08 | 0x04 | u32le, size of header (after this) |
| 0x0c | 0x07 | "ADPCM", 0, 0 |
| 0x0f | 0x01 | u8, channel count |
| 0x10 | 0x04 | u32, sample frequency, e.g. 11025 |
The sample frequency is only there is the header size specifies enough room for it to be there. If it is not specified, it is assumed to be 22050.
After the header (until the end of file) the raw ADPCM data follows.
This is a simple text file, containing a list of audio files. for example:
3
grassgd.pcm
win.pcm
lose.pcm
First a number on its own line, specifying how many files are listed, and then one filename per line on the next lines.