Files
PS5_RetroArch/tools
Mihawk 2512f39519 Game Forwarder: the WebUI's own page for home screen tiles
A "Game Forwarder" entry in the WebUI's sidebar (webui/forwarders.js, its section in
webui/index.html): the tiles with their picture, name, game, core and state (on the
home screen, appears / changes / leaves once RetroArch closes), a New tile editor, Edit
and Delete. ShadowMountPlus's state heads the page; without it, nothing can be made.

The editor: the system first, each behind its icon as on the Games page (a listbox
like the language picker's, by mouse or keyboard), then one of its games by name; the
name on the home screen and the core, prefilled with the game's; "Close RetroArch when
the game ends"; and the picture, drawn here in a 512x512 square and sent as a PNG:
box art, 3D box, logo, cartridge or disc always offered (greyed out when the game has
no such file yet, with a pointer to Download Media), screenshot, title screen and fan
art when it has them, RetroArch's icon; a cutout fits the square, a picture fills it
(both can be changed), and the system's icon can sit in the bottom right corner on a
dark plate. Saving says "Saving..." while ShadowMountPlus answers.

A tile opens a game in the content folder (a path inside it) or on a USB or extended
storage drive (its own path), as the library lists them (src/ps5_forwarders.cpp).
36 new texts, in every language of the WebUI (tools/webui-strings.py --check).

Evidence:
- tests/test_webui_forwarders.py test_page_in_chromium (tests/webui_forwarders_browser.cjs,
  Chromium against the native server and the ShadowMountPlus stand-in): the system
  picker (icon, listbox, Escape, choice), the game, name and core prefilled, the
  pictures offered and greyed out, a logo fitted and a cover filling the square, the
  system icon's plate in the corner, a tile created (its icon a 512x512 PNG), edited
  (picture kept, corner and fill options off), deleted; no page error; nothing wider
  than a 390 px phone - OK. The route tests take the drive paths' rule (a "/mnt/usb0/.."
  path refused) - 4 tests OK.
- console (base PS5, ShadowMountPlus 1.7-beta5fix1), the page in a browser: the tile
  list read from the console; a SNES game's tile made with its 3D box fitted
  (PPSA99170, "appears on the home screen once RetroArch closes"); a second, waiting
  tile deleted from the page at once; 33 systems in the picker, each with its icon.
- gates: format, unit (210 tests), build, integration (210 tests), evidence - PASS.
2026-10-18 07:40:22 -04:00
..