From 3d5359c572c22c2b9386a614de7e4628545edbfd Mon Sep 17 00:00:00 2001 From: Mihawk <163614687+mihawk-99@users.noreply.github.com> Date: Tue, 6 Oct 2026 20:50:43 -0400 Subject: [PATCH] build-picker: PS5_VulkanTemplate b577e950, its current main The picker was pinned to a6c32497, and tools/build-picker.sh requires the template checkout to be at the pin, which it no longer is. b577e950 (on GitHub) differs by rewritten commit ids, whose SDK and UI kit pins name the same source trees (PS5_PayloadSDK 611893f = adc8dd7, PS5_VKHomebrewUI 2188642 = 4451c26, compared tree for tree), docs, and new-title.py's 1 GiB flexible-memory request in a generated param.json, which the picker does not use (it runs inside PPSA99169, whose param.json already asks for it). The licence notices read the kit and SDK pins from the template's scripts, so they follow. Verified on the base PS5 (13.40), run-PPSA99169-204853: the picker generated from b577e950, 300 frames, chose RetroArch, RetroArch quit after 600 frames, back to the picker; picker test PASS (evidence/picker-template-pin; frame klog/picker-204853/picker.png inspected). tools/verify.sh format and evidence PASS (88 captures, 0 failed); build and integration wait for MAME's rebuild. --- evidence/picker-template-pin/capture.json | 21 +++++++++++++++++++ evidence/picker-template-pin/expectation.json | 11 ++++++++++ tools/build-picker.sh | 2 +- 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 evidence/picker-template-pin/capture.json create mode 100644 evidence/picker-template-pin/expectation.json diff --git a/evidence/picker-template-pin/capture.json b/evidence/picker-template-pin/capture.json new file mode 100644 index 0000000..00334a7 --- /dev/null +++ b/evidence/picker-template-pin/capture.json @@ -0,0 +1,21 @@ +{ + "step": "picker-template-pin", + "recorded": "2026-10-07T00:50:35Z", + "console_run": "base PS5 13.40, run-PPSA99169-204853", + "revision": "working tree on e06c1b8 (this commit)", + "command": "PS5_FRONTENDS='es-de picker' PS5_REUSE_STAGED_CORES=mame tools/build-title.sh; tools/run-title.sh --no-build --picker-test=300:retroarch --retroarch-frames=600 --watch 60", + "raw_capture": "klog/picker-template-pin/run-204853.txt", + "raw_lines": 9, + "raw_bytes": 751, + "lines": [ + "==> [picker] generating its title from PS5_VulkanTemplate b577e950", + "==> [picker] picker/picker.bin 29570317 bytes, assets 44M, previews 2 (1280x720)", + " frontend: mode '', test run 1, picker test 1, picker 1, es-de 1, remembered ask, L1 0 -> picker", + " frontend: mode 'retroarch', test run 1, picker test 0, picker 1, es-de 1, remembered ask, L1 0 -> retroarch", + " frontend: RetroArch quit; back to the picker or closed", + " frontend: mode 'quit', test run 0, picker test 0, picker 1, es-de 1, remembered ask, L1 0 -> picker", + " picker: 300 frames, chose retroarch, next '/app0/eboot.bin'", + " picker test PASS: 300 frames, a picture of the last (klog/picker-204853/picker.png), then retroarch", + "==> [run] VERDICT: it ran for 60s and this script closed it" + ] +} diff --git a/evidence/picker-template-pin/expectation.json b/evidence/picker-template-pin/expectation.json new file mode 100644 index 0000000..d9f81dd --- /dev/null +++ b/evidence/picker-template-pin/expectation.json @@ -0,0 +1,11 @@ +{ + "step": "picker-template-pin", + "note": "The picker is built from PS5_VulkanTemplate b577e950, its current main, in place of a6c32497. Between them: commit ids rewritten (its SDK and UI kit pins name the same trees: PS5_PayloadSDK 611893f = adc8dd7, PS5_VKHomebrewUI 2188642 = 4451c26), docs, and new-title.py's 1 GiB flexible-memory param.json default.", + "must_contain": [ + "generating its title from PS5_VulkanTemplate b577e950", + "picker test PASS: 300 frames", + "frontend: RetroArch quit" + ], + "must_not_contain": [], + "human_check": "Agent inspected klog/picker-204853/picker.png: both cards, previews and the button bar drawn." +} diff --git a/tools/build-picker.sh b/tools/build-picker.sh index e715142..a69a269 100644 --- a/tools/build-picker.sh +++ b/tools/build-picker.sh @@ -27,7 +27,7 @@ root=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd) cd "$root" template=$(cd -- "${PS5_VULKAN_TEMPLATE:-$root/../PS5_VulkanTemplate}" && pwd) vulkan=$(cd -- "${PS5_VULKAN_DIR:-$root/../PS5_Vulkan}" && pwd) -template_commit=a6c32497a339df4e0c890f96d8ee57287e11a0f0 +template_commit=b577e950684e8bb835746ad0e38495ebcb154fd0 program=frontendpicker title_id=$(python3 -c 'import json,sys; print(json.load(open(sys.argv[1]))["titleId"])' "$root/sce_sys/param.json") app="$root/dist/$title_id"