Skip to content

feat(libSceSystemService): report the web browser as unavailable - #2065

Merged
oneandonlydean merged 3 commits into
boykopovar:mainfrom
LuisBiceps:feat/system-service-web-browser-unavailable
Oct 9, 2026
Merged

oneandonlydean merged 3 commits into
boykopovar:mainfrom
LuisBiceps:feat/system-service-web-browser-unavailable

Conversation

@LuisBiceps

@LuisBiceps LuisBiceps commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

What

Exports sceSystemServiceLaunchWebBrowser (NID -+3hY+y8bNo) from libSceSystemService. AnyPS5 launches no web browser, so it fails with the kernel's EOPNOTSUPP (0x8002002D) for any arguments, the same choice as sceTextToSpeech2Initialize (#1374).

  • RommPS (PPSA76677) 1.1.0, released today, declares int sceSystemServiceLaunchWebBrowser(const char *uri, void *param) (credits.cpp L16) and calls it as sceSystemServiceLaunchWebBrowser(url, nullptr) == 0 (L86-L95).
  • When the call fails, RommPS's message becomes "The browser didn't open. Scan the code to watch on your phone", pointing at the QR code it shows for the YouTube video (L396-L411).
  • Opening the host's browser would not help here: the page RommPS opens, http://127.0.0.1:8780/video?v=..., is served by its own payload on the console (L239-L242).
  • The console's error for an unavailable browser, its argument checks and the param layout are unknown. They are recorded in TechnicalDebt, under silent stubs and unknown function info.
  • PSXS5 (PPSA97510), SwanStationPS5 (PPSA98510) and ScreenTester5 (PPSA69420) import it too, behind earlier stops.

RommPS 1.1.0, from its GitHub release (the homebrew catalog reserves PPSA76677 for it; the 1.1.0 listing is pending), relinked with --windows and run on Windows 10:

Tested

  • guest_system_service now also checks that sceSystemServiceLaunchWebBrowser returns 0x8002002D for:
    • RommPS's call (a URL and a null param);
    • an https URL with a non-null param, which must stay untouched;
    • an empty URI;
    • a null URI.
  • Windows 10, MinGW-w64 GCC 15.2.0 (WinLibs 15.2.0posix-14.0.0-ucrt-r7), Release: passes (--repeat until-fail:3). The NID-patched libSceSystemService.prx exports the NID.
  • Ubuntu 26.04.1 (WSL2), GCC 15.2.0, Release, ANYPS5_ENABLE_SPIRV_TOOLS=ON: passes (--repeat until-fail:3). The NID-patched libSceSystemService.prx exports the NID.
  • The test fails against 12 deliberate breakages:
    • returning success (as shadPS4 does), PARAMETER, -1, or another kernel error;
    • throwing NotImplemented;
    • failing only for a null param, or only for http URLs;
    • reading a null URI, writing the param, or succeeding for an empty URI;
    • returning PARAMETER for a null URI.
  • tools/check_conventions.py and tools/check_test_registration.py pass.

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • AI-assisted: yes

sceSystemServiceLaunchWebBrowser fails with the kernel's EOPNOTSUPP: there is no web browser to open. RommPS PPSA76677 stops on main at this import and shows a QR code instead when the browser does not open.
…st any arguments

The param is void*, as RommPS declares it. The test also passes a null and an empty URI and a param that must stay untouched, and compares against 0x8002002D itself. The debt entries now say the error is returned for any arguments and that the param layout and the console's argument checks are unknown.
@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

Progress report (d70b899 → 50ee20c)

📈 System libraries: 84.7% (+0.01%, +1 implemented functions)

✅ 1 implemented
Library Name
libSceSystemService sceSystemServiceLaunchWebBrowser

@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Oct 9, 2026
@oneandonlydean
oneandonlydean merged commit 51b1c56 into boykopovar:main Oct 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants