RUGENDOCS
Engine & contributing

Compatibility status

What already runs, which MUGEN files load, rugen's own extensions, and what is still open.

Status: playable. Every MUGEN file format loads, the CNS compiler and VM run real community characters with every controller they use, matches go through rounds with the fight.def lifebars, the screenpack title, select and VS screens work, the camera pans and zooms like MUGEN 1.1, and online play uses rollback with a sync test that proves the simulation is deterministic.

The compatibility contract

Existing content must load and behave as in MUGEN 1.1 / Ikemen GO without edits:

FileRoleNotes
.defManifest (character, stage, screenpack)INI-like; mugenversion, localcoord
.cnsStates, constants, triggersExpression language, state controllers, triggers
.cmdCommand inputs and state entry rulesShares the CNS expression syntax
.airAnimations, Clsn boxesText
.sffSpritesv1 (PCX) and v2 (PNG / RLE8 / RLE5 / LZ5), palettes
.sndSoundsWAV container
.actPalettesRaw 256 × RGB
.fnt / .def fontsBitmap fontsv1 and v2

Content realities rugen handles rather than fights: case-insensitive file names on every OS (KFM.sff vs kfm.sff), backslashes in .def paths, text decoded leniently (UTF-8; files in other encodings still load, with garbled non-ASCII text), and garbage files (every parser is fuzzed and never panics).

What works

  • Characters: MUGEN frame order, Ikemen-exact animation timing, input buffer and command matching, state machine with persistent / trigger logic, player push, Clsn hit detection, HitDef with MUGEN defaults, hit pause, guard, get-hit states, damage and KO, targets, HitBy / NotHitBy, HitOverride, ReversalDef, custom states, projectiles, helpers, explods, Pause / SuperPause, PalFX / AfterImage / EnvShake, Trans / AngleDraw, binds, parent vars, sparks and sounds.
  • Sizes: [Size] xscale / yscale scale the drawn sprite (with AngleDraw scale) and afterimages, and Clsn boxes take the animation owner’s constants, like MUGEN and Ikemen. A Helper’s size.* parameters (size.xscale, size.yscale, size.ground.*, size.air.*, size.height, size.proj.doscale, size.head.pos, size.mid.pos, size.shadowoffset) are evaluated in the parent’s context and kept on the helper (omitted ones default to the root’s constants); Const(size.*), widths and the size box read them. Effect helpers that shrink themselves this way no longer draw several times too big. size.proj.doscale scales projectiles; [Size] scales do not apply to explods.
  • Stages: tiling, parallax, animations, sin motion, blending, windows, MUGEN camera with tension and zoom, vertical follow; stage music.
  • Matches: rounds, clock, win / lose flow, fight.def lifebars with MUGEN fonts, AI (AILevel), arcade ladder.
  • Screenpacks: system.def title menu, select grid, VS screen; classic screenpacks in data/ work, rugen’s themes live in motif/.
  • Online: ggrs rollback over UDP or the server relay, sync test, replays with byte-identical playback, rugen-server with rooms, quick match, ranked, spectators and bring-your-own-character matchups.
  • rugen check reports zero unsupported controllers for the test set of community characters, and a 4000-frame AI soak runs clean.

rugen extensions

Optional, and invisible to legacy characters.

Platforms

Any MUGEN stage can declare raised surfaces players stand on, one [Platform] section each, in stage coordinates:

[Platform]
x = -120, -20    ; left and right edge
y = -40          ; height

Players land on a platform when they fall onto it from above, walk on it and fall off its edges. Characters need no changes: Pos Y, PosSet and the landing states see the surface as the ground. Draw the platform art with ordinary [BG] elements; F2 in a match shows the collision lines. New characters can read the triggers GroundY and OnPlatform.

Fighter size

The [game] fighter_size option zooms fighters drawn at very different sizes into one height band, the way an Ikemen localcoord zooms a character: sprites, Clsn, velocities, explods, projectiles and offsets follow, the character’s constants stay as authored. It is part of the simulation: replays record it, online rooms carry it. See Settings: Fighter size.

Arenas

An [Arena] section turns a stage into a Smash-style arena: blast zones, stocks with respawn, floor spans with pits, a no-wall mode, and engine air jumps / air dash / fast fall for legacy characters. See Game modes: Arena.

Still open

Something wrong on this page? Edit it on GitHub.

SEARCH !!

    ↑↓ to move, Enter to open