Skip to content

Releases

v0.1.0-dev.3

v0.1.0-dev.3 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Dec 14:05

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's guardian_stars matchup table in charge, so custom stars work.
  • Off by default. Turn it on with View > Guardian star helper
    (guardian_star_helper in settings.txt, or
    MEMORIES_GUARDIAN_STAR_HELPER=1). With it off the box is exactly what it
    was, including a mod's card_text_colors colours.
  • "choice": "best" fix. The automatic summon pick read records
    side * 15 + slot with slot 0-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 new pc_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
    extended pc_stars score and better-star cases. pc_settings covers 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.04 with the pinned LLVM 21 and
    devkitA64 (ADR 0005); checksums ship beside the .nro and .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

  1. Enable View > Guardian star helper.
  2. 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.
  3. Repeat against a face-down opponent monster: the colours still appear
    and follow the recorded star.
  4. Summon with no opponent monster on the field: both names stay white.
  5. 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.

v0.1.0-dev.2

v0.1.0-dev.2 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Dec 12:30

v0.1.0-dev.2 — TCG card frames and dynamic field borders (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.1). It is not the
default download.

Highlights

  • TCG card frame colors. Fusion monsters are drawn purple, ritual
    monsters blue, and Ritual Spell cards green; normal monsters, effect
    monsters, other Spells and Traps keep the colors the game already gives
    them. The colors come from a new data-only card_frames manifest table,
    read before every cards entry. It sets only the palette row, so it cannot
    take over another mod's name, text, art, stats or rules; an explicit
    "frame" on a card still wins.
  • New built-in mod card-borders. It ships enabled, with a Dynamic
    field borders
    setting (on by default). The mod is data-only: the .nro
    reads it from the SD card like any other data mod.
  • Dynamic field borders. A monster produced by a Fusion Summon is
    purple on the board and one produced by a Ritual Summon is blue; the same
    card played from the hand has its type's color. The card view, hand and
    Library keep the static identity color. A fusion monster returned to the
    hand and played again is a normal summon and gets its type's color.
  • Duel fixes for the new field color. Field summon origins are cleared at
    duel start, a card played from the hand is not a summon, and a slot that
    changes card drops the old origin. A screen rebuilding a field card keeps
    its color, and save states carry it with the guest RAM.
  • Mod API 31. A build without card_frames refuses card-borders with a
    message instead of loading it colorless. Older builds still run everything
    else; this mod needs this .nro.

Install / upgrade

Unpack yfm-redecomp-v0.1.0-dev.2-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.1 (or
v0.3.0-switch.2) keeps user/ — saves and settings — and the new mod appears
in Game > Mods.

Verification

  • Portable suite on ubuntu-24.04: 216/216 tests, including the new
    frame-table data checks, the card_frames precedence and dynamic-color
    cases in pc_cards_order, and the translated func_80024D34 record test.
  • Switch build and packaging on ubuntu-24.04 with the pinned LLVM 21 and
    devkitA64 (ADR 0005); checksums ship beside the .nro and .zip.
  • The ZIP carries mods/card-borders/ and no executable code for it.
  • Console acceptance: not performed for this build. It was published after
    the CI build at the maintainer's request; a hardware pass is still
    recommended: boot in place of a game, open the Library and card view for a
    fusion monster, a ritual monster and a Ritual Spell, fusion-summon for the
    purple field border, ritual-summon for blue, and replay a bounced fusion
    monster for its type color.

Known limitations

  • With a card_layout anime frame style on, the style's own color wins in the
    card view and the hand, as it does for every style; the board's dynamic
    colors still apply. Turn anime frames off to see the TCG colors there.
  • A mod's copy of a fusion monster reads purple in the card view (it inherits
    its base's table color); on the field it gets its type's color unless it is
    actually fusion-summoned.
  • The 16x16 Build Deck/Trade card icon has no purple palette, so a purple card
    keeps its type's icon there.
  • The field colors are verified by the CI build and the data tests, not by a
    pinned hardware frame.