Skip to content

Portal mode: lighter video settings while Remote Play streams - #9

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

Vampinity merged 1 commit into
game-tilesfrom
portal-mode

Conversation

@Vampinity

Copy link
Copy Markdown
Owner

Requested by Robin · project thread

Before: a game played on a PlayStation Portal renders exactly as it does on the TV. That includes resolution scales above 1x, 120 Hz or 1440p/2160p output, even though the stream can't show any of it.

After: if Remote Play is streaming the console when a game starts, that session renders at no more than 1x, 60 Hz and 1080p. Settings already within those limits are left alone, so on such a setup nothing changes. The saved settings are never modified. The session log reports what was detected and what was changed (Portal mode: ...).

How: headless/remote_play.h loads the console's libSceRemoteplay.sprx at runtime instead of linking it, so if the library is missing the app still starts and Portal mode just stays off. It then asks sceRemoteplayGetConnectionStatus about each signed-in user, calling sceRemoteplayInitialize first if the library hasn't been initialized. main.cpp applies the limits where the per-game video settings are resolved. Setting "video": {"portal_mode": false} turns it off.

Untested on hardware: I'm inferring the PS5 call signatures from the PS4 library, so the first run on the console needs to confirm that the log line reports Remote Play correctly.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WrdmtysENtskTSRupGgiqX


Generated by Claude Code

…eams

A game started while a Remote Play client streams the console renders at
most 1x, 60 Hz and 1080p for that session, the most the stream can show.
Settings already within the caps are left alone. The saved settings are
not changed. video.portal_mode false switches it off.

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 8, 2026
@Vampinity
Vampinity marked this pull request as ready for review October 8, 2026 12:41
@Vampinity
Vampinity merged commit 330ab4c into game-tiles Oct 8, 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