Static recompilation: how console code runs natively on PC
11 steps · about 7 h 10 min · Intermediate
- Binary translation (article, Wikipedia, 15 min)
Defines static versus dynamic binary translation, the idea everything else builds on.
- How does Static Recompilation differ from Emulation? (video, YouTube, 10 min)
Clears up the confusing terminology before you meet real projects.
- Decomps & Recomps in 2026 (article, Matthew Stanley, 15 min)
Separates decompilation from recompilation and shows what translated code looks like.
- Recompilation: An Incredible New Way to Keep N64 Games Alive (video, YouTube, 15 min)
A concrete walkthrough of turning a ROM into a native port.
- Inside Windows: Win32 Portable Executable File Format in Detail (article, Microsoft Learn (MSDN Magazine), 40 min)
Explains how a PE executable is laid out and mapped into memory, which a loader has to do.
- PE Format - Win32 apps (reference, Microsoft Learn, 30 min)
The official spec to look up headers, sections and imports once you know the basics.
- XenonRecomp: A tool for recompiling Xbox 360 games to native executables (repo, hedge-dev (GitHub), 30 min)
A real recompiler whose docs show the config, analysis and codegen workflow.
- An Introduction to SPIR-V (reference, Khronos Group, 25 min)
Introduces the intermediate language that GPU shaders get translated into.
- AMD RDNA 2 Instruction Set Architecture reference guide is now available (reference, AMD GPUOpen, 45 min)
Links the RDNA2 ISA guide and shader compiler talks, the source side of shader translation.
- Khronos Vulkan Tutorial (tutorial, Khronos Group, 3 h)
Teaches the Vulkan API that translated shaders and rendering end up running on.
- ItsNotRexed/Leonida (repo, ItsNotRexed (GitHub), 25 min)
Shows the whole pipeline in one early-stage project: PE loader, shims, RDNA2 to SPIR-V, Vulkan. Read the README and status table to see the stages.