Skip to content

Add game selection UI, Japanese font support, and HTTPS compatibility#4

Open
kanjieater wants to merge 1 commit intoprodeveloper0:mainfrom
kanjieater:feature/selection-and-font-fix
Open

Add game selection UI, Japanese font support, and HTTPS compatibility#4
kanjieater wants to merge 1 commit intoprodeveloper0:mainfrom
kanjieater:feature/selection-and-font-fix

Conversation

@kanjieater
Copy link
Copy Markdown

Overview

This PR introduces several quality-of-life improvements and technical fixes to enhance localization support and streamline the game selection process.

Changes

1. Title Selection UI (Whitelist Mode)

  • Added a new TitleSelectionScreen that allows users to visually toggle which games to sync.
  • Replaced the manual excludedTitleIds string entry with a persistent, interactive list.
  • Implemented alphabetical sorting for the title list to improve navigation.
  • Logic ensures that homebrew or system titles not currently installed are preserved in the exclusion list rather than being wiped.

2. Localization & Font Support

  • Switched the system font from PlSharedFontType_KO to PlSharedFontType_Standard. This allows Japanese Kanji/Kana and other special characters to render correctly, preventing "tofu" boxes.
  • Updated getTitleName in title.cpp with a robust fallback system. It now attempts to find the system's preferred language, but falls back to any available language in the NACP data if the primary lookup fails.

3. Network & Compatibility

  • Disabled SSL peer and host verification in source/http.cpp.
  • This enables the client to communicate with servers using self-signed certificates or those sitting behind HTTPS/Reverse proxies (like Nginx), which is essential for many self-hosted environments.
  • Optimized the title loading process in the UI to prevent redundant profile selection prompts when entering the selection screen.

Testing

  • Verified on hardware in both Applet and Full Title mode.
  • Confirmed that Japanese titles (e.g., VNs and retro ports) now display correctly.
  • Confirmed that HTTPS syncing works through a local proxy.

@kanjieater
Copy link
Copy Markdown
Author

I would like to show title icons & pagination & loading screen for select games, but for now this will fully address #3

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.

1 participant