Skip to content

Lockstep 6.2

Latest

Choose a tag to compare

@smiei smiei released this 02 Dec 01:42
· 13 commits to master since this release

Lockstep 6.2

Lockstep can now read the game you are playing and fill in the run itself: from RetroArch, or with a small Lua script in mGBA, BizHawk or DeSmuME, for every Generation 3 and 4 game in any Western language. On top: a stream overlay for OBS, a website with a full guide, and a demo with three example runs for the public instance.

Install

Windows Docker Unraid Pinokio Node.js 20.19+
Lockstep-Setup-6.2.exe below (or the portable zip). See Windows app. ghcr.io/smiei/lockstep:6.2 (or :latest). See the compose example. Apps tab → search Lockstep Explore → GitHub or Hugging Face URL: https://github.com/smiei/lockstep-pinokio npm install → npm run setup → npm start

New

  • Auto-tracking from the game. Connect your emulator under Settings → Auto-tracking from the game, and catches, evolutions, nicknames, the team and badges are entered as you play.
    • RetroArch (mGBA and melonDS DS cores) over its network commands, or a Lua script in mGBA, BizHawk or DeSmuME, downloadable from the same page.
    • Ruby, Sapphire, Emerald, FireRed, LeafGreen, Diamond, Pearl, Platinum, HeartGold, SoulSilver, Renegade Platinum, Sacred Gold and Storm Silver, in every Western language: Lockstep finds the team in memory by itself instead of relying on addresses per language.
    • A catch that fits exactly one free route is entered at once; one that could be several routes comes as a note to pick the route. Your first Pokémon goes to the starter route, roamers, gifts and fossils to their own places.
    • You choose what it does on its own: catches, badges and deaths each automatically, only as a suggestion or not at all. By default deaths are only suggested, with a field for the cause; a revive takes the note back. A dismissed note stays dismissed. Nothing is ever deleted, not even when you load an older save.
    • What you put in the PC leaves the team. In a SoulLink the shared team follows the games once all connected players agree.
    • Switching it on mid-run matches what you entered by hand instead of adding it twice, and keeps your own nicknames.
    • The scripts download filled in with your address and code; BizHawk gets a starter file that opens it with the connection.
    • Checked with real games: FireRed, Emerald, HeartGold (also randomized) and Platinum, in RetroArch, mGBA and BizHawk. DeSmuME is experimental. Badges count without saving first. In Generation 3, won rival, villain and League fights are ticked off too; in Generation 4 they and the Kanto badges of HeartGold/SoulSilver stay manual.
    • Only reads, only on a self-hosted Lockstep, and only towards this computer, your home network or Tailscale (playing together from different homes works over Tailscale). LOCKSTEP_SYNC=off switches it off. See the guide.
  • The fight in your game, in Battle & Catch. While you fight, a line shows the opponent's species, level, HP and status; Use puts it on a card (wild: the catch calculator, trainer: the scout), and the card follows the game: for this Pokémon, this fight or always, until you change it yourself or press Stop. In a SoulLink each device takes one player's fight. Generation 3 and 4.
  • Stream overlay for OBS. Settings → Stream overlay builds a link for an OBS browser source: team per player, graveyard with a death counter per player, badges with the next fight, counters and "Run / Best", live, on a see-through page, for one to three players. Every widget can be its own source. The link only shows the run, works without logging in, and can be replaced. See stream overlay.
  • The Lockstep website at https://smiei.github.io/lockstep/: what Lockstep is, how to install it, and a guide in English, German, French, Spanish and Italian to the rules, every rule switch, every tab, the overlay and auto-tracking with step-by-step pages per emulator. Settings → About Lockstep links to it.
  • Demo (public instance): three example runs to try, FireRed, Radical Red and Infinite Fusion with fusions. Each visitor gets a copy of their own, deleted after about a day.
  • The tour points out auto-tracking and the stream overlay.
  • Covers for ROM hacks and Infinite Fusion, chosen from SteamGridDB: Radical Red, Unbound, Renegade Platinum, Blaze Black and 11 more. They need your own free SteamGridDB API key (STEAMGRIDDB_API_KEY, a new optional field in the Unraid template); without one the hacks keep their drawn tile. See ROM hack covers.

Fixed

  • HeartGold/SoulSilver, Sacred Gold, Storm Silver: Fuchsia City is spelled as in the games.
  • Starters and statics: every official game offers its own three starters on the starter route (Emerald showed Johto's, Platinum and others none); legendaries, gifts, eggs and fossils sit on their own static places instead of the town or route around them, and auto-tracking puts them there.
  • FireRed/LeafGreen shows both covers.
  • New run lists the games in release order.
  • Ruby, Sapphire, Emerald, Omega Ruby and Alpha Sapphire: the rival fights show Brendan and May together, since the rival depends on the player's choice.
  • Italian: the app now always says "la run".
  • Security hardening after an audit: limits for backup imports and new runs on the public instance, live updates only for runs a visitor may see, framing protection, rule images only after consent on the public instance, stricter checks for the emulator connections, and with accounts on only the first account overwrites shared rule presets and imported games.

License

From 6.2 on, Lockstep is released under the GNU Affero General Public License v3.0 (or any later version) instead of the MIT License. For running it at home or for your group nothing changes: it stays free to use, change and share. What changes: whoever offers a changed Lockstep to others over a network, for example as a paid service or overlay subscription, has to give those users its source code. Versions up to 6.1 remain under the MIT License.

Upgrading

  • Docker / Unraid: pull the new image and recreate the container. For the emulator scripts (mGBA, BizHawk, DeSmuME), also publish TCP port 55356 (the updated docker-compose.yml and Unraid template do). RetroArch needs no extra port.
  • Windows: run the new setup over the old one. Your runs stay. Allow Lockstep in the firewall if you use the emulator scripts.
  • Pinokio: Update.
  • Without Docker: git pull, npm install, npm run setup.
  • The database is updated on start (overlay link, auto-tracking tables and settings). Backups from 6.2 are version 9 (the overlay's numbers and the auto-tracking's game keys); older versions of the app still import their runs.

Unofficial, non-commercial fan project. Pokémon is © Nintendo, Creatures Inc., GAME FREAK inc. and The Pokémon Company. This release contains no Pokémon artwork; sprites, trainer pictures and covers are downloaded when you set the app up.