utmt-decompile-code
Decompile GameMaker code entries from a data file to recover readable GML source. Use it when you need to inspect or restore game logic from compiled data.
Instructions
Decompile a code entry from a GameMaker data file back to GML source. Returns the decompiled GML text. Not available for YYC-compiled games.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dataFilePath": "<dataFilePath>",
"codeName": "<codeName>"
},
"name": "utmt-decompile-code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cliPath | No | Path to UndertaleModCli executable | |
| codeName | Yes | Name of the code entry (e.g. gml_Script_myFunction) | |
| dataFilePath | Yes | Absolute path to the data file |