Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Extension points

English · Português (BR)

Most content is data. This page maps each kind of content to the file that defines it, the page that documents it and whether a Rust change is needed. Add new content here first, in code only when the data cannot express it.

ContentWhere it livesDocumented inRust change
Native fighterassets/chars/<id>.json, listed in assets/chars/index.jsonUMF character, Make a characterNo
Fighter bios and nationalityassets/char_profiles.jsonCharactersNo
M.U.G.E.N fighter or stagemugen/chars/, mugen/stages/ or the marketplaceAdding M.U.G.E.N content, MarketplaceNo
Built-in stage from dataassets/stages/data/<id>/stage.def and its files, embedded by build.rsMake a stageNo
Stage look (rim light, tint, vignette)assets/stagelook.tomlVisual effectsNo
Stage propsassets/stageprops.toml and assets/props/Visual effectsNo
Story objects (crates, pickups, bonus rounds)assets/story/objects.tomlStage objectsNo
Story epiloguesassets/story/epilogues.jsonStory modeNo
Arcade routes and unlocksassets/routes/unlocks.tomlRoute filesNo
Post-processingassets/postfx.tomlVisual effectsNo
Passives, signature metersfields of a UMF fighterPassivesNo
State controller or triggercrates/engineCustomizing the engine, CNS scriptsYes
New file formatcrates/formatsArchitectureYes
New screensrc/app/<screen>.rsFile layoutYes

Rules for a new kind of content

  1. Define it as a data file under assets/, embedded through build.rs when it ships with the game.
  2. Give it a wiki page with an English and a pt-BR version, and add a row to the table above.
  3. Add a test that loads the shipped files, so a broken data file fails CI instead of the game.
  4. Record the choice in an ADR when it introduces a new format.