Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Platform:Xbox 360

From ReverseEngineering.wiki
Platform
Vendor Microsoft
Endianness big
On this wiki Facts · Code · Notes · Topics

Microsoft's second console (2005): a big-endian PowerPC (Xenon, 3 cores) with an ATI GPU; executables are XEX2 files, discs and Games on Demand use XDVDFS-family layouts, and downloadable content, saves and profiles are STFS packages.

Overview

Xbox 360 code is 64-bit PowerPC (Xenon), big-endian, with VMX128 vector extensions. The loader accepts Format:XEX2 (Xbox 360 executable) images, which wrap a PE (the PE inside is also big-endian PowerPC). System services come from the kernel (xboxkrnl.exe) and the shell/runtime library (xam.xex), imported by ordinal through the XEX import library records.

Containers

What Format
Executable Format:XEX2 (Xbox 360 executable) (default.xex, DLL modules .xex)
Game disc image Format:XDVDFS (Xbox disc filesystem) ("GDFX"), game partition at one of several fixed offsets
Saves, DLC, profiles, installed content Format:STFS (Xbox 360 package) (magic CON , LIVE, PIRS)
Title resources (icon, strings, achievements) Format:XDBF (Xbox 360 database) (the .xdbf/SPA resource of a XEX)

Identifying and reading a game

  1. Find default.xex on the disc; it starts with XEX2 (very early builds XEX1).
  2. Its optional headers give title id, media id, base address, entry point, static library versions (the XDK build) and imports.
  3. Memory layout, page size and pointer width follow the image flags (4 KB or 64 KB pages).

See the format pages for offsets. Encrypted and compressed payloads are out of scope here: only the public header structure is documented.

Emulator reference

xenia (BSD-3-Clause) is the main open-source emulator; its headers (xex2_info.h, stfs_xbox.h, xdbf_utils.h) are the most complete public description of these structures.

See also Platform:Xbox.

Code & repositories

  • https://github.com/xenia-project/xenia @ 95a5c3ee250f80c3b9d139658649d9ffb6db3eec · license: BSD-3-Clause (declared by the contributor for the files used; GitHub reports BSD-3-Clause (read from LICENSE; GitHub's detector did not classify it) for the repository)
    Xbox 360 emulator; src/xenia/kernel/util/xex2_info.h, vfs/devices/stfs_xbox.h and kernel/util/xdbf_utils.h hold the public header structures
    Tested on: source read, not run: source reading only · checked 2026-10-18; last activity 2026-02-18