vntextpatch_extractlocal
Convert Galgame script files (.scn/.ks) to per-file JSON, enabling direct translation or editing of visual novel text with VNTextPatch.
Instructions
【scn/ks/…→JSON】经典 VNTextPatch extractlocal:脚本→每文件 .json。用户说「scn转json」「导出脚本json」用这个。不是 vnt_extract(bundle.jsonl),也不是 kirikiri_psb_*。
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": {
"input": "<input>",
"script": "<script>"
},
"name": "vntextpatch_extractlocal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Script file or folder (.scn/.ks/…) | |
| format | No | Optional --format=… for VNTextPatch | |
| script | Yes | Output .json file or folder of .json | |
| timeout | No | Seconds; default 300 |