Read-only copy of github.com/luizwidmer/palmetto · Clean-room compatibility runtime
  • Python 61.8%
  • C++ 34.2%
  • Assembly 2.4%
  • CMake 0.7%
  • HTML 0.3%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Widmer 3c4332f17d diagnostics: the streaming request waits on a stream registration that never reaches its ready state
The session-3 request never finishes; this slice traces it through the streaming subsystem's own pump and finds the gate
that stops it.

Measured in two clean 300 s arms with the mitigation on: the request is created and attached once (subscriber start,
submit, command start, pending register each once; the request sits in the cache at every sample for the whole window), and
the loading update steps it every frame - the cache walk, the request step and the stream pump all run thousands of times.
But the async engine's step runs only sixteen times, all within the attach window, and is gated off afterwards by a lookup
whose manager-table entry carries state zero instead of the ready state two; the entry is present during the attach and
null in every later sample while the gate keeps being evaluated tens of thousands of times. Every completion entry point
stays at zero hits, and the request's completion fields and the stream's pending slot never change; a hardware watch sees
only the per-frame zero write and no change on the completion fields. No D3D12 fence, copy or queue event is tied to the
request, and the earlier arm measured no storage or file activity after the start, so no runtime answer is upstream - the
gate reads title bookkeeping only.

No shim change and no test addition (diagnostic only, default path byte-identical). The next falsifier is the stream's
manager-table registration/open transition: watch the table entry and its state word and probe the code around the gate to
name what should set the ready state. Session stays 3, the movie player holds its playing state without buffers, the movie
draw never issues, and every capture and readback remains black.

Operationally, the first arm blocked on a stale boot lock with no runtime process; it was cleared and the arm re-run.
2026-11-26 18:07:30 -03:00
.github repo: fix the de-branding residue and the ledger left by the rename (issue #2) 2026-11-25 18:38:00 -03:00
app Make the mascot the project emblem and remove the old logo files The mascot is the project's logo now. The two old logo assets are removed, assets/ allows only the mascot, the progress-dashboard generator embeds the mascot instead of the old logo, the dashboard note says so, and the studio's brand mark shows the Palmetto initial. The dashboard's path scrub is also fixed for home folders that contain a space: the home prefix is redacted before the generic path patterns run, so no user-name-plus-file rest can survive. No game data, no keys, no executable, no package paths. 2026-11-24 19:12:59 -03:00
assets Make the mascot the project emblem and remove the old logo files The mascot is the project's logo now. The two old logo assets are removed, assets/ allows only the mascot, the progress-dashboard generator embeds the mascot instead of the old logo, the dashboard note says so, and the studio's brand mark shows the Palmetto initial. The dashboard's path scrub is also fixed for home folders that contain a space: the home prefix is redacted before the generic path patterns run, so no user-name-plus-file rest can survive. No game data, no keys, no executable, no package paths. 2026-11-24 19:12:59 -03:00
docs diagnostics: the streaming request waits on a stream registration that never reaches its ready state 2026-11-26 18:07:30 -03:00
extensions Restructure the tree: port/ tooling/ profiles/ app/ reports/ vendor/, and add the mascot The repository now has its own layout rather than the previous one: * runtime/ -> port/ (the compatibility layer and its tests), tools/ -> tooling/, scripts/ -> tooling/scripts/, viewer/ -> app/, game/ -> profiles/, mods/ -> extensions/, gpu-test-results/ -> reports/gpu/, third_party/ -> vendor/. * The entry script is build_port.py (was make_game.py); the build stage names and CLI behaviour are unchanged. * Every reference was rewritten: build scripts, CMake, CI workflows, Python tools and tests, documentation links and examples. The docs path checker, the CI registration checker, the CLI-flag checker and the build-destination tests were updated to the new prefixes and pass. * assets/mascot.png is the project's mascot and appears in the README, which now documents the layout and points at the new repository address. * The tree builds from the new location: PALMETTO_OK, TESTS_BUILT, and the proxy/policy/graphics/presentation/VA suites pass. The tree also carries the finished placed-texture import increment: opt-in PALMETTO_TEXTURE_IMPORT=1 imports a placed texture's pages into its image (bounded, staged, single-subresource, logged) and PALMETTO_DEVICE_TRACE=1 logs the title caller of resource, view and Map entry points. Measured A/B: the import is correct but its source addresses are not any device resource's address in the observed window, so the frame still reads black; the device trace shows nothing maps or views the streamed destination range. Both are recorded in docs/texture_import.md. No game data, no keys, no executable, no package paths. 2026-11-24 18:52:26 -03:00
port diagnostics: the streaming request waits on a stream registration that never reaches its ready state 2026-11-26 18:07:30 -03:00
profiles Restructure the tree: port/ tooling/ profiles/ app/ reports/ vendor/, and add the mascot The repository now has its own layout rather than the previous one: * runtime/ -> port/ (the compatibility layer and its tests), tools/ -> tooling/, scripts/ -> tooling/scripts/, viewer/ -> app/, game/ -> profiles/, mods/ -> extensions/, gpu-test-results/ -> reports/gpu/, third_party/ -> vendor/. * The entry script is build_port.py (was make_game.py); the build stage names and CLI behaviour are unchanged. * Every reference was rewritten: build scripts, CMake, CI workflows, Python tools and tests, documentation links and examples. The docs path checker, the CI registration checker, the CLI-flag checker and the build-destination tests were updated to the new prefixes and pass. * assets/mascot.png is the project's mascot and appears in the README, which now documents the layout and points at the new repository address. * The tree builds from the new location: PALMETTO_OK, TESTS_BUILT, and the proxy/policy/graphics/presentation/VA suites pass. The tree also carries the finished placed-texture import increment: opt-in PALMETTO_TEXTURE_IMPORT=1 imports a placed texture's pages into its image (bounded, staged, single-subresource, logged) and PALMETTO_DEVICE_TRACE=1 logs the title caller of resource, view and Map entry points. Measured A/B: the import is correct but its source addresses are not any device resource's address in the observed window, so the frame still reads black; the device trace shows nothing maps or views the streamed destination range. Both are recorded in docs/texture_import.md. No game data, no keys, no executable, no package paths. 2026-11-24 18:52:26 -03:00
reports/gpu Restructure the tree: port/ tooling/ profiles/ app/ reports/ vendor/, and add the mascot The repository now has its own layout rather than the previous one: * runtime/ -> port/ (the compatibility layer and its tests), tools/ -> tooling/, scripts/ -> tooling/scripts/, viewer/ -> app/, game/ -> profiles/, mods/ -> extensions/, gpu-test-results/ -> reports/gpu/, third_party/ -> vendor/. * The entry script is build_port.py (was make_game.py); the build stage names and CLI behaviour are unchanged. * Every reference was rewritten: build scripts, CMake, CI workflows, Python tools and tests, documentation links and examples. The docs path checker, the CI registration checker, the CLI-flag checker and the build-destination tests were updated to the new prefixes and pass. * assets/mascot.png is the project's mascot and appears in the README, which now documents the layout and points at the new repository address. * The tree builds from the new location: PALMETTO_OK, TESTS_BUILT, and the proxy/policy/graphics/presentation/VA suites pass. The tree also carries the finished placed-texture import increment: opt-in PALMETTO_TEXTURE_IMPORT=1 imports a placed texture's pages into its image (bounded, staged, single-subresource, logged) and PALMETTO_DEVICE_TRACE=1 logs the title caller of resource, view and Map entry points. Measured A/B: the import is correct but its source addresses are not any device resource's address in the observed window, so the frame still reads black; the device trace shows nothing maps or views the streamed destination range. Both are recorded in docs/texture_import.md. No game data, no keys, no executable, no package paths. 2026-11-24 18:52:26 -03:00
tests platform: the networking poll is a connectivity monitor, not the stage gate 2026-11-25 19:56:29 -03:00
tooling repo: fix the de-branding residue and the ledger left by the rename (issue #2) 2026-11-25 18:38:00 -03:00
vendor Restructure the tree: port/ tooling/ profiles/ app/ reports/ vendor/, and add the mascot The repository now has its own layout rather than the previous one: * runtime/ -> port/ (the compatibility layer and its tests), tools/ -> tooling/, scripts/ -> tooling/scripts/, viewer/ -> app/, game/ -> profiles/, mods/ -> extensions/, gpu-test-results/ -> reports/gpu/, third_party/ -> vendor/. * The entry script is build_port.py (was make_game.py); the build stage names and CLI behaviour are unchanged. * Every reference was rewritten: build scripts, CMake, CI workflows, Python tools and tests, documentation links and examples. The docs path checker, the CI registration checker, the CLI-flag checker and the build-destination tests were updated to the new prefixes and pass. * assets/mascot.png is the project's mascot and appears in the README, which now documents the layout and points at the new repository address. * The tree builds from the new location: PALMETTO_OK, TESTS_BUILT, and the proxy/policy/graphics/presentation/VA suites pass. The tree also carries the finished placed-texture import increment: opt-in PALMETTO_TEXTURE_IMPORT=1 imports a placed texture's pages into its image (bounded, staged, single-subresource, logged) and PALMETTO_DEVICE_TRACE=1 logs the title caller of resource, view and Map entry points. Measured A/B: the import is correct but its source addresses are not any device resource's address in the observed window, so the frame still reads black; the device trace shows nothing maps or views the streamed destination range. Both are recorded in docs/texture_import.md. No game data, no keys, no executable, no package paths. 2026-11-24 18:52:26 -03:00
.gitattributes Sanitise the repository: generic project identity, no title/studio/publisher/console references In response to the IP enforcement notice against the project network this repository descends from, the repository is rewritten so that it identifies neither the title, the publisher, the console program codename, nor the original upstream project, and so that nothing in it reads as an invitation to use unauthorised files. * Project identity: every project identifier is now Palmetto - the executable (palmetto.exe), the CMake targets and cache variables (PALMETTO_*), the runtime's hook prefix (palmetto_*), helpers, tests and docs. File names that carried the old name were renamed with git mv. * Title, studio, publisher and console-codename references are replaced with neutral wording ("the target title", "the target console", "the target package", "the publisher"); the local package path example no longer names a drive or a release group. * The README is rewritten: it describes a clean-room compatibility runtime, states that the repository ships no game, no keys and no executable, that nothing decrypts content or works around protection, that the user needs their own legally acquired copy, and that nothing generated from it may be shared. The upstream-project lineage, the original project's name and link, and the trademark sentence naming the title are removed. * The archive tooling is genericised (ARCH/ARC9 names for the container tools, tests and the hex-pattern file) and the third-party archive-explorer submodule pointer is removed; the credits keep the public dependencies. * The progress tracker is regenerated from the current measured state: the title boots past 300 s, executes its draws with 0 refused submissions, presents 33,275 frames to the runtime's own window, and the presented frame is still black with the measured remaining gaps recorded (texture data path, streamed-block consumer). Build verified after the rename: PALMETTO_OK; tests built and passing (proxy mock, unimplemented policy, presentation, graphics record, graphics pipeline, XG layout). No game data, no keys, no executable, no package paths. 2026-11-24 18:23:37 -03:00
.gitignore Make the mascot the project emblem and remove the old logo files The mascot is the project's logo now. The two old logo assets are removed, assets/ allows only the mascot, the progress-dashboard generator embeds the mascot instead of the old logo, the dashboard note says so, and the studio's brand mark shows the Palmetto initial. The dashboard's path scrub is also fixed for home folders that contain a space: the home prefix is redacted before the generic path patterns run, so no user-name-plus-file rest can survive. No game data, no keys, no executable, no package paths. 2026-11-24 19:12:59 -03:00
AGENTS.md repo: fix the de-branding residue and the ledger left by the rename (issue #2) 2026-11-25 18:38:00 -03:00
Build.bat Restructure the tree: port/ tooling/ profiles/ app/ reports/ vendor/, and add the mascot The repository now has its own layout rather than the previous one: * runtime/ -> port/ (the compatibility layer and its tests), tools/ -> tooling/, scripts/ -> tooling/scripts/, viewer/ -> app/, game/ -> profiles/, mods/ -> extensions/, gpu-test-results/ -> reports/gpu/, third_party/ -> vendor/. * The entry script is build_port.py (was make_game.py); the build stage names and CLI behaviour are unchanged. * Every reference was rewritten: build scripts, CMake, CI workflows, Python tools and tests, documentation links and examples. The docs path checker, the CI registration checker, the CLI-flag checker and the build-destination tests were updated to the new prefixes and pass. * assets/mascot.png is the project's mascot and appears in the README, which now documents the layout and points at the new repository address. * The tree builds from the new location: PALMETTO_OK, TESTS_BUILT, and the proxy/policy/graphics/presentation/VA suites pass. The tree also carries the finished placed-texture import increment: opt-in PALMETTO_TEXTURE_IMPORT=1 imports a placed texture's pages into its image (bounded, staged, single-subresource, logged) and PALMETTO_DEVICE_TRACE=1 logs the title caller of resource, view and Map entry points. Measured A/B: the import is correct but its source addresses are not any device resource's address in the observed window, so the frame still reads black; the device trace shows nothing maps or views the streamed destination range. Both are recorded in docs/texture_import.md. No game data, no keys, no executable, no package paths. 2026-11-24 18:52:26 -03:00
build_port.py tooling: report FidelityFX upscaler coverage, and measure the console FSR4 route 2026-11-25 19:28:24 -03:00
CONTRIBUTING.md repo: fix the de-branding residue and the ledger left by the rename (issue #2) 2026-11-25 18:38:00 -03:00
global.json Sanitise the repository: generic project identity, no title/studio/publisher/console references In response to the IP enforcement notice against the project network this repository descends from, the repository is rewritten so that it identifies neither the title, the publisher, the console program codename, nor the original upstream project, and so that nothing in it reads as an invitation to use unauthorised files. * Project identity: every project identifier is now Palmetto - the executable (palmetto.exe), the CMake targets and cache variables (PALMETTO_*), the runtime's hook prefix (palmetto_*), helpers, tests and docs. File names that carried the old name were renamed with git mv. * Title, studio, publisher and console-codename references are replaced with neutral wording ("the target title", "the target console", "the target package", "the publisher"); the local package path example no longer names a drive or a release group. * The README is rewritten: it describes a clean-room compatibility runtime, states that the repository ships no game, no keys and no executable, that nothing decrypts content or works around protection, that the user needs their own legally acquired copy, and that nothing generated from it may be shared. The upstream-project lineage, the original project's name and link, and the trademark sentence naming the title are removed. * The archive tooling is genericised (ARCH/ARC9 names for the container tools, tests and the hex-pattern file) and the third-party archive-explorer submodule pointer is removed; the credits keep the public dependencies. * The progress tracker is regenerated from the current measured state: the title boots past 300 s, executes its draws with 0 refused submissions, presents 33,275 frames to the runtime's own window, and the presented frame is still black with the measured remaining gaps recorded (texture data path, streamed-block consumer). Build verified after the rename: PALMETTO_OK; tests built and passing (proxy mock, unimplemented policy, presentation, graphics record, graphics pipeline, XG layout). No game data, no keys, no executable, no package paths. 2026-11-24 18:23:37 -03:00
LICENSE Sanitise the repository: generic project identity, no title/studio/publisher/console references In response to the IP enforcement notice against the project network this repository descends from, the repository is rewritten so that it identifies neither the title, the publisher, the console program codename, nor the original upstream project, and so that nothing in it reads as an invitation to use unauthorised files. * Project identity: every project identifier is now Palmetto - the executable (palmetto.exe), the CMake targets and cache variables (PALMETTO_*), the runtime's hook prefix (palmetto_*), helpers, tests and docs. File names that carried the old name were renamed with git mv. * Title, studio, publisher and console-codename references are replaced with neutral wording ("the target title", "the target console", "the target package", "the publisher"); the local package path example no longer names a drive or a release group. * The README is rewritten: it describes a clean-room compatibility runtime, states that the repository ships no game, no keys and no executable, that nothing decrypts content or works around protection, that the user needs their own legally acquired copy, and that nothing generated from it may be shared. The upstream-project lineage, the original project's name and link, and the trademark sentence naming the title are removed. * The archive tooling is genericised (ARCH/ARC9 names for the container tools, tests and the hex-pattern file) and the third-party archive-explorer submodule pointer is removed; the credits keep the public dependencies. * The progress tracker is regenerated from the current measured state: the title boots past 300 s, executes its draws with 0 refused submissions, presents 33,275 frames to the runtime's own window, and the presented frame is still black with the measured remaining gaps recorded (texture data path, streamed-block consumer). Build verified after the rename: PALMETTO_OK; tests built and passing (proxy mock, unimplemented policy, presentation, graphics record, graphics pipeline, XG layout). No game data, no keys, no executable, no package paths. 2026-11-24 18:23:37 -03:00
Mods.bat Restructure the tree: port/ tooling/ profiles/ app/ reports/ vendor/, and add the mascot The repository now has its own layout rather than the previous one: * runtime/ -> port/ (the compatibility layer and its tests), tools/ -> tooling/, scripts/ -> tooling/scripts/, viewer/ -> app/, game/ -> profiles/, mods/ -> extensions/, gpu-test-results/ -> reports/gpu/, third_party/ -> vendor/. * The entry script is build_port.py (was make_game.py); the build stage names and CLI behaviour are unchanged. * Every reference was rewritten: build scripts, CMake, CI workflows, Python tools and tests, documentation links and examples. The docs path checker, the CI registration checker, the CLI-flag checker and the build-destination tests were updated to the new prefixes and pass. * assets/mascot.png is the project's mascot and appears in the README, which now documents the layout and points at the new repository address. * The tree builds from the new location: PALMETTO_OK, TESTS_BUILT, and the proxy/policy/graphics/presentation/VA suites pass. The tree also carries the finished placed-texture import increment: opt-in PALMETTO_TEXTURE_IMPORT=1 imports a placed texture's pages into its image (bounded, staged, single-subresource, logged) and PALMETTO_DEVICE_TRACE=1 logs the title caller of resource, view and Map entry points. Measured A/B: the import is correct but its source addresses are not any device resource's address in the observed window, so the frame still reads black; the device trace shows nothing maps or views the streamed destination range. Both are recorded in docs/texture_import.md. No game data, no keys, no executable, no package paths. 2026-11-24 18:52:26 -03:00
NOTICE.md docs: why the peers' frames show content while ours read black 2026-11-26 07:55:39 -03:00
README.md docs: refresh the ledger, tracker and index to the newest measurements 2026-11-24 23:13:47 -03:00

Palmetto

Palmetto, the project mascot

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-24 at c9653e371. 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.

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
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 largest unmodelled console entry point left is device slot 70 (13,568 calls per boot, a CBV-shaped publication refused by name)
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; packed and swizzled reads refuse rather than guess
Boot chain done the title boots and runs its own loop past 300 s with no exception
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; 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 is green (237 of 237 targets, a second run prints up to date) and the gate scripts stay 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 frame's record is clean (clear first, draw last, no copy or resolve), fixed-function stand-ins and culling are falsified, the title's vertex/geometry path produces no fragments even unculled, and the sampled 4K placed texture's own pages are never written (0 of 129,792 scanned bytes over 150 s; the import had nothing to copy). The fixed-function state record's 8 fields cannot be pinned by a behavioural probe (docs/frame_capture.md, docs/texture_source.md, docs/state_blob.md)
Measured Value
Boot result ALIVE beyond 300 s, no exception
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
Sampled texture data the sampled 4K placed texture's pages are never written (0 of 129,792 scanned bytes over 150 s)
Streamed blocks 4,096 requests / 256 MiB decompressed; read by a title CPU deserializer and never named to the device in the window
Full build 237 of 237 targets green; gates PALMETTO_OK / TESTS_BUILT

Where it stops now: no stop - the title boots past 300 s, executes its draws and presents into its own window; the presented frame still reads back uniformly black - the title boots past 300 s with no exception, executes its draws with 0 refused submissions and presents into the title's own adopted window; a full configure and build of the tree is green (237 of 237 targets). The presented 4K resource is the frame's own draw target and is proven writable, but the title's draw leaves it black: the frame's record is clean (clear first, draw last, no copy or resolve), the cull hypothesis and the fixed-function stand-ins are falsified, the title's vertex/geometry path produces no fragments even unculled, and the sampled 4K placed texture's pages are never written. The XG layout slot-2 record is decoded and the linear layout is the default, the streamed 256 MiB are consumed by a title CPU deserializer and never named to the device, and the fixed-function state's 8 fields cannot be pinned by behaviour. Measurements and the method behind them: docs/frame_capture.md.

Next up:

  • dump the translated vertex shader's outputs and the vertex bytes its input layout reads for a real draw, to find where coverage dies (the geometry path)
  • find the title-side producer that should write the sampled 4K placed texture, or the device-side producer a console-addressed texture of that population was meant to come from
  • decode console device slot 70 (13,568 calls per boot, a CBV-shaped publication refused by name), the largest unmodelled console entry point left
  • pin fixed-function state only from the serialized-layout source or a driver trace; the behavioural probe cannot tell any of the 8 fields apart
  • find a title path that creates a 64 KiB-tiled resource, so the slot-10 tile list can be filled honestly

More: the full measurement ladder, the frame-capture measurement, the streamed-block consumer, the sampled texture's data source, 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.