BAATN (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:
{{under-construction}}
{{under-construction}}
'''BAATN''' ('''B'''inary '''A'''udio '''AT'''te'''N'''uation) is a file format used in [[Nintendo Switch]] games. It controls which [[BAADR]], [[BAROC]], [[BAUDC]] and [[BAACL]] are used to create an attenuation program.
'''BAATN''' ('''B'''inary '''A'''udio '''AT'''te'''N'''uation) is a file format used in [[Nintendo Switch]] and [[Nintendo Switch 2]] games. It controls which [[BAADR]], [[BAROC]], [[BAUDC]] and [[BAACL]] are used to create an attenuation program.


= File Format =
= File Format =
Line 29: Line 29:
* [[Animal Crossing: New Horizons]]
* [[Animal Crossing: New Horizons]]
* [[ARMS]]
* [[ARMS]]
* [[Donkey Kong Bananza]]
* [[Drag x Drive: Global Jam]]
* [[Game Builder Garage]]
* [[Game Builder Garage]]
* [[Mario Kart 8 Deluxe]]
* [[Mario Kart 8 Deluxe]]
Line 51: Line 53:


[[Category:Switch File Formats]]
[[Category:Switch File Formats]]
[[Category:Switch 2 File Formats]]

Latest revision as of 20:51, 6 November 2026

Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.

BAATN (Binary Audio ATteNuation) is a file format used in Nintendo Switch and Nintendo Switch 2 games. It controls which BAADR, BAROC, BAUDC and BAACL are used to create an attenuation program.

File Format

Header

Offset Type Description
0x00 Char[4] File magic. Always AATN in ASCII.
0x04 UInt16 Byte-order-mark. FE FF for big endian, FF FE for little endian.
0x06 UInt16 Version number.
0x08 UInt32 String Table offset.

Parameter Data

String Table

At the end of the file, there's a string table that links to BAADR, BAROC, BAUDC and BAACL files, always stored in pairs and with null-terminated strings of the file names without the extension. If a file is not present, it stores a null string for it instead.

Version List

Version Found in
0.1

Tools

The following tools can handle BAATN files:

  • (none)