Post by Re-Play games on Apr 24, 2024 11:13:15 GMT 10
Specifications of snd files, RE-Play Games 04/23/2024
All bytes are in little endian.
header: 32 fixed bytes = 0x0 ... 0x20
00000000 CA B6 BE 20 CA B6 BE 20 CA B6 BE 20 CA B6 BE 20
00000010 CA B6 BE 20 CA B6 BE 20 CA B6 BE 20 CA B6 BE 20
The following bytes are the group header listing.
Each SND has standard amounts of groups:
- emxx.snd 1 single group
- rxxx.snd 2 groups
- wepxx.snd 1 single group
Each group header is 96 bytes long.
00000000 01 00 00 00 08 13 00 00 F4 FF 00 00 00 04 00 00
00000010 05 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00
00000020 01 00 00 00 00 00 00 00 F2 FF 00 00 08 17 00 00
00000030 05 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00
00000040 02 00 00 00 00 00 00 00 F3 FF 00 00 08 17 00 00
00000050 05 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00
Group header offset 0x04 (08 13 00 00) = group size (in bytes) uint32 little endian.
Group header offset 0x0C (00 04 00 00) = Group start pointer uint32 little endian.
Group header offset 0x14 (00 01 00 00) = Room, Wep, Em ID uint32 little endian.
Group header offset 0x2C (08 17 00 00) = End of group pointer uint32 little endian.
FF FF FF FF fixed bytes, comes with values from 00, which continues until the beginning of the first group.
Specifications of each sound configuration input.
Each sound configuration input is 28 bytes (1C).
- uint8_t Audio id; 0x00
- int8_t Prog# id; 0x01
- int8_t unck2; 0x02
- uint8_t id2; 0x03
- int8_t prio; 0x04
- int8_t pan; 0x05
- int8_t vol; 0x06
- int8_t aux_a; 0x07
- uint8_t id1; 0x08
- int8_t vol_flag; 0x09
- short pitch_l; 0x0A
- short pitch_h; 0x0C
- int8_t enc_vol; 0x0E
- int8_t grob; 0x0F
- uint8_t srd_type; 0x10
- int8_t span; 0x11
- int8_t svol; 0x12
- int8_t free1; 0x13
- int8_t free2; 0x14
- int8_t free3; 0x15
- uint32_t flag; 0x16
- uint16_t unck17; 0x17
CONSIDER FLAG VALUE 00 80 00 00 SOUND DISABLED OF EACH SND INPUT (uint32)
CONSIDER FLAG VALUE 00 00 02 00 ACTIVE SOUND OF EACH SND INPUT (uint32).
Well, that's all for now.
Special thanks to mariokart64n, Mr.Curious and HardRain