BAROC (File Format): Difference between revisions
From Wexos's Wiki
Jump to navigationJump to search
(Imported from avsys wiki) |
No edit summary |
||
| Line 1: | Line 1: | ||
'''BAROC''' ('''B'''inary '''A'''udio '''R'''oll-'''O'''ff '''C'''urve) is a file format used in [[Nintendo Switch]] games. It controls audio frequency [https://en.wikipedia.org/wiki/Roll-off roll-off]. | '''BAROC''' ('''B'''inary '''A'''udio '''R'''oll-'''O'''ff '''C'''urve) is a file format used in [[Nintendo Switch]] and [[Nintendo Switch 2]] games. It controls audio frequency [https://en.wikipedia.org/wiki/Roll-off roll-off]. | ||
= File Format = | = File Format = | ||
| Line 41: | Line 41: | ||
* [[Animal Crossing: New Horizons]] | * [[Animal Crossing: New Horizons]] | ||
* [[ARMS]] | * [[ARMS]] | ||
* [[Donkey Kong Bananza]] | |||
* [[Game Builder Garage]] | * [[Game Builder Garage]] | ||
* [[Mario Kart 8 Deluxe]] | * [[Mario Kart 8 Deluxe]] | ||
| Line 61: | Line 62: | ||
[[Category:Switch File Formats]] | [[Category:Switch File Formats]] | ||
[[Category:Switch 2 File Formats]] | |||
Latest revision as of 20:53, 6 November 2026
BAROC (Binary Audio Roll-Off Curve) is a file format used in Nintendo Switch and Nintendo Switch 2 games. It controls audio frequency roll-off.
File Format
The BAROC file format is a very simple format and consists of the following structure:
| Offset | Type | Description |
|---|---|---|
| 0x00 | Char[4] | File magic. Always AROC in ASCII. |
| 0x04 | UInt16 | Byte-order-mark. FE FF for big endian, FF FE for little endian. |
| 0x06 | UInt16 | Version number. |
| 0x08 | Int32 | Curve type:
|
| 0x0C | Float | Roll-off start. |
| 0x10 | Float | Roll-off end. 0 if it lasts until the end of the sound? |
| 0x14 | Float | Hold distance. |
| 0x18 | Float | Unit distance. |
| 0x1C | Float | Decay ratio. |
| 0x20 | Float | Culling start distance. |
Version List
Tools
The following tools can handle BAROC files:
- (none)