Changelog
All notable changes to reCart are documented in this file following Keep a Changelog and Universal Semantic Versioning (MAJOR.MINOR.PATCH).
[Unreleased]
Changed
- Tracked future-milestone blueprints (
v0.2.0–v0.4.0drafts) and ongoing cross-engine alignment on the 7-minor path towardv1.0.0Going Gold (win-x64).
[0.1.4] - 2026-11-27
Added
- Expanded Player CLI Superset (
PlayerCliOptionHelpers&PlayerCliOptions): Extracted strict CLI parsing helpers and wired--doctor,--tray-only,--fps-mode,--target-fps,--vsync/--no-vsync,--fast-forward,--open-settings,--show-fps,--enable-logs,--force-zero-rwx,--profile, and--discagainstreEngine.Host v0.6.2. - Launcher Interactive Detach & Job-Object Cleanup (
reCart.Launcher): UpdatedLauncherArgsHelperso interactive GUI launches detach cleanly while synchronous diagnostic/automation waits bind a Win32KILL_ON_JOB_CLOSEjob object (reCart.exeremains< 2 MBsingle-file). - Project Charter, Future-Milestone Drafts & Stage 2 Playbooks: Added
Dev\docs\CHARTER.md(linked inAGENTS.md), draft future-milestone plans (0.2.0–0.4.0including NeuroPlay pre-mute Blip-buffer PCM tap requirements), and Stage 2 virtual-desktop E2E coverage and input playbooks (OPERATIONS.E2ECoverage.md,OPERATIONS.InputPlaybook.md).
Changed
- Core & Player Hot-Path Optimizations: Added pre-packed
uintRGBA8888 lookup (PackedRgbaLut) andMemoryMarshal.Castpacked surface writes inPpu2C02Palette,Ppu2C02Renderer, andReCartSessionHost; cached PPU/APU region tables and thresholds; short-circuited IRQ polling when CPU interrupt disable is set; switched power-of-two mapper bank indexing to bitmasks; moved controller port buffers tostackalloc; and cachedSDL3.dllexport delegates. - Public Documentation Polish & Screenshot Showcase: Streamlined
README.mdwith staged clean-room Stage 2 screenshots, direct links toFoundation,IronFrame-OuterFortress-Cart-01-Recomp, andv0.1.4Pre-Release, and a collapsible 2-member.recompcontract snippet; updatedSECURITY.mdwithv0.1.4tracking and direct GitHub Security Advisories URL; and scrubbed internal jargon across public root documents. - Verification Coverage (
125/125Isolated Tests + Stage 2 E2E): Expanded the zero-assetAPP_ISOLATED_TEST=1xUnit suite from94to125/125passing tests (0warnings acrossReleaseandDebug -p:ReCartTestAutomation=true) alongside Stage 2 virtual-desktop E2E verification (http://127.0.0.1:5005).
Fixed
- Silent-Idle Demo Audio, Live
0/8/16Overscan Refresh &F1Drawer Deduplication (reCart.Player): Silenced idle frames inSynthesizeDemoAudio(maxAbs == 0) with chime playback only on active player input, fixedExtraRow_OverscanCrop(0 -> 8 -> 16 -> 0+ reset) to callUpdateDrawerDescriptorlive, removed redundantF1System drawer controls, and surfacedreCart v0.1.4visibility inside the Media Gate viewport. - Byte-Match
v2Schema Parity & Empty-Catch Remediation (reCart.Decomp,reCart.Player): ExtendedD4ReportSchemaHelpers.ValidateD5Coreto accept"isVerified"alongside"romMatched"and replaced empty catch blocks inMediaGateHandlerswith explicit cancellation/disposal trace logging (0static-scanner findings).
[0.1.3] - 2026-11-23
Added
- Instant Startup Window + Background AOT Compile Overlay & Live Settings Persistence (
ReCartSessionHost+reEngine.Host v0.6.2): OpenedHostSessionRunnerimmediately on interactive launches while compiling local AOT modules asynchronously with progress reported ontoHostAotCompileOverlayView, and wiredSettingsDataDirectoryso in-gameF1Video/Audio settings persist cleanly across restarts. - Bundled
.7zArchive Extraction & Staging (CartMediaArchiveLoader+Foundation.Retro): Staged bundled7z.exe/7z.dll/LICENSE-7ZIP.txtunderapp\tools\and added ephemeral fail-closed.7zextraction, SHA-256 discovery indata\rom\, and external verified ROM staging. Select .recomp Module...Live Loading & Raw-ROM Clean-Room Guidance (MediaGateHandlers): WiredOnBrowseModuleRequestedand live.recompdrops/picks, and replaced ad-hoc raw-ROM crashes with clear clean-room Media Gate guidance (plus interactiveUnliftedPcTrapExceptiontrapping).
Fixed
- Clean-Room
recipe.JumpTablesInline Table Lifting (LifterJumpTableScanner+Lifter6502ToCSharp+ColdAotCacheCompiler): Passedrecipe.JumpTablesdispatcher addresses into the static 6502 lifter so inline pointer tables followingJSRdispatchers lift cleanly across fixed and switchable banks without decoding table data as fallthrough code.
Changed
- Upgraded
reEngineSDK dependency tov0.6.2(hostProtocolVersion: "0.6.2", jitter-free F3 telemetry HUD, deferred synthetic key tap release, Media Gate Browse error propagation) and bumpedreCartto0.1.3(SharedLibs\reCart\v0.1.3\), preservingactiveMilestone: 0.2.0.
[0.1.2] - 2026-11-23
Fixed
- Cycle-Paced Static AOT Execution (
CartMachineHost): Dispatched statically lifted 6502 basic blocks and VBlank/IRQ edge interrupts insideStepCpuAndApuCyclekeyed to CPU cycle budget (instead of one block per end-of-frame), fixing solid-grey video understaticAotOnlyand matchinginterpreterOraclerendering frame-for-frame. data\rom\Preload Discovery (ReCartSessionHost): FixedLoadCartInputsso opening<InstallDir>\app\*.recompscans<DataDir>\rom\(plus moduledata\rom\and SHA-256-matchedSuiteMediaTreeWalkercandidates) instead of erroneously overwritingpreloadDirto<InstallDir>\app\data\rom\.- Clean-Room Media Gate Activation & Callbacks (
ReCartSessionHost): UpgradedreEngine.Core/reEngine.Hosttov0.6.1(Foundation v0.5.5), openedFirstRunMediaGateViewautomatically whenever a session launches without a verified ROM (!options.DemoCart), wired liveBrowse,Drag & Drop, andLaunch Demo / Test Cartcallbacks, and replaced unrequested demo-grid fallback with a Deep Slate backdrop and silent audio until media is loaded.
Changed
- Bumped
reCartSDK and installer version0.1.1 -> 0.1.2(SharedLibs\reCart\v0.1.2\), preservingactiveMilestone: 0.2.0.
[0.1.1] - 2026-11-23
Added
- Clean-Room
aot-recipe.json.recompSupport (reCart.Contracts,reCart.Compiler): AddedCartAotRecipeSpec(seeds,entryAddresses,jumpTables,trampolines,memoryWatches) and updatedCleanRoomRecompPackager+ColdAotCacheCompilerto validate and locally compile 2-member clean-room recipe archives ([module.recomp.json, aot-recipe.json]) alongside existing 3-member lifted archives into<dataDir>\cache\. - Headerless
.prgSupport (CartPrgHeaderSynthesizer,reCart.Player): Added deterministic 16-byte iNES/NES 2.0 header synthesis (CartPrgHeaderSynthesizer) and.prgpreload/checksum resolution inReCartSessionHost(matching any declared entry inrequiredDiscChecksumsbefore synthesis). - Differential Lockstep CLI Runner (
--lockstep-oracle --lockstep-steps <N>): Added--lockstep-stepsCLI option andReCartLockstepRunnercomparing AOT module execution against quarantinedInterpreterOracle(A, X, Y, SP, PC, P,ActivePrgBank, and2 KBWRAM..). - v2
d5_byte_match.jsonSchema Aliases (reCart.Decomp): ExtendedD4ReportSchemaHelpers.ValidateD5Coreto acceptmatchedBinaryCount,relativePath,fileSizeBytes, andsha256Hexalongside v1 keys.
Changed
- Bumped
reCartSDK and installer version0.1.0 -> 0.1.1(SharedLibs\reCart\v0.1.1\), keepingactiveMilestonepinned at0.2.0.
[0.1.0] - 2026-11-19
Added
- Clean
reCart.*Solution & SDK Cutover: Built the 8-project.NET 8.0solution (reCart.Contracts,reCart.Core,reCart.Compiler,reCart.Decomp,reCart.Player,reCart.Launcher,reCart.Installer,reCart.Tests) onFoundation v0.5.2andreEngine v0.5.0(reEngine.Core,reEngine.Host.dll) with zero-warning deterministic builds (<Product>reCart</Product>,reCart.ico, zeroFoundation.AutomationorSystem.Windows.Formsleakage inRelease). - Hardened
reCart.ContractsABI: Added extensibleICartMapper(ushort MapperId,byte SubmapperId),CartRegionTimingProfile(Auto,Ntsc,Pal,Dendy),CartRomHeaderParser(iNES 1.0 & NES 2.0 + 512-byte trainer stripping),ICartMachineRuntime,ICartQuickSaveProvider,CartPackageManifest(hostProtocolVersion: "0.5.0",minSuiteVersion: "0.5.0",supportedEngineTracks: ["0.1.x"]), andCartEngineConstants(engineId: "reCart",legacyEngineIds: ["reCartOne", "reNes"]). RP2A03CPU, Mappers0–3, Dot2C02PPU & 5-Channel APU (reCart.Core): Implemented cycle-steppedCpu2A03Core(56official opcodes, zero BCD,JMP ($xxFF)wrap,OAM DMA513/514-cycle +DMCstalls),$4016/$40170x40open-busCartInputPorts, Mappers0/1/2/3(Nrom,Mmc1,UxRom$FFD0-$FFD7bus-conflict safe,CnRom), dot-steppedPpu2C02Core(256x240,262NTSC scanlines, odd-frame dot skip, Loopy scroll, sprite-0 hit & NMI suppression),Apu2A03Core(Pulse 1/2,Triangle,Noise,DMC), deterministicCartQuickSaveSerializer, and quarantinedInterpreterOracle(--execution-tier interpreterOracle).- Static
6502 -> C#Lifter & Cold Local AOT Cache (reCart.Compiler): ImplementedLifter6502ToCSharp,LifterJumpTableScanner,CleanRoomRecompPackager(emitting strictly 3-member clean-room.recompZIP archives with zero retail ROM bytes or pre-built DLLs),ColdAotCacheCompiler(compiling<dataDir>\cache\<moduleId>.Generated.dllout-of-process with--disable-build-servers -p:UseSharedCompilation=false), fail-closedUnliftedPcTrapExceptionunderstaticAotOnly, andSyntheticCleanRoomCartBuilder. - Clean-Room Decompilation Provider (
reCart.Decomp): ImplementedCartDecompPlatformProvider(platformId: "nes",D0–D5),SixTellDetector,D4BuildReportValidator(D4_CleanSource, zero-Wall -Wextra -Wno-unused-parameterwarnings),CartCleanRoomValidator, andCartMediaIntakeInspector. - 5-Backend
reEngine.Host v0.5.0Player (reCart.Player): WiredReCartSessionHostacrossOpenGL 3.3 Core,Vulkan,DirectX 12,ParallelCpu, andSoftware, defaulting tonativePar(8:7/4:3pillarboxed) alongsidefourByThree,squareInteger,nativeFit, andhorPlus16By9,WASAPIaudio,F15-tab settings drawer (Mapper,Region,Execution Tier,Overscan Crop,Fast-Forward,Cutscene Skip,D-Pad / Stick,Four Score (4P),Turbo Pulse),F3HUD,F5/F9quick saves,F11/Alt+Enterfullscreen, 3-tier input profiles, 4-port controllers, and built-in clean-room--demo-cart(ironframe-outerfortress-cart-01). < 2 MBLauncher, 4-Pillar Side-by-Side Installer &81/81Tests: Shipped< 2 MBreCart.exe(AllowAutoStart = false, CWD path normalization,--autostart*strip),reCart-Setup-v0.1.0-win-x64.exe("suiteId": "reEngine",IsReEngineDirectory+IsOwnInstallManifestguard, atomic.ready+schemaVersion: 2engine.manifest.json),build_release.ps1,run_stage2_sandbox_e2e.ps1, and81/81isolatedAPP_ISOLATED_TEST=1tests across 8 modular classes (0warnings in Release and Debug+Automation).
Changed
- Standardized pre-release packaging and documentation for clean 2-channel
--prereleasedistribution (GitHub Releases+Discordonly; manual-only Notion hub updates), includingCode Signing Policyattribution inREADME.md. - Aligned
app.manifest.json(minSuiteVersion: "0.5.0",hostProtocolVersion: "0.5.0",engineId: "reCart",legacyEngineIds: ["reCartOne", "reNes"]) andinstaller.manifest.json("suiteId": "reEngine").
Security
- Enforced Dual-Binary Release automation stripping (
ExitCode = 2on--automation-portin bothReleasereCart.PlayerandReleasereCart-Setup-v0.1.0-win-x64.exe), strict Zip-Slip and path containment checks (ExitCode = 3on sandbox escape), and zero copyrighted ROM/BIOS/generated-DLL distribution guarantees.