mirror of
https://github.com/mihawk-99/PS5_RetroArch.git
synced 2026-10-18 23:09:29 -05:00
content/ had only the folders people made (and a bare "Saturn"), so a fresh install
gave no hint where games go (issue 33). ps5_library_make_system_folders makes
content/<system> for each system the installed cores' databases name, with RetroArch's
names ("Nintendo - Nintendo Entertainment System"), which every frontend's library
reads as that system. A system with a folder already, under any name ("PS1",
"Genesis"), gets none: nothing is renamed or moved. A database no platform stands for
(Satellaview, Sufami Turbo, PICO, CD32, CDTV) gets none; variants go to their system
(Wii (Digital) -> Nintendo - Wii).
- src/main.cpp runs it at each title start, before the frontend dispatch (a home-screen
launch goes to the picker from there; RetroArch's own init is too late), so a core
added later gets its folder.
- tools/system-folders.c runs the same code on the staged title in build-title.sh:
dist/PPSA99169/content holds the 46 folders of the 33 cores; video-assets.py keeps
empty folders in the release ZIP.
- The bare content/Saturn the title made is dropped (Sega - Saturn replaces it).
Evidence: evidence/issue-33-system-folders (console: 45 folders -> 52 after a home-screen
restart, the 7 missing systems added 0777, the owner's kept; dist and the ZIP: 46);
tests/ps5_library_test.c (10 made, an existing folder honoured, unknown databases and
cores without .so skipped, a second run makes none). tools/verify.sh: PASS (format unit
build integration evidence).
15 lines
836 B
JSON
15 lines
836 B
JSON
{
|
|
"step": "issue-33-system-folders",
|
|
"note": "Issue 33: ES-DE's ROM folder is the title's content folder from its first start; content/ has a folder for each system the cores run (46 in a fresh install), made at each title start before any frontend, the user's own folders kept.",
|
|
"must_contain": [
|
|
"first es-de start without settings: ROMDirectory=/app0/content",
|
|
"after es-de exit: ROMDirectory=/app0/content",
|
|
"added: Atomiswave, Bandai - WonderSwan, Nintendo - Family Computer Disk System, SNK - Neo Geo Pocket, Sega - Mega-CD - Sega CD, Sega - Naomi, Sega - SG-1000",
|
|
"dist/PPSA99169/content: 46 folders; release zip content folders: 46",
|
|
"0 failures"
|
|
],
|
|
"must_not_contain": [
|
|
"ROMDirectory=/app0/es-de"
|
|
],
|
|
"human_check": "The owner saw the systems in ES-DE on its first start (2026-10-09)."
|
|
} |