mirror of
https://github.com/MiladRTX/ps5-homebrew-starter.git
synced 2026-10-27 16:01:12 +01:00
Setup and scripts - setup.sh installs ninja-build, wget, llvm-18 and socat (the app build and make send failed on a fresh Ubuntu); only warns about another SDK - app/build.sh checks its arguments first and lets the kit reuse the SDK setup.sh already checked instead of downloading it again - The simulator links only this run's objects, compiles app/src like the PS5 build, finds a real Windows Python (not the Store stand-in), reads %LOCALAPPDATA% in UTF-8, can't be stopped by the optional bridge, and `run.sh stop` only stops a process that really holds the lock - Kit files carry a dated modification notice (GPL-3.0 section 5a) Service - Every visitor gets 1 s, so a silent connection can't freeze the service or block its replacement; requests are read whole; other paths get a 404 - Reply sizes are clamped, a busy port is logged once and named in the notification, the log rolls over at 1 MB, the lock is emptied on exit, SIGTERM interrupts a wait, a new address after rest mode is notified - SERVICE_NAME is shared with the app in service_version.h App - The app knows its own service by name, says when another program holds the port, schedules checks after a slow answer, counts a start as done once the service answered, clamps a loaded box position - Notes: saved through a temp file, long lines kept as one note and never cut mid-character, extra lines backed up, one action per frame, long notes end in an ellipsis, the scrollbar stays on its track - The keyboard can't stay "open" forever; sound and button tables are checked at build time; samples are clamped - Renderer: clip respected by polyline, opacity clamped, round_frame radius clamped, NaN/huge graphs and odd dashes can't hang, pictures averaged per side, text() and text_width() agree; fonts: the glyph cache starts over when full, invalid UTF-8 becomes U+FFFD - Simulator: controller sockets aren't inherited by the PC service, keys by their letter on any layout, scripted typing redraws, steps split on new lines, held keys don't repeat actions new-app.py - One data folder macro (STARTER_APP_DATA), so Notes moves too; refuses to leave code naming the old folder; stops the old PC service; PPSA IDs only; no $ or backticks in names; keeps a custom icon; short service names Docs: Ubuntu 24.04, reaching WSL files from Windows, socat, the real code in chapters 2, 3, 4 and 6, CPU temperature, release push, install steps, CRLF fix, README quick start and credits, and the new behaviour throughout Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>