trace_launch
Launch a game under apitrace to begin capturing graphics API calls for later analysis. Returns a session ID to stop the trace after the desired gameplay is recorded.
Instructions
Launch a game under apitrace and start capturing. Returns a session id.
This runs the game -- it does not block. Let the user play the part they want captured, then call trace_stop (ideally after they quit the game normally, so the trace is flushed cleanly).
api: gl, d3d7, d3d8, d3d9, or dxgi (D3D10/11). Empty auto-detects from the PE. method: 'iat' (default) or 'mhook'. Try mhook when a game loads the graphics DLL dynamically and IAT patching misses it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | ||
| args | No | ||
| method | No | iat | |
| output | No | ||
| game_exe | Yes | ||
| working_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||