Skip to content

Game Documentation

BenjaminHalko edited this page Jan 2, 2022 · 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)

Song Segment

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

0x00 -- song number + 0xC8

0x24 -- Time Signature

0x28 -- Length

0x2C -- Tempo

0x30 -- Always seems to be 00000000

0x34 -- Always seems to be 01000000

0x4C/0x50 -- Song and Score

0x54 to 0x58 -- Always seems to be 0000010001010000

0x7C-- Always seems to be 000003E7

Wii Music Crashing Reasons

Game crashes as the main menu loads

  • You have an external save file that got corrupted. Delete the save file, then restart the game.

Game crashes as soon as you choose the rapper instrument / game crashes as you load the tutorial / load instrument improv

  • The song doesn't have a proper SONG file. Check out the custom song tutorial (coming soon) to see how to make a proper SONG file

Game crashes when you load a stage

  • The stage is too big (file size) for the game
  • The model isn't optimized (not tested)

Game crashes as you load a specific custom style

  • The style patch has a messed up offset
  • The style patch contains an unreadable instrument byte

Game crashes after you edit the MusicStatic common.carc file

  • You can't directly edit the MusicStatic by using BrawlCrate. You have to edit the files externally, and then reimport it using Wexo's Toolbox or SZS Explorer

Rapper Crash Fix

US:

043B0BBB 881C0090
043B0BBF 7C090000
043B0BC3 4081FFBC
043B0BC7 881C00D6

Europe:

043B0CCF 881C0090
043B0CD3 7C090000
043B0BC3 4081FFBC
043B0CD7 881C00D6

Japan:

043AE47F 881C0090
043AE483 7C090000
043AE487 4081FFBC
043AE48B 881C00D6

Korea:

0429CE7B 881C0090
0429CE7F 7C090000
0429CE83 4081FFBC
0429CE87 881C00D6