Repository navigation
Conversation
The game reads the console's language and confirm button through sceUtilityGetSystemParamInt (ids 8 and 9) and passes them on to sceImposeSetLanguageMode. PortableKit answered as a Japanese console, so the game took circle as confirm: its language screen showed "○ Confirm", and "confirm on the south button" put circle, not cross, there. - The profile now reports English and cross (system_language 1, confirm_button 1), which the European release UCES-01059 expects. - PortableKit moves to purun/confirm-cross: e73a866 with the profile's console settings from its main branch, a "[sysparam]" trace under TRACE_KERNEL, and a pad mapping that puts the console's confirm button on the face button input.confirm names, south by default here. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
On the European release (UCES-01059) cross confirms and circle goes back, but the port made the game confirm with circle: the language screen showed "○ Confirm".
Traced with
PURUN_TRACE_KERNEL(the new[sysparam]lines):The game reads the console's confirm button and uses it; PortableKit at
e73a866always answered as a Japanese console.host/purun_profile.cpp:system_language = 1,confirm_button = 1.portablekitmoves topurun/confirm-cross. That ise73a866with three commits on top: "Let a profile say which console the game runs on" (cherry-picked from PortableKit main), the[sysparam]trace, and a pad mapping that follows the console. Before this, "confirm on the south button" meant that south pressed circle. Nowinput.confirmnames the physical button that presses the game's confirm button. It defaults to south where cross confirms, and a value insettings.iniorPURUN_PAD_FACEstill wins. The same PortableKit change for main is in Put the console's confirm button where the player's setting says PortableKit#40.docs/MISSING.md: the language screen line.Verified
macOS arm64 (M1), this branch at its head, recompiled build, fresh install from the disc image into a new data dir, windowed,
PURUN_NO_AUDIO=1, virtual pad throughPURUN_INPUT_SCRIPT. I looked at the captures:[pad] PortableKit input script connected; confirm (cross) on the south button, right stick as camera.portablekit_input_testsandportablekit_settings_testspass.Not verified
settings.inialready holdsinput.confirm=east, from saving settings before this change, keeps the right button as confirm. That is the saved choice, and the menu orinput.confirm=southchanges it.🤖 Generated with Claude Code