Run a Windows .exe elsewhere: PE files, HLE, Wine, Vulkan
8 steps · about 3 h 20 min · Intermediate
- A dive into the PE file format - PE file structure - Part 1: Overview (blog, 0xRick's Blog, 30 min)
It walks through the headers and sections with a visual tool, which makes the format easier to picture.
- How Do Emulators Work? A Deep Dive into Emulator Design (article, Retro Reversing, 30 min)
It introduces the choice between low-level and high-level emulation, which explains why this project reimplements APIs instead of simulating a machine.
- UltraHLE (reference, Wikipedia, 10 min)
It is a historical case of an emulator that intercepted library calls and reimplemented them.
- Architecture Overview · Wiki · wine / wine · GitLab (doc, WineHQ, 30 min)
It shows the most mature version of API reimplementation, with NTDLL and KERNEL32 built on top of a host kernel.
- goblin - Rust (reference, docs.rs, 25 min)
It shows how Rust code parses PE files and their import tables, which is the first step of any loader.
- DXVK Windows (repo, GitHub, 20 min)
It explains how a game keeps issuing Direct3D calls while another layer answers them with Vulkan.
- Overview - Vulkan Tutorial (tutorial, Vulkan Tutorial, 25 min)
It explains how Vulkan works, so you understand what the translated graphics calls are targeting.
- GitHub - Marvisak/VIctory: An attempt at running GTA VI on PC (repo, Marvisak on GitHub, 30 min)
It lets you see its inspect, census and translate commands and check each step against the ideas you have learned.