SDK 10.0.26100: slot 70 is CreatePlacedRawShaderResourceViewX over a 0x40 D3D12XBOX_SHADER_RESOURCE_VIEW_DESC; +0x08 is Shader4ComponentMapping (0x1688), so the matrix V# now declares/validates 0x80 bytes (Width) instead of 0x1688 and pulls only those bytes. Image format 0x38/56 is hardware 8_8_8_8_UNORM (R8G8B8A8), a lead for the compose T#. SDK memory model: the GPU-view half arrives only through slot-74 page pools + CopyPageMappingsBatchX; slot 74 is a stub and slot 31 only edits host views, so pair pages never populate (P1-P4 plan in evidence/team-push/I). P4 (admit zero pair pages under POPULATE) was implemented and measured negative (8 pair resolutions, 0 admitted - they stop before the head gate). Record-completion writer test wrote image+0x78ACB20=0x486CC but the title then crashed at game+0x4BCD7; content must come from the streamed job. New switch PALMETTO_TITLE_RECORD_COMPLETE; docs 20.33.
Palmetto
A clean-room compatibility runtime that runs a modern console build natively on Windows, built on your own PC from your own copy.
Palmetto translates a retail console executable and its shaders into a native Windows program at build time: the loader maps the console image, the runtime resolves its imports to open-source shims, the shader tooling translates the console shaders to SPIR-V, and a Vulkan-backed D3D12 device executes the result.
Important
This repository contains no game, no keys and no executable, and it does not explain how to obtain them. You need your own legally acquired copy, with its files already readable on disk. Nothing here decrypts content or works around any protection measure. Everything a build creates — translated shaders, extracted assets, the runtime folder, your saves — comes from your own copy and stays on your PC. Never share those files.
Status
Last updated 2026-11-28 at a4d75c126. Measured on one machine (Windows 11, Intel 13900K, RTX 4090) against the author's own retail console package. Every row below is an outcome the project produces, not a plan. The boot and frame-row numbers are the last full measurement (the 2026-11-24 snapshot preserved in docs/boot_frontier.md); later round-20 light arms and the current content frontier are stated where they change the picture.
| Stage | State | What backs that |
|---|---|---|
| Image and platform | done | the executable image maps at its preferred base, imports resolve through shims, static TLS is redirected, heap and file system come from the host; the 2026-11-27 loader audit confirms that on every measured arm (103/103) and fixes the latent loader defects it found (docs/pe_loader_rewrite.md) |
| Shader corpus | done | 26,616 SPIR-V modules indexed; the boot loads 27,890 translated entries with 0 pipeline failures |
| Console D3D12 on Vulkan | done | device, queues, fences, allocators, heaps, command lists, the queue slot shift, the fence value address, the list lifecycle, the clear/barrier conversions, the display surfaces (console slot 127), the derived-pipeline extension (console slot 55) and the title's page VAs rebased into one arena are measured and mapped; the per-frame slot-70 descriptor publication is implemented and the compose matrix resolves causally under the control (docs/slot70_publication.md, docs/device_slot70.md), and the round-20 query-heap/residency contracts are source-level readiness only (docs/d3d12_vulkan.md) |
| Console DirectStorage | done | 4,096 requests / 256 MiB decompressed at 131-144 MiB/s with every status entry S_OK; the blocks are read by a title CPU deserializer and never named to the device in the measured window; the page-list resolver and live transfer are landed behind a switch with a measured zero-request negative (docs/page_resolver.md) |
| Boot chain | done | the title boots and runs its own loop past 300 s with no exception on the measured light arms; on the default unmitigated path a clean stage-3 arm faults at the title-side class-0xa upload about a second later, and the opt-in PALMETTO_TITLE_CLASS0A_SIZE=1 experiment holds stage 3 for a clean 300 s arm, but it is not a console-faithful fix (docs/decomp_first_ui.md sections 16-18, docs/issues.md) |
| Frame loop | done | frames record, close and submit with 0 failed Close and 0 refused submissions; every recorded draw executes after the title's page VAs were rebased into the arena, with no TDR and no lost device |
| Pipeline construction | done | all 10,241 graphics records build into real pipelines (0 refusals) and 41,545 derived pipelines are created through the console slot-55 answer (0 failures) |
| Draw execution | done | 17,674-27,935 draws execute per 150 s run with 0 refused submissions; the page pull keeps the GPU stand-ins holding the title's bytes (273 MiB per 300 s run) |
| Presentation | done | presents into the title's own adopted window: the adoption boot has exactly one visible top-level window in the process and 8,625 present calls with 0 failed; the earlier 300 s run presents 33,275 frames with 0 failed |
| Texture layout (XG) | done | the slot-2 resource-layout record (0x1B40 bytes) is decoded and the linear layout is the default: 44 suggests / 24 computers, 2 records filled exactly, 65 copies / 34,044 B, alive with no exception, device loss or TDR (2026-11-24 snapshot, docs/boot_frontier.md); slot 10's tiling structures are decoded but it still refuses by name because the window creates no 64 KiB-tiled resource |
| Full build | done | a full configure+build of the tree was green at the 2026-11-24 measurement (237 of 237 targets) and the last recorded gates are PALMETTO_OK / TESTS_BUILT; three known test failures are documented with their unblocks (docs/testing.md) |
| Frame content | in progress | the presented 4K image is the frame's own draw target and is proven writable (a control draw reads back its exact colour), but reads back uniformly black. The 2026-11-24 geometry and texture-page evidence is historical context (docs/boot_frontier.md); later measurements show the compose pass's source target is zero and the constant pass's colour input is a title-owned 96-byte block with a zero colour window and no writer in the stationary loop (docs/frame_first_light.md, docs/colour_path.md), while the first-run/movie path produces no content yet: page owners stay at 0 hits and the movie player reaches state 9 with buffers 0 (docs/decomp_first_ui.md sections 16-18). The inherited PE loader is ruled out as the cause (docs/pe_loader_rewrite.md) |
| Measured | Value |
|---|---|
| Boot result | ALIVE beyond 300 s on the measured light arms, no exception (last full measurement: docs/boot_frontier.md) |
| Loader audit | 103/103 light arms map the title at its preferred base, bind all 587 imports with 0 unimplemented and install TLS; 100 sampled first frames are black, so the loader is not the cause (docs/pe_loader_rewrite.md) |
| Loader and rewrite CTests | 19 loader-family CPU targets pass on the 2026-11-28 round-21 gate (loader, pe_image, pe_image_fuzz, pe_mapper, pe_mapper_parity, pe_resolver, pe_loader_shadow, pe_loader_shadow_wiring, loader_core_audit, loader_bind_audit, loader_tls_audit, loader_selfcheck, loader_census, loader_tls_race strict, pe_loader, pe_loader_bounds, loader_tls, module_names, unimplemented_policy, startup_trace) (docs/pe_loader_rewrite.md) |
| Round-20/21 contract CTests | pass: pe_mapper_parity (309 checks), pe_loader_shadow_wiring (6), loader_tls_race (9 checks, 0 faults after the F4/F7 fixes), loader_census (47, switch wired), ds_publication (85), query_heap_readiness (8 cases, wired at CreateQueryHeap), ui_input_script (5), d3d12_residency_budget (60), indirect_graphics_replay_readiness (16), opt_in_switches (3,010 checks over 294 switches); d3d12_title_va GPU passes 3/3 with PALMETTO_VK_VALIDATION=1 and d3d12_title_va_production passes 1/1 (P-45) (docs/pe_loader_rewrite.md, docs/vertex_buffer_va.md) |
| Graphics pipelines built | 10,241 of 10,241 (0 refusals) + 41,545 derived |
| Draws executed per 150 s run | 17,674-27,935, 0 refused submissions |
| Frames presented | 8,625 per 90 s adoption boot, 0 failed (33,275 per 300 s run before the window adoption) |
| Visible game windows | 1 - the title's own window; the runtime's own window is not created when it can adopt |
| Presented frame content | uniformly black in the presented resource; the target is proven writable and correctly bound, and the loader is ruled out as the cause |
| Streamed blocks | 4,096 requests / 256 MiB decompressed; read by a title CPU deserializer and never named to the device in the window (docs/streamed_consumer.md) |
| Full build | the 2026-11-24 237-target figure is historical; the 2026-11-28 round-21 gate has PALMETTO_OK / TESTS_BUILT green and 333 registered CTests, with the known queue-slot-14 Signal group (4 affected targets) as the only known failure in the affected set (docs/testing.md) |
Where it stops now: no stop on the measured light arms - the title boots past 300 s, executes its draws and presents into its own window; the presented frame reads back black. Round-21 light arms on the final loader-fix binary: a1 and a3 ALIVE at 88 s (a3 reaches stage 3 with the opt-in class-0xa mitigation exercised), a2 records one device loss then a post-loss title stop at game+0x86F97E (single arm, not attributable); the loader stays ruled out and the frontier is content/presentation (F-01/F-02 blocked, F-03..F-07 open) (docs/boot_smoke.md). - The loader hypothesis is falsified for the black frame: 103/103 light arms across 37 builds map the title at its preferred base, bind all 587 imports with 0 unimplemented, install TLS and show no loader-failure string, and the P-55 PALMETTO_TRACE_TLS=1 + PALMETTO_TEB_CHECK=1 arm runs 90.3 s ALIVE with the per-thread GA view installed in every listed thread (docs/pe_loader_rewrite.md). The 2026-11-24 full measurement reached the frame loop, executed its draws and presented a black frame; that snapshot is historical context now (docs/boot_frontier.md, docs/frame_capture.md). Later arms show the presented resource is the frame's own writable target while the compose pass's source target is zero and the constant pass's colour input is a title-owned 96-byte block with a zero colour window and no writer in the stationary loop (docs/frame_first_light.md, docs/colour_path.md). The first-run/UI path produces no content yet: the page owners stay at 0 hits and the movie player reaches state 9 with buffers 0 (docs/decomp_first_ui.md sections 16-18). On the default unmitigated path a clean stage-3 arm faults at the title-side class-0xa upload; the opt-in PALMETTO_TITLE_CLASS0A_SIZE=1 workaround holds stage 3 but stays black, and it is not a console-faithful fix (docs/issues.md). Round-21 arms on the final binary (SHA-256 5C30DE03...) show the loader surface unchanged, 0 shadow-parse divergences, 15 census lines, one device loss in the census+shadow arm followed by the known post-loss AV family, and a class-0xa-mitigated stage-3 arm that survives to the timeout; the title-side pixel frontier is unchanged (docs/boot_smoke.md).
Measurements and the method behind them: docs/decomp_first_ui.md.
Next up:
- land the d3d12_xs queue-proxy slice for the console queue slot-14 Signal refusal, the only known failing group left in the affected set (d3d12_draw, d3d12_set0_compute, d3d12_bindless_churn, d3d12_bindless_churn_validated; docs/testing.md)
- carry the frame-frontier rows: name the session-3 out-record state (F-01) and then get the movie draw to issue (F-02), so content can run; F-03 has a four-site next-arm recipe with PALMETTO_STATE_TRACE=5 + PALMETTO_POKE_LOG (docs/decomp_first_ui.md section 11)
- carry the content window colour source once content runs; the constant pass colour block is a title-owned 96-byte record with a zero colour window and no writer in the stationary loop (docs/frame_first_light.md, docs/colour_path.md)
- close the remaining loader limits: no deterministic Loader-destruction-reentry arm, static-TLS-DLL thread events uncovered, the 16-slot mapped-TLS cap, and the still-unwired PALMETTO_PE_LOADER_V2 adapter (docs/pe_loader_rewrite.md)
- measure real plane-role evidence before wiring the movie second-plane identity contract, and keep the class-0xa mitigation off by default with a clean-host stage-3 pair (docs/peer_port_movie.md, docs/decomp_first_ui.md section 16)
More: the historical full measurement ladder, the frame-capture measurement, the re-measured content frame path, the constant pass's colour source, the current first-run/UI frontier, the loader audit and rewrite status, the streamed-block consumer, incoming reports and tracked findings.
Build
Requirements: your own copy of the target console package, Windows 10/11 x64, ~400 GiB free for the full build,
Python 3.12+, .NET 8 SDK, Visual Studio 2022 with the C++ tools and Windows SDK 10.0.26100+,
Vulkan SDK (spirv-as, spirv-val), LLVM 21+ with the AMDGPU target for
llvm-mc (the official Windows build has none; tooling/scripts\build_llvm_mc.ps1 builds one), and ffmpeg on PATH.
git clone https://github.com/luizwidmer/Palmetto
cd palmetto
python -I build_port.py --find # locate your own copy
python -I build_port.py --check # verify it
python -I build_port.py --game "<pkg>" --out "<out>" --work "<work>" --stages shaders,runtime
tooling/scripts\build_runtime.ps1 builds palmetto.exe on its own. Then:
palmetto.exe --dry-run <pkg>\game.exe --game-dir <pkg> # map the image, list imports
palmetto.exe --run <pkg>\game.exe --game-dir <pkg> --overlay <dir> --trace-d3d12 --trace out.jsonl
For a comparable one-line summary of any attempt, use the harness:
python -I tooling/boot_report.py --exe port\build\palmetto.exe `
--image <pkg>\game.exe --game-dir <pkg> --overlay <dir> --timeout 150
How it works
| Piece | What it does | Where |
|---|---|---|
| Shaders | carve DXBC, unpack native RDNA2, disassemble with LLVM gfx1013, translate to SPIR-V |
tooling/shader_carve.py, tooling/fssm_unpack.py, tooling/shader_disasm.py, tooling/rdna2spirv.py |
| Runtime | maps the PE image, resolves imports to shims, console-ABI proxies over a Vulkan-backed D3D12 device | port/ |
| Assets | validated resources inside the console's data archives, texture pools, audio banks | tooling/arc9dump, tooling/ttpf_assets.py |
| Progress | the README tracker below, generated from docs/progress.json; a fuller offline page of what passes and what blocks next |
tooling/readme_progress.py, tooling/progress_dashboard.py |
Format and contract notes are indexed in docs/README.md.
Rules
- No game data, ever — no archives, executable, carved files, shaders in any form, textures, models, audio, or logs and reports that quote them. Share outcomes (counts, pass/fail, error classes), not inputs.
- No keys, decryption or protection workarounds. The tools only read files that are already plain on disk.
- Short excerpts needed to explain a format (a few header bytes, one instruction) are fine in docs and comments.
Credits
The design, the runtime, the shader translator and the documentation are the work of the Palmetto authors and its contributors.
Also: arc9-explorer (archive decoders), Mesa (descriptor layout, ACO/RADV reference), libHttpClient (XTaskQueue), LLVM (AMDGPU disassembler), SPIRV-Tools.
This project is not affiliated with or endorsed by any console manufacturer or game publisher.
License
GPLv3 or later. See LICENSE. Third-party code keeps its own license.
See NOTICE.md for the project's content policy and rights-holder contact.
