Skip to content

About

AnyXboxSeries is an experimental C++20 translation layer for Xbox Series X and S on Windows x64. It gives you a way to inspect a build, check its imports, and test a compatible module through the same Direct3D 12 loader.

Resources

Contributing

Stars

1 star

Watchers

2 watching

Forks

Repository files navigation

AnyXboxSeries

Windows x64 Experimental

AnyXboxSeries is an experimental C++20 translation layer for Xbox Series X and S on Windows x64. It gives you a way to inspect a build, check its imports, and test a compatible module through the same Direct3D 12 loader.

GTA VI is the only game target at this stage. The project started with an Xbox build whose manifest named an executable that was missing from the copy we examined. The loader takes a build folder and a module at runtime, which leaves room to investigate other games later.

Download for Windows

Extract the latest portable Windows x64 ZIP and double-click Start-SignalRun.cmd to open the sample. Download the Windows preview.

.\bin\wsx_bootstrap.exe --sample

Signal Run is a small Windows game that tests the loader's menu, frame presentation and input. It reads controller buttons through the Windows GameInput runtime, with XInput as a fallback. Use the arrow keys or D pad to move. Enter or A confirms, Esc or B exits, and Y restarts. Run the bootstrap without --sample for the standalone graphics check.

See Build on Windows to compile or contribute changes. The shader tools require Python for container preparation and Microsoft's DXC for runtime HLSL compilation.

Current status

The graphics probe and Signal Run have passed on an NVIDIA RTX 5070 Ti Laptop GPU and in WARP. Signal Run verifies a real DXGI swap chain and reads back pixels from its menu and game frames. The GTA VI build examined remains blocked before the game starts. It needs the title executable and support for the APIs it calls. See Compatibility.

The local status dashboard summarizes only measurements and capabilities verified in this repository. It does not count GTA VI startup or menu rendering as working.

The Direct3D 12 shader probe checks SM 6.6 compute and DXR 1.1 inline ray tracing. The preparation tool can inspect DXBC/DXIL, unpack FSSM, and lift a subset of RDNA 2 scalar instructions into HLSL for the compute probe.

A verified Direct3D 12 test frame

What each part does

In viewer/source, Launcher.cs runs the resource viewer and PackageReader.cs reads MicrosoftGame.Config, the package manifest, and the layout files. It checks which files are present, looks for PE entry points, and opens the PNGs in the selected folder. The build.ps1 script compiles the viewer with the .NET Framework compiler.

In tools, inspect_xbox_imports.py reads regular and delay load imports with Visual Studio DUMPBIN. It checks the requested libraries against the build folder, System32, and the Windows API set contracts. With --shims, it also compares those imports with the export tables of candidate DLLs.

inspect_ui_resources.py indexes RBF0 schema roots in readable zlib streams in local RPF9 archives. It reports stream offsets and aggregate schema counts without writing archive data.

rbf0_tree.py walks the readable zlib streams in an RPF9 archive, parses complete RBF0 record trees, and can search their strings. It is read-only and does not recover the encrypted archive table of contents or turn UI resources into a running game.

In native, bootstrap.cpp opens a DLL and passes a Direct3D 12 device and an optional build path to its WsxStartV1 entry point. The function signature lives in boot_api.h. The included implementation in boot_graphics.cpp opens the build manifest when given a path and draws the test frame. startup_trace.cpp launches a selected Windows executable and records its loaded images, debug strings, exceptions, and exit status for startup diagnosis.

The Direct3D bridge is implemented in d3d12_xs.cpp, with its exports declared in d3d12_xs.def. It forwards two root signature functions to the Windows runtime and records the result in shim_log.txt. The xmem target builds the four named exports used by the package DLLs from the MIT-licensed Xbox2Windows shim; its upstream license is installed alongside the portable build. wsx_xmem_shim_test checks those exports, heap allocation, a graphics allocation query, and the unsupported working-set result. wsx_pe_map.dll builds the Xbox2Windows PE mapper, and its synthetic fixture checks mapping an AMD64 executable, running its entry point and releasing the mapped image. This fixture does not contain game code. graphics_runtime.h declares the device and frame operations implemented in graphics_probe.cpp. graphics_probe_main.cpp exposes those operations as a standalone test. root_signature_test.cpp checks the round trip and error cases, and CMakeLists.txt assembles the native targets and tests.

sample_game.cpp implements Signal Run as a Windows module that reuses WsxStartV1. It handles keyboard messages and reads gamepad state through GameInput, falling back to XInput when GameInput is unavailable. window_presenter.cpp creates the DXGI swap chain, presents the frames and supports pixel readback in the tests.

Licence and credits

AnyXboxSeries is open source under the Common Public Attribution License 1.0. You may use, modify and redistribute the covered code without a licence fee under its terms.

Keep the licence and attribution notices with redistributed code. If a product includes covered code and exposes it through a graphical interface, it must prominently credit AnyXboxSeries by edupode as specified in Section 14 and Exhibit B. This applies to products that combine AnyXboxSeries with other code. The licence also sets source availability terms for distributing or deploying covered changes. The exact attribution is in CREDITS.md.

Contributing

Report the commands and results when you contribute a change, especially if it affects startup or driver selection. The branch and push workflow is in CONTRIBUTING.md.

About

AnyXboxSeries is an experimental C++20 translation layer for Xbox Series X and S on Windows x64. It gives you a way to inspect a build, check its imports, and test a compatible module through the same Direct3D 12 loader.

Resources

Contributing

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages