RUGENDOCS
Playing

Game modes

The fighter and stage select, then arcade, the challenge runs, versus (against a friend or the CPU), team modes, arena, the PRACTICE page (training with its lessons, watch, the debugger) and online, plus quick matches straight from the command line.

Every mode starts from the title menu. Matches use your [game] settings (computer level, round time, life, air movement) from Settings.

The title menu lists ARCADE, CHALLENGE, VS MODE, ARENA, PRACTICE, ONLINE, PROFILE, OPTIONS and EXIT. PRACTICE gathers TRAINING (with the lessons), WATCH and the fighter DEBUGGER on a page of their own; see Practice.

Fighter and stage select

A local match goes fighter select → stage select → VS screen → fight.

Fighter select

  • The cursor moves over every grid slot, empty ones included. On an empty slot or the random cell the card goes blank (?, NO FIGHTER or RANDOM); confirming on an empty slot picks nobody.
  • About half a second after the last pick, the screen moves on by itself to the stage select. Pressing confirm once everyone has picked also goes on.
  • Esc (or B) first unlocks your pick. With two cursors each player’s back only frees their own fighter; with one cursor it takes back the last pick. When nothing of yours is locked, Esc leaves the screen.
  • When one cursor picks both sides, the second card follows that cursor.

Stage select

The stage select shows the matchup at the top (with P1 PICKS and the mode), a large live preview of the stage under the cursor (animated, loaded once the cursor rests on it) and an info panel with what the stage’s .def says: author, tags (CLASSIC or ARENA RULES, BUNDLED for stages shipped with rugen), music and width. Below it, a strip of stage thumbnails:

KeyWhat it does
← / →Previous / next stage. Hold to repeat; the repeat speeds up the longer you hold.
Page Up / Page Down, or the X / Z buttonsJump one strip width back / forward.
Home / EndFirst / last entry.
A letter or digitJump to the next stage whose name starts with it. Only keys no player binding uses (a bound key acts as that player’s button).
Confirm (Enter, A, START…)Fight on that stage.
Esc / BBack to the fighter select, with both picks still locked.

RANDOM is always the first entry; it picks one of the listed stages when you confirm. A STAGE n / N counter and a track under the strip show where you are. The strip is built for large collections: hundreds of stages scroll smoothly.

Which modes use it:

  • VS MODE, TRAINING, WATCH and the DEBUGGER list every installed stage. A VS MODE match where either side brings a team hides the stages with an [Arena] section.
  • ARENA lists only stages with an [Arena] section.
  • ARCADE skips it: the first stage is random, then the ladder decides.
  • The CHALLENGE runs skip it too: every fight’s stage is picked for you, never one with an [Arena] section.
  • ONLINE keeps its stage strip on the fighter pick for now (player 1 chooses there).

A theme without a stages.toml screen (for example the classic flat motif/) skips the stage select too and plays a random stage.

Arcade

Pick a fighter and climb a ladder of six random opponents from your chars/. The computer’s strength is COMPUTER LEVEL (ai_level, default 4). There is no stage select: the first stage is random.

A fighter with storyboards plays its intro after the fighter select and its ending after the sixth win ([Arcade] in its .def, see Storyboards). START or Esc skips one; a fight button skips a scene.

Challenge

CHALLENGE on the title menu, right under ARCADE, opens a card per run against the computer. ← / → choose a card, confirm opens its fighter select (you pick your fighter only), Esc goes back. Each card shows the run’s rules and your best: the best result of any of your fighters, with that fighter’s name.

A run’s fights follow each other without a stage select: the VS screen, the fight, then the result screen, where CONTINUE brings the next opponent (or, once the run is over, the CHALLENGE menu again). A strip at the bottom of the fight shows where the run stands, and the last two rows of the result screen’s match report are the run’s.

Best results are kept per fighter in profile.json, under challenge. Older profiles simply start without any.

Survival

One life bar against an endless line of random opponents.

  • Every fight is one round; a draw ends the run like a loss.
  • Your fighter keeps the life it ended the fight with, plus 15 % of its life bar (never above full). The opponent always starts full.
  • The run ends at the first loss. The result screen counts the wins and shows your best for that fighter (· NEW when you beat it).
  • The strip reads WINS 7 · LIFE +15% NEXT. RESTART ROUND is not in the pause menu (it would hand your life back).
  • The opponents are random, never the same one twice in a row when there is a choice. COMPUTER LEVEL sets their strength.

Boss Rush

The toughest fighters back to back, with no continues: one loss ends the run.

  • The bosses are the characters marked boss = 1 in a select.def in your game folder (or in its data/ folder), fought in the file’s order. rugen reads that file only for this flag; your roster is still chars/. An entry matches a fighter by its folder, archive or .def name:

    [Characters]
    kfm, stages/kfm.def
    Goku, boss = 1
    G6_Sasuke_Rinnegan, boss = 1
  • With no boss marked (or none of them installed), the run takes the five strongest fighters by the balance verdict (the same strength estimate ranked matches use), the weakest of them first and the strongest last. With fewer than five fighters, all of them.

  • The fighter select shows the first boss on the CPU card. Every fight uses the usual rounds; the strip reads BOSS 3 / 5 · NO CONTINUES.

  • Your best for a fighter is the furthest run, a clear beating any run that fell short. The card shows CLEARED or how far you got (3 / 5).

Time Attack

The arcade ladder (six opponents) against the clock.

  • The run timer counts every frame of fighting, from the first fight’s intro to the last KO: round intros, KOs and win poses included. The screens between fights (result, VS) and the pause menu do not count.
  • The strip reads RUN 04:12.36 · STAGE 5 / 6; the result screen shows the run time so far.
  • A loss ends the run without a time (OUT AT 3 / 6). Clear all six and the time is kept if it beats your best for that fighter (· NEW).
  • Fights use your usual rounds and round time.

VS Mode

Two players on one machine, or you against the computer. VS MODE starts on the team mode step, where each side is also HUMAN or CPU: press X (the key the hints show; U for player 1 with the default bindings) to step HUMAN VS HUMAN, HUMAN VS CPU, CPU VS CPU and CPU VS HUMAN, or click a side’s HUMAN / CPU tag. Two humans is the default; the choice is kept until you quit.

On the fighter select with two humans each player has their own cursor: player 1 moves with its bound keys, player 2 with the arrows and Enter (with the default bindings). Gamepads work for both. With a CPU side one cursor picks both sides’ fighters, as for TRAINING’s sparring partner, and the computer plays that side at COMPUTER LEVEL (its team partners too). The VS screen and the fight show CPU on that side; replays keep it.

Team modes

In VS MODE and WATCH each side can bring a team instead of one fighter. Both start on the team mode step, before the fighter grid: each side has four cards, SINGLE (one fighter, classic 1 on 1), TURNS, SIMUL and TAG, each with a small picture and a line.

The team mode step before the fighter select: four cards SINGLE, TURNS, SIMUL and TAG with the team size and a rules line.
VS MODE: each side picks SINGLE, TURNS, SIMUL or TAG and a team size before the fighters.
KeyWhat it does
← / →Pick the mode.
↑ / ↓Team size, 2 to 4 (shown on the focused card; SINGLE has none).
Confirm (A, Enter…)READY. A click on a card picks it; a click on the same card again is READY.
B / EscTake back READY; with nothing ready, leave the step.
X (VS MODE)HUMAN / CPU per side (see VS Mode).

Under the cards a box gives the mode’s rules, and NEXT shows the slots that side fills on the fighter grid. In VS MODE with two humans each player chooses their own side at the same time; in WATCH (or with a CPU side) one cursor does 1P, then 2P. The two sides may use different modes. Once both are ready the fighter grid opens with that many slots per side; leaving the grid with nothing picked comes back to the step, which remembers the last choice until you quit.

On the fighter grid a team side’s card is a team panel: the mode, the team size and a row per fighter (1 · NARUTO, then 2 · PICKING...). Pick the fighters one after the other; Esc takes back the last one. The VS screen names each team’s mode and partners.

ARENA and the CHALLENGE runs never have teams (their fights are 1 on 1 for balance) and skip the step. A VS MODE match with a team on either side never plays on an [Arena] stage. Team modes are offline only: online matches stay one against one. The rules follow Ikemen GO.

Turns

One fighter per side at a time.

  • When a Turns fighter loses a round, the team’s next fighter comes in for the next round, with the fallen fighter’s power. The winner stays and keeps the life it had. A round the Turns side wins is an ordinary round: everybody starts it with full life.
  • A side must win as many rounds as the other side has Turns fighters (a single fighter against a team of three needs three wins); against a single fighter, a Turns team needs the usual rounds to win.
  • The fight HUD shows the fighter in the round in the main bar and a strip per teammate under the name: a small face, the life and NEXT, WAITING or DOWN. The tag under the clock reads TURNS · ROUND 2.

Simul

Partners fight side by side: two to four fighters per side on screen at once, the second picks starting behind the first ones (P3 and P4 start positions, from the stage’s p3startx… or 25 units behind).

  • On your side the first fighter is yours; the partners are computer players at COMPUTER LEVEL (a third or fourth human player is not supported). A computer side is computer-controlled throughout.
  • Your side loses the round as soon as your own fighter falls; the computer side loses when all its fighters are down (Ikemen GO’s Simul.LoseOnKO). A fallen partner stays down for the rest of the round.
  • At time over each fighter counts for its share of the side: two partners at 100 % and 10 % make 55 %.
  • Fighters see their partners and every enemy (Partner, NumPartner, NumEnemy, EnemyNear(1), TeamMode = Simul), so characters with their own team code use it: Naruto and Sasuke’s tag system keeps the partner waiting off screen until it tags in.
  • The HUD shows the first fighter in the main bar and a long bar per partner under the name.

Tag

Like Simul, but one fighter per side at a time: the partners wait outside the screen and swap in with the TAG button (Ikemen GO’s tag rules).

  • Every fighter is on screen for the round’s intro; once the fight starts the partners run off their side of the screen and wait outside, invisible. A partner outside cannot be hit and is nobody’s opponent.
  • TAG (with the defaults N for player 1, 8 for player 2, LT / L2 on a gamepad; rebind it on the controls page) swaps when your fighter has control, is not being hit and stands on the ground, and the last fighter you sent out has left the screen: your fighter runs off and the next partner runs on from behind it, up to where it stood. The controls stay yours whoever is in. A computer side swaps now and then, more often when its fighter has less life than the next one.
  • When the fighter in the fight falls, the next partner jumps in and the round goes on. A side loses the round when all its fighters are down (Tag.LoseOnKO off, as in Ikemen GO). At time over each fighter counts for its share of the side.
  • Red life: a quarter of the damage a fighter takes can come back. While it waits outside it wins back 0.5 % of its life every half second, up to that line.
  • When the round is decided, the partners outside jump back in for the win pose.
  • The HUD shows the fighter in the fight in the main bar, a strip per partner (READY, RECOVERING while red life comes back, the yellow part of the bar, or DOWN) and, for a side a player drives, TAG with its key next to the power bar.

Characters written for Ikemen GO’s own tag system (its TagIn / TagOut controllers and tag.zss states) are not supported yet: the engine moves every fighter the same way. Characters that carry their own Simul-based tag system, like Naruto and Sasuke, fight normally in Tag (their own system stays idle) and use it in Simul.

Arena

Platform-fighter rules. Pick your fighter and the CPU’s, then a stage with an [Arena] section (the stage select lists only those): the built-in ink_arena stage (motif/stages/ink_arena) or any stage you add with one.

An Arena fight: Goku and Sasuke on floating platforms over a pit, stock counters instead of lifebars.
An [Arena] stage: platforms, blast zones and stocks.

Ink Arena is a 1280-unit island deck with nine platforms in three tiers (four low, three in the middle, two on top), pits past both ends of the deck, 3 stocks, one air jump and air dash. Its camera pans ±760 and zooms out to 0.25 to keep the whole island and the bottom blast line in view.

  • Stocks: a ring-out with stocks left respawns the player above the start spot with full life and a short invulnerability; losing the last stock is a KO.
  • Blast zones: crossing them is a ring-out. Stages can leave pits where the floor does not exist, and drop the screen-edge walls.
  • Air movement: engine air jumps, air dash and fast fall, even for legacy MUGEN characters (from [game], or overridden by the stage).
  • The camera pulls back for height so tall platform layouts stay in view.
  • Fighter cards replace the lifebars, Smash style: one card per fighter along the bottom of the screen, with the portrait, a P1 / P2 tag, pips for the stocks left (or round wins when the stage has no stocks), the name, life as a big percentage over a segmented bar, and the power level, one pip per 1000 power. The clock sits in a small box at the top. Every fight on a stage with arena rules uses them; other fights keep the fight.def lifebars.

An [Arena] section in a stage .def looks like this (every key optional):

[Arena]
blastzone = -920, -540, 920, 160   ; left, top, right, bottom: crossing it = ring-out
walls = 0                          ; 0 = players may leave the screen edges
stocks = 3                         ; lives per round; respawn above the start spot
floor = -640, 640                  ; the floor only exists here, pits elsewhere
spawn_y = -140                     ; respawn height
air_jumps = 1                      ; extra air jumps (overrides rugen.toml [game])
air_dash = 1                       ; double-tap forward/back in the air
fast_fall = 1                      ; hold down while falling
ledge = 1                          ; catch the floor's edges (0 = off)
items = 1                          ; drop pickups onto the deck and platforms
item_every = 10, 20                ; seconds between drops (min, max)
wind = 40, 4, 0.4                  ; a 4 s gust every 40 s, 0.4 units a tick

A complete sample is examples/arena/arena.def in the engine repository: the same layout as Ink Arena (a 1280-unit floor, nine platforms, camera bounds ±760, zoom out to 0.25, spawns at ±160) drawn with the training-room art.

One-way platforms and arena AI

  • One-way platforms: jump up through a platform and land on it only when coming down from above. Double-tap down while standing on one to drop through. The main floor never drops.
  • Arena AI: a layer on top of each CPU fighter’s own AI, on arena stages only. It keeps the fighter away from edges, brings it back after a knock-off, avoids moves that carry it off the stage, and uses the platforms to chase or escape. It gets smarter with the computer level. Turn it off with arena_ai = false in [game]; it never runs online.

Ledge grab

Falling past the end of the deck, your hand catches the edge when you face it (or drift back toward it): you hang there for up to 2 seconds, invulnerable for the first two thirds of a second. A panel over your fighter counts the time down and shows your keys:

  • Up climbs back on.
  • Forward (toward the deck) rolls in, further onto the deck.
  • X jumps up and over the edge.
  • Down or back lets go; so does the time running out.

You get two grabs per trip through the air (a regrab is invulnerable for less time) and must land before grabbing again. A hit knocks you off. CPU fighters use the ledge to recover too: they aim their air jumps at it, then climb, or roll or jump past you when you wait at the edge.

Items

On stages with items (Ink Arena has them) a pickup drops onto the deck or a platform every 10 to 20 seconds; up to three lie around at once, and each one goes after 20 seconds (it blinks first).

  • Throwable (a black block): press B next to it to pick it up. You carry it (the fighter card shows an ITEM tab) until the next B throws it forward; it knocks down the first opponent it touches. A hit knocks it out of your hands.
  • Heal (a red disc): 30 % of your life back at once.
  • Power (a blue diamond): one power bar at once.

Picking up works standing or crouching with control. A B press that picks up or throws never reaches your fighter, so it does not also kick; with nothing in reach, B is your usual button. CPU fighters take items too: a heal when hurt, a throwable to throw at you.

Stage hazards

Arena stages can move under your feet. On Ink Arena:

  • The top-left platform slides left and back; whoever stands on it rides along.
  • The top-right platform drops for 5 seconds every 20 seconds. Red stripes and a DROPS IN 3 S countdown warn you first; whoever is still on it falls.
  • A gust of wind blows for 4 seconds every 40 seconds, to the right the first time and then the other way, pushing everyone (half as hard on the ground; hanging from a ledge you are safe). A WIND tag under the clock counts it in and shows the direction.

CPU fighters drop off a platform before it falls and lean into the wind near an edge. Stages set these up in their .def; see Stages.

Practice

PRACTICE on the title menu opens a page with three cards (← / → choose, confirm opens, Esc or B back to the title; the mouse works too):

The PRACTICE page: three cards, TRAINING (with LESSONS, DUMMY and DISPLAY entries), WATCH and DEBUGGER.
PRACTICE: training, watching two computer fighters, or the fighter debugger.
  • TRAINING: fight a dummy; everything is in its pause menu (below).
  • WATCH: two CPU fighters play while you watch (below).
  • DEBUGGER: step a fighter frame by frame (below).

Leaving their fighter select comes back to this page. Everything on it is offline only.

Training

Pick your fighter and the sparring partner (the dummy), then the stage. START opens the TRAINING menu: RESUME, LESSONS, the DUMMY and DISPLAY panels, MOVE LIST, RESET POSITIONS, BUTTON CONFIG, DEBUGGER, CHARACTER SELECT and QUIT TO MENU. Move to a panel’s entry to see it, press → (or select it) to step into it, ←→ to change a row and B to go back to the menu.

A Training fight paused: the pause list with RESUME, LESSONS, DUMMY, DISPLAY and MOVE LIST, the DISPLAY page open with LIFE REFILL.
The Training pause menu: lessons, dummy behaviour, display options such as hitboxes and life refill.

DUMMY sets what the sparring partner (P2) does:

  • STANCE: STAND, CROUCH (holds down) or JUMP (holds up).
  • BLOCK: NONE, ALL (it guards every attack, crouching for lows and standing for overheads), AFTER FIRST HIT (the first attack lands, then it guards until it has been left alone for a moment) or RANDOM (each attack, at random).
  • AFTER BLOCK / HIT: NOTHING, or REVERSAL SLOT: the recording plays the moment the dummy can act again after a block or a hit.
  • RECORDING SLOT: three slots, 1 to 3.
  • RECORD gives you the dummy for up to 10 seconds: your controls move it while your own fighter stands still. START stops the recording (the tag under the clock counts the seconds). PLAY plays the slot once, LOOP over and over. Recordings are input lists, so playback repeats the same inputs frame for frame, and they keep forward as forward: a sequence recorded on the right plays the same from the left.

The dummy only gets inputs, as if a second player held a pad: the match stays an ordinary match, and its replay plays back exactly. P2’s own controls still work on top of the dummy’s settings.

DISPLAY holds the tools that draw over the fight, and the life and power refills:

  • HITBOXES: attack boxes (Clsn1) in red, hurt boxes (Clsn2) in blue, drawn over each sprite at the fighter’s size. F1 switches them during the fight.

  • FRAME DATA: a panel per fighter under the life bars with its last move, measured live: startup (frames up to and including the first one with an attack box), active (first to last frame with an attack box) and recovery (frames after that until the fighter has control again), plus the advantage on hit and on block: how many frames sooner the attacker can act than the other fighter (+3), or later (-2). Hit pause is not counted. A move cancelled into another shows - for its recovery; the hit and block values stay until a different move is measured.

  • INPUT DISPLAY: a column per fighter at the screen edge, newest input on top: the frames it was held, the direction as an arrow (forward is → whichever way the fighter faces, a dot is neutral) and the buttons as that player presses them (your own keys or pad buttons). It reads the same input buffer the fighter’s commands read.

  • LIFE REFILL: OFF, or AFTER COMBO: each fighter gets its life back as soon as it is out of its hit or guard state. A combo that takes all the life still knocks out.

  • POWER: NORMAL, or ALWAYS FULL: both fighters’ power stays at the top, so supers (Goku’s Genki Dama, say) can be tried again and again.

The hitbox, frame data and input tools only draw over the fight. The two refills change the fight itself; a training replay keeps every change with the moment it was made, so it plays back the same. The settings stay for the next training match (recordings stay for the match).

LESSONS runs the guided lessons with your fighter against the dummy: the basics first (walk forward, walk back, jump, crouch, attack, guard), then every special move of your fighter, read from its command file, each one detected as you perform it. The inputs are shown with your own keys or pad buttons (directions as arrows). START skips a lesson; Esc (or a pad’s Select / Back) leaves them. The round clock stops while they run, and once they are done (or with START at the end) free training goes on.

DEBUGGER (or F12 during the fight) opens the fighter debugger around the running match; the same entry (CLOSE DEBUGGER) or F12 closes it. A match the debugger has stepped back keeps no replay.

The debug keys work as well: F2 hitboxes (in every mode), F3 state and input history, Space to freeze and . to step one frame.

Watch

From PRACTICE: choose each side’s team mode, pick both CPU fighters and a stage, and watch them play at COMPUTER LEVEL.

Debugger

From PRACTICE: pick the fighter to debug, then its opponent (the same fighter again for a mirror match), then a stage. The match starts inside the fighter debugger, with no VS screen. Esc opens the pause menu as in any match.

Online

One hub for your servers, rooms, quick match, ranked and the leaderboard through a rugen-server, or direct LAN / IP matches. Accounts live on PROFILE, next to ONLINE on the title menu. See Online play.

A match in progress: Goku against Sasuke Rinnegan on the training stage, a 4 HITS combo counter, red lifebars and the round timer at 93.
A match in the Shonen Ink theme: Ink Slab lifebars, round timer, combo counter and the power bars.

Results and replays

Every match played from the menus is recorded into replays/ (setup plus per-tick inputs, as JSON; playback is byte-identical). Files are named after the match: <p1>-vs-<p2>-<stage>-<hash>.json, for example G6_Obito_Rikudou-vs-G6_Sakura-Forest_of_Dead_Trees-3f9a2c.json. The names are the fighter and stage ids (spaces become _, other characters are dropped), a team is its members joined by _and_ (or the leader and _team when that gets long), and the hash comes from the match itself, so the same match always gets the same name; a second copy gets -2. Older replays named after a Unix time keep working. Play one back, or list them newest first:

rugen replay replays/<file>.json
rugen replay --list

Quick matches started with rugen play are recorded only when you pass --record file.json. LAN matches are recorded too, and an online match can be saved from REPLAYS with SAVE FILE.

A replay keeps the rules the match was played with: the camera zoom (it moves the screen edges, so it changes the fight), air jumps, air dash and fast fall, the life, round time, fighter size and seed, and for LAN and online matches the fixed online camera and round timings. Changing your options afterwards does not change how a replay plays.

What a replay says about itself

Each replay starts with a header for bug reports, which never changes how the match plays:

  • engine: the rugen version, build commit, target and debug or release.
  • machine: OS name and version, CPU architecture, model and cores, RAM, graphics card, backend and driver, window size and the desktop or Deck profile.
  • mode (arcade, vs, training, watch, arena, survival, online, …) and recorded_at (UTC).
  • LAN matches and online matches saved from REPLAYS add online: the server’s name (lan for LAN), the match id, which side you played and the other player’s rugen version, OS and architecture when their build sent them. REPLAYS shows both machines under the last match.

Fighters and stages are stored by id and content fingerprint, with at most a path inside the game folder, so a replay never holds your home folder, user name, computer name or any address, and it still plays after you move a fighter to another folder. The server and the other player only ever get a short summary (rugen version, OS, architecture, graphics backend), and a replay shared by code keeps at most each player’s version, OS and architecture. Read a header without playing the match:

rugen replay replays/<file>.json --info

Quick matches from the command line

rugen play kfm                       # you against the computer, as kfm vs kfm
rugen play kfm G6_Naruto             # pick both fighters
rugen play kfm G6_Naruto --stage training --ai 6
rugen play kfm G6_Naruto --watch     # both sides computer-controlled
rugen play kfm G6_Naruto --team1 turns:Goku,G6_Sasuke_Rinnegan   # P1: a Turns team of three
rugen play kfm Goku --team1 simul:G6_Naruto --team2 simul:G6_Sasuke_Rinnegan --watch   # 2 vs 2
rugen play G6_Naruto Goku --team1 tag:G6_Sasuke_Rinnegan --team2 tag:kfm   # tag teams

Every option is on the CLI reference.

Something wrong on this page? Edit it on GitHub.

SEARCH !!

    ↑↓ to move, Enter to open