RUGENDOCS
Getting started

Settings & rugen.toml

The OPTIONS screen and every key of rugen.toml, with defaults.

Everything rugen remembers lives in one TOML file, rugen.toml, in your game folder. It is written with defaults on the first run. The OPTIONS screen edits the same file; you can also edit it by hand while the game is closed. Older files are upgraded when they load (for example the START / s split of 0.6.1, see Controls). Missing keys fall back to their defaults, so a file may contain only the lines you care about.

The OPTIONS screen

Changes apply at once as a live preview, but OPTIONS does not save on its own: press SAVE (or F2 / Ctrl+S) to write rugen.toml. An UNSAVED CHANGES badge shows while there is something to save, and leaving with unsaved changes asks SAVE / DISCARD / CANCEL (DISCARD restores the saved settings). The controls page works the same way; details on Controls: Saving.

OPTIONS → VIDEO: rows for window size, fullscreen, device profile, theme and RENDER SCALE.
OPTIONS → VIDEO, with the 0.7.0 RENDER SCALE row for low-spec machines.
TabSettings
GAMEPLAY (offline matches)COMPUTER LEVEL (8 pips), ROUND TIME (30 / 60 / 99 / infinite), LIFE (1000-10000, steps of 500), AIR JUMPS (0-3), AIR DASH, FAST FALL, FIGHTER SIZE (NONE / CHIBI / SMALL / NORMAL), CAMERA ZOOM OUT, CAMERA ZOOM IN
VIDEOFULLSCREEN (borderless, F11 anywhere), WINDOW SIZE (1280x720 / 1600x900 / 1920x1080), MOUSE IN MENUS
AUDIOMASTER VOLUME, MUSIC VOLUME
CONTROLS1P BINDINGS, 2P BINDINGS (the rebinding page)
ONLINENET INPUT DELAY (AUTO, 0-8 frames), DIRECT CONNECTION, SERVER (read-only; set it in rugen.toml), GOOD CONNECTIONS ONLY
INTERFACELANGUAGE (AUTO = the OS language, or one of the eleven shipped), UI THEME (Shonen Ink, Dojo, …)

[video]

KeyDefaultMeaning
width1280Window width.
height720Window height.
fullscreenfalseBorderless fullscreen on the current monitor.
theme"ink"UI theme: a folder under motif/themes/ (ink, dojo, …) or classic for the flat motif/. See Themes.
profile"auto""deck" turns on the Steam Deck profile (hints name the Deck’s buttons from the start), "desktop" turns it off, "auto" picks it on a Steam Deck. OPTIONS → VIDEO → DEVICE.
low_latencytrueDraw each frame right after its tick with at most one frame queued (mailbox, or FIFO). false: the driver’s default vsync, up to two frames queued. Not in OPTIONS.
render_scale"auto"Low-spec mode: the fight is drawn at this fraction of the window (1.0, 0.75, 0.5) and scaled up with sharp pixels, cutting the GPU work by the square of it. "auto" picks 0.75 on integrated GPUs that run through the OpenGL fallback and 1.0 elsewhere. OPTIONS → VIDEO → RENDER SCALE.

[camera]

KeyDefaultMeaning
zoom_out0.6Smallest scale: how far the view may pull back before the screen edge stops the players (1 = never pull back, 0.5 = twice the width visible).
zoom_in0.85Largest scale when the players stand close (1 = the stage’s own screen, below 1 = always a wider view).

These limits apply on top of every stage.

[audio]

KeyDefaultMeaning
master1.0Overall volume, 0 to 1.
music0.8Music volume relative to master, 0 to 1.

Stage bgmusic and system.def [Music] entries play when they are mp3, ogg, flac or wav (MIDI is skipped).

[input]

KeyDefaultMeaning
gamepad_p10Gamepad slot (connection order) for player 1; -1 = none.
gamepad_p21Gamepad slot for player 2.
deadzone0.5Analog stick deadzone, 0 to 1.
mousefalseLet the mouse hover and click menus.

[input.p1] and [input.p2] hold the keys: up, down, left, right, a, b, c, x, y, z, s (MUGEN’s seventh fighter button) and start (START: pause and menus, never sent to the fighters) and tag (TAG: swap partners in a Tag team, offline only). A file without s comes from before 0.6.1 and is migrated when it loads. Defaults and key names are on Controls & input.

[net]

KeyDefaultMeaning
server""Default rugen-server for the ONLINE menu: https://rugen.example.com or host:port.
servers[]Favourite servers shown in the ONLINE server list. ADD SERVER appends here.
input_delay"auto"Frames of local input delay: "auto" (only beyond what the rollback window hides: 1 frame up to ~300 ms ping, see Netcode) or a number (0-8).
min_delay1Smallest automatic input delay in frames.
prediction_window12Rollback window: frames the game may predict the opponent before it has to wait (4-16). Automatic delay only covers latency beyond it.
directtrueOnline matches connect the players peer to peer (fastest; the opponent’s game sees your IP address). false: always relayed (TURN or the server), private. Off on either side = relayed. See Privacy.
good_connections_onlyfalseQuick match and ranked only pair you with opponents under 80 ms.
websocket_onlyfalseSkip the UDP fast path and relay over the WebSocket only.
port7000Local UDP port for direct (LAN / IP) matches.
remote""Peer ip:port for the NETPLAY title entry (empty hides the entry).
side1Which side this machine plays in the NETPLAY entry: 1 or 2.
p1, p2"kfm"Characters for the NETPLAY entry (ids from chars/).
stage""Stage for the NETPLAY entry, LAN / DIRECT IP matches and rooms you create (id from stages/).
room""Room code pre-filled by JOIN BY CODE.

max_prediction, the old name of the rollback window (default 8), is deprecated: an old file that still has it loads, the key is ignored and dropped the next time the file is saved.

[content]

KeyDefaultMeaning
keep_originalstrueAfter a .zip / .rar in chars/ or stages/ is converted into a .rgc / .rgs (and the new file checks out), move the archive to originals/. false deletes it instead. Folders are never moved or deleted. See Content files.

[game]

KeyDefaultMeaning
ai_level4Computer opponent level, 1-8.
air_jumps0Extra air jumps for every character (stages may override in [Arena]).
air_dashfalseDouble-tap forward or back in the air to dash.
fast_fallfalseHold down while falling to drop faster.
arena_aitrueArena AI: computer fighters on arena stages stay on stage, recover after a knock-off and use platforms (their own AI still picks the attacks). Never used online.
round_time99Seconds on the round clock in offline matches; 0 = no timer.
life5000Every fighter’s life in offline matches, 1000-10000 in steps of 500, whatever its own [Data] life says: the life bars, KOs, the Life / LifeMax / Const(data.life) triggers, Turns’ carried life and Survival’s refill all follow it. Online rooms set their own (quick match and ranked: 5000). Replays keep the life they were played with; replays from before the setting play each fighter’s own.
fighter_size"normal""none", "chibi", "small" or "normal": zooms fighters drawn at very different sizes into one height band. See Fighter size.
OPTIONS → GAMEPLAY: the LIFE slider at 5000 among the gameplay rows.
OPTIONS → GAMEPLAY: the global LIFE setting.

Fighter size

Characters are drawn at their own art’s size, so a small fighter can stand next to one twice as tall. FIGHTER SIZE measures each fighter’s standing height (in 320x240 units) and compares it with a band:

ValueBand
normal (default)58-82
small62-78
chibi44-56
noneno band: every fighter keeps its size

A fighter already inside the band keeps its size. Any other is multiplied or divided by one round step, ×1.1 to ×3.0 or ÷1.1 to ÷3.0 in 0.1 steps: the smallest step that lands it in the band, or the closest one when none does. The whole fighter scales (sprites, collision boxes, velocities, explods, projectiles), the way an Ikemen localcoord does; the character’s own constants and logic are untouched. The log names the step, for example fighter size x1.3.

The size changes the simulation, so both sides of a match must agree: replays record it (older replays play with none), an online room carries its own FIGHTER SIZE (chosen in CREATE ROOM, shown in the room’s rules), quick match and ranked always play normal, and in a direct LAN / IP match the host’s setting is sent to the other side.

[interface]

KeyDefaultMeaning
lang"auto"The menus’ language. "auto" follows the OS (LANG / LC_ALL on Linux, the user locale on Windows, the system language on macOS), mapped to the nearest shipped language, English when none matches. Or a code: en, de, es, fil, fr, id, it, ja, pl, pt-BR, tr, or the name of your own motif/lang/<code>.toml (see Translating the game). Applies at once, no restart. Fighter and stage names, server names, room codes and the command line stay as they are.

Japanese draws the menus with its own pixel font (DotGothic16); every other language uses the theme’s fonts, which carry the accented Latin letters.

A complete file

[video]
width = 1920
height = 1080
fullscreen = false
theme = "ink"
low_latency = true
profile = "auto"
render_scale = "auto"

[camera]
zoom_out = 0.6
zoom_in = 0.85

[interface]
lang = "auto"

[audio]
master = 1.0
music = 0.8

[input]
gamepad_p1 = 0
gamepad_p2 = 1
deadzone = 0.5
mouse = false

[input.p1]
up = "z"
down = "s"
left = "q"
right = "d"
a = "j"
b = "k"
c = "l"
x = "u"
y = "i"
z = "o"
s = "m"
start = "p"

[input.p2]
up = "ArrowUp"
down = "ArrowDown"
left = "ArrowLeft"
right = "ArrowRight"
a = "1"
b = "2"
c = "3"
x = "4"
y = "5"
z = "6"
s = "7"
start = "Enter"

[net]
server = "https://rugen.example.com"
servers = ["https://friends.example.org", "203.0.113.5:8080"]
input_delay = "auto"
min_delay = 1
prediction_window = 12
direct = true
good_connections_only = false
websocket_only = false
port = 7000
remote = ""
side = 1
p1 = "kfm"
p2 = "kfm"
stage = ""
room = ""

[game]
ai_level = 4
air_jumps = 0
air_dash = false
fast_fall = false
arena_ai = true
round_time = 99
life = 5000
fighter_size = "normal"

Something wrong on this page? Edit it on GitHub.

SEARCH !!

    ↑↓ to move, Enter to open