Guide
Game configs
Every game Brawlback can play, other than a plain disc from Dolphin's game list, has a game config. Each config is a folder containing game.json and its Gecko codes.
Game configuration basics
Pre-included game configuration files live in GameConfigs/, found in the same folder as the Brawlback app.Custom configurations can be imported via Settings → Configs, and can be found in Client/UserGameConfigs in Brawlback's application data once imported..
Custom configurations can be imported via Settings → Configs and can be found in Client/UserGameConfigs in Brawlback's application data once imported. The directory structure of these can be seen below:
GameConfigs/
vbrawl/
game.json
codes.ini
vBrawl_V4.raw
nand/
Brawl mods and games
Every config has a type:
- Brawl mod
- Vanilla Brawl or anything built on it: a launcher such as Project+ or Brawl, or a modded Brawl ISO. Brawl mods can use the Brawl-specific options: a launcher, a base disc, an SD card, controller tags, and an in-game replay folder.
- Game
- Any other Wii or GameCube disc, booted as-is from Dolphin's game list. A game can set a frame boundary, Gecko codes, and save data, and nothing Brawl-specific.
Launcher Brawl mods
A Brawl mod either boots a launcher or a disc. A launcher Brawl mod is a complete game. It names the DOL or ELF file Dolphin boots, the base disc that launcher chain-loads, and the matchmaking key players queue under. Brawl and Project+, both included by default, are launcher Brawl mods:
{
"schema_version": 2,
"type": "brawl_mod",
"name": "Project+",
"key": "project-plus",
"game_id": "ID-Project+ Netplay Launcher",
"revision": 0,
"launcher": { "bundled": "Project+ Netplay Launcher.dol" },
"offline_launcher": { "bundled": "Project+ Offline Launcher.dol" },
"base_disc": ["RSBE01"],
"frame_boundary": "vi_begin_field",
"sd_card": { "user_file": "project_plus_sd" },
"gecko_codes": "codes.ini",
"controller_tags": true,
"replay_folder": "Project+"
}
Disc configs
A config without a launcher, whether a game or a Brawl mod ISO, adjusts every copy of a disc in Dolphin's game list with a matching game_id and revision. Players still match on that game-list entry. Discs that only serve as a launcher's base disc are hidden from the game picker unless a config describes them directly.
{
"schema_version": 2,
"type": "game",
"name": "Naruto Shippuden: Clash of Ninja Revolution 3",
"game_id": "RNEPDA",
"revision": 0,
"frame_boundary": "vi_end_field",
"gecko_codes": "codes.ini",
"save": { "type": "wii_data_bin", "path": "save.bin" }
}
Fields
Required
schema_version2. Version1manifests still load, but only supportgame_id,revision,frame_boundary,gecko_codes, a filesd_card, andsave. They have notype: one with ansd_cardis a Brawl mod, and any other is a game.typebrawl_modorgame.game_id- Dolphin's internal game ID, in printable ASCII. For a launcher, it must be the ID Dolphin gives the file:
ID-followed by the file name without its extension. revision- Dolphin's disc revision byte. Launchers are always revision
0.
Optional, for every config
name- The name shown in the game picker.
frame_boundarybrawl_hook,vi_begin_field,vi_end_field,vi_new_field,vi_pre_new_field, orvi_pre_si_poll. Defaults tovi_pre_si_poll.gecko_codes- A Dolphin-style INI containing a
[Gecko]section. Every code in the file is enabled, and the host synchronizes that exact code set to every peer. save-
One save override. Its
typeisgamecube_memory_cardfor a memory-card file,wii_nandfor a NAND directory, orwii_data_binfor an exported Wiidata.bin. Itspathis a player file.A
wii_data_binis imported into an isolated per-game NAND before NetPlay save synchronization. A launcher without asavealso plays from an empty isolated per-game NAND, so every peer starts from Dolphin's bundled Brawl save rather than the save in the player's own NAND, which the offline launchers create and change. known_good_hashes- Up to 32 disc MD5s (32 lowercase hex characters) that play together with this config: the disc a game config boots, or the base disc a launcher loads, so a launcher needs
base_discto use them. Exported configs keep them. See Game hashes.
Optional, for Brawl mods only
launcher{ "path": "<player file>" }or{ "bundled": "<file in Dolphin/User/Launcher>" }. A player's launcher file must keep the name thegame_idcame from, because Dolphin identifies a launcher by its file name.keyLaunchers only- The matchmaking key. Defaults to
config:<game_id>:<revision>, and may not start withdolphin:. Players only match others whose config has the same key, so keep the key when editing a config other players already use. Brawl and Project+ usebrawlandproject-plus. base_discLaunchers only- Disc IDs the launcher can chain-load. The client picks a matching disc from Dolphin's game list, preferring the Brawl ISO chosen during setup.
sd_card- A
.rawor.imgplayer file, or{ "user_file": "project_plus_sd" }for the Project+ SD card the player chose during setup. controller_tags- Send each player's Brawl name tag and controller layout.
replay_folder- The folder Dolphin saves in-game replays to. Defaults to the game's name. In-game (
.bin) replays only play back for theBrawlandProject+folders.
Validation
Unknown fields, missing files, relative paths that escape the config folder, and games that set a Brawl mod option are rejected. Two configs may not claim the same matchmaking key, or the same disc game_id and revision. A broken config only blocks the game it describes, and the editor shows its error.
Config values are session proposals, not local emulator overrides. The host's frame boundary is distributed to every peer. Rollback state and region identity must match on every peer, or the server refuses the match before Dolphin launches.
Both players must install the same config and their own copies of its files. The matchmaking service doesn't transfer configs, SD cards, or save data.
Game hashes
Random matchmaking checks each player's game hash, built from two parts:
- The disc
- Its MD5 as Dolphin's Verify tab computes it. The client runs the bundled Dolphin (
--brawlback-disc-hash), which hashes the raw disc its blob reader reconstructs, so an ISO and a lossless RVZ, WIA, GCZ, or CISO of one dump hash alike, and a good dump matches its Redump MD5. Scrubbed images such as WBFS don't. - The launcher
- For a
.dolor.elf, the SHA-256 of the launcher with the SHA-256 of itssd_cardprepended as a salt, so a launcher with a modified SD card hashes differently.
The game hash is the SHA-256 of the launcher digest (if any) followed by the disc MD5: the booted disc, or the launcher's base disc. Digests are cached in brawlback-file-hashes.json beside the client and recomputed when a file's size or modification time changes. The first hash of a dual-layer disc reads the whole image.
Known-good discs
For each of the config's known_good_hashes, the client also sends the game hash this setup would have with that disc. Two players are paired when each one's accepted hashes include the other's game hash. Players with the same launcher and SD card and any known-good disc match, and a config without the list only matches identical discs.
In the editor, Add my disc adds the MD5 of the disc a saved config uses on this computer, so it needs that disc in Dolphin's game list. Hashes of other discs, such as Redump's, can be pasted in.
The known-good Brawl ISOs below are NTSC (RSBE01) discs. The editor lists them for any Brawl mod that boots or chain-loads RSBE01 and fills them in when it saves. Hashes for other regions' discs are added like any other. The bundled Project+ and Brawl configs list these:
| ISO | MD5 |
|---|---|
| Super Smash Bros. Brawl (USA) (Rev 1), NTSC 1.01 (Redump) | d18726e6dfdc8bdbdad540b561051087 |
| Known-good Brawl ISO | d8560b021835c9234c28be7ff9bcaaeb |
| Known-good Brawl ISO | 5052e2e15f22772ab6ce4fd078221e96 |
| Super Smash Bros. Brawl (USA, Canada) (Rev 2), NTSC 1.02 (Redump) | 52ce7160ced2505ad5e397477d0ea4fe |
| Known-good Brawl ISO | 9f677c78eacb7e9b8617ab358082be32 |
| Known-good Brawl ISO | 1c4d6175e3cbb2614bd805d32aea7311 |
Gecko codes
codes.ini uses Dolphin's normal game-INI syntax. Codes don't need separate enabled entries:
[Gecko]
$Example Code
04000000 60000000