Hacker News new | ask | show | jobs
by OuterVale 470 days ago
This is one of the most impressive things I've seen in a while. It isn't traditional emulation, and it isn't a decompilation.

It is a static recompilation of the Xbox 360 version. It required a ton of low-level re-handling of things from the 360's Xenon CPU and Xenos GPU.

Not only is it the game running natively on PC, it has also been modded to support all manner of tweaks and enhancements that are manageable in-game, and mod support.

Really impressive stuff.

Release trailer: https://www.youtube.com/watch?v=TJreGbVPDx0

1 comments

> It isn't traditional emulation, and it isn't a decompilation. It is a static recompilation of the Xbox 360 version.

And all its real benefits come from the countless manual changes made to it, such as rewriting the rendering code. This is because at its core, especially for now, there's no meaningful technological difference between what the tool they used does vs what an emulator does.

Applications on the X360 were barred from self-modifying, so an emulator can/will statically (ahead-of-time) recompile the executable before jumping to it. Whether this is actually what Xenia (the x360 emu) does or if they JIT / hybrid it to get rid of the lengthy precomp, idk, but RPCS3 (the ps3 emu) where this exact same situation also applies does do this, even via LLVM, so there really is 0 difference. (On the PS3 though, there's also SPU code, which can and does self modify, so that needs JITing).