FAKE-08 as a native Xbox 360 XEX (no XDK)
A second Xbox 360 target next to platform/xenon (bare-metal libxenon ELF started from XeLL). This one builds a normal default.xex that runs under the dashboard and is started from Aurora/FSD like any other app, on RGH/JTAG consoles. It does not use the Microsoft XDK.
It is built with xexkit (the xexkit/ submodule): GCC, newlib and libstdc++ from the free60/libxenon docker image, a runtime on the kernel's own API (video with the Guide, audio, input, files, crash reports) and xex-link from xenon-forge. xexkit's docs/wiki/ explains how the console behaves and why.
Build
From the repository root (with submodules checked out: git submodule update --init):
once: build xex-link (static binary in platform/xex/xexkit/tools/bin)
docker run --rm --user $(id -u):$(id -g) -e HOME=/tmp \
-e CARGO_HOME=/usr/local/cargo -e RUSTUP_HOME=/usr/local/rustup \
-v $PWD/platform/xex/xexkit:/build_dir rust:latest \
/bin/sh -e /build_dir/tools/build-xex-link.sh
FAKE-08
docker run --rm --user $(id -u):$(id -g) -e HOME=/tmp -v $PWD:/build_dir \
-w /build_dir free60/libxenon:latest \
bash -lc 'git config --global --add safe.directory "*"; make xex'
Output: platform/xex/build/fake08/default.xex; app.elf next to it has the symbols for xenon-addr2line (see crash.txt in xexkit's wiki). The first line of fake08/pico.log names the build (commit and time), so you can tell which copy the console ran.
The hardware tests (video, audio, files, crash report) are in xexkit.
FAKE-08
Copy build/fake08/default.xex into a folder of its own (for example Hdd1:\Apps\FAKE-08\) and add it to Aurora. Carts go in the roms folder next to it (Hdd1:\Apps\FAKE-08\roms\, created on the first start; subfolders can be browsed). Settings, saves (cdata) and pico.log go to a fake08 folder next to the XEX (or hdd:\fake08, or cache: in Xenia, when that folder is read-only).
| Controller | |
|---|---|
| D-pad / left stick | arrows |
| A, Y / B, X | O / X (swapped with the "button layout" setting) |
| Start | pause menu |
| Back | cycle screen sizes |
| Xbox button | Guide; Xbox Home leaves to Aurora |
| Back+Start | quit (some dashboard plugins use it for screenshots) |
The start menu is a file browser: A opens a cart or folder, B goes up a folder, left/right page.
Controllers 2-4 are players 2-4. Sound goes through the kernel's audio render driver at 48 kHz (front left and right).
The source is source/XexHost.cpp, the same logic as the libxenon host (platform/xenon/source/XenonHost.cpp) on this platform's runtime.