Skip to content

Prefer res_mods ribbon skins with bundled art fallback - #58

Merged
langyo merged 19 commits into
masterfrom
feat/res-mods-ribbon-skins
Aug 6, 2026
Merged

Prefer res_mods ribbon skins with bundled art fallback#58
langyo merged 19 commits into
masterfrom
feat/res-mods-ribbon-skins

Conversation

@langyo

@langyo langyo commented Aug 5, 2026

Copy link
Copy Markdown
Owner

res_mods ribbon skins

  • New Tauri command
    ibbon_skin_dir(game_path): walks the game's
    es_mods\ tree and returns the deepest \gui/ribbons\ directory (versioned mod folders), or null when unmodded
  • Mock backend mirrors it (reads the real res_mods tree so browser preview matches the desktop shell)

  • ibbonIcons.ts\ loader: resolves a ribbon by logical name — res_mods skin via convertFileSrc when installed, else the bundled stock art (res/images/ribbons, 33 main + 39 sub)

Next (pending ribbon-index mapping research)

The BattleResults [24+]\ counters bundle many battle stats; mapping each index to a specific ribbon needs the client's ribbon-list order. The loader + skin mechanism above is ready for the ribbon-strip UI once that mapping lands.

@langyo
langyo merged commit 104ab28 into master Aug 6, 2026
2 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