So, i decided to reverse engineer the nintendo switch .bars files here... (i feel like i'm so amateur in reverse engineering file structures )
i use a hex editor program to see the .bars file inside
So far, here's what i got:
The structure itself consists of:
-Header. This is obvious one. It begins with BARS, possibly ends with character ô or Ô (F4 or D4 in hex respectively), i'm not sure
-File classification order (?) (Presumably begins with character ô or F4 in hex, ends with Ô or D4 in hex, or just end with Ô or D4 in hex) i'm not sure (perhaps they're a part of header?)
-Tags? (Possible tags begin with @ or 40 in hex, À or C0 in hex, or € or 80 in hex, or perhaps there's more?), used for some sort of, "sorting" file order
It actually goes like this... (notice a number of 00s for some sort of, spacing) (this is found in Doubutsugo_Bonyari.bars , a lazy villager animalese audio files from animal crossing new horizons)
-File name (Begins with AMTA tag with certain format: AMTA <code> File_name)
-BWAV contents (all begins with BWAV tag, possibly unsorted for the orders)
notes
-it seems that some .bars files contain more AMTA tag than BWAV files (possibly have more than 1 AMTA tag to use the same BWAV files? Unused AMTA tags? no idea why...)
so, anyone else have tried reverse engineering nintendo switch .bars files?
i use a hex editor program to see the .bars file inside
So far, here's what i got:
The structure itself consists of:
-Header. This is obvious one. It begins with BARS, possibly ends with character ô or Ô (F4 or D4 in hex respectively), i'm not sure
-File classification order (?) (Presumably begins with character ô or F4 in hex, ends with Ô or D4 in hex, or just end with Ô or D4 in hex) i'm not sure (perhaps they're a part of header?)
-Tags? (Possible tags begin with @ or 40 in hex, À or C0 in hex, or € or 80 in hex, or perhaps there's more?), used for some sort of, "sorting" file order
It actually goes like this... (notice a number of 00s for some sort of, spacing) (this is found in Doubutsugo_Bonyari.bars , a lazy villager animalese audio files from animal crossing new horizons)
-File name (Begins with AMTA tag with certain format: AMTA <code> File_name)
-BWAV contents (all begins with BWAV tag, possibly unsorted for the orders)
notes
-it seems that some .bars files contain more AMTA tag than BWAV files (possibly have more than 1 AMTA tag to use the same BWAV files? Unused AMTA tags? no idea why...)
so, anyone else have tried reverse engineering nintendo switch .bars files?