Skip to content

About

Gives you the possibility to choose your favorite theme and apply it on your NESCE or SNESCE.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Repository files navigation

Options Menu - Theme Selector

Build License: GPL v3 pre-commit

Requires my Options Menu fork as a base — not compatible with any other UI.

Click the image below to view it on YouTube. Theme Selector - Demo

What is it?

A graphical theme manager for the NES, SNES, Famicom and Super Famicom Classic consoles, built on top of my fork of CompCom's OptionsMenu. Pick a theme from a preview grid, download more from an online catalog, build your own from pieces of the themes you already have, and give each folder its own theme and music — all from the console itself, no PC needed after install.

The UI is a standalone C++/SDL app (theme_manager) built against the vendored Options Menu engine, not a set of scripts layered on the stock menu.

Full guides are on the wiki.

Features

  • Installed themes grid — browse your themes by their preview and apply one; the active theme is outlined
  • Download themes from an online catalog of 90+ themes, each credited to its author (Wi-Fi mod required)
  • DIY theme — mix the UI, background and demo sprites (or background color, on a NES) of the themes you already have, preview it live, then save it as a theme of your own
  • Theme and music per folder — give any folder (and Home) its own theme and its own menu music from one screen; folders without one inherit their parent's
  • Theme randomizer — a different theme every time you change folder (off by default)
  • Audio randomizer on Home, optionally on every folder (off by default)
  • Custom fonts per theme
  • Delete a theme from the grid by holding B
  • Clean Up removes the theme files your console type doesn't use
  • Reset Settings puts the mod back to its defaults without uninstalling it or deleting your themes
  • Custom color palette for the Theme Manager UI itself (theme.cfg)
  • Every console and region: NES, Famicom, Famicom Shonen Jump, SNES (USA/EUR) and Super Famicom

Requirements

  • Hakchi2 CE
  • My Options Menu fork v2.1.0 or newer — the base UI this mod plugs into
  • Hakchi Wi-Fi mod (WPA Supplicant), from KMFDManic's store in hakchi — only to download themes from the console
    • Recommended adapter: TP-Link TL-WN725N (Realtek 8188 chipset). Other adapters may work, but aren't guaranteed to.
  • Font Remount mod (font_remount), one of hakchi's built-in mods — applies the theme fonts
  • A USB/SD drive is recommended: themes are often 5–30 MB each

Install

From my Mod Hub (recommended): in hakchi choose Modules → Manage mod repositories and add https://defkorns.github.io/hakchi-repo/. Then open Modules → DefKorns Store and install Options Menu (from the Options Menu tab) and Options Menu - Theme Selector (from the Options Menu - Addons tab). Updates show up there automatically.

By hand: download om_theme-selector.hmod from Releases, put it in hakchi's user_mods folder (or drag and drop it onto the hakchi window), then install it from hakchi (Modules → Install extra modules).

Then open the Options Menu (hold L+R on a SNES/Super Famicom, B+Down on a NES/Famicom) and go to Themes. Step by step, with screenshots: Installation and Usage.

Getting themes

From the console (needs the Wi-Fi mod):

  1. Go to Themes → Download Themes and select Update Theme List.
  2. Pick a theme from the grid — each one shows its preview, size and author — and press A. A progress bar shows the download, and you're back in the list once the theme is installed.
  3. Back in Installed Themes, select the new theme and press A to apply it. The console reboots with it.

All SNES Themes / All NES Themes downloads the whole catalog at once, with a log of each theme. It's several hundred MB, so it only shows up when a USB/SD drive is connected.

By hand: copy a theme folder, or a catalog package such as SNES.<name>.tar.gz, into the themes folder for your console (see Where things live), then open Themes: packages are unpacked and new themes added on their own. Packages are in the om-theme-downloads release; the prefix (SNES., NES., SHONEN.) must match your console.

More: Usage → Downloading themes and Adding themes by hand.

Where things live

USB/SD NAND
Themes /media/hakchi/themes/<console> /var/lib/hakchi/rootfs/usr/share/themes/<console>
Menu music /media/hakchi/music_menu /var/lib/hakchi/rootfs/usr/share/music_menu

<console> is nes, snes or shonen. With a USB/SD drive connected, themes always go there.

Customizing the look

The Theme Manager's own UI (not your game themes) reads its color palette from /etc/options_menu/theme.cfg at startup — edit the Key=R,G,B lines (background, borders, accent, badges, the active-theme border...) or delete a line to fall back to the default.

Building from source

git clone --recursive https://github.com/DefKorns/om_theme-selector.git
cd om_theme-selector
./build.sh            # cross-compiles theme_manager and sprite_crop, then packages out/om_theme-selector.hmod
./build.sh compile    # binaries only

build.sh runs make inside the classicmini-cross-toolchain Docker image, so no local ARM toolchain is needed. Versioning and packaging come from hmod-build: the version is the latest v* git tag, and pushing a tag builds and publishes the release.

The downloadable themes catalog lives in om-theme-downloads.

Contributing

Report a bug or suggest a feature; pull requests are welcome too:

  • Formatting: .editorconfig sets it: UTF-8, LF line endings, a final newline, no trailing whitespace, 4 spaces for C/C++, 2 for shell scripts, tabs only in the Makefile.
  • Checks before each commit: pre-commit runs the same checks on the files you stage. Set it up once per clone with pip install pre-commit and pre-commit install; cppcheck has to be installed separately and on your PATH; pre-commit run --all-files checks everything.
  • Only change what you need: don't reformat, re-indent or strip whitespace in lines you aren't changing. The Style check on pull requests looks only at the lines you add.
  • Everything else follows the Options Menu's code style.

Credits

  • DefKorns
  • DanTheMan827 — packed.png extractor
  • Theme authors — credited on each theme in the download catalog

Thanks

License

GPLv3 or later — see LICENSE.

About

Gives you the possibility to choose your favorite theme and apply it on your NESCE or SNESCE.

Resources

Stars

9 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages