What's New in v0.2.1
PS5 Runtime Hardening
- Audio resilience (
ps5/dkb_audio_ps5.c): PacessceAudioOutOutputdevice errors (< 0) with one 256-frame/48 kHz sleep (5333 us) to prevent spin-starvation, and closessce_handleimmediately ifpthread_createfails so audio open retries cleanly. - DualSense recovery (
ps5/dkb_input_ps5.c): Added_Static_assert(offsetof(DkbPs5PadData, connected_count) == 0x68), resets gyro/motion state on disconnect or controller replacement, retriesscePadSetMotionSensorStateevery500 msif initial activation fails, and retries failed rumble stop (zero) commands every100 msso motors cannot stay stuck on.
Builder, Packaging & Deploy Hardening
- Incremental FTP & atomic
.partuploads (builder/ftp_deploy.py): Addedeboot.bin,pic0.dds,pic1.dds,icon0.png, andshader-cache.packtoALWAYS_UPLOAD_NAMESso equal-size rebuilt artifacts are never skipped as stale. Large monoliths (.ffpkg,romfs.bin,shader-cache.pack) now upload to<remote>.<uuid>.part, verify remoteSIZE, and atomicallyrenameinto place (with cleanup tolerating PS5ftpsrv226replies). - Isolated
.ffpkgstaging & symlink resolution (builder/ffpkg.py): Uses per-buildtempfile.TemporaryDirectoryon the output filesystem and resolves symlinks strictly before hardlinking/copying. - Extraction cache integrity (
builder/game_source.py): Records and validates.extract_stamp.jsoninventories before reusing cached extractions, rejects 0-byte requiredexefs/files, and blocks symlinks escaping the extraction root. - SPIR-V validation before publish (
scripts/prepare_ps5_shaders.py): Validates SPIR-V magic, 4-byte alignment, instruction boundaries,OpEntryPoint, and balancedOpFunction..OpFunctionEndbefore atomically replacingshader-cache.pack. - PyQt6
closeEventguard (builder/gui.py): Prevents closing the builder window while a backgroundQThreadbuild/deploy worker is active or has pending results.
Standalone AppImage
PS5DkbBuilder-v0.2.1-linux-x64.AppImage(147,102,200 B, includes PS5 SDK +UFS2Tool.dll)- SHA-256:
792c2487b445eadb2060ac5bf75b3d4c7441cbd535b1a66a536f66d0595948e5