reEngine
Documentation Menu
On This Page

reEngine — Project Charter

  • Project Code Name: reEngine (reengine)
  • Project Lead: Stream
  • Archetype: ENGINE (Tier1_Infrastructure, Tier A 4-Folder)
  • License: Mozilla Public License Version 2.0 (MPL-2.0, root LICENSE)
  • Last Reviewed: 2026-11-29

1. Identity & Mission

reEngine is a zero-daemon static recompilation package router, shared host runtime (reEngine.Host), and side-by-side platform engine suite manager. It lets players launch cleanly lifted .recomp game packages and manage .decomp bring-up recipes across console engines (reSlate, reCart, reCart64, reBlast16, reCube, and siblings) with consistent controls, device-matching prompts, accessibility scaling, split configuration storage, and zero background daemons.


2. Explicit Non-Goals & Clean-Room Boundaries

  1. Static Recompilation First: reEngine orchestrates ahead-of-time static recompilation (AOT-Primary in local <dataDir>\cache\) plus opt-in native JIT bring-up (--jit-bringup). Cycle-accurate interpreters remain isolated offline verification/oracle harnesses rather than shipping as silent runtime fallback emulators.
  2. Strict Clean-Room Distribution: Never bundle or redistribute retail ROMs, disc ISOs, console BIOS/firmware images, pre-lifted retail executables, copyrighted scripts/dialogue transcripts, or proprietary SDK assets. Players always supply their own legally obtained media under data\rom\ or contained suite directories.
  3. Zero Background Daemons: Exiting the launcher, manager, or engine session leaves zero resident services, scheduled tasks, or OS auto-start entries (AllowAutoStart = false).
  4. No Third-Party Achievement Networks: Never integrate RetroAchievements (rcheevos) or external achievement telemetry; future achievement packs use first-party local .recomp achievement manifests (v2.0.0).
  5. No Frame-Rollback "Run-Ahead" Loops: Input responsiveness relies on native static execution and late-latch frame pacing rather than multi-frame speculative save/load rollback.

3. Architectural Invariants & Heuristics

  • Single-Host Runtime UI: All player overlay menus (10-Rail Two-Column Deep Slate Menu), F3 HUD telemetry, first-run Glass Media Gate, native file dialogs, audio DSP pipeline, video filters, and controller/keybind layers live once in reEngine.Host so child engines look and behave identically.
  • Non-Destructive UX: Pressing Esc never unexpectedly quits an active session; exiting uses explicit Quit Game, window close, or Alt+F4 with bounded WM_CLOSE save flushing.
  • Deterministic & Self-Contained Paths: Root installs anchor --data-dir, --config, and --log-dir cleanly relative to the install root, split settings into atomic .tmp -> .bak domain files (settings.json, settings.video.json, settings.audio.json, settings.controls.json), and validate archive/path boundaries against traversal or SSRF.
  • Zero-Warning & Test-Isolated Builds: Every shipped binary compiles cleanly with /warnaserror (0 warnings), strips Release-only test automation hooks (ExitCode = 2), and runs isolated unit tests strictly inside APP_ISOLATED_TEST=1 containment.

Department Ownership & Delegation (Tier 3 Project Roster)

Inherits Tier 1 (47_DEPARTMENTS_AND_OWNERSHIP.md) and Studio Tier 2 (Personal/_PersonalBible/P08_DEPARTMENTS_AND_OWNERSHIP.md). Strictly 1 Accountable Lead per active department; unused departments carry an explicit N/A reason.

ID Department 1 Accountable Lead Delegated Sub-Duties & Helpers
DEP-01 Executive Vision & Governance (EXEC) Stream Portfolio ops rollup & compliance prep (Miles)
DEP-02 Project Management & Scheduling (PM) Stream Milestone pacing & state parity (Miles)
DEP-03 Research, R&D & Prior Art (RND) Miles Genre/product direction & greenlight calls (Stream)
DEP-04 Product & Game Design (DESIGN) Stream Living DESIGN*.md stewardship & systems math (Miles)
DEP-05 World, Narrative & Copy (NARRATIVE) Stream Copy drafting, _TellusBible lockstep & anti-slop review (Miles)
DEP-06 Visual Art & Brand (ART) N/A — Non-visual research/documentation/CLI target Handled at studio _Marketing/_Assets tier
DEP-07 Audio & AV Signal (AUDIO) Miles Creative audio & music taste sign-off (Stream)
DEP-08 UI/UX & Controls (UX) Miles Layout, feel & accessibility sign-off (Stream)
DEP-09 Systems & Software Architecture (ARCH) Miles Architectural scope & boundary review (Stream)
DEP-10 Core Engineering & Builds (ENG) Miles Zero-warning 250/400/600 SLOC builds; milestone sign-off (Stream)
DEP-11 Data, Schemas & Persistence (DATA) Miles Schema collision /grill-me decisions (Stream)
DEP-12 Performance & Optimization (PERF) Miles Target hardware & performance budget sign-off (Stream)
DEP-13 Quality Assurance & Testing (QA) Miles Stage 2 Sandbox E2E & 2-tier logs; v1.0.0 playtest sign-off (Stream)
DEP-14 Security, Clean-Room & Bible Gates (SEC_GOV) Miles Public visibility flips & exception sign-off (Stream)
DEP-15 Release Engineering & Packaging (REL) Miles Release push approval on gated/public repos (Stream)
DEP-16 Documentation & Knowledge (DOCS) Miles Root Quartet, Manual Shelf & manual Notion syncs (Stream)
DEP-17 Website & Storefronts (WEB_STORE) Miles Storefront pricing & reveal approval (Stream)
DEP-18 Marketing, Positioning & PR (MKT) Miles Trailers, positioning & Reveal Gate sign-off (Stream)
DEP-19 Socials, Community & Merch (SOC_COMM) Miles Explicit publish/blast & merch SKU approval (Stream)
DEP-20 Pre-Launch Analysis & Readiness (PRE_LAUNCH) Miles Final launch Go/No-Go decision (Stream)
DEP-21 Post-Launch Analysis & Live Support (POST_LAUNCH) Miles Minor/major roadmap prioritization (Stream)
DEP-22 Legal, Finance & Business Ops (BIZ_LEGAL) Miles Bank/payout execution, filings & legal signatures (Stream)