This page lists the new commands added in the Maniac Patch.
This page is currently a stub, most commands still need to be filled.
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:
@save[1].getInfo corresponds to the save slot number (here, 1), with the possibility to replace the value by a variable.v[2] corresponds to the variable that should receive the date of the save file.v[3] corresponds to the variable that should receive the time of the save file.v[4] corresponds to the variable that should receive the level of the first party member of the save file.v[5] corresponds to the variable that should receive the HP of the first party member of the save file.t[6] corresponds to the string variable that should receive the name of the first party member of the save file.7 corresponds to the picture ID that should receive the FaceSet of the 1st party member of the save file.8 corresponds to the picture ID that should receive the FaceSet of the 2nd party member of the save file.9 corresponds to the picture ID that should receive the FaceSet of the 3rd party member of the save file.10 corresponds to the picture ID that should receive the FaceSet of the 4th party member of the save file.
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
3001: Command codea: Whether the Save Index value to retrieve should be a constant (0) or a variable (1), a constant, with the name of the first party member retrieved in a string variable (16), or a variable, with the name of the first party member retrieved in a string variable (17).b: Value to use for the Save Index.c: Variable that should receive the date of the save file.d: Variable that should receive the time of the save file.e: Variable that should receive the level of the first party member of the save file.f: Variable that should receive the HP of the first party member of the save file.g: String variable that should receive the name of the first party member of the save file.h: Whether the picture IDs to use for the retrieved FaceSets should be constants (0) or variables (1).i: Picture ID that should receive the FaceSet of the 1st party member of the save file.j: Picture ID that should receive the FaceSet of the 2nd party member of the save file.k: Picture ID that should receive the FaceSet of the 3rd party member of the save file.l: Picture ID that should receive the FaceSet of the 4th party member of the save file.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:
@save[1].save corresponds to the save slot number (here, 1), with the possibility to replace the value by a variable..res v[2] corresponds to the variable where the save result will be written. It can be omitted, in which case no result will be output.Raw writing:
3002, "", a, b, c, d
3002: Command codea: Whether the Save Index value to retrieve should be a constant (0) or a variable (1).b: Value to use for the Save Index.c: Whether the result should be stored in a variable (1) or should be ignored (0).d: Variable to use for Store Result.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:
@save[1].load corresponds to the save slot number (here, 1), with the possibility to replace the value by a variable..disableFileCheck corresponds to if the file check should be disabled. It can be omitted, in which case the file check will occur..disableBlackout corresponds to if the blackout should be disabled. It can be omitted, in which case the blackout will occur.Raw writing:
3003, "", a, b, c, d
3003: Command codea: Whether the Save Index value to retrieve should be a constant (0) or a variable (1).b: Value to use for the Save Index.c: Whether the file check should be enabled (0) or disabled (1).d: Whether the blackout should be enabled (0) or disabled (1).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, ""
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:
v[1] corresponds to the variable that should receive the X coordinate.v[2] corresponds to the variable that should receive the Y coordinate.Raw writing:
3005, "", a, b, 0, d
3005: Command codea: Variable that should receive the X coordinate.b: Variable that should receive the Y coordinate.d: Whether the window size ratio should be respected (0) or ignored (1).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:
1 corresponds to the value that should be used for the X coordinate.2 corresponds to the value that should be used for the Y coordinate.
Both values can be written using the variable syntax (v[1]) to use variables instead of constants.
Raw writing:
3006, "", a, b, c, d
3006: Command codea: Whether the coordinate values to use should be constants (0) or variables (1).b: Variable that should receive the X coordinate.c: Variable that should receive the Y coordinate.d: Whether the window size ratio should be respected (0) or ignored (1).⚠️ This command is not directly accessible through the Maniac editor, and requires using the community plugin, TPC, raw writing or another tool.
Player status: Unsupported
Player status: Unsupported
Player status: Unsupported
Player status: Not yet supported; A work-in-progress pull request to implement the command exists: EasyRPG Player pull request #3499
Player status: Unsupported
⚠️ 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
⚠️ 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.
⚠️ 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