PVRCarbonToCpp

PVRCarbonToCpp exports the captured API calls from a Carbon recording as debuggable C++ source code.

PVRCarbonToCpp exports the captured API calls from a Carbon recording as debuggable C++ source code.

This provides the same functionality as the Export calls to debuggable C++ option in the GUI.

Valid syntax for this tool is:

PVRCarbonToCpp [options] [.pvrcbn file]
The available options for this tool are:
Options Description
-h, --help Display help message and exit
--version Print version information and exit
-o=<FOLDERNAME> Folder name to export to
--name=<APPNAME>

Binary name of exported code

For example: --name=HelloWorld

--package=<NAME>

Package name of exported code

For example: --package=com.powervr.cpp.helloworld

--uid-range=<RANGE>

Export the uid range of calls

For example: --uid-range=0-55

--disable-vma By default, exported code will use the Vulkan Memory Allocator for memory management. This options disables that.
--disable-surface-replacement By default, exported code will have its surface creation replaced with a cross-platform version. This options disables that.
--ignore-errors PVRCarbon will stop exporting if certain errors occur during playback. Enable this option to ignore these errors. This may make PVRCarbon unstable and produce incomplete source code.