Skip to content

Portal mode: find the Remote Play library from inside the app sandbox - #10

Merged
Vampinity merged 1 commit into
game-tilesfrom
portal-mode-sandbox
Oct 10, 2026
Merged

Vampinity merged 1 commit into
game-tilesfrom
portal-mode-sandbox

Conversation

@Vampinity

Copy link
Copy Markdown
Owner

Requested by Robin · project thread

Before: on the console, every game launch logged Portal mode: Remote Play not checked (module 0x80020002), so Portal mode could never detect a Remote Play stream.

After: the Remote Play library is loaded through the sandbox's own path to the system folder, so the connection status check actually runs.

How: inside an app's sandbox, the system folder appears under a random name (/<word>/common/lib) rather than at /system. remote_play.h now gets that name from the kernel's randomized_path call (602), the same way the SDK's loader does in crt/rtld.c, and tries those paths before the /system ones.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WrdmtysENtskTSRupGgiqX


Generated by Claude Code

…m path

Inside the app's sandbox the system folder is not at /system but under a
random name, so loading /system/common/lib/libSceRemoteplay.sprx failed
with 0x80020002 (not found) on the console and Remote Play read as off.
Look the name up with the randomized_path call, as the SDK's loader does,
and try those paths first.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WrdmtysENtskTSRupGgiqX
@Vampinity Vampinity self-assigned this Oct 9, 2026
@Vampinity
Vampinity marked this pull request as ready for review October 10, 2026 14:14
@Vampinity
Vampinity merged commit b0bbc2c into game-tiles Oct 10, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants