Skip to content

Merge Development: Options Menu v2.0.0 - #2

Merged
DefKorns merged 131 commits into
masterfrom
development
Oct 20, 2026
Merged

DefKorns merged 131 commits into
masterfrom
development

Conversation

@DefKorns

Copy link
Copy Markdown
Owner

Rewrite of the interface and a large part of the scripts, continuing CompCom's Options Menu.

  • New look: TTF fonts, preview icons, toggle switches, themable colors
  • 9 languages, including Russian and Japanese
  • New menus: Controller, Diagnostics, Saved Games, Wi-Fi backups
  • Compat build for setups that replace the console's libstdc++

- Created font8x8_ext_latin.h for extended Latin characters (U+00A0 to U+00FF) with 8x8 bitmap representations.
- Created font8x8_hiragana.h for Hiragana characters (U+3040 to U+309F) with 8x8 bitmap representations.
- Introduced font8x8_latin.h to include basic, control, extended Latin, and Hiragana fonts for comprehensive character support.
- Updated command names to use uppercase and underscores for consistency across the options menu and commands.
- Added new language support for English and Portuguese, including translations for all commands and options.
- Implemented localization functionality to load language files and translate strings dynamically.
- Modified the command execution logic to utilize translated command names and titles.
- Ensured proper handling of newline characters in command files and improved string processing in localization.
- Introduced a new header file `font8x8_katakana.h` containing 8x8 bitmap font data for Katakana characters (U+30A0 - U+30FF).
- Updated `texture.cpp` to include support for rendering Katakana characters by adding a lookup for the Katakana glyphs.
- Enhanced `WriteText` function to handle Katakana characters alongside existing Latin and Hiragana support.
- Modified `gen_splash.cpp` to include Katakana font rendering in the text generation process.
- Updated copyright information in various scripts to reflect new URL.
- Added preview images and dimensions for several RetroArch commands.
- Fixed sleep command syntax in USB_RW.sh.
- Introduced USB_RW_state.sh to report current USB write-access state.
- Enhanced command structure to support toggle states and state updates.
- Implemented NineSlice rendering for UI elements to improve layout handling.
- Integrated new UI theme constants for better visual consistency.
- Adjusted main rendering loop to accommodate modern UI layout and toggle switches.
- Improved command handling to update toggle states dynamically.
- Removed unused preview image coordinates from various language and network command files.
- Updated backup and restore scripts to sanitize SSID inputs and improve error handling.
- Enhanced command execution in the main application to handle non-numeric input safely.
- Implemented UTF-8 truncation for command labels to prevent display issues.
- Adjusted UI rendering logic for modern UI compatibility, including badge display and command execution.
- Added new command for deleting backups in the RetroArch options menu.
- General code cleanup and consistency improvements across multiple files.
- Integrated SDL_ttf for advanced text rendering capabilities.
- Modified Texture class to support TTF fonts, allowing for proportional text rendering.
- Implemented functions to measure text width and line height for TTF fonts.
- Updated existing text rendering functions to utilize TTF where applicable.
- Added a mechanism to set the TTF font path, with a fallback for missing fonts.
- Enhanced text truncation logic to accommodate variable-width fonts.
- Updated main application to utilize new TTF rendering features for UI elements.
- Introduced draw_helpers.h with functions for stroke and fill rectangle drawing, including rounded rectangles and lines for a modern UI aesthetic.
- Updated sdl_context.cpp to improve renderer creation with vsync and added a shutdown method for better resource management.
- Modified sdl_context.h to include a shutdown method and a shutdown flag.
- Refined uitheme.h to adjust color schemes and layout constants for the modern UI, including badge and footer configurations.
- Enhanced main.cpp to integrate new drawing functions, streamline command handling, and improve UI rendering logic, including a new method for drawing rows and managing the display of badges.
- Implemented a confirmation dialog for delete actions with improved user feedback and interaction handling.
DefKorns and others added 29 commits October 13, 2026 13:18
The restore commands folder is empty in the repo, so it never ships in the hmod; create it before listing backups. When no backups are left, remove the empty backup folder and go back to the Network menu instead of opening an empty list.
Files from the 2018 Options Menu predate hakchi's install records, so no uninstall removes them and stale Back/Exit rows and old commands kept showing up. Delete them by name, and uninstall the standalone om-wifi-backup mod, now built into the Options Menu.
The downloader takes --free-label and appends the destination's free
space (USB or NAND) to each progress line. omDownloadAll also removes
fifos left behind by cancelled batches.
Rewrite of the interface and a large part of the scripts, continuing CompCom's Options Menu.

- New look: TTF fonts, preview icons, toggle switches, themable colors
- 9 languages, including Russian and Japanese
- New menus: Controller, Diagnostics, Saved Games, Wi-Fi backups
- Compat build for setups that replace the console's libstdc++
@DefKorns
DefKorns merged commit ed27916 into master Oct 20, 2026
4 checks 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.

1 participant