install_wrapper
Install apitrace's wrapper DLL next to the game executable to capture traces when trace_launch fails, covering games that relaunch via a launcher or DRM.
Instructions
Drop apitrace's wrapper DLL next to a game exe (the manual tracing route).
Use this when trace_launch produces nothing -- typically because the exe you launched is a launcher that spawns the real game, or the game re-launches itself for DRM. The wrapper then loads whenever the game starts, however it was started (including from Steam).
Any existing DLL of the same name -- ENB, ReShade, dgVoodoo, DXVK all use these filenames -- is backed up and restored by uninstall_wrapper. Always uninstall when you are done; a left-behind wrapper keeps tracing every run.
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": {
"game_exe": "<game_exe>"
},
"name": "install_wrapper"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | ||
| force | No | ||
| game_exe | Yes | ||
| trace_file | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||