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.
| Key | Values | Effect |
|---|---|---|
fullscreen | 0 / 1 | Fullscreen |
res | 0 1280×720, 1 1920×1080, 2 2560×1440, 3 3840×2160, 4 5120×2880 | Window size |
quality | 0 automatic, 1 3×, 2 4.5×, 3 6× | Vector art density |
fps | 0 / 1 | Show FPS |
fx | 0 to 2 | Post-processing (bloom, vignette, etc.) |
impact_lv | 0 minimum (photosensitivity), 1 reduced, 2 normal, 3 intense | Impact effect strength |
version | 2 | File format version (older files without it still load) |
vsync | 0 / 1 | V-Sync (native) |
fps_cap | 0 unlimited, 1 30, 2 60, 3 120, 4 144 | Frame limiter (native) |
master music sfx | 0 to 10 | Volume steps |
mute | 0 / 1 | Silence everything |
difficulty | 1 to 8 | CPU level |
round_time | 0 99 s, 1 60 s, 2 30 s, 3 infinite | Round timer |
rounds | 0 first to 1, 1 first to 2, 2 first to 3 | Rounds needed to win |
life | 0 50%, 1 75%, 2 100%, 3 150%, 4 200% | Life bar multiplier |
lang | en / pt / es | Language of the whole interface |
keep_aspect | 1 (default) / 0 | 1 letterboxes the 16:9 picture inside any window shape; 0 stretches it to fill the window |
filter | nearest (default) / linear | Sprite sampling when scaled: crisp pixels or bilinear smoothing |
window | WIDTHxHEIGHT, 0x0 when unset | Windowed 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
| Flag | Effect |
|---|---|
--res 2560x1440 | Window resolution |
--4k | 3840×2160 window |
--fullscreen | Fullscreen |
--touch | Force touch controls |
--mute | No audio |
--shots <folder> | Automatic tour saving screenshots |
--shots-audio | Enable sound during a screenshot tour; --mute still takes precedence |
--version | Print the version |
--check-update | Print whether a newer release exists and exit |
--update | Download, verify and install the newest release, then exit |
--no-auto-update / --no-update-check | Keep the notice, hide the update prompt / skip the update check |
Environment variables
| Variable | Effect |
|---|---|
UME_MUGEN_DIR | Alternative M.U.G.E.N content folder |
UME_MARKET_HOME | Folder for marketplace downloads and state |
UME_GITHUB_TOKEN / GITHUB_TOKEN | Optional GitHub token for the marketplace (raises the API rate limit) |
UME_NO_UPDATE_CHECK=1 | Skip update checks |
UME_NO_AUTO_UPDATE=1 | Keep the update notice but never download or install |
UME_NOFX=1 | Disable 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.rsholds the keyed table (English and Portuguese) andsrc/i18n/es_catalog.rsthe 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 olderi18n::tr(pt, en)finds its Spanish text throughsrc/i18n/es_phrases.rs, keyed by the English string. Placeholders usei18n::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.languageon the web,LC_ALL/LC_MESSAGES/LANGon 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
| Action | Keyboard P1 | Keyboard P2 | Gamepad | Touch |
|---|---|---|---|---|
| Move | arrows | I K J L | D-pad / stick | virtual stick |
Punches x y z | Q W E | Num 4 5 6 | □ △ | LP HP |
Kicks a b c | A S D | Num 1 2 3 | ✕ ○ | LK HK |
| Quick specials | V B N | Num 7 8 9 | — | ESPECIAL, SUPER |
| Move shortcuts (slots 1-4) | 1 2 3 4 | — | L1, L2, R1, R2 | — |
| Awakening (transform) | T | Num 0 | L3 + R3 / SELECT | — |
| Tag swap (Tag mode) | F | Num Enter | L3 + R3 / SELECT | awaken button |
| Charge ki | R | Num Decimal | R3 (alone) / START | — |
| Pause / hitboxes | Esc / F2 | Esc / F2 | START | ❚❚ |
| Fullscreen / FPS | F11 / 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.
| Section | Key | Effect |
|---|---|---|
[theme] | background | Menu background base color |
[theme] | glow_bottom, glow_left, glow_right | Menu 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] | accent | Selection colour: main-menu highlight, pause and settings buttons, sliders |
[theme] | title, info, muted, text | Headings and values (gold), hints and links (cyan), secondary text, body text, across every menu and the HUD |
[hud] | life, life_low, damage | Life bar fill, its colour under 25% life, and the trailing damage chunk. The top of each gradient is derived from the colour |
[music] | fight | Audio 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_tint | Lifebar accent color per side |
[hud] | bar_offset_y | Moves the lifebars down (-4 to 40) |
[accessibility] | hud_opacity | HUD opacity multiplier (0.3 to 1.0) |
[accessibility] | colorblind | true uses blue/orange side colors instead of the tints |
[accessibility] | hud_scale | HUD size multiplier (0.8 to 1.25) |
[accessibility] | reduce_motion | true turns off screen shake |
[accessibility] | title_crt | false 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.