Skip to content

Restructure om_vars: Downloads, installed themes and Folder Themes - #19

Merged
DefKorns merged 3 commits into
standalone-enginefrom
refactor/om-vars
Oct 21, 2026
Merged

DefKorns merged 3 commits into
standalone-enginefrom
refactor/om-vars

Conversation

@DefKorns

Copy link
Copy Markdown
Owner

First steps of restructuring om_vars in place, one menu at a time. The file and themeGenerator keep their names, since the published catalog's get_<theme> scripts source om_vars and call themeGenerator.

  • Downloads: the catalog functions grouped in a #### DOWNLOADS section; rm -f ./*.tar.gz instead of a shellcheck disable; markNewThemes uses locals.
  • Installed themes: opening the Theme Manager after applying a theme or installing one no longer rebuilds all 85 commands (~1.6s + loading screen). themeSync adds the missing themes, removes the gone ones and rewrites the delete line of the previous and the new applied theme (~0.09s). The full themeLoader stays for reload and first run.
  • Folder Themes: the themes list is built with one find for the music check and shell reads for title and preview (~1.1s to ~0.5s, output identical).

Tested on a SNES console (SFC firmware, 85 themes): incremental output compared file by file with the full rebuild.

Stacked on #18.

@DefKorns
DefKorns changed the base branch from feat/cl-rebind to standalone-engine October 21, 2026 18:58
@DefKorns
DefKorns merged commit cd65c8b into standalone-engine Oct 21, 2026
6 checks passed
@DefKorns
DefKorns deleted the refactor/om-vars branch October 22, 2026 09:52
@DefKorns DefKorns mentioned this pull request Oct 22, 2026
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