Skip to content

Releases

Hotkey Suite 1.17.6

Choose a tag to compare

@github-actions github-actions released this 30 Sep 00:15

Fixed

  • Menu Hotkeys and the Radial Menu silently stopped dispatching on
    Emerald.
    Every Gen 3 reach for the START menu's own shell went through
    src.ui.StartMenu, a Gen 1 module name that src/mods/Gen3Compat.lua
    transparently redirects to the real src/ui/game3/start_menu.lua shell --
    but only for the "frlg" family (Gen3Compat.FAMILIES = { frlg = true };
    src/mods/Loader.lua's own compatFor() drops the whole facade once
    Gen3Compat.appliesTo(version) says no, which it does for anything whose
    GameVersion.layout() is not "frlg"). On Emerald that redirect never
    fires, so the name instead loaded the literal Gen 1 file
    (src/ui/StartMenu.lua), whose only export is a .new(game) built for a
    Gen 1 save shape. shared.refreshStartMenuItems called that
    unconditionally and threw the moment MENU HOTKEYS' own settings screen
    tried to build its row list, which is why the whole page came up empty --
    not even the ENABLED switch survived the throw. The Radial Menu and
    menu.activator's Gen 3 dispatch (used by both) hit the same wall from
    different call sites, and QUICK EXIT's leftover-menu close silently
    no-opped for the same reason. Fixed by reaching
    src/ui/game3/start_menu.lua and src/ui/game3/hud.lua directly
    wherever this suite means the real Gen 3 shell, the same way
    battle.gen3 already reaches src/core/game3/battle directly instead of
    through a compat name -- so every one of these paths now works
    identically on FireRed, LeafGreen, and Emerald, with no change on either
    of the first two.

  • The battle command menu's and move list's own D-pad-direction arrow
    glyphs (CMD MODE / DIRECT SELECT) landed on the wrong part of the screen
    on Emerald.
    src/core/game3/battle/ui.lua's own
    draw_action_menu/draw_move_menu switch to a different cursor formula
    (draw_action_menu_rse/draw_move_menu_rse) whenever
    BattleChrome.isRse() is true, because Emerald's action and move-list
    windows sit at different rows than FireRed/LeafGreen's fixed layout. This
    suite's own overlay glyphs were a fixed pixel table ported from the
    FireRed/LeafGreen formula only, so on Emerald they drew over the wrong
    part of the screen instead of the row they were meant to mark. Fixed the
    same way 1.17.5 fixed Gold's WIDE + EXTENDED docking: by reading
    BattleChrome's own public isRse()/textOrigin()/WIN instead of a
    second, drifting copy of the number, falling back to the existing
    FireRed/LeafGreen table whenever BattleChrome reports anything else (or
    cannot be read at all), so FireRed and LeafGreen draw exactly as before.

  • tests/hotkey_suite_test.lua could not run to completion, independent
    of this release's own Emerald fixes above -- confirmed by reproducing each
    failure verbatim on the untouched 1.17.5 checkout first. Four separate
    drifts had accumulated: two assertions still read AUTO TEXT and its
    speed table off shared.commandMenu, which is where they lived before
    1.7.0 moved the whole Battle Text module (and that config) out to its own
    shared.battleText; the feature-count assertions and registry checklist
    were never bumped for that same battle_text feature registering itself
    alongside the five already counted; the generic "every feature leads with
    ENABLED" loop called every rows() with a bare {} game, which
    menu_hotkeys.rows() (uniquely among the suite's features) cannot
    tolerate, since it unconditionally discovers live START-menu items and,
    on a Gen 1/2 boot, that falls through to the real src/ui/StartMenu.lua,
    which reads game.save.flags/.party/.player.name while building its
    item list; and three assertions still covered the dedicated
    hotkey_suite_ascendant Start Menu entry that 1.7.0 removed outright
    (see that version's own "Removed" entry) in favor of OPTIONS > HOTKEY SUITE as the single entry point. Fixed the first two by reading
    shared.battleText instead and bumping the counts/checklists, gave the
    generic loop a minimally save-shaped stand-in instead of {}, and
    deleted the Ascendant assertions outright rather than reinventing a
    removed feature.

  • The new Gen 3 (Emerald) coverage this release adds had two of its own
    bugs, caught before they ever reached anyone else's checkout: the
    Emerald-vs-FireRed/LeafGreen arrow "position differs" assertions compared
    the arrows' x, which pokeemerald's own ActionSelectionCreateCursorAt/
    MoveSelectionCreateCursorAt tile math happens to land on the same
    column as the suite's existing FireRed/LeafGreen table for this test's
    stub values -- the row (y) is what actually tells the two families
    apart, so the assertions now compare that instead. And the Gen 3 load
    itself always carries one expected, non-fatal entry in its own errors
    list on every Gen 3 edition (FireRed and LeafGreen included, not just
    Emerald): mod.content.screens has no Gen 3 target at all in
    src/mods/Schemas.lua's routing table (Gen 3 takes the Start Menu route
    through features/gen3_ui.lua instead), so src/mods/Loader.lua drops
    that registration and reports it once, non-fatally. The Gen 3 "loads
    clean" assertion now allows exactly that one message rather than
    requiring an empty errors list.

Hotkey Suite 1.17.5

Choose a tag to compare

@github-actions github-actions released this 26 Sep 04:12

Added

  • DIRECT SELECT (BATTLE CMD MENU): retires the CMD MODE hold entirely
    when turned on. Any bare D-pad/direction press while the command menu or
    move list is genuinely open instantly chooses that row, with no combo
    held down first, on all three generations. CMD MODE and RUN still work as
    their own separate presses either way, and a direction press outside a
    battle (or with no menu open) still falls through to whatever it would
    normally do -- this never hijacks overworld movement.

Fixed

  • Gold's command/move-menu arrow markers landed on empty screen whenever
    the WIDE + EXTENDED battle HUD docked its bottom box to the playfield
    edge.
    WideBattle.drawDocked slides that whole box by its own
    dockOffsets() before drawing it, but this suite's arrow overlay always
    drew at the fixed y every other layout uses, missing the box entirely
    once docking kicked in. Docking itself depends partly on BATTLE SIZE
    (fit/fill) for a non-white BATTLE BG, which is what made toggling that
    setting look like it was moving the markers around. Fixed by porting
    WideBattle's own offset math (its scale, origin and playfield inputs are
    all public) and applying it to the markers whenever docking is active.

Hotkey Suite 1.17.4

Choose a tag to compare

@github-actions github-actions released this 25 Sep 20:24

Fixed

  • RETURN CENTER was an instant, silent cut on Gold and FireRed instead of
    the DIG/TELEPORT-style spin Red's own beginTeleportOut already played.
    Gold now plays the same spin animation the party menu's own DIG/TELEPORT
    action and the BagMenu's ESCAPE ROPE use (World:runEscapeWarp /
    digReturn), aimed at the heal point instead of the rope's own
    cave-only destination. FireRed now plays pokefirered's own teleporter spin
    (Warp.scripted(..., "warpteleport", ...), the same one Silph Co's and
    Sabrina's Gym's warp tiles use) instead of a bare Field.respawnAtHeal.
    This also fixes a latent crash on FireRed: ow:warpToHealPoint()'s colon
    call handed the compat shim's plain onDone parameter the whole ow
    table, which its own if onDone then onDone() end then tried to call.

Hotkey Suite 1.10.0

Choose a tag to compare

@github-actions github-actions released this 21 Sep 03:53

Added

  • Gen 2 support (Gold / Silver / Crystal). The suite now loads and runs on
    a Gen 2 boot alongside Gen 1, with the same modules, the same settings and
    the same bindings. Gold is a second engine beside Red rather than a skin over
    it, so the battle modules no longer read the battle's internals directly:
    every phase, message and ball read now goes through one adapter that probes
    for the capability it needs instead of asking which game is running.
    • The move list is moveSelect on Red and moves on Gold; the command menu
      is menu on both.
    • Red parks on a battle message by raising a flag, Gold by holding a frame
      count that only a button clears. AUTO TEXT reads both.
    • The level-up stats window is a screen pushed over the battle on Red and a
      phase on the battle itself on Gold. LEVEL UP advances both.
    • Gold runs the whole learn-a-move flow as phases rather than pushed boxes.
      LEARN TEXT pages its preamble and, as on Red, never touches the
      forget-a-move decision itself.
    • SKIP LV SFX releases Gold's sound hold for the level-up fanfare and the
      exp bar. The caught-a-mon jingle shares that same field and is left alone.
    • The ball menu throws through Gold's own item path, which spends the ball
      itself, and reads the BALL pocket rather than a list of ball names. Gold's
      Bug Contest is counted off its own PARK BALL counter instead of the pack.
  • Start-menu bindings survive switching generations. Gold labels the same
    menus PACK, OPTION and STATUS where Red has ITEM, OPTIONS and the
    trainer card. Because settings are stored per installation rather than per
    save, those three now bind to the same hotkey in both games.

Changed

  • The settings screens no longer borrow the engine's OptionsMenu or its
    OptionRows. Both are Gen 1 shapes: OptionRows has no Gen 2 counterpart
    at all, and OptionsMenu ignores caller-supplied rows on Gen 2, so the
    suite's own lists came up showing the game's OPTION screen instead of
    themselves. The suite now owns every screen it opens. They are unchanged on
    Gen 1, to the pixel — including BACK sitting below the list, the wrap order,
    and the exit sound.

Fixed on Gen 2

  • The menu hotkeys and the radial menu did nothing on Gold, and the battle
    command menu never opened. All three had the same cause: the suite read
    Red's object graph directly, and Gold keeps the same facts elsewhere.

    • Gold runs the overworld as a field on the game with an empty state stack,
      where Gen 1 runs it as the bottom state. Every overworld hotkey tests that
      stack to decide whether it may fire, so all of them were silently disabled.
      The suite now locates the world on either engine, and defers to Gold's own
      World:busy() — which accounts for the script VM, map setup, text and
      choice boxes, field-move tails, fishing and headbutt — rather than
      re-deriving a narrower answer.
    • Gold's start-menu rows are data, and carry no function to call; the suite
      kept only rows that carried one, so it kept none. It now opens a row
      through the engine's own dispatch. The row's id arrives as its value —
      the rows the engine hands a mod are built fresh for display and have no
      id field at all, so keying on id dropped every one of them.
      SAVE, POKEDEX, POKEMON, PACK, POKEGEAR, STATUS, OPTION and MODS are all
      bindable. QUIT is deliberately not: Gold confirms it inside the menu, and
      dispatching it directly would skip that prompt and discard unsaved play.
    • Gold's battle screen holds its fighter one level down, names the move list
      moves, and keeps no data table of its own, so every readiness check
      failed. Those reads now go through the adapter. Gold also keeps the
      fighter's HP on the fighter itself where Gen 1 nests it one level deeper;
      because the command and ball menus gate on HP and the move menu does not,
      the move menu worked on Gold while those two stayed dead.
    • The control arrows sat on the wrong letters on Gold. The legend is
      painted into the battle's native tile grid, and the suite was painting
      Gen 1's cells. Both engines step the command rows by 16px, so the rows
      were right and only the columns were wrong — the arrows landed a whole
      column to the left, over FIGHT and PACK. Gold's command cursor now comes
      from Gold's own box and column-spacing tiles, including the contest
      layout and the wide layout's 18-tile gutter. Gold's move list also never
      reflows into two columns the way Gen 1's does when wide — the gutter only
      widens the box — so its arrows now stay in a single column beside the
      move names.
  • Every travel hotkey was dead on Gold, FLY included — and RETURN CENTER
    and BICYCLE with it. They each asked Red's question before firing: "is the
    overworld the one and only state on the stack?" Gold runs the overworld as
    a field and updates it only while that stack is empty, so the answer was
    never yes. The frame test now fits either engine.

  • FLY now works on Gold, through the engine's own field-move pipeline.
    Fly is missing from the field-action table Gold's WorldAPI walks, but the
    pipeline that table feeds handles FLY like any other field move, so the
    hotkey goes in there instead of reimplementing anything. Every one of the
    engine's gates is kept: the STORM badge, the outdoors-only check that counts
    a POKEMON CENTER as indoors, the engine's own refusal lines, the native fly
    map and the bird. Who may fly is resolved through Gold's
    fieldmove.eligibility hook chain, so another mod's answer is honoured.
    The row is capability-probed rather than keyed to the game: an engine that
    offers neither route still reads GEN 1 ONLY and accepts no binding.

  • RETURN CENTER refused forever on Gold, even standing in a POKEMON
    CENTER. Red teleports out through one World method gated by the save's
    lastHeal; Gold has neither name, so the hotkey fell into "visit a POKEMON
    CENTER first" every time. Gold keeps the same trip in two halves — the heal
    point, which reads the blackout override ahead of the spawn table so the
    Fast Ship and Mr. POKEMON's house resolve the way the cart does, and the
    warp itself. The hotkey now uses them, and Gold's heal point serves as its
    lastHeal: nothing to return to is still a refusal.

Known limitations on Gen 2

  • Gold's own menus remain the authority on anything the suite only opens: QUIT
    is still not bindable, for the reason above.

Hotkey Suite 1.9.1

Choose a tag to compare

@github-actions github-actions released this 20 Sep 23:42

Fixed

  • AUTO TEXT left several battle messages waiting for a button, most
    noticeably after learning a move: "1, 2 and…", " Poof!", "… forgot …! And…"
    and "… learned …!" each stopped for an A press, as did "… did not learn …!"
    and "HM techniques can't be deleted!". Those messages are drawn in their own
    window pushed over the battle rather than by the battle's own message queue,
    which was the only thing AUTO TEXT watched. It now advances both. Yes/no
    prompts, move selection and menus are still entirely yours — advancing the
    pages of the learn-a-move prompt remains LEARN TEXT's separate opt-in.

Hotkey Suite 1.9.0

Choose a tag to compare

@github-actions github-actions released this 20 Sep 19:07

Added

  • SKIP LV SFX now also silences the learn-a-move jingle. Learning a move
    plays the same blocking fanfare a level-up does, in both of the game's
    paths: straight into a free slot, and through the "delete an older move?"
    screen. Both are now covered by the one setting.
  • LEARN TEXT, a new Battle Text setting. When a Pokémon with four moves
    learns a new one, the game makes you page through "… is trying to learn …",
    "But … can't learn more than 4 moves!" and "Delete an older move to make
    room for …?" before the YES/NO appears. LEARN TEXT advances those pages for
    you and stops at the decision — whether to forget a move is always left
    to you. It uses the module's existing SPEED setting.

Fixed

  • Move accuracy showed no % sign. The Gen 1 font has no percent glyph
    in its charmap, so printing one drew nothing and left the accuracy as a
    bare number with no unit. The sign is now drawn from primitives, the same
    way the power icon is, and is sized to fit its column.

Note

LEARN TEXT ships off, like every other setting in this suite, and the
learn-a-move fanfare is only silenced if SKIP LV SFX is already on.

v1.8.0 - Move info, layout control, level-up SFX skip

Choose a tag to compare

@ojsaucer ojsaucer released this 20 Sep 18:11

Adds per-move stats to the battle command menu, gives that menu real layout
control so it can't spill off a portrait phone screen, and adds a level-up
fanfare skip to the Battle Text module.

Move info in the battle command menu

A new MOVE INFO setting adds a second line to each move in the floating
legend:

  • attack power beside a sword icon (status moves show --)
  • type, abbreviated to three characters so every move lines up
  • accuracy as ##% (moves that never miss show --%)

Types added by other mods are read through the engine's own type chart, so
they show their real names instead of a blank.

Layout and fit

UI LAYOUT joins UI SCALE. The legend can be left on AUTO, or forced to
GRID 2x2 or LIST 1x4. AUTO keeps the compact grid while there's room
and drops to a single column when the grid would otherwise have to shrink to
stay on screen. UI SCALE also gains 50%, 60% and 90% steps.

This release also fixes the legend being drawn off-screen in portrait. It was
positioned against the OS window rather than the game's playfield — on a phone
held upright the window is far taller than the 10:9 frame, so bottom-anchored
legends ended up in the letterbox below the game. The legend now anchors to
the playfield and clamps its scale against both width and height, so it
stays inside the frame at every anchor, scale and layout.

Skip level-up SFX

SKIP LV SFX in the Battle Text module skips the level-up fanfare. The game
blocks on that sound, so skipping it removes the pause that comes with every
level-up. Only the level-up jingle is affected — catching a Pokémon, filling a
Pokédex page and learning a move all still play their fanfares normally.

Note

As always, every new setting ships turned off, and UI LAYOUT defaults to
AUTO. Nothing changes until you turn it on.

Installing

Use Update in the launcher's MODS panel, or download
hotkey_suite-1.8.0.zip below and use Import mod .zip.

Hotkey Suite 1.7.2 - launcher updates fixed

Choose a tag to compare

@ojsaucer ojsaucer released this 20 Sep 16:56

Launcher updates now work

The launcher's MODS panel showed neither Update nor Versions for this
mod. Two things were wrong, and both are fixed here.

1. The manifest never told the launcher where the mod lives. The engine
treats a missing github field as "no auto-update UI for this mod". The
manifest now declares "github": "ojsaucer/gen1recomp-hotkey-suite".

2. Release archives had the wrong shape. Every file used to sit inside a
hotkey_suite/ folder, but Import mod .zip, Update and Versions
all install archives whose files are at the archive root. This release ships
flat, named hotkey_suite-1.7.2.zip per the engine's convention.

⚠️ This one update must be installed by hand

The launcher reads the repository field from the copy of the mod you already
have installed — and 1.7.1 and earlier don't have one, so they cannot offer
themselves an update.

Download hotkey_suite-1.7.2.zip below and extract it into
mods/hotkey_suite/ (so manifest.json sits directly in that folder,
replacing the old files). From 1.7.2 onward, Update and Versions work from
the launcher.

Your settings are stored outside the mod folder and are not affected.

No gameplay behaviour changed in this release — see CHANGELOG.md for the
1.7.1 fix that got every module booting correctly.

v1.7.1 - Critical: settings were never read back

Choose a tag to compare

@ojsaucer ojsaucer released this 20 Sep 16:41

Critical fix: every module came up OFF on each launch

If you ran 1.7.0, your modules were switching themselves off every time you started the game — while your settings screens, and the settings file on disk, kept showing exactly what you had configured.

What happened. The 1.7.0 settings writer emitted a file that already began with return, and the reader prepended a second one, producing return return { — a syntax error. Every load failed. The suite started from its defaults (every module disabled, every hotkey unbound) on every boot.

Why it looked fine. The legacy importer is what hid it. Because the "already migrated" marker was itself unreadable, the import re-ran on every launch and rewrote the settings file from your save slot. So the file on disk stayed complete and correct the entire time, and the settings screens read it correctly — while nothing it described was ever actually in effect.

Your settings are safe. Nothing was lost; they were being ignored, not erased. This release reads them back correctly, and a settings file written by any earlier build is still accepted.

Also: a settings file that exists but cannot be parsed is now reported in the log instead of silently falling back to defaults, and is left untouched on disk until you change a setting — so this class of bug can't be invisible again.

Testing

The smoke harness gained the test that would have caught this: it boots a second, completely fresh copy of the mod against the same cache contents with an empty save bucket — a real restart — and asserts the values come back and that the input broker reports non-zero assigned and active hotkeys. Checking that the written file parses was not the same as checking the mod could read it back, which is precisely how this shipped.

Verified to fail against the 1.7.0 reader and pass against this one, and confirmed by booting against a real player's settings file: 12 assigned, 12 active, all modules ON.


Upgrading: replace your hotkey_suite folder. Your existing settings are picked up automatically.

v1.7.0 - Settings persistence, Battle Text, reorganized options

Choose a tag to compare

@ojsaucer ojsaucer released this 19 Sep 03:04

Settings now survive restarts

This release fixes the root cause behind several long-standing reports: hotkeys that read as assigned but fired nothing, settings that reverted on restart, and every binding going dead after a crash.

Configuration was stored in mod.save, which the engine backs with save.modData — save-slot state that only reaches disk when you save in-game, and which Game:adoptSave replaces outright on NEW GAME and CONTINUE. Because every hotkey compiles its combination once at registration, swapping that table out left the input broker holding boot-time (empty) combinations while the settings screens still displayed the real ones.

Configuration now lives in mod.cache: installation-scoped, independent of save slots, and written straight through to disk the moment a setting changes. Your existing settings are imported automatically on first run, and the import latches so loading an older save can never overwrite them.

New: Battle Text module

  • AUTO TEXT — advances battle messages on its own
  • LEVEL UP — also dismisses the level-up stat window
  • SPEED — rate for both

Auto text moved here out of Battle Command Menu, where it never thematically belonged.

Reorganized options

OPTIONS > HOTKEY SUITE > KEYBOARD/GAMEPAD > OVERWORLD/BATTLE/GENERAL > MODULES

Each module is filed under the context it's used in, so the list stays navigable as more modules ship.

Help and discoverability

  • Press START on any setting for an explanation of what it does.
  • Binding screens show a SEL:CLEAR ST:HELP legend along the bottom. It replaces the old BACK row — B still backs out.

Also fixed

  • Help text no longer scrolls past before it can be read. TextBox only waits for a button at a page break; within a page it advances line to line on its own, scrolling a two-line window. Help is now pre-broken into two-line pages.
  • Keys bound to a hotkey no longer double-fire while you're editing bindings.
  • Autofire no longer drives the suite's own screens.

Removed

  • The START MENU > ASCENDANT entry. Kanto Ascendant's collector only files items under four hardcoded groups, and its ASCENDANT > SETTINGS screen builds children from a private registry with no third-party injection point — no contextually sensible placement was reachable. OPTIONS > HOTKEY SUITE is the single entry point and works with or without Kanto Ascendant.

⚠️ Everything starts OFF

Every module ships disabled and every hotkey ships unbound. Installing the suite changes nothing until you opt in.

Install: drop the hotkey_suite folder into your mods/ directory.