Table of Contents

New commands

This page lists the new commands added in the Maniac Patch.

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

Get Save Info

Player status: Supported; Requesting the name of the first party member is currently not supported and makes the command fail, requesting info from a null or negative save does not work

The Get Save Info command (セーブ情報の取得) allows to directly retrieve info from a save file.

The command has the following fields:

Notes:

It can be written as follow with the common TPC syntax:

@save[1].getInfo .datetime v[2], v[3] .level v[4] .hp v[5] .name t[6] .face 7, 8, 9, 10

Where:

The picture ID values can be written using the variable syntax (v[1]) to use variables instead of constants, which will affect all picture IDs.

Raw writing:

3001, "", a, b, c, d, e, f, g, h, i, j, k, l

Save

Player status: Supported; Inaccuracies: Store Result is not set to 0 when failing, see EasyRPG Player issue #3056

The Save command (セーブの実行) allows to directly save on a requested save slot without using the save menu.

The command has two fields:

It can be written as follow with the common TPC syntax:

@save[1].save .res v[2]

Where:

Raw writing:

3002, "", a, b, c, d

Load

Player status: Supported; Inaccuracies: No transition to black is ever displayed, empty and corrupted save files cannot be loaded at all

The Load command (ロードの実行) allows to directly load a requested save slot without using the load menu.

The command has three fields:

Notes:

The command can be written as follow with the common TPC syntax:

@save[v[105]].load .disableFileCheck .disableBlackout

Where:

Raw writing:

3003, "", a, b, c, d

End Load Processing

Player status: N/A

The End Load Processing command (ロード処理の終了, referred to as End Load Process in the interface), unlike what its name suggests, does not do anything.

This command was created for a previous version of the Maniac patch which kept the screen black during 6 frames after a load transition, and this command could have been used to make the screen visible again earlier. As this command already lacks any behaviour in version 181209 (oldest Maniac version still available), and that the only other older public version is 180809, which is no longer available, it is unknown if this command ever had a behaviour in any publicly available version.

The command does not has any common TPC syntax as it was scrapped before the creation of TPC, and as such requires to be written in raw to write or edit it through TPC.

Raw writing:

3004, ""

Get Mouse Position

Player status: Supported; Inaccuracies: Ignore Window Size Ratio not supported, tracking the mouse out of the game window not supported

The Get Mouse Position command (マウス座標の取得) allows to retrieve the position of the mouse.

The command has three fields:

Notes:

The command can be written as follow with the common TPC syntax:

@mouse.getPos v[1], v[2]

Where:

Raw writing:

3005, "", a, b, 0, d

Set Mouse Position

Player status: Not supported with no plan to be supported; System specific, not exposed by SDL

The Set Mouse Position command (マウス座標の設定) allows to change the position of the mouse.

The command has three fields:

The coordinates to use can be set to either constants or value of variables, with the setting for it being shared for the two coordinates.

Notes:

The command can be written as follow with the common TPC syntax:

@mouse.setPos 1, 2

Where:

Both values can be written using the variable syntax (v[1]) to use variables instead of constants.

Raw writing:

3006, "", a, b, c, d

Show String Picture

Get Picture Info

Control Battle

Control ATB Gauge

Change Battle Command EX

Get Battle Info

Control Variable Array

Key Input Processing EX

Rewrite Map

Control Shared Save

Set Picture ID

Set Game Option

Call Command

Control String Variables

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

Get Game Info

Edit Picture

Output Image

Add Move Route

Edit Picture (Tile)

Player status: Unsupported

Control Message

Player status: Unsupported

Script

Player status: Unsupported

Zoom Screen

Player status: Not yet supported; A work-in-progress pull request to implement the command exists: EasyRPG Player pull request #3499

Console

Player status: Unsupported

Control Self Variable

⚠️ This command 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.

Player status: Unsupported

Change Troop Member

⚠️ This command 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.

Control Media Option

⚠️ This command 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.

Player status: Unsupported