https://github.com/snuri00/ps2-web-recomp/blob/1066c9eea78c2...
https://github.com/snuri00/ps2-web-recomp/blob/1066c9eea78c2...
"PlayStation 2 games running in the browser without an emulator. The game's Emotion Engine machine code is translated ahead of time into C++, compiled to WebAssembly, and linked against a reimplementation of the PS2's operating system and hardware that draws with WebGPU."
Instead of high-level emulation, the decompiled C source is compiled directly to Xtensa machine code for the ESP32-S3. We replaced the PlayStation SDK/GPU/GTE with custom software routines, running on a DIY handheld built around a Seeed XIAO ESP32-S3 Sense.
To speed up development without constantly flashing hardware, we run the compiled firmware image directly inside a browser-based hardware simulator CLI (velxio-cli) to verify serial outputs and execution in seconds.
Having 100% matching C code makes native ports to embedded platforms completely feasible without relying on heavy JIT/interpreter glue.