RUGENDOCS
Getting started

Controls & input

Default keyboard layouts for both players, gamepad mapping, START and the s button, menu keys, the pause menu and move list, the online match menu, debug keys, rebinding and saving your keys.

MUGEN characters use four directions, six attack buttons (a b c on the low row, x y z on the top row) and a seventh button, s. rugen adds START, its own key for pausing and menus, and TAG to swap partners in a Tag team. rugen maps them to keys per player in rugen.toml and to gamepads automatically.

Keyboard defaults

ActionPlayer 1Player 2
Up / Down / Left / RightZ S Q D↑ ↓ ← →
a / b / c (low row)J K L1 2 3
x / y / z (top row)U I O4 5 6
s (fighter button)M7
START (pause, menus)PEnter
TAG (Tag teams)N8

Player 1’s default is an AZERTY ZQSD layout. On a QWERTY keyboard, pick the QWERTY WASD preset in the controls screen (see below), or edit rugen.toml.

Gamepads

Gamepads work out of the box (XInput, evdev, IOKit through gilrs). The first connected pad is player 1, the second player 2 (gamepad_p1 / gamepad_p2 in [input], -1 for none). The stick and d-pad move; deadzone (default 0.5) sets the stick threshold.

ActionPad button
aA (South)
bB (East)
cRT
xX
yY
zRB
sLB
STARTStart
TAGLT
pauseSelect / Back

Steam Deck

The Deck’s controls are player 1, with the same layout as any pad:

ActionDeck button
a / bA / B
cR2
x / yX / Y
zR1
sL1
START☰ (menu)
TAGL2
pause⧉ (view)

With the Steam Deck profile on (automatic on a Deck, OPTIONS → VIDEO → DEVICE), hints use these names from the first screen, also for the virtual pad Steam Input shows the game. Everything in the menus works with the d-pad and A / B; the touchscreen and trackpads drive the mouse cursor when MOUSE IN MENUS is on.

START and the s button

Since 0.6.1 they are two bindings:

  • s is MUGEN’s seventh button and belongs to the fighters: power charge, taunts, awakenings. It is sent online and recorded in replays like any attack button.
  • START pauses a local match, resumes it from the pause menu, confirms in menus, skips a tutorial step (or leaves a finished tutorial) and skips the win pose. In an online match it opens the match menu. START never reaches the fighters: it is not sent online and not recorded in replays.

Older rugen.toml files

Before 0.6.1 one start key was both MUGEN’s s button and the menu key. On the first launch of 0.6.1 rugen splits it, per player, and writes it back to rugen.toml:

  • A player still on the old default (m for player 1, Enter for player 2) gets the new default pair: s = "m", start = "p" for player 1, s = "7", start = "Enter" for player 2.
  • A custom key stays the s button, and START takes the first free key of a short list: p, m, Space, Tab for player 1; Enter, 0, 8, 9, Backspace for player 2. A key already bound to anything is skipped.

The log shows the result (rugen.toml: START split from the S button ...). Rebind it on the controls page if you want another key.

A file from before 0.6.2 has no tag key either: each player gets the default (N / 8), or the next free key of n, b, h, v (player 1) or 8, 9, 0, Backspace (player 2) when that one is bound already (rugen.toml: TAG key added ... in the log). TAG is never sent online.

Key labels

The move list, the tutorial and the on-screen hints show the key or pad button you press, not MUGEN’s letter: with the defaults player 1 sees J for a and P for START. When a player last used a gamepad, the labels switch to its buttons, named for its family (Xbox A B X Y RB LB, PlayStation X O SQ TRI R1 L1, Nintendo B A Y X R L, Steam Deck A B X Y R1 L1). Directions always stay arrows (↓↘→).

Menus answer a few base keys whatever the bindings:

  • Esc backs out. On the title it first jumps to EXIT; on the fighter select it first unlocks your pick, and only leaves when nothing of yours is locked.
  • Enter confirms, the arrow keys move the focus.
  • On a pad (or with attack keys) A, the other attack buttons, s and START confirm, B cancels.

A key that a player mapping already uses stays that player’s. With the defaults the arrows and Enter belong to player 2: on single-cursor screens (title, options, arcade / training / arena select, pause, result) they drive the same focus, while in VS MODE select they move player 2’s own cursor and player 1 uses its bound keys. Unbound arrows and Enter, and gamepads without a player slot, act as player 1.

The mouse is off by default (cursor hidden, no hover). Turn it on with OPTIONS → VIDEO → MOUSE IN MENUS or [input] mouse = true.

In a match

KeyWhat it does
Esc / STARTOpens the pause menu in local matches (see below). Online, opens the match menu (RESUME / FLEE). Pad: Start, or Select / Back.
SpaceFreeze the simulation (debug pause).
.Advance one frame while frozen.
F1Debug title.
F2Show hitboxes (Clsn) and platform lines.
F3State, frame data and input history overlay.
+ / -Zoom.
F11Toggle fullscreen (works everywhere).

The s button never pauses: it belongs to the fighters. Tutorial matches have no pause menu: Esc leaves them, START skips the current step. Online matches never pause: Esc, START or Select opens the match menu, where you can resume or flee (a flee counts as a loss, see Leaving a match).

Pause menu and move list

Pausing a local match dims the frozen fight under the menu:

EntryWhat it does
RESUMEBack to the fight.
MOVE LISTThe paused fighter’s moves (below).
RESTART ROUNDStarts the round again.
BUTTON CONFIGThe controls page for the side that paused; its Esc hint reads BACK TO THE MATCH.
CHARACTER SELECTBack to the select screen (in modes that have one).
QUIT TO MENULeaves the match.

Enter selects; Esc, START or Select / Back resumes.

The move list is read from the fighter’s own .cmd (also inside a .rgc) and grouped, two columns per page:

GroupWhat goes in it
SUPERSMoves that check for 1000 power or more, with their cost (1 BAR, 2 BARS, 1.5 BARS).
SPECIALSEvery other move with a motion.
SYSTEMMoves on the s button; AT FULL POWER when they need it.
MOVEMENTDirection-only inputs such as RUN (→→) and BACK DASH (←←).
COMBOSButton-only blocks the author named as a combo.

The commands a move’s [State -1] block checks are combined into one line (↓↘→ [C], HOLD ↓ + A, alternatives with /), plain normals are left out, and buttons are drawn as key caps showing your bound keys (see Key labels). A group that runs on into the next column is headed with (CONT.), for example SPECIALS (CONT.). ← / → turn the pages.

Rebinding

OPTIONS → CONTROLS → 1P BINDINGS / 2P BINDINGS opens the controls page: rebind one action at a time, test keys on the on-screen arcade pad (it has an S button too), and pick a one-press preset for the whole player. Each row shows the bound key big, with the action (A, B, C, …, S, START) as a small label.

PresetDirectionsAttackssSTART
AZERTY ZQSDz s q dj k l / u i omp
QWERTY WASDw s a dj k l / u i o;p
ARROWS + NUMPADarrows1 2 3 / 4 5 67Enter

The page flags keys bound twice (“ALSO B”, “ALSO 2P A”).

Saving

The controls page and OPTIONS save the same way. Every change applies at once (a live preview), but nothing is written to rugen.toml until you save:

  • SAVE (or F2 / Ctrl+S) writes the file and shows a short SAVED message.
  • An UNSAVED CHANGES badge is up while the edits differ from the file.
  • Leaving with unsaved changes asks SAVE / DISCARD / CANCEL. DISCARD puts the saved settings back, CANCEL (or Esc) stays on the page. Moving between OPTIONS and the controls page is not leaving.

The classic flat motif/ has no SAVE button: there, leaving the options saves.

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

Something wrong on this page? Edit it on GitHub.

SEARCH !!

    ↑↓ to move, Enter to open