Table of Contents

Modified commands

This page lists the commands that received new features in the Maniac Patch.

Those commands can be written either through the Maniac Patch editor, through the TPC program of the Maniac Patch, or by writing raw format commands.

FIXME This page is currently a stub, most commands still need to be filled.

Display Text Settings

FIXME

Change Faceset

FIXME

Control Variables

FIXME

Change Party Member

FIXME

Change State

FIXME

Change Actor Name

Player status: Supported ✅

The Change Actor Name command allows to change the name of an actor.

The Maniac Patch supports the use of a variable or variable redirection for the ID of the actor, as well as using a string variable or string variable redirection for the name.

The common TPC syntax is

@actor[1].name "Alex"

, with the possibility to replace the actor ID by a variable or variable redirection, and the string by a string variable or string variable redirection.

Raw writing:

10610, "name", a, b, c

Change Actor Nickname

Player status: Supported ✅

The Change Actor Nickname command allows to change the nickname of an actor.

The Maniac Patch supports the use of a variable or variable redirection for the ID of the actor, as well as using a string variable or string variable redirection for the name.

The common TPC syntax is

@actor[1].nickname "None"

, with the possibility to replace the actor ID by a variable or variable redirection, and the string by a string variable or string variable redirection.

Raw writing:

10620, "nickname", a, b, c

Change Actor Graphic

FIXME

Change Actor Faceset

FIXME

Change System BGM

FIXME

Change System SE

FIXME

Change System Graphic

Player status: Supported ✅

The Change System Graphic command allows to change the system graphic.

The Maniac Patch supports the use of a string variable or string variable redirection for the name of the system graphic.

Common TPC syntax:

@sys.skin "Royal" .stretch .gothic

Where:

Raw writing:

10680, "name", a, b, c, d

Battle Processing

FIXME

Shop Processing

⚠️ This option is not directly accessible through the Maniac editor, and requires using TPC, raw writing or another tool.

FIXME

Name Input Processing

Player status: Unsupported ❌

The Name Input Processing command allows to open the name input screen to rename a hero.

The Maniac Patch adds the possibility to use a variable or variable redirection for the ID of the actor. ⚠️ This option is not directly accessible through the Maniac editor in the public version, and requires using TPC, raw writing or another tool.

The development version adds the following field:

Additionally, as custom pages for the name input processing scene can be written since the development version, the initial page can now use more values than just 0 and 1. ⚠️ This option was added in development versions of the editor, and is as such not available in public versions, in addition to lacking a common TPC writing.

Notes:

TPC syntax:

@actor[1].inputName .kana .preset

Where:

Raw writing:

10740, "", a, b, c, d, e

Set Vehicle Location

⚠️ This option is not directly accessible through the Maniac editor, and requires using TPC, raw writing or another tool.

Player status: Unsupported ❌

The Set Vehicle Location command allows to teleport a vehicle.

The Maniac Patch allows specifying a direction that the vehicle should face after teleportation.

Common TPC syntax:

@map[1].setVehiclePos .ship .pos 2, 3 .up

Where:

Notes:

Raw writing:

10850, "", a, b, c, d, e, f

Set Event Location

⚠️ Those options are only accessible through the Maniac editor in development versions, but the displayed interface incorrectly displays that the Direction can be set as a variable or variable redirection which is false, and the parameter for the Event ID on the interface is actually the one displayed for the Direction. Those options can be used on public versions, but require using TPC, raw writing or another tool.

Player status: Supported ✅

The Set Event Location command allows to teleport an event.

The Maniac Patch allows to specify a variable or variable redirection for the event ID, and allows specifying a direction that the event should face after teleportation.

Common TPC syntax:

@ev[1].setPos .pos 2, 3 .up

Where:

Notes:

Raw writing:

10860, "", a, b, c, d, e

Swap Event Location

Player status: Supported ✅

The Swap Event Location command allows to swap the position of an event with another.

The Maniac Patch supports the use of a variable or variable redirection for the events in place of using constants.

Notes:

The common TPC syntax is

@ev[1].swap 2

, with the possibility to replace the constants by variables or variable redirections.

Raw writing:

10870, "", a, b, c

Hide Screen

⚠️ This option is not directly accessible through the Maniac editor, and requires using TPC, raw writing or another tool.

Player status: Unsupported ❌

The Hide Screen command allows to hide the screen.

The Maniac Patch supports the use of a variable or variable redirection for the transition value in addition to using a constant.

The following values determine the transition to use:

Notes:

The common TPC syntax is

@scr.hide 1

, with the possibility to replace the constant by a variable or variable redirection. To use the default transition, the value must be replaced by .default.

Raw writing:

11010, "", a, b

Show Screen

⚠️ This option is not directly accessible through the Maniac editor, and requires using TPC, raw writing or another tool.

Player status: Unsupported ❌

The Show Screen command allows to show the screen.

The Maniac Patch supports the use of a variable or variable redirection for the transition value in addition to using a constant.

The following values determine the transition to use:

Notes:

The common TPC syntax is

@scr.show 1

, with the possibility to replace the constant by a variable or variable redirection. To use the default transition, the value must be replaced by .default.

Raw writing:

11020, "", a, b

Flash Event

⚠️ This option is not directly accessible through the Maniac editor, and requires using TPC, raw writing or another tool.

FIXME

Scroll Map

The Scroll Map command in RPG Maker 2000 only allowed shifting the camera by tiles.

Maniac expands the command by allowing to move and set the camera position using pixels, adds the instant movement speed for the camera, and adds the possibility to lock the camera in a put place by ignoring any camera shifting that could happen by using a command teleporting the player.

Fix

Player status: Stronger Fixing not supported ❌

Fix allows to fix the camera position.

The patch adds the parameter Stronger Fixing: if ticked and that a player teleportation occurs on the current map, the camera will stay still instead of moving. ⚠️ This option was added in development versions of the editor, and is as such not available in public versions, in addition to lacking a common TPC writing.

Common TPC writing of the default fix command:

@scr.scroll .fix

Raw writing:

11060, "", a

Unfix

Player status: N/A

Unfix allows to unfix the camera position. No change was made to this function in the patch.

Common TPC writing:

@scr.scroll .unfix

Raw writing:

11060, "", 1

Shift Position (Tile)

Player status: Instant speed not supported ❌

Shift Position (Tile) (known as Shift Position in the original engine) allows to move the camera by a set amount of tiles.

The patch adds a new shift speed, Instant (known as Immediately in the patch).

The command has the following fields:

Common TPC syntax:

@scr.scroll .shift 1 .up .speed 0 .wait

Where:

Raw writing:

11060, "", 2, b, c, d, e

Return to Origin

Player status: Instant speed not supported ❌

Return to Origin makes the camera returns to its original position.

The patch adds a new shift speed, Instant (known as Immediately in the patch).

The command has the following fields:

Common TPC syntax:

@scr.scroll .restore .speed 0 .wait

Where:

Raw writing:

11060, "", 3, 0, 0, d, e

Shift Position (Pixel)

Player status: Partially supported ℹ️; Game can crash if a movement of less than 3 pixels on both axises is done, negative wait does not give the same result than a null wait, see EasyRPG Player issues #3668 and #3669

Shift Position (Pixel) is a new function of the patch, and allows moving the camera by a set amount of pixels.

The command has the following fields:

TPC syntax:

@scr.scroll .pxShift 1, 2 .speed 3 .wait

Where:

Raw writing:

11060, "", a, b, c, d, e, f

Set Position (Pixel)

Player status: Partially supported ℹ️; Game can crash if a movement of less than 3 pixels on both axises is done, negative wait does not give the same result than a null wait, Based on Center and overal camera position can not be accurate, see EasyRPG Player issues #3668, #3669, #3670, #3671

Set Position (Pixel) is a new function of the patch, and allows defining the position of the camera in pixels.

The command has the following fields:

TPC syntax:

@scr.scroll .set 1, 2 .speed 3 .center .relative .wait

Where:

Raw writing:

11060, "", a, b, c, d, e, f

Show Picture

FIXME

Move Picture

FIXME

Erase Picture

Player status: Supported ✅; Erasing pictures in batch with the first value bigger than the second value does not work, see EasyRPG Player issue #3590

The original Erase Picture command in RPG Maker 2000 only allowed to erase one picture at a time by specifying its ID, which was expanded in the English release of RPG Maker 2003 by adding batch erase and erase with a variable ID.

Maniac expands the commands by adding three other modes:

TPC writing:

Raw writing:

11130, "", a, b, c

Show Animation

FIXME

Wait

Player status: Supported ✅

The original Wait command in RPG Maker 2000 only allowed to erase wait by specifying a tenth of a second, and was later expanded with the possibility to wait for a key press.

In the Maniac patch, the command was expanded by allowing to use a variable or variable redirection for the value, and by allowing to wait in frames of a second (1/60s) instead of tenths of a second.

TPC writing:

Raw writing:

11410, "", a, b, c

Play BGM

Player status: Supported ✅

The Play BGM command allows to play a music.

The Maniac Patch supports the use of variables and variable redirections for the fadein time, tempo, balance and volume, as well as using a string variable or string variable redirection for the music name.

Notes:

TPC syntax:

@bgm.play "music" .opt 5000, 80, 100, 50

Where:

Raw writing:

11510, "name", a, b, c, d, e, f

Fadeout BGM

⚠️ This option is not directly accessible through the Maniac editor, and requires using TPC, raw writing or another tool.

Player status: Unsupported ❌

The Fadeout BGM command allows to fadeout the music.

The Maniac Patch supports the use of a variable or variable redirection for the fadeout value in addition to using a constant.

Notes:

The common TPC syntax is

@bgm.fadeout 5000

, with the possibility to replace the constant by a variable or variable redirection.

Raw writing:

11520, "", a, b

Play SE

Player status: Supported ✅

The Play SE command allows to play a sound effect.

The Maniac Patch supports the use of variables and variable redirections for the tempo, balance and volume, as well as using a string variable or string variable redirection for the sound name.

TPC syntax:

@se.play "sound" .opt 80, 100, 50

Where:

Raw writing:

11550, "name", a, b, c, d, e

Key Input Processing

Player status: Supported ✅; Wheel Mouse Up and Wheel Mouse Down are not properly tracked if the command is formatted like a RPG Maker 2000 command.

The Key Input Processing command allows to track pressed keys.

In the Maniac Patch, the following buttons can be tracked, and will give the following values:

Common TPC writing:

@key.input .wait .elapsed v[2] .dst v[1] {
    .decision
    .cancel
    .shift
    .down
    .left
    .right
    .up
    .number
    .symbol
    .lclick
    .rclick
    .mclick
    .wheelDown
    .wheelUp
}

Where:

Raw writing (format used by RPG Maker 2000; also used by RPG Maker 2003 if the command has 10 numeric arguments or less):

11610, "", a, b, c, d, e, f, g, h, i, j

Raw writing (RPG Maker 2003):

11610, "", a, b, c, d, e, f, g, h, i, j, k, l, m, n

Change Tileset

Player status: Supported ✅

The Change Tileset command allows to change the tileset used on the current map.

The Maniac Patch supports the use of a variable or variable redirection for the tileset value in addition to using a constant.

The common TPC syntax is

@map.tileset 1

, with the possibility to replace the constant by a variable or variable redirection.

Raw writing:

11710, "", a, b

Change Parallax Background

FIXME

Call System Functions (Open Save Menu)

⚠️ The functions of this command are not directly accessible through the Maniac editor, and require using the community plugin, TPC, raw writing or another tool.

Player status: Partial support ℹ️; Window mode only does toggle and also opens the save menu, settings menu softlocks the game by infinitely opening the save menu, license menu is not supported; as the debug menu is opened on the window of the game, whether it should be paused or not does not matter

In the Maniac patch, the Open Save Menu command was reworked to also allow opening other menus, and was renamed to Call System Functions.

It can as such be used to open other existing menus that had their own command, as well as opening some new menus and triggering new functions.

The following options can be selected:

Common TPC syntax:

Raw writing:

11910, "", a, b

Control System Functions (Change Save Access)

⚠️ The functions of this command are not directly accessible through the Maniac editor, and require using the community plugin, TPC, raw writing or another tool.

Player status: Unsupported ❌

In the Maniac patch, the Change Save Access command was reworked to also allow controlling other menus, and was renamed to Call System Functions.

The command dictates the status of all its menus at the same time, and only dictates if they can be opened by the player or not. It does not affect the use of the commands that trigger those functions.

The following menus/functions can be controlled:

The command can be written as-is through TPC, with each menu entry able to be removed if you want to still be able to use it:

@sys.limitation {
    .saveMenu
    .partyMenu
    .toggleScreen
    .optionMenu
    .debugMenu
    .f12
}

Raw writing:

11960, "", a, b

Conditional Branch

FIXME Document the other features of this command.

Right after loading state

Player status: Partial support ℹ️Reported as false on a new game, Load Screen command reported as true

Right after loading state (also known as Right after load) can be used to detect if the game just started, either as a new game or as part of a save loading.

If the conditional branch is used under one of the following conditions and that it is used during the first frame of said instance, the conditional branch will be considered as true:

All other instances will be considered to be false.

Notes:

TPC syntax (.else bl can be removed if no else is wanted):

@if .rightAfterLoad() {
    
} .else bl {
    
}

Raw writing (only Conditional Branch header):

12010, "", 12, 0, 0, 0, 0, f

Joypad is enabled

Player status: No proper support, always considered to be true ℹ️

Joypad is enabled (also known as Enable Joypad) can be used to detect if a controller is connected.

If a controller is connected, it will be reported as true, otherwise it will be reported as false.

TPC syntax (.else bl can be removed if no else is wanted):

@if .enableJoy() {
    
} .else bl {
    
}

Raw writing (only Conditional Branch header):

12010, "", 12, 1, 0, 0, 0, f

Window is active

Player status: No proper support, always considered to be true ℹ️

Window is active can be used to detect if the window of the game is currently active.

This command is expected to be combined with Set Game Option: Behavior when Inactive as to let the game run while in the background (otherwise the window will always be reported as being active).

If the behavior of the game window when inactive is set to keep running and that the window of the game is put in the background, it will be reported as false. Otherwise, it will be reported as true.

TPC syntax (.else bl can be removed if no else is wanted):

@if .active() {
    
} .else bl {
    
}

Raw writing (only Conditional Branch header):

12010, "", 12, 2, 0, 0, 0, f

File output is available

Player status: No proper support, always considered to be true ℹ️

File output is available (also known as Can output file) can be used to know if the Maniac Patch is currently able to write files.

When using the commands Save, Control Global Save, Control String Variables and Output Picture, the Maniac Patch is able to write files in the game directory of the game: as to avoid problems with games writing too many files at once causing issues with the user machine, there is a limit of around 3 files write per second. If more file writing are attempted to be done during the same second, they will all fail.

The conditional branch as such informs you of this state: if you have met the file writing limit, the conditional branch will be reported as false; otherwise it will be reported as true.

TPC syntax (.else bl can be removed if no else is wanted):

@if .canOutput() {
    
} .else bl {
    
}

Raw writing (only Conditional Branch header):

12010, "", 12, 3, 0, 0, 0, f

Loop

FIXME

Break Loop

FIXME

End Event Processing

⚠️ The options of this command were added in development versions of the editor, and are as such not available in public versions, in addition to lacking common TPC writings.

FIXME

Erase Event

Player status: Partial support ℹ️; specifying the event ID 10005 does not work; No warning is displayed when selecting an invalid event ID.

The Erase Event command allows to erase an event.

In the Maniac Patch, it is now possible to specify another event ID to erase, as well as using a variable or variable redirection for the event ID to use. Additionally, once an event has been erased, it is possible to make it come back.

Notes:

TPC syntax:

@ev[1].erase

Where:

Raw writing:

12320, "", a, b, c

Call Event

FIXME

Change Enemy HP

FIXME

Change Enemy MP

FIXME

Change Enemy State

FIXME

Enemy Encounter

FIXME

Change Battleback

FIXME

Show Animation (Battle)

FIXME

Action Times +

FIXME

Force Escape

FIXME

Conditional Branch (Battle)

FIXME