Skip to content

Portal mode: stop the launch crash from the sandbox path lookup - #11

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

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

Conversation

@Vampinity

Copy link
Copy Markdown
Owner

Before: with the build from #10, every game launch ends right away with "PPSA99008 crashed … 0xa002030a (SYSTEM_ILLEGAL_FUNCTION_CALL)", with or without Remote Play.

After: Portal mode finds the console's Remote Play library the way a game is allowed to, so games start again and the check can see a stream.

The crash came from asking the kernel directly for the sandbox's folder name (the randomized_path syscall). Payloads may do that; a game may not.

How: sceKernelGetFsSandboxRandomWord() from libkernel gives the same name, so remote_play.h uses that instead and no longer makes a raw syscall.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WrdmtysENtskTSRupGgiqX


Generated by Claude Code

… kernel

The randomized_path syscall works from a payload but not from a game: the
console ends ProsperoEden at launch with SYSTEM_ILLEGAL_FUNCTION_CALL. Use
sceKernelGetFsSandboxRandomWord, which libkernel offers apps for this.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WrdmtysENtskTSRupGgiqX
@Vampinity
Vampinity marked this pull request as ready for review October 10, 2026 14:16
@Vampinity
Vampinity merged commit 10601fe into game-tiles Oct 10, 2026
1 check failed
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