Files
PS5_RetroArch/webui
Mihawk c861d36600 Frontends: a remembered choice, a quit that closes, logs per session and mode
Three of the frontend follow-ups in docs/FRONTENDS.md:

- The frontend the title starts with is remembered in config/frontend.cfg
  ("ask", "retroarch" or "es-de"; src/ps5_frontend_choice.h, shared by
  eboot.bin, the picker and the WebUI). The picker's Square switches
  Remember, which writes the frontend started, or "ask". The WebUI's
  quick panel has "Start with", kept in that file, never in webui.cfg.
  A launch from the home screen then starts that frontend directly.
  Holding L1 while the title starts opens the picker anyway: the first
  user's pad is read for up to a second before anything opens it
  (src/frontend_hold_ps5.cpp).
- A frontend that quits now says so: ES-DE and the picker-started
  RetroArch restart eboot.bin with --ps5-mode=quit. That shows the picker,
  or closes the title when a frontend is remembered.
- Logs: a launch with no --ps5- argument starts a session, and keeps the
  previous session's trace as trace.1.txt. RetroArch logs a game-mode game
  to retroarch-game.log and its own sessions to retroarch.log, each with
  its previous copy (.1). ES-DE keeps its last stdout.txt, and starts
  es-de-ps5.log again past 512 KiB.
- An update installed as RetroArch quits no longer hands over. Its
  files are already in place, so the title closes rather than start the
  new picker or ES-DE from the old process.

tools/run-title.sh: --picker-test takes :remember or :forget; with
--home-launch the title starts as from the home screen (no test-run
marker); a game-mode run's log is checked in retroarch-game.log.

Evidence: evidence/frontend-launch/ (capture.json, expectation.json).
Base PS5 13.40, build 584d4d27:
  game mode: the game logged to retroarch-game.log, and the trace held
    only this session (the rest in trace.1.txt)
  picker test with Remember on: frontend.cfg "es-de"
  home launch: L1 read (not held, decided at once), started ES-DE; ES-DE
    quit, and the title closed by itself
  the console's WebUI: frontend_start es-de, set to ask (200); the next
    home launch opened the picker
Holding L1 on a real pad was not exercised by a script. An installed
update closing the title is covered by the host test only.
Host tests: frontend_mode_ps5 and test_webui PASS.
Command:
  tools/run-title.sh --picker-test=300:es-de:remember --frontend-capture=20 --watch 50
  tools/run-title.sh --no-build --no-deploy --home-launch --frontend-capture=8 --frontend-quit --watch 40
Gates: tools/verify.sh PASS (format unit build integration evidence).
2026-10-04 22:06:36 -04:00
..