hakuX
hakuX emulates Microsoft Xbox. It reads 10 files, 3 of them required: without a required file it does not start games.
About this profile
Technical notes
Original Xbox emulator for Android, package com.rfandango.haku_x, arm64-v8a,
tuned for Adreno. A Kotlin front end carries the launcher, setup wizard, game
library and settings, and drives a whole xemu tree built through CMake against
SDL2 and QEMU 10.2.0, the tree branching off the day before xemu moved to SDL3.
The imgui interface under ui/xui is filtered out of the source list and the
HUD, monitor and snapshot entry points are stubbed, so that front end is the
only interface. ES-DE starts .LauncherActivity with an intent VIEW whose data
URI becomes the disc slot before emulation opens.
ref: QEMU_VERSION,
android/README.md:36-39,
android/,
android/,
android/,
android/app/src/main/cpp/xemu_hud_stub.c,
android/app/src/main/cpp/monitor_stub.c,
android/app/src/main/cpp/xemu_snapshots_stub.c,
android/
The wizard asks for three files through the Storage Access Framework and
copies each into x1box under the external files directory of the package,
renamed mcpx.bin, flash.bin and hdd.img. The pickers keep .bin, .rom and .img
for the two ROMs and .qcow2 and .img for the disk, and each step stays blocked
until its copy lands. Those three paths, the eeprom the wizard never asks for
and the disc are written to x1box/xemu.toml under sys.files, and the launcher
sends the user back through the wizard whenever one of them stops resolving.
ref: android/,
53-120, 249-255, 350-378,
android/,
android/, 709-711, 748-820
The flash image is the only one whose absence stops the run: it is passed as -bios and a path that cannot be opened clears autostart. Its size must be a non-zero multiple of 64 KB, otherwise 256 KB of 0xFF is mapped in its place. The MCPX image must be exactly 512 bytes, another size clears the path with an error, and the machine property is checked a second time and ends the process when it disagrees. The bytes are overlaid on the last 512 of the mirrored flash region. The EEPROM must be 256 bytes and is generated as XBOX_EEPROM_VERSION_R1 when the path does not exist. An empty disk path attaches no drive at index 0 at all, while the disc drive at index 1 is always attached and simply carries no media when no image is picked. ref: system/vl.c:2921-2964, 2998-3022, 3057-3072, 3078-3092, 3094-3113, hw/xbox/xbox.c:65-104, 144-166
Settings imports a dashboard tree from a ZIP or a folder into the FATX
partitions of the configured disk image, C at 0x8CA80000 and E at 0xABE80000,
moving the entries it overwrites to a backup folder first. A source that has
neither a C nor an E directory goes to C whole. The tree is searched for a boot
XBE beforehand and the best candidate is copied to C/xboxdash.xbe when that
name is missing, xboxdash.xbe, default.xbe, evoxdash.xbe, avalaunch.xbe,
unleashx.xbe, xbmc.xbe and nexgen.xbe scoring in that order. The status line
probes C for xboxdash.xbe, msdash.xbe, xbox.xtf and the directories xodash,
audio, fonts and xboxdashdata.*, and calls the install complete when the boot
XBE sits beside at least one of the others.
ref: android/, 1704-1730, 1763-1862,
1864-1927,
android/,
android/,
2661-2708
Preparing Insignia networking turns the NAT backend on and writes the DNS
46.101.64.175 into the config sector of the disk image and into the EEPROM at
0xAC. Registration boots a Setup Assistant image the user picks, which is put
in the disc slot like any other game.
ref: android/,
56-86,
android/,
android/,
1830-1847
The disk tools format an image that is already configured and never create one:
a retail layout needs at least 0x1DD156000 bytes and the extended F and G
layouts need room past that boundary. The EEPROM editor rewrites language,
video standard, resolution flags, aspect ratio and refresh rate in place, and
recomputes both checksums.
ref: android/,
47-79,
android/,
android/
10 files: 3 required, 7 optional. 2 more files come with the app.
In this collection: 8 in repo, 0 missing and 2 unsourceable.
Required
Section titled “Required”| File | Status |
|---|---|
mcpx_1.0.binMCPX southbridge boot ROM
Validation, source and config key
|
in repo |
Complex_4627.binXbox flash ROM
Validation, source, config key and more
|
in repo |
xbox_hdd.qcow2Xbox hard disk image
Source and config key
|
in repo |
Optional
Section titled “Optional”| File | Status |
|---|---|
eeprom.binXbox EEPROM image
Validation, source and config key
|
in repo |
xboxdash.xbeRetail dashboard boot executable
Source
|
in repo |
msdash.xbeRetail dashboard executable kept beside the boot copy
Source
|
in repo |
xbox.xtfDashboard typeface
Source
|
in repo |
<driver>.zipReplacement Vulkan driver package
Source
|
unsourceable |
<content hash>.pngReplacement texture
Source
|
unsourceable |
controller_map.txtExtra SDL controller mappings
Source
|
in repo |
Comes with the app
Section titled “Comes with the app”| File | Hash |
|---|---|
gamecontrollerdb.txtSDL controller mapping database
Hashes and source
|
SHA1 b194b5567631 |
X1_Covers.txtCover art index for the game library
Hashes and source
|
SHA1 2e8d9f0a8ff0 |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start