reEngine
Documentation Menu
On This Page

reEngine Logo

reEngine

CI Pages Release License Runtime Platform

Zero-daemon static recompilation suite router, unified 5-backend host runtime (reEngine.Host), and clean-room .decomp Bring-Up runner.
Launch native .recomp game packages across platform engines using your own legally dumped discs or ROMs—leaving 0 MB resident when closed and adding zero background services or startup entries.


Visual Overview (v0.7.0)

SDL3 Suite Manager 10-Rail Two-Column F1 Overlay
reEngine SDL3 Manager reEngine 10-Rail F1 Overlay

Stack & v0.7.0 Capabilities

Layer / Capability What It Delivers
SDL3 Manager & Pure Win32 Setup Native WinForms-free SDL3 Suite Manager (Library, Engines, Bring-Up, and Inspector Drawer), native OS file/folder pickers, and a pure Win32 Setup wizard with automatic split-config upgrade preservation.
5-Backend Host & Audio DSP Native OpenGL 3.3+, Vulkan 1.3+, DirectX 12, deterministic 16px-band parallelCpu, and software presenters with 1x–8x scale, 21:9 ultrawide + centered 4:3 FMVs, late-latch VRR pacing, 8 live video filters, F12 capture, and hot-switched SDL3 Audio DSP + Sound Test.
Focus Isolation & Input Tuning Decouples shouldPauseOnFocusLoss from background controller polling while isolating unfocused keyboard/mouse input, plus inner/outer stick deadzones, response curves (linear, exponential, smoothS), stick swap, Y-axis look inversion, vertical mouse sensitivity, Hold/Toggle latches, Turbo, and 3D Gyro aim.
Dynamic Device Prompt Glyphs Automatically detects the most recently used device (KB/M, Xbox, PlayStation, Nintendo, Steam Deck, or Generic) and renders clean-room geometric button hints across overlays and games.
Accessibility Filters & Scaling Live 0.75x–2.0x UI text scaling, deuteranopia / protanopia / tritanopia colorblind daltonization matrices, temporal luminance flash/strobe reduction, fast text, and clean-room subtitle toggles.
10-Rail Deep Slate F1 Overlay Controller-navigable two-column overlay (Quick Actions, Video, Audio, Controls, Keybinds, Accessibility, Packs & Mods, Manual / Notes, System, Media) with a pinned Quit Game action and non-quitting 4-step Esc behavior.
.decomp Bring-Up & Suite Discovery Interactive .decomp stage runner (D0–D5), local ahead-of-time cache management, suite-wide BYO media discovery (optical discs, .nes, .fds, cartridge images), engine pinning/exclusions, and Safe Mode crash recovery.

Getting Started

Prerequisites

  • Windows 10 / 11 (win-x64)
  • .NET 8.0 SDK / Desktop Runtime (the single-file Setup EXE bundles runtime dependencies; portable ZIP and source builds require the .NET 8.0 Desktop Runtime or SDK)

Releases & Downloads

Beta (Pre-1.0): reEngine (v0.7.0) is an active pre-1.0 beta targeting v1.0.0 desktop stability and v2.0.0 cross-platform support.

Releases publish on GitHub Releases in two formats:

  • reEngine-Setup-v0.7.0-win-x64.exe — Signed Win32 Setup Wizard & silent CLI installer (detects existing installs and preserves split domain settings automatically on upgrade).
  • reEngine-v0.7.0-win-x64-Portable.zip — Standalone portable bundle containing reEngine.exe, app\, scripts, and sanitized release documentation.

Quick Try

# Install silently in Lightweight mode (or Full for the offline CLI decompilation toolchain)
reEngine-Setup-v0.7.0-win-x64.exe --silent --no-launch --profile Lightweight

# Open the SDL3 reEngine Suite Manager UI
reEngine.exe --window

# Launch a clean-room .recomp module synchronously with DirectX 12, 4:3 aspect lock, and Xbox prompts
reEngine.exe --open "D:\Games\MyGame\app\MyGame.recomp" --backend directx --aspect-mode fourByThree --scale 4 --prompt-glyphs xbox --fullscreen --save-dir ".\tmp-saves" --shutdown-timeout-ms 3000 --wait

# Verify a .recomp or .decomp package cleanly as JSON
reEngine.exe --verify-module ".\SampleModule.decomp" --json

# Run a clean-room .decomp recipe locally
reEngine.exe decomp --module ".\SampleModule.decomp" --stage D4 --data-dir .\tmp-data --log-dir .\tmp-logs
Developer verification, CLI overrides, and diagnostic options
# Clone from GitHub
git clone https://github.com/StreamItAllGit/reEngine.git
cd reEngine

# Run all 32 isolated xUnit suites (163/163 tests passing in Release & Debug+Automation with 0 warnings)
$env:APP_ISOLATED_TEST = "1"
dotnet test Dev\reEngine.slnx -c Release /warnaserror
dotnet test Dev\reEngine.slnx -c Debug -p:ReEngineTestAutomation=true /warnaserror

# Common CLI diagnostics and host demo flags
reEngine.exe --check-updates --strict
reEngine.exe --register-assoc --data-dir .\tmp-data --log-dir .\tmp-logs
reEngine.exe --verify --data-dir .\tmp-data --config .\tmp-data\config\settings.json --log-dir .\tmp-logs
reEngine.exe --verify-module ".\SampleModule.recomp" --json --require-media
reEngine.exe --host-demo --backend opengl --require-backend --aspect-mode horPlus21By9 --video-filter crtLite --prompt-glyphs xbox --colorblind-mode deuteranopia --flash-reduction --window --ui-text-scale 1.25 --show-fps --frames 120 --dump-screenshot .\tmp-logs\frame.png --dump-audio .\tmp-logs\audio.wav
reEngine.exe --version
CLI Flag Purpose
--open <path> / <file.recomp> Validate a .recomp manifest, resolve compatible/pinned engines, isolate <dataDir>\modules\<moduleId>\, discover media, and launch.
--rom <path> / --disc <path> Override media path (aliases for --media-path, normalized relative to caller working directory).
decomp --module <path> Load a .decomp package into the Bring-Up shelf (or run headless via --headless --stage D0..D5).
--verify-module <pathOrEngineId> Validate a .recomp/.decomp package (--json, --require-media) or inspect installed tracks for an engine ID.
--host-demo / --demo-cart Launch the standalone SDL3 host demo with the Media Gate, 5 backends, 6 aspects, 10-rail F1 overlay, F3 HUD, and Sound Test.
--backend <id> / --aspect-mode <mode> / --scale <n> Select render backend (opengl, vulkan, directx/dx12, parallelCpu, software), aspect preset, and scale (1, 2, 4, 8); --require-backend [<id>] exits 6 if unavailable.
--display-mode <mode> / --monitor <n> / --fullscreen / --window Choose windowed, borderlessFullscreen, or exclusiveFullscreen, display index (>= 0), or override saved fullscreen state.
--fps-mode <original\|enhanced> / --target-fps <n> / --bg-fps-cap <n> / --vsync Choose original console cadence ([ORIG]) or enhanced VRR pacing ([ENH]/[MAX], 0 = unlocked), unfocused FPS cap, and VSync.
--overscan <px\|t,b,l,r> / --video-filter <mode> / --hud-anchor <mode> Apply edge overscan crop, live filter (nearest, bilinear, sharpBilinear, scanlines, crtLite, lcdGrid, xbrz, ntscComposite), and HUD anchor.
--true-color / --dithering / --screenshot-mode <mode> Toggle 24-bit RGBA vs 15-bit RGB555 + Bayer dithering and F12 capture (cleanNative vs filteredComposite).
--pause-on-focus-loss (--no-*) / --bg-controller-input (--no-*) / --invert-look-y (--no-*) Control focus-loss pausing, background gamepad polling while unfocused KBM stays isolated, and Y-axis look inversion.
--prompt-glyphs <mode> / --colorblind-mode <mode> / --flash-reduction (--no-*) Set prompt glyph style (auto, kbm, xbox, playstation, nintendo, steamDeck, generic), colorblind daltonization (none, deuteranopia, protanopia, tritanopia), and luminance flash clamping.
--fast-text (--no-*) / --subtitles (--no-*) / --ui-text-scale <0.75..2.0> Toggle instant/fast text, clean-room subtitles, and live overlay scale (0.75x–2.0x).
--execution-tier <mode> / --jit-bringup / --force-zero-rwx / --safe-mode-reset Select execution tier (staticAotOnly, aotWithJitFallback, aotWithThreadedIr, jitBringup, CLI-only interpreterOracle), opt into JIT bring-up, or clear Safe Mode.
--preload-media-to-ram / --fast-boot / --fast-forward / --ff-multiplier <2.0..4.0> Control RAM-headroom-checked media preloading, splash skip, and fast-forward cadence multiplier.
--hd-packs / --audio-driver <id> / --audio-device <name> / --master-volume Enable <dataDir>\hdpacks\ texture overrides, select audio driver/output device, and configure DSP/mixer gains (--bgm-volume, --sfx-volume, --voice-volume, --audio-lowpass-hz, --audio-highpass-hz, --stereo-width, --audio-resampling, --ff-audio-mode).
--wait / --save-dir / --shutdown-timeout-ms Wait synchronously with bounded WM_CLOSE save flushing (3000 ms default) and propagate exact exit codes.
--data-dir / --config / --log-dir / --verify / --doctor Redirect writable runtime storage, inspect configuration/engines, and verify package readiness.

Project Structure

  • Dev/ — C# source code (reEngine.Core, reEngine.Host, reEngine.App, reEngine.Launcher, reEngine.Installer), 32 xUnit test suites (163 tests), build/E2E scripts, and technical manuals
  • Builds/ — Local compiled portable staging builds
  • Releases/ — Shareable 7-file versioned release bundles (Releases\v0.7.0\, Releases\Latest\, including the signed Setup EXE and reEngine-v0.7.0-win-x64-Portable.zip), SHA-256 checksums, and release notes
  • Archive/ — Compressed source snapshots

Documentation

  • Features — Current capabilities and source mapping
  • Roadmap — Active progress, desktop milestones, and cross-platform goals
  • Changelog — Release history
  • Contributing — Clean-room rules, local test commands, and pull request checklist
  • Security — Security boundaries, clean-room guarantees, and vulnerability reporting
  • User Guide — Installation, UI walkthrough, CLI reference, overlays, and troubleshooting
  • Architecture — System design, assembly graph, pipelines, file inventory, and data stores
  • Interfaces — Manifest schemas, reEngine.Host contracts, CLI contracts, and exit codes
  • Operations — Build verification, offline toolchain staging, sandbox E2E, and release packaging

Code Signing Policy

Release builds are currently signed locally, not by a public certificate authority, so Windows SmartScreen may show an "unknown publisher" prompt. Verify downloads against the SHA256SUMS.txt published with each release. Trusted organization code signing will be added once the publishing studio is formally established.

  • Authors: Repository contributors and maintainers (@StreamItAllGit)
  • Reviewers: Repository maintainers (@StreamItAllGit)
  • Approvers: Repository owners (@StreamItAllGit)
  • Privacy Policy: This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
  • Router, Host & SDK License (MPL-2.0): reEngine (reEngine.Core, reEngine.Host, reEngine.App, reEngine.Launcher, and reEngine.Installer) is licensed under the Mozilla Public License Version 2.0 (LICENSE). Verbatim copies of LICENSE ship in the repository root, portable Builds\v<Version>\app\LICENSE, source archives, and the SDK distribution.
  • Bundled Third-Party Tooling & Runtime Notices: Windowing and audio use ppy.SDL3-CS (MIT) and native SDL3 (zlib). Build-time packaging uses 7z.exe and 7z.dll (LICENSE-7ZIP.txt), distributed under GNU LGPL-2.1+ with the unRAR license restriction (plus BSD 3-clause / BSD 2-clause components). Optional Full installs include THIRDPARTY_LICENSES.txt covering stripped Apache-2.0 CLI Ghidra and a jlink OpenJDK runtime (GPLv2 + Classpath Exception).
  • Non-Affiliation Notice: reEngine is an independent clean-room software project and is not affiliated with, endorsed by, or sponsored by Sony Interactive Entertainment, Nintendo, Microsoft, Sega, or any game publisher or hardware manufacturer. All product names and trademarks belong to their respective owners.
  • Zero-ROM / Zero-BIOS Guarantee: reEngine contains zero copyrighted retail game binaries, console BIOS/firmware dumps, or proprietary SDK assets. Users must legally supply their own optical discs or cartridge dumps inside each module's data\rom\ directory or local suite folders.