The cross-platform, open-source SDK to develop for original Xbox: *new* xdk
Notable features: - Portable toolchain that works on modern versions of Windows, macOS and Linux. - No complicated cross-compiling or big library dependencies! Builds with
makeand just needs standard tools and llvm. - Modern C / C++ standards and compiler features. - Supports popular APIs like Windows API and BSD sockets. - SDL2 support for input, audio and 2D graphics. - Custom API for 3D graphics using NVIDIA-designed shader-languages (with additional Xbox extensions). - Open-Source drivers which can be modified to get the most out of the hardware. - Modifiable startup code, for as much system control as necessary. - Supported by an active community that can help with problems and responds to bug reports.
While nxdk still is in early stages of development, it can already be used in many projects. Take a look at the list of projects that are build on top of nxdk. Additionally, the provided samples show how to use common features.
OS-specific instructions for installing these prerequisites can be found in the Wiki
git clone --recursive https://github.com/XboxDev/nxdk.git
Copy one of the sample directories to get started. You can copy it anywhere you like, but make sure that the
NXDK_DIRvariable in the Makefile points to correct place. Then, in the directory, you can simply run
lib/hal- Barebones Hardware Abstraction Layer for the Xbox, from OpenXDK.
lib/net- Network stack for the Xbox based on lwIP.
lib/pdclib- Xbox port of PDCLib, a CC0-licensed C standard library.
lib/pbkit- A low level library for interfacing with the Xbox GPU.
lib/sdl- Xbox ports of SDL2 and SDL_ttf.
lib/usb- USB support from OpenXDK. Hacked together parts of an old Linux OHCI stack.
lib/winapi- Xbox specific implementations of common useful WinAPI-functions.
lib/xboxkrnl- Header and import library for interfacing with the Xbox kernel.
lib/xboxrt- Miscellaneous functionality for debugging etc.
tools/cxbe- Simple converter for PE executables to the Xbox executable format, from OpenXDK.
tools/fp20compiler- Translates register combiner descriptions to Xbox pushbuffer commands.
tools/vp20compiler- Translates vertex program assembly to Xbox microcode.
tools/extract-xiso- Generates and extracts ISO images compatible with the Xbox (and XQEMU).
samples/- Sample applications to get started.