Skip to content

Game Documentation

BenjaminHalko edited this page Dec 21, 2021 · 9 revisions

Brsar Documentation

http://wiki.tockdom.com/wiki/BRSAR_(File_Format)

Instrument Bytes

00 Piano
01 Marimba
02 Vibraphone
03 Steel Drum
04 Dulcimer
05 Handbell
06 Harpsichord
07 Timpani
08 Galactic Piano
09 Toy Piano
0a Dog Suit
0b Cat Suit
0c Rapper
0d Acoustic Guitar
0e Electric Guitar
0f Electric Bass
10 Double Bass
11 Ukulele
12 Banjo
13 Sitar
14 Shamisen
15 Harp
16 Galactic Guitar
17 Galactic Bass
18 Jews Harp
19 Violin
1a Cello
1b Trumpet
1c Saxophone
1d Flute
1e Clairenet
1f Tuba
20 Accordion
21 Harmonica
22 Bagpipe
23 Recorder
24 Galactic Horn
25 NES Horn
26 Female Singer
27 Male Singer
28 Basic Drums
29 Rock Drums
2a Jazz Drums
2b Latin Drums
2c Ballad Drums
2d Congas
2e Maracas
2f Tambourine
30 Cuica
31 Cowbell
32 Hand Clap
33 Bells
34 Castanets
35 Guiro
36 Timpales
37 Djembe
38 Taiko Drum
39 Cheerleader
3a Snare Drum
3b Bass Drum
3c Galactic Drums
3d Galactic Congas
3e DJ Turntables
3f Black Belt
40 Reggae Drums
41 Whistle
42 Beatboxer
43 Advanced Basic Drums
44 Advanced Rock Drums
45 Advanced Jazz Drums
46 Advanced Galactic Drums
47 Tempokun
48 ??? (supposedly this is michael tetori)

Style Bytes

00 -- Jazz
01 -- Rock
02 -- Latin
03 -- March
04 -- Electronic
05 -- Pop
06 -- Japanese
07 -- Tango
08 -- Classic
09 -- Hawaiian
0A -- Reggae
0B -- Little Star
0C -- Yankee Doodle
0D -- Clementine
0E -- Scarborough Fair
0F -- Carmen
10 -- Christmas Tree
11 -- Over The Waves
12 -- Every Breath You Take
13 -- Chariots Of Fire
14 -- September
15 -- Material Girl
16 -- I'll Be There
17 -- Woman
18 -- Never Been To Me
19 -- Zelda
1A -- Wii Sports
1B -- Animal Crossing
1C -- Minuet
1D -- Entertainer
1E -- Happy Birthday
1F -- La Cucaracha
20 -- Santurtzi To Bilbao
21 -- Night Music
22 -- Blue Danube
23 -- K.K. Blues
24 -- Wii Music
25 -- Flamenco
26 -- Karate
27 -- Parade
28 -- Exotic
29 -- A Capella
2A -- Calypso
2B -- Animals
2C -- NES-Style
2D -- Main Menu (Pop)
2E -- Main Menu (Electronic)
2F -- Main Menu (Japanese)
30 -- Main Menu (March)
31 -- Main Menu (Acapella)
32 -- Orchestral
33 -- Ballad
34 -- African
35 -- Galactic
36 -- Hip-Hop
37 -- Samba
38 -- Acoustic
39 -- March Style
3A -- Tuba Melody
3B and 40 -- All Galactic Piano
3C and 41 -- African Electronic
3D and 3E -- Alternate Classical
3F -- Cello Trio (and a tuba)
42 -- I don't remember, but it reminds me of the beta style
43 -- Handbell
44 -- Soul
45 -- Alternate Zelda Style

Main.dol Offsets

515E8A -- Instrument Segmentation(s) (not much is known about this)

What's known about this offset:

The real instrument segments starts here: 515EC0

Each segment is 54 bytes long

In order to tell the difference between the separate instruments, look for the instrument's id in the segment

For example, here's the rapper's segment:

00 00 00 0C 00 00 00 00 00 00 00 0C 00 00 00 01 FF FF FF FF 00 00 00 18 FF FF FF FF 00 00 00 0C 00 00 00 00 00 00 00 0C FF FF FF FF FF FF FF FF 00 00 00 08 FF FF FF FF 00 00 00 0C 00 00 00 00 00 00 00 0C 00 00 00 00 00 00 00 01 00 00 00 01 FF FF FF FF

the abundance of the instruments id (in this case, 0C) will be a giveaway to which instrument segment it is)

5A7EAC -- Stage Segmentation(s) (again, not much is known about this)

Brseq Swapping

0x59C56E + 0xBC * song number -- Offset in the Main.dol

  • ex. The offset of Super Mario Bros. (song number 0x2D) would be 0x59C56E + 0xBC * 0x2D which would equal to 0x59E67A

At the offset you should see something like 01AF 0000 01B0 which stands for SongID 0000 ScoreID

Switch the SongID and the ScoreID to switch the brseqs

Clone this wiki locally