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

Configuration and controls

ultimate-mugen.cfg

Lives next to the executable and is written by the Settings menu (main menu or pause menu: Video, Audio, Controls, Gameplay, Language, About). It can be edited by hand. On the web the same text is kept in localStorage, on Android in the app's private storage.

KeyValuesEffect
fullscreen0 / 1Fullscreen
res0 1280×720, 1 1920×1080, 2 2560×1440, 3 3840×2160, 4 5120×2880Window size
quality0 automatic, 1 3×, 2 4.5×, 3 6×Vector art density
fps0 / 1Show FPS
fx0 to 2Post-processing (bloom, vignette, etc.)
impact_lv0 minimum (photosensitivity), 1 reduced, 2 normal, 3 intenseImpact effect strength
version2File format version (older files without it still load)
vsync0 / 1V-Sync (native)
fps_cap0 unlimited, 1 30, 2 60, 3 120, 4 144Frame limiter (native)
master music sfx0 to 10Volume steps
mute0 / 1Silence everything
difficulty1 to 8CPU level
round_time0 99 s, 1 60 s, 2 30 s, 3 infiniteRound timer
rounds0 first to 1, 1 first to 2, 2 first to 3Rounds needed to win
life0 50%, 1 75%, 2 100%, 3 150%, 4 200%Life bar multiplier
langen / pt / esLanguage of the whole interface
keep_aspect1 (default) / 01 letterboxes the 16:9 picture inside any window shape; 0 stretches it to fill the window
filternearest (default) / linearSprite sampling when scaled: crisp pixels or bilinear smoothing
windowWIDTHxHEIGHT, 0x0 when unsetWindowed size, saved automatically about one second after you stop resizing; overrides res until you pick a size in the Video menu

Player card (player-card.json)

The Player card screen (main menu, Player card) stores the card, record, roster, rivals and achievements in player-card.json, next to the executable (browser: local storage). Training bouts do not count. The file stays on this device; there is no server sync.

Resizable window

The window can be dragged to any size. The game draws into a fixed 16:9 logical space that is scaled to the window, so the fight area, HUD and menus stay consistent at every size and the window size is independent from the game resolution. With Keep aspect on, the unused strip is black; with it off, the picture is stretched and mouse and touch input are mapped back to the stretched space. The --res WxH flag still sets the starting window size and takes priority over the saved window value.

Command line

FlagEffect
--res 2560x1440Window resolution
--4k3840×2160 window
--fullscreenFullscreen
--touchForce touch controls
--muteNo audio
--shots <folder>Automatic tour saving screenshots
--shots-audioEnable sound during a screenshot tour; --mute still takes precedence
--versionPrint the version
--check-updatePrint whether a newer release exists and exit
--updateDownload, verify and install the newest release, then exit
--no-auto-update / --no-update-checkKeep the notice, hide the update prompt / skip the update check

Environment variables

VariableEffect
UME_MUGEN_DIRAlternative M.U.G.E.N content folder
UME_MARKET_HOMEFolder for marketplace downloads and state
UME_GITHUB_TOKEN / GITHUB_TOKENOptional GitHub token for the marketplace (raises the API rate limit)
UME_NO_UPDATE_CHECK=1Skip update checks
UME_NO_AUTO_UPDATE=1Keep the update notice but never download or install
UME_NOFX=1Disable the animated stage layer (performance testing)
UME_TOUR=mugen + UME_CHARS=a,b + UME_STAGE=<id>With --shots, photograph imported fighters

Language and localization

The UI ships three locales: English (default), Portuguese (Brazil) and Spanish. Settings › Language cycles through them at runtime and stores lang=en|pt|es in ultimate-mugen.cfg.

  • src/i18n/catalog.rs holds the keyed table (English and Portuguese) and src/i18n/es_catalog.rs the Spanish column; i18n::t(key) looks up current locale → English → the key name, so an incomplete catalog never shows a blank label.
  • Inline strings use i18n::tr3(pt, en, es); the older i18n::tr(pt, en) finds its Spanish text through src/i18n/es_phrases.rs, keyed by the English string. Placeholders use i18n::fill("{name}", &[("name", value)]).
  • A missing key is printed once to the log (i18n: missing key '<key>').
  • The catalogs are compiled in, so switching has no I/O cost and works on web/mobile.
  • Unit tests keep the catalogs in sync and fail if the migrated screens go back to hardcoded Portuguese.
  • Still Portuguese-only: story cutscenes and boss dialogue, fighter bios and stage names (content data).
  • First launch (no saved config) picks the system language: navigator.language on the web, LC_ALL/LC_MESSAGES/LANG on desktop; English when unsupported.

Importing M.U.G.E.N content

Main menu › Import M.U.G.E.N is the single entry point. On the web the button opens the browser file picker (the page overlays an invisible <label> exactly on the button so the click is a real user gesture) and .zip files can also be dropped on the window. On desktop the button opens the system file dialog (PowerShell on Windows, osascript on macOS, zenity or kdialog on Linux); folders under chars/ and stages/ are still scanned at start.

Controls

ActionKeyboard P1Keyboard P2GamepadTouch
MovearrowsI K J LD-pad / stickvirtual stick
Punches x y zQ W ENum 4 5 6□ △LP HP
Kicks a b cA S DNum 1 2 3✕ ○LK HK
Quick specialsV B NNum 7 8 9—ESPECIAL, SUPER
Move shortcuts (slots 1-4)1 2 3 4—L1, L2, R1, R2—
Awakening (transform)TNum 0L3 + R3 / SELECT—
Tag swap (Tag mode)FNum EnterL3 + R3 / SELECTawaken button
Charge kiRNum DecimalR3 (alone) / START—
Pause / hitboxesEsc / F2Esc / F2START❚❚
Fullscreen / FPSF11 / F3———

The names x y z a b c are the same ones used in character commands (input).

While jumping, x y a b each throw an air normal, and down + b is the diving down kick (generated for every native fighter by native/air_normals.rs, reusing the fighter's own air animations).

Move shortcuts

Open the pause menu, pick a move in the move list and press 1-4 (or L1, L2, R1, R2 on a gamepad) to bind it to that slot. Pressing the same slot again clears it. From then on the bound move is performed by one key or button press, with the right motion and buttons played for you. Bindings are stored per fighter in ultimate-mugen.shortcuts next to the executable. On the web the gamepad mapping follows the same layout.

Button prompts

The pause move list and the Controls screen show the real key or button of the device you used last: keyboard keys, Xbox (A/B/X/Y, LB/LT/RB/RT) or PlayStation (✕ ○ □ △, L1/L2/R1/R2). On touch screens they show the virtual button names. Xbox pads are detected by name or by vendor ID 045E, PlayStation pads by 054C. Rumble works on both: Xbox through gilrs force feedback (and the Gamepad API on the web), DualShock 4 / DualSense through direct HID reports.

Tweaks (tweaks.toml)

Created next to the executable on first run (localStorage on web) with the defaults. Edit and save: the game reloads it within about one second and shows a toast. Mistakes never stop the game; the affected value keeps its default and the toast and log name the key, with a "did you mean" hint and the line for syntax errors.

SectionKeyEffect
[theme]backgroundMenu background base color
[theme]glow_bottom, glow_left, glow_rightMenu light glows
[theme]preset"default", "emerald", "sunset" or "mono": sets background, glows, the five roles below, the life bar and the side tints at once. Any other key in the file still wins over the preset
[theme]accentSelection colour: main-menu highlight, pause and settings buttons, sliders
[theme]title, info, muted, textHeadings and values (gold), hints and links (cyan), secondary text, body text, across every menu and the HUD
[hud]life, life_low, damageLife bar fill, its colour under 25% life, and the trailing damage chunk. The top of each gradient is derived from the colour
[music]fightAudio file played in every fight instead of the built-in theme (.ogg, .mp3, .wav, .flac). Paths are relative to the folder of tweaks.toml. Desktop only
[music]<stage id> (dojo, neon, bamboo, volcano, brazil, ...)Audio file for that stage; wins over fight and over the stage's own music
[hud]p1_tint, p2_tintLifebar accent color per side
[hud]bar_offset_yMoves the lifebars down (-4 to 40)
[accessibility]hud_opacityHUD opacity multiplier (0.3 to 1.0)
[accessibility]colorblindtrue uses blue/orange side colors instead of the tints
[accessibility]hud_scaleHUD size multiplier (0.8 to 1.25)
[accessibility]reduce_motiontrue turns off screen shake
[accessibility]title_crtfalse turns off the CRT static and scanlines on the title screen; reduce_motion = true keeps only still scanlines there

The on-screen pad shows only the six attack buttons and the stick by default. The small + button opens the extra buttons (awakening, charge, quick skills, tag, third-character attacks, guard) and x closes them. The pad fades to 30% of opacity after 2.5 s without touches and stays clear of the notch and home-indicator safe areas on phones. | [rules] | rounds_to_win (1-9), round_seconds (0 = no limit, up to 999), life_percent (10-500), game_speed (0.5-2.0) | Override the Settings menu values for every match; remove the line to go back to the menu value | | [menu] | arcade, story, survival, cpu, versus, training, watch, team_seq, team_simul, team_tag, mugen, market, controls, settings, replays, quit | Text of that main-menu entry |

Colors are "#rrggbb" or "#rgb". Example of a full custom look:

[theme]
preset = "mono"
accent = "#7a3cff"
title = "#b8ff5c"

[hud]
life = "#5cc8ff"
life_low = "#ff5ca8"
damage = "#7a3cff"

[menu]
arcade = "Fliperama"

[music]
fight = "music/my-theme.ogg"
dojo = "music/dojo.ogg"

Screenshots of every preset are in screenshots/themes/ (UME_TOUR=themes). Plan and comparison with other engines: docs/research/customization-comparison.md.