Repository navigation
A leftover state.txt no longer looks like a live patch
/data/hush/state.txt exists while the patch is in place and is deleted once
every slot is restored. Tools read it that way: PS5Upload's upcoming hold-mode
support (phantomptr/ps5upload#651)
waits for the file to go before starting a stream.
A reboot drops the patch but not the file. After a boot with hold_s=0, a
console switched to hold mode kept the old state.txt until the first game's
window ended. Until then every stream would wait and pause for nothing.
In hold mode Hush now checks on start, and on enabled=0, whether any slot is
redirected. If none is, it deletes the leftover file and logs:
removed a stale /data/hush/state.txt: no slot is redirected
Checked on 13.60 with a planted state.txt from an earlier boot: removed at start.
Nothing else changed. With hold_s=0 the next start patches again and rewrites
the file, as before.
Install
sha256sum -c SHA256SUMS # Linux
shasum -a 256 -c SHA256SUMS # macOS
Replace hush.elf in Payload Manager. Existing config.ini files keep working.
Build
e58045cc39bb2301a4966e3c043eb75cabc45a0e5e39bb09b0b4151f57767f78 hush.elf
Reproducible with the same toolchain (-Wl,--build-id=none): two clean builds of
this tag gave this exact binary. Built with Homebrew clang/LLD 23.1.4.