Raven
Raven runs Windows apps and installers on Linux by reimplementing the Windows kernel and services instead of emulating a whole PC, with no virtual machine, winetricks, or DLL overrides.
Visit mirkobrombin/ravenOverview
Raven runs Windows applications on Linux by reimplementing the Windows kernel and its services rather than emulating a whole PC. Program code executes directly on the CPU inside a sandbox where every system call is answered by Raven, covering processes and threads, files, the registry, windows, and input. Graphics go to Wayland and Vulkan, with DXVK and vkd3d-proton handling Direct3D.
Key Features
- Kernel reimplementation rather than emulation, so application code runs natively while Raven intercepts and answers system calls.
- Sandbox boundary in which programs cannot reach Linux directly; file dialogs grant only the chosen file or folder and refusals are logged in sandbox.log.
- Installer support for NSIS, Inno Setup, and Windows Installer (MSI) packages, including custom actions, rollback, and elevation.
- Graphics through Wayland and Vulkan, with DXVK and vkd3d-proton for Direct3D 8, 9, 11, and 12.
- 32-bit and 64-bit programs can run side by side in the same prefix.
- Provisioning scripts fetch pinned versions of DXVK, vkd3d-proton, Skia, and root certificates.
Use Cases
- Running Windows installers and desktop applications on x86_64 Linux without a virtual machine.
- Running 32-bit and 64-bit Windows programs side by side in one prefix.
- Running Direct3D programs and games through DXVK and vkd3d-proton.
- Testing Windows applications in sandboxed prefixes with snapshots and per-program layers.
Getting Started
- Build Raven from source on x86_64 Linux with CMake 3.20 or newer, a C++20 compiler, Python 3.11 or newer, and MinGW-w64 13 or newer for x86_64 and i686.
- Clone the repository and configure a build with CMake using the RelWithDebInfo build type, then build it.
- A minimal build runs console programs and simple windows; installers and most desktop apps need the provisioned common controls, shell dialogs, and installer services.
- Provision the components, reconfigure with the RAVEN_* component paths, rebuild, and launch a program with the native raven binary using --run-process and an installer executable.
- Run tests with ctest --test-dir build --output-on-failure -j1.
Deployment & Requirements
- Linux on x86_64.
- CMake 3.20 or newer, a C++20 compiler, and Python 3.11 or newer.
- MinGW-w64 13 or newer for x86_64 and i686 to build the Windows test programs.
- clang, widl, bison, and patch to build the installer components.
- Optional OpenSSL for crypt32 certificate chains, Schannel, HTTPS, and CryptoAPI ciphers.
Before You Adopt
- License: Other. Review its terms before using, modifying, or distributing the project.
- The project is described as early-stage and source-only, and its build and component-provisioning setup is non-trivial.
- The X11 desktop path is experimental, and OpenSSL is optional but needed for certain certificate-chain, Schannel, HTTPS, and CryptoAPI cipher functionality.