# M.U.G.E.N Console

New in M.U.G.E.N 1.1 is the Mugen Console (mconsole). It allows users to execute various commands similar to the command prompt in Windows. The mconsole is a tool primarily for testing and debugging and is not intended for normal gameplay.

Contents

- Usage
- Commands
  - clear
  - changestate
  - clearclipboard
  - consoletoggle
  - forcestand
  - fps
  - framestep
  - help
  - lifereset
  - matchreset
  - maxpower
  - maxpowermode
  - pause
  - quit
  - roundreset
  - screenshot
  - setlife
  - setroundtime
  - showclsn
  - toggleai
  - togglelifebars
  - toggleplayer

# Usage

The mconsole can be activated and deactivated by pressing the Control + tilde (Ctrl + ~) keys. Once the console is active, commands can be typed in and executed by M.U.G.E.N. For example, the F12 key will take a screenshot of the current screen. To do the same in the mconsole, just type 'screenshot' (without quotes) and press enter. The result will be the same as hitting the F12 key.

MConsole will will keep track of commands that have been executed. To cycle through the history of commands, press the up or down arrows. The right and left arrows will move the cursor in case corrections or changes to the command are necessary before execution.

The mconsole is still a work in progress and some commands may not work as expected. While the console is activated, player input keys will be disabled.

# Commands

## clear

Clears the console. No parameters.

## changestate

changestate <player #> <state number> Changes the state of a player to the specified state if it exists.

Example: To change player 1 to state 5000 use: changestate 1 5000

## clearclipboard

Clears the debug clipboard. No parameters.

## consoletoggle

Shows or hides the console. No parameters. This is the same as pressing Ctrl+~.

## forcestand

Forces all players into the stand state. No parameters. This is the same as using the Ctrl+I debug key.

## fps

Shows or hides the FPS display in the upper right corner of the screen. No parameters.

## framestep

Shows the next frame of output. Only works when the game is paused.

## help

Displays a list of valid commands.

## lifereset

Resets all players' life and power to full. This is the same as pressing the Space Bar when debug mode is active.

## matchreset

Resets the match back to Round 1. This is the same as using the Shift+F4 debug key.

## maxpower

Increase power meter of all players to max. This is the same as using the F3 debug key.

## maxpowermode

Toggles maximum power mode on and off. This will cause power to always be full for all players while it's on. This is the same as using the Ctrl+Shift+F3 debug key.

## pause

Pauses the game. This is the same as using the pause key except this will pause on any screen. Pausing on screens other than the fight screen may cause graphical issues.

## quit

Immediately quits M.U.G.E.N... no questions asked.

## roundreset

Resets the current round. This is the same as using the F4 debug key.

## screenshot

Takes a screenshot and saves it to the location where the M.U.G.E.N executable is located.

## setlife

Sets the life for a specific player. setlife <player #> <life>

Example: setlife 1 1000

## setroundtime

Sets the round time to the specified time. setroundtime <timeleft>

Example: setroundtime 20

## showclsn

Cycles through the various displays of collision boxes, target data (including remaining juggle points) and NotHitBy attributes. This is the same as using the Ctrl+C debug key.

## toggleai

Turns the specified player's AI on or off. This is the same as using the Ctrl+# debug keys. toggleai <player #>

Example: If player 2's AI is on then "toggleai 2" will turn it off.

## togglelifebars

Hides or shows the lifebars. No parameters. This is the same as using the Ctrl+L debug key.

## toggleplayer

Enables or disables the specified player. This is the same as using the Ctrl+Alt+# debug keys.