All Projects → XboxDev → nv2a-trace

XboxDev / nv2a-trace

Licence: MIT license
A tracing software like apitrace for the original Xbox GPU

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects
assembly
5116 projects

Projects that are alternatives of or similar to nv2a-trace

nxdk-rdt
Remote Dev Tool is a tool to remote control an Xbox using memory access and RPC
Stars: ✭ 23 (+15%)
Mutual labels:  debugger, xbox
xboxpy
Python module to interface with original Xbox hard- and software
Stars: ✭ 23 (+15%)
Mutual labels:  xbox, nv2a
react-native-debug-console
A network and console debug component and modal for react native purely in JavaScript
Stars: ✭ 17 (-15%)
Mutual labels:  debugger
vim-node-inspect
Interactive node debugger for (n)vim
Stars: ✭ 96 (+380%)
Mutual labels:  debugger
Xb2XInput
XB2X: User-mode Windows driver for Xbox OG controllers, supporting both XInput and DirectInput.
Stars: ✭ 70 (+250%)
Mutual labels:  xbox
Love-Debug-Graph
An fps/memory/misc graph utillity for Löve2D
Stars: ✭ 29 (+45%)
Mutual labels:  debugger
jsrdbg
JavaScript Remote Debugger for SpiderMonkey.
Stars: ✭ 23 (+15%)
Mutual labels:  debugger
Devel-Camelcadedb
Perl module for debugging with Perl5 plugin for IntelliJ
Stars: ✭ 23 (+15%)
Mutual labels:  debugger
OpenXDK
OpenXDK is an Open Source, Free, Legal Xbox Development Kit. OpenXDK is being developed to facilitate hobbyist and "homebrew" coding for the Microsoft XBox.
Stars: ✭ 23 (+15%)
Mutual labels:  xbox
VDX
XInput/x360ce to ViGEm sample application
Stars: ✭ 58 (+190%)
Mutual labels:  xbox
ftrace
Simple Function calls tracer
Stars: ✭ 65 (+225%)
Mutual labels:  debugger
kodi.web-pdb
Web-based remote Python debugger for Kodi addons
Stars: ✭ 73 (+265%)
Mutual labels:  debugger
gopherlua-debugger
a gopherlua debugger based on emmylua and gopher-lua
Stars: ✭ 15 (-25%)
Mutual labels:  debugger
ps2rd
Collection of tools to remotely debug PS2 games
Stars: ✭ 55 (+175%)
Mutual labels:  debugger
MTATD
MTA:SA debugger and unit testing framework
Stars: ✭ 18 (-10%)
Mutual labels:  debugger
gamepad.js
A simple HTML5 Gamepad handler that provides keyboard-like events for Gamepad sticks and buttons.
Stars: ✭ 21 (+5%)
Mutual labels:  xbox
xcloud-keyboard-mouse
Chrome extension for controlling Xbox Cloud Gaming (Project xCloud) using a keyboard and mouse
Stars: ✭ 78 (+290%)
Mutual labels:  xbox
talvos
Talvos is a dynamic-analysis framework and debugger for Vulkan/SPIR-V programs.
Stars: ✭ 67 (+235%)
Mutual labels:  debugger
Unity-Visual-Behavior-Tree
Reactive Visual Scripting Behavior Tree Tool for Unity 2018.x+
Stars: ✭ 36 (+80%)
Mutual labels:  debugger
debug
Debugging functionality for Ruby
Stars: ✭ 706 (+3430%)
Mutual labels:  debugger

Warning

This is preliminary software. Don't expect anything to work. Also see issues.

As this accesses your Xbox hardware directly, it could do permanent damage. Use at your own risk, don't do anything stupid.

It is also known to be unstable and can behave randomly.

nv2a-trace

nv2a-trace is similar to apitrace, but targeting the Xbox GPU instead of desktop graphics APIs.

nv2a-trace runs remotely on a development machine. It allows you to stop your Xbox GPU command stream and inspect each GPU method before execution. It uses xboxpy to connect to a target Xbox.

nv2a-trace can dump intermediate rendering steps like this:

Screenshot of Burnout 3

Currently, most output will be send to PNG files in the "out" folder. Additionally a "debug.html" will be created which shows the captured commands. This output format is a temporary solution. Eventually there'll be one of the following:

  • GUI, and tracing and UI will be largely decoupled.
  • Parsable output ASCII format which automatically acts as UI.

There is currently no parsable trace-file output, and replaying traces is not possible.

Usage

This project uses xboxpy. Please read its documentation to find out how to install and configure it for your Xbox.

Afterwards, you can run these commands:

git clone https://github.com/XboxDev/nv2a-trace.git
cd nv2a-trace
python3 -u nv2a-trace.py

The last line will run nv2a-trace and connect to your Xbox. It will automatically start tracing.

This tool may also (temporarily) corrupt the state of your Xbox. If this tool does not work, please retry a couple of times.

Contributing

This project uses Black for automatic formatting. You can use the pre-commit in the githooks directory to reformat any changes on commit or run the tool manually prior to creating a PR. In cases where you feel readability is significantly better with manual formatting, you may surround the code with # fmt: off / # fmt: on comments, but this should be a rare exception.


(C) 2018 XboxDev maintainers

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].