Repository navigation
v0.1.0-dev.3
Pre-release
Pre-release
·
26 commits
to master
since this release
v0.1.0-dev.3 — Guardian star helper (pre-release)
A pre-release dev build of the Nintendo Switch homebrew, based on upstream
v0.3.0 (the previous Switch build here is v0.1.0-dev.2). It is not the
default download.
Highlights
- Guardian star helper. When one of your monsters is summoned and the game
asks SELECT A GUARDIAN STAR, the two names now show which star is the
better one to pick against the opponent's played monsters: the better star
is green, the worse red, and an even pair stays white. The
decision is a comparison of the two stars, not an absolute good/bad: if both
are unfavourable, the less bad one is still green. - It reads the field, not the hand. The score is
sum(Bonus(star, enemy) - Bonus(enemy, star))over the opponent's monster
row. Face-down monsters count too: the record still holds the star the
monster was given, and the choice is made against what the opponent has
actually played. Spells, traps and hand cards are not counted.Stars_Bonus
keeps a mod'sguardian_starsmatchup table in charge, so custom stars work. - Off by default. Turn it on with View > Guardian star helper
(guardian_star_helperinsettings.txt, or
MEMORIES_GUARDIAN_STAR_HELPER=1). With it off the box is exactly what it
was, including a mod'scard_text_colorscolours. "choice": "best"fix. The automatic summon pick read records
side * 15 + slotwithslot0-4, which is the opponent's hand, not its
monsters. It now reads the opponent's monster row, face-down monsters
included, and so agrees with the helper. A mod using
"guardian_stars": {"choice": "best"}will pick differently — correctly —
from this build on."ask"and"first"are unchanged.- No gameplay change. Nothing here touches the duel's arithmetic, random
numbers, saves or matching code;src/game/is untouched. The colour is
written through the port's existing text-colour hook and restored as the
game restores every text colour.
Install / upgrade
Unpack yfm-redecomp-v0.1.0-dev.3-switch.zip onto the SD card's root, or copy
the .nro into sdmc:/switch/. Put your USA disc's .bin in
sdmc:/switch/yfm-redecomp/game/ and start the homebrew in place of a game
(hold R while starting any title). Upgrading over v0.1.0-dev.2 keeps
user/ — saves and settings — and the new option appears under View.
Verification
- Portable suite on
ubuntu-24.04: green, including the newpc_stars_duel
(tests/pc/stars_duel_test.c), which pins the monster row against the hand
and spell rows, face-down monsters, the chosen star and the side, and the
extendedpc_starsscore and better-star cases.pc_settingscovers the
new key and its host-only replay class. - The same cases were built and run locally on Windows x64 (clang, the
project's Windows pointer model) as a focused check; the CI suite is the
authority for the full set. - Switch build and packaging on
ubuntu-24.04with the pinned LLVM 21 and
devkitA64 (ADR 0005); checksums ship beside the.nroand.zip. - Console acceptance: not performed for this build. It is published after
the CI build at the maintainer's request; a hardware pass is still
recommended (checklist below).
Hardware checklist
- Enable View > Guardian star helper.
- Summon a two-star monster while the opponent has a face-up monster it
beats with one star and loses to with the other: the better star's name is
green, the worse red. - Repeat against a face-down opponent monster: the colours still appear
and follow the recorded star. - Summon with no opponent monster on the field: both names stay white.
- Turn the setting off and confirm the box is the previous white (or mod)
colour, and that later text/boxes are not tinted.
Known limitations
- It is a guardian-star comparison, not a battle simulation: ATK/DEF,
position, terrain, equips and monster effects are not part of the score. - It uses the recorded stars of the opponent's face-down monsters. That is
deliberate — the pick answers "what is best against what has been played" —
but it does use information the card back hides from the player. - Green and red are the game's own text ramps; there is no second symbol for
colour-blind players. An exact tie stays white.