RepositoryC++AUAustralia
PlutonusDev

PlutonusDev/OpenEra

An open-source compatibility layer and runtime environment for running Xbox One / Series X|S (Era / GameCore) titles natively on Windows.

233stars
3forks
35issues
2views
OpenEra: Xbox-on-Windows Compatibility Layer

An open-source compatibility layer for running Xbox Series X|S titles natively on Windows.

Discord License: GPL v3 Platform C++20

Join our Discord · API Coverage · Architecture · Project Status · Compatibility · Building


OpenEra is an experimental translation layer and runtime environment for Xbox titles. Its first target is GameCore: Xbox Series X|S titles built with the GDK. Era (Xbox One) titles are a later goal.

Modern Xbox consoles run a customized Windows NT kernel and Direct3D 12 runtime under a hypervisor, on the same x86-64 architecture as a desktop PC. So OpenEra doesn't emulate the CPU. The title's code runs natively. OpenEra loads it with its own PE loader, reimplements the console system modules it calls, recompiles its GPU shaders for desktop Direct3D 12, and passes plain Win32 and C runtime calls through to Windows.

OpenEra runs an unpacked title folder you own (the folder containing MicrosoftGame.config). It never decrypts or unpacks game packages.

[!IMPORTANT] OpenEra is an educational and interoperability research project developed under a strict clean-room policy. It contains no Microsoft binaries, encryption keys, SDK headers or game assets. You supply your own unpacked titles.

💬 Community

Development discussion, progress updates and help all happen on Discord.

API Coverage

OpenEra API coverage

Each square is a public API function a title can call. See COMPATIBILITY.md for the full API matrix and feature status.

Architecture

OpenEra bridges the differences between the GameCore environment and standard Windows APIs:

SubsystemResponsibility
LoaderLoads the title's executable and its own DLLs with OpenEra's PE loader, and binds imports to title modules, OpenEra shims or the host's Windows DLLs. Anything unimplemented becomes a recorded stub.
Kernel & System ModulesReimplements the console system modules titles import, mapping compatible functions onto desktop Windows and shimming the rest: memory, threading, files and the Gaming Runtime.
Graphics (D3D12.x → D3D12)Maps Xbox Direct3D 12 extensions onto desktop Direct3D 12, recompiles RDNA2 shader code to DXIL and detiles console texture layouts.
StorageRedirects title paths to the title folder through a copy-on-write layer, so the original files are never modified, and handles DirectStorage requests.
AudioRedirects XMA2 hardware audio decoding to a host decoder.
Input & System ServicesMaps Xbox Gaming Runtime Services and controller protocols to Windows Gaming.Input / XInput.

Project Status

OpenEra is in early development. No commercial titles run yet.

ComponentAreaStatusNotes
Build system & CI toolingCMake✅ DoneC++20, /W4 /WX, MSVC + Clang-CL, C++ Core Check, clang-format / clang-tidy, Catch2 tests.
Binary stream readerCore✅ DoneBounds-checked, non-throwing ByteReader used by every parser.
LoggingCore✅ DoneThread-safe, levelled logger with pluggable sinks.
PE/COFF readerLoader✅ DonePE32+ headers, sections, imports, exports, relocations, TLS, exception and delay-import directories.
PE/DLL loader & import resolverLoader🟡 In progressLoads the title and its own DLLs, links them to each other, to shims and to host Windows DLLs, registers their unwind data so exceptions work, and starts them (static TLS, TLS callbacks, DllMain and the entry point).
Run an unpacked title folderApp✅ Doneopenera run reads MicrosoftGame.config and starts the title.
Console system modulesKernel🟡 In progressShim framework and unimplemented-call registry in place; module mapping and API shims next.
Direct3D 12.x translationGraphics⚪ PlannedCOM wrappers, command list translation and presentation.
Shader recompilerGraphics⚪ PlannedRDNA2 shader code to DXIL.
StorageKernel⚪ PlannedPath redirection, copy-on-write file layer and DirectStorage.
Controller inputInput⚪ PlannedGameInput gamepad mapping.
Audio subsystemAudio⚪ PlannedXMA2 decoding and audio endpoint mapping.
XVD / XVC container parserLoader✅ DoneHeader validation, section layout and XVC region table. Unencrypted only; not needed for M1.
First Series X|S title booting to menuMilestone⚪ PlannedM1: the first end-to-end compatibility milestone.
Xbox One (Era) titlesLater⚪ PlannedAfter Series X|S titles work.

Legend: ✅ Done · 🟡 In progress / in review · ⚪ Planned

Building from Source

Prerequisites

RequirementVersion
OSWindows 10 (22H2+) or Windows 11, x64
CompilerVisual Studio 2022+ (MSVC v143+) or Clang-CL
Build toolsCMake 3.25+ and Ninja
SDKWindows 11 SDK (10.0.22621.0 or newer)

Build and test

Run these from a Visual Studio Developer PowerShell (x64):

git clone https://github.com/PlutonusDev/OpenEra.git
cd OpenEra

cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build
ctest --test-dir build --output-on-failure

To build with Clang-CL instead, add -DCMAKE_CXX_COMPILER=clang-cl to the first cmake command.

Running a title

openera runs an unpacked title folder, the folder that contains MicrosoftGame.config:

build\src\App\openera.exe info <title folder>
build\src\App\openera.exe run <title folder>

run starts the Xbox Series X|S executable by default; --exe <Id> picks another one from the config, and --no-start only loads and links it. Logging is set with --log-level (trace, info, warn or error) and --log-file <path>. Run openera --help for the full list.

After the title runs, openera exits with the title's own exit code. Otherwise it exits with:

CodeMeaning
0Success
1Unexpected error
2Bad command line
3Not a folder, or a game package (OpenEra never decrypts or unpacks packages)
4MicrosoftGame.config missing or unusable, or no such executable
5Loading or linking the title failed
6Starting the title failed

Contributing

Contributions are welcome. Before starting on something large, say hello on Discord so work isn't duplicated.

All contributions must follow the clean-room policy. Only use public documentation, observable runtime behaviour, or compatibly licensed open-source projects (with attribution). Never submit leaked code, disassembled Microsoft code, SDK headers or keys.

License

OpenEra is licensed under the GNU General Public License v3.0.

Xbox, Xbox One, Xbox Series X|S and Direct3D are trademarks of Microsoft Corporation. OpenEra is not affiliated with or endorsed by Microsoft.

Similar Projects

Discover other similar projects and AI models.

RepositoryC++
sammwyy/xvalkyrie

Experimental Xbox One (Durango) & Series X|S (Scarlett) compatibility layer for Windows

235
Nov 26, 2026
RepositoryC++
Maplespe/ExplorerBlurMica

Add background Blur effect or Acrylic (Mica for win11) effect to explorer for win10 and win11

4.3k
Oct 12, 2026
RepositoryC++
ALTaleX531/TranslucentFlyouts

Translucent effect for most of the win32 flyouts

1.0k
Aug 2, 2024
RepositoryC++
krlvm/AcrylicMenus

Acrylic effect for all existing Win32 context menus

721
Aug 6, 2023
RepositoryC++
boykopovar/AnyBox

Compatibility layer for Xbox Series apps on Windows

374
Nov 25, 2026
RepositoryPowerShell
Raphire/Win11Debloat

A simple, lightweight PowerShell script that allows you to remove pre-installed apps, disable telemetry, as well as perform various other changes to declutter and customize your Windows experience. Win11Debloat works for both Windows 10 and Windows 11.

63.8k
Nov 15, 2026
RepositoryPython
R0Y00/Xbox2Windows

Static recompilation research for Xbox Series X|S software on x64 Windows, with source-built CPU and GPU tests. Full-game startup is unverified.

2.0k
Nov 27, 2026
RepositoryC#
Abdelrhman-AK/WinPaletter

Advanced Windows Appearance Editor

1.9k
Oct 31, 2026
RepositoryCSS
datguypiko/Firefox-Mod-Blur

Firefox CSS Theme - Dark theme / More compact / Modular / Blur

1.8k
Nov 8, 2026