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/

Sharing configs

Export

Launcher files, SD cards, and saves can all be selected within the client to set up your config.

To share one of your configs, open it in Settings → Configs and choose Export. Export writes a single .json file holding the manifest and the Gecko codes. Launcher, SD card, and save paths are left empty, since they point at files on the exporter's computer.

{
  "brawlback_game_config": 1,
  "manifest": {
    "schema_version": 2, "type": "brawl_mod", "name": "Brawl Minus", "game_id": "RSBE09", "revision": 0,
    "gecko_codes": "codes.ini", "sd_card": "", "save": { "type": "wii_nand", "path": "" }
  },
  "gecko_codes": "[Gecko]\n$Example Code\n04000000 60000000\n"
}

Bundle files on export

A Brawl mod config with its own launcher, SD card image, or save can be exported with Bundle files on export turned on. That writes a .zip of the config folder: game.json, codes.ini, and copies of those files under launcher/, sd/, and save/, with the manifest pointing at them by relative path. Everyone who imports it plays with the exporter's exact files and matches each other.

Import

You can import a config by either dropping the exported .json or .zip onto Settings → Configs, or by choosing Browse. A config folder or its game.json, can be dropped too.

An import is checked like any other config before it's installed, and is refused if another config already claims the same matchmaking key or disc. After importing, the Brawlback client will ask for required files before fully adding the conifg. A game disc chosen there is added to Dolphin's game list and listed under Settings → Game Files.

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_version
2. Version 1 manifests still load, but only support game_id, revision, frame_boundary, gecko_codes, a file sd_card, and save. They have no type: one with an sd_card is a Brawl mod, and any other is a game.
type
brawl_mod or game.
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_boundary
brawl_hook, vi_begin_field, vi_end_field, vi_new_field, vi_pre_new_field, or vi_pre_si_poll. Defaults to vi_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 type is gamecube_memory_card for a memory-card file, wii_nand for a NAND directory, or wii_data_bin for an exported Wii data.bin. Its path is a player file.

A wii_data_bin is imported into an isolated per-game NAND before NetPlay save synchronization. A launcher without a save also 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_disc to 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 the game_id came from, because Dolphin identifies a launcher by its file name.
key Launchers only
The matchmaking key. Defaults to config:<game_id>:<revision>, and may not start with dolphin:. 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+ use brawl and project-plus.
base_disc Launchers 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 .raw or .img player 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 the Brawl and Project+ 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 .dol or .elf, the SHA-256 of the launcher with the SHA-256 of its sd_card prepended 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:

ISOMD5
Super Smash Bros. Brawl (USA) (Rev 1), NTSC 1.01 (Redump)d18726e6dfdc8bdbdad540b561051087
Known-good Brawl ISOd8560b021835c9234c28be7ff9bcaaeb
Known-good Brawl ISO5052e2e15f22772ab6ce4fd078221e96
Super Smash Bros. Brawl (USA, Canada) (Rev 2), NTSC 1.02 (Redump)52ce7160ced2505ad5e397477d0ea4fe
Known-good Brawl ISO9f677c78eacb7e9b8617ab358082be32
Known-good Brawl ISO1c4d6175e3cbb2614bd805d32aea7311

Gecko codes

codes.ini uses Dolphin's normal game-INI syntax. Codes don't need separate enabled entries:

[Gecko]
$Example Code
04000000 60000000