ptfx_unpack
Convert a .ypt particle effects file to CodeWalker XML and extract its embedded textures as .dds files for editing, merging, or inspection.
Instructions
Convert a .ypt to CodeWalker XML: <out_dir>/.ypt.xml plus its embedded textures in <out_dir>//*.dds.
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": {
"ypt": "<ypt>"
},
"name": "ptfx_unpack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ypt | Yes | absolute path | |
| out_dir | No |