0xreversed/with.ai
Games and modsResearchSource available
Target: Otogi: Myth of Demons

Otogi: Myth of Demons Technical Preview

by sigods Repository0 views
Platform
Linux x86-64, Windows x86-64
Outcome
Research
Otogi: Myth of Demons: A static recompilation of the original Xbox release of Otogi: Myth of Demons.
Image: Source: raw.githubusercontent.com

Evidence at a glance

Loading source evidence…

What was done

A research-oriented static recompilation of the Xbox title Otogi: Myth of Demons into native Linux and Windows executables, utilizing the xboxrecomp toolkit to translate x86 code to C without CPU emulation.

The Otogi: Myth of Demons technical preview v0.1 is a research project that performs static recompilation of the original Xbox game into native executables for Linux and Windows. The project uses the xboxrecomp toolkit to translate the game's x86 code into C, which is then compiled natively. The project explicitly avoids CPU emulation or interpretation, relying instead on the title's own logic. AI assistance was utilized for code, debugging, and documentation, with the maintainer reviewing and verifying all changes. Current results include booting the retail XBE, running the main loop, playing audio, and navigating menus. In-game, the player's 3D model is rendered, but the stage world is not fully drawn, showing only bamboo. Known limitations include an undocumented save file format and location, and the lack of DSP audio effects. While the MinGW-w64 cross-build is the verified Windows path, MSVC 2022 is supported but untested. The maintainer notes that certain results, such as menu and stage navigation, rely on repeated manual runs and have not been independently verified.

Reproduce it

setup
Clone the repository, unpack the disc image using the toolkit's XDVDFS reader, run ./regen.sh to generate C code, build using CMake and Ninja, and execute the resulting binary with appropriate environment variables like RECOMP_USB=1.