Skip to content
smieiPublic

About

Self-hosted Pokémon Nuzlocke & SoulLink tracker for 1–4 players: encounters, team, deaths, level caps and catch rates, live on every device.

Topics

Resources

Contributing

Security policy

Stars

14 stars

Watchers

0 watching

Forks

Latest commit

 

History

542 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lockstep

SoulLink & Nuzlocke tracker

A Nuzlocke tracker built around SoulLink: 2–4 players, linked deaths, the rules of your generation.
Free, self-hosted, and live on every device at the table. Every main game from Red/Blue to Scarlet/Violet, 25 ROM hack packs and Pokémon Infinite Fusion.


Website and guide   Try it online (experimental)   Try the demo   Buy me a coffee

Release Image: ghcr.io/smiei/lockstep License: AGPL-3.0

lockstep-6.2-launch.mp4

Lockstep on a PC and a phone: a SoulLink's Team tab on the monitor, its Encounter tab on the phone

New to the format?

A Nuzlocke lets you catch only the first Pokémon in each area, and a fainted Pokémon is dead. In a SoulLink, several players run at the same time and each area's catches are linked: one dies, its partners die too.

Features  ·  Screenshots  ·  Quick start  ·  Supported games  ·  Documentation  ·  Versions

What you get

You know the rules. This is what the tracker handles so you don't have to.

  • SoulLink the way you play it: 2–4 players or solo. A link forms only once every player has caught on the route, and marking it dead takes all of its Pokémon, with who lost theirs and how.
  • Plays along with your game: auto-tracking from RetroArch, mGBA, BizHawk or DeSmuME enters catches, evolutions, the team, battle sets and badges for every Generation 3, 4 and 5 game. A stream overlay puts the run into OBS.
  • Accurate to your generation: the type chart, stats, catch rates, catch formula and balls your game actually had, and the clauses (Species, Shiny) in the variants groups really play.
  • Planning the next fight: wild Pokémon and trainers per route, the next opponent's team, level caps on a Journey drawn as a route, battle scout and team coverage.
  • Yours: runs on your PC or home server, no cloud, accounts optional. An installable phone app in English, German, French, Spanish and Italian.
See all features

SoulLink

  • 2–4 players or solo, each with their own catches per route; every device at the table sees each change live
  • A link forms only once every player has caught. If one player's encounter fled or was knocked out, the survivor stays in the box and never shows up as a link
  • Marking a link dead takes all of its Pokémon, and records who lost theirs and how ("lost by Red · Lt. Surge's Raichu")
  • The team is linked too: a team slot holds the whole link, and new catches fill free slots on their own

Clauses and rules

  • Species Clause across all players, per player, or per player with a formed link locking its families for everyone; evolution families, statics and fusions handled
  • Shiny Clause: a shiny never locks its family
  • The clauses warn, they never block: your group's house rules win
  • Rule presets carry a ruleset, written rules included, from one run to the next
  • Primary Type Rule: no primary type twice on the team, across all players
  • Free-team mode for runs that aren't Nuzlockes, and blind flight, which hides every calculated hint
  • Professor Oak Challenge: catch and evolve everything before each badge, with Mewlax's lists for every official game and three ROM hacks

Accurate to the generation

  • The type chart, base stats, catch rates and move names your game had: Gen 1's single Special, no Fairy type before Gen 6, pre-buff stats, old move names
  • Catch rates with that generation's formula and balls, Apricorn Balls included, up to Sword/Shield's and Scarlet/Violet's level and badge rules; Radical Red, Unbound, Run & Bun and Inclement Emerald with their own engine's code
  • Randomizer evolutions: the Universal Pokémon Randomizer ZX's evolution changes for every official Gen 1–7 game
  • HeartGold/SoulSilver show Johto and Kanto as their own sections; a rule decides whether Kanto counts

Plays along with your game

  • Auto-tracking: catches, evolutions, nicknames, the team, its battle sets and badges, read from RetroArch or a small Lua script in mGBA, BizHawk or DeSmuME; every Generation 3, 4 and 5 game, any Western language
  • Your choice per run: catches, badges and deaths each automatically, only as a suggestion, or not at all
  • The fight in your game shows up in Battle & Catch, ready to scout or to work out the catch chance
  • Stream overlay for OBS: team, graveyard with a death counter per player, badges and the next fight

Planning the next fight

  • What's on each route: wild Pokémon with method, levels, chance and time of day, and the trainers with their teams, moves and items, ticked off once beaten (which games list what)
  • Level caps for every gym leader, rival and Elite Four member on the Journey, with the opponent's team under the next fight
  • Damage calc export: each player's team in Showdown's format, with moves, nature, ability, item, IVs and EVs from the game or typed in, and a link to the calc in your generation
  • Team score from 0 to 100, and how the team stands against the next boss
  • Battle scout, team coverage judged at your last level cap, base-stat totals now and fully evolved, and the evolution items each player still needs

Your run in numbers

  • Statistics like the screen after a match: the verdict, a scorecard per player, awards
  • Hall of fame with the team each fight was won with, and a Memorial of every loss

And also

  • Pokémon Infinite Fusion (Classic and Remix) with fusions as one battle unit
  • Custom routes, backups of one run or all, and your own game packs
  • Guided tours through the app and the rules
  • Five languages, with the official names of Pokémon and places in each; German and English reviewed by hand, French, Spanish and Italian machine-translated
  • Accounts are optional, for groups where not everybody should see every run

Every tab and rule in detail: features and the guide on the website.

Screenshots

Team tab: the six team slots as specimen trays, each linked pair with its label, types, base stats and evolutions Encounter tab: a route with the wild Pokémon found there and its trainers, three of them ticked off
Battle & Catch following the fight in the game: Red is fighting Onix, with its types, attack types and weaknesses Journey: the level caps as a route with "you are here", the next fight and the rival's team for each player's starter
Overview: the next level cap, progress, badges and per-player figures Statistics: the run's verdict, a scorecard per player with the catches along the journey, and awards

Memorial: who was lost, by whom, how and when

Encounter tab on a phone Team tab on a phone Overview on a phone

Auto-tracking and stream overlay

Connect your emulator under Settings → Auto-tracking from the game, and Lockstep fills in the run while you play. What it cannot decide alone, it asks:

Notes from the game above the Encounter tab: Red caught Dusty, on which route? Leaf's Vulpix fainted, with a field for the cause

The stream overlay puts the run into OBS as a browser source, one source with every widget or one per widget:

Stream overlay widgets on a dark scene: both players' teams, the graveyard with deaths per player, badges with the next fight, counters, and run and best

Details: auto-tracking, stream overlay.

Pokémon Infinite Fusion

Pokémon Infinite Fusion runs, Classic and Remix: two catches fuse into one battle unit with the name, types and stats the game works out, and the community's fusion sprite. A catch can already be a fusion, a SoulLink death follows its routes across fusions, and the stats, moves, level caps and all 40 balls come from the game's own data. Details: features.

Team tab of an Infinite Fusion SoulLink: each tray holds both players' fusions with their fused names, types, stats and sprites Pokédex card of a fusion: fusion sprite, fused types, base stats and weaknesses, with head and body as their own cards

Encounter tab: two catches entered as wild fusions with "Caught as a fusion"

AI usage

Lockstep is built with LLM-assisted coding tools, and nothing ships that its maintainer has not read, reviewed, tested and can answer for.

Quick start

All of these give you the same app at http://localhost:3000, or at your server's address.

Just want to try it? The public Lockstep at try-lockstep.vercel.app needs no install: create a run and share its link, or start the demo. It is an experiment on free hosting: it can be slow, pause or be reset, and auto-tracking, your own games, rule presets and accounts are missing (what is different online). For your real runs, install Lockstep.

Windows app (one download)

Download Lockstep-Setup-<version>.exe from the latest release and run it (no admin rights; a portable zip is there too). The first start downloads the Pokémon sprites for a few minutes, then Lockstep runs in the system tray; friends on the same Wi-Fi use the address under Address for other devices in its menu. The installer is not code-signed yet, so the browser or Windows SmartScreen may warn: keep the download, then More info → Run anyway. More about the Windows app.

Docker (home servers, NAS, Unraid)

services:
  lockstep:
    image: ghcr.io/smiei/lockstep:latest
    ports:
      - "3000:3000"
    environment:
      - DATABASE_URL=file:/app/db/nuzlocke.db
      # - DEFAULT_SHELL_COLOR=blue                  # optional: green (default), red, blue or yellow
      # - DEFAULT_LANGUAGE=en                       # optional: de, en, fr, es or it
    volumes:
      - db:/app/db
      - sprites:/app/public/pokemon-sprites
      - trainers:/app/public/trainers
      - covers:/app/public/covers
    restart: unless-stopped

volumes:
  db:
  sprites:
  trainers:
  covers:

Save that as compose.yaml and run docker compose up -d. The first start downloads the Pokémon sprites, trainer pictures and game covers, which takes a few minutes. On Unraid you need none of this: open the Apps tab, search for Lockstep and install it.

Pinokio and Node.js

  • Pinokio (one click, Windows / macOS / Linux): on the Explore page, paste https://github.com/smiei/lockstep-pinokio into the GitHub or Hugging Face URL field, click Go, then Install and Start.
  • Without Docker (Node.js 20.19+): git clone https://github.com/smiei/lockstep.git, then in the lockstep folder npm install, npm run setup and npm start.

→ Self-hosting guide: volumes, environment variables, updating, backups, accounts, HTTPS for installing the app on a phone, trainer pictures, and a custom app icon.

Supported games

Main series

Every main series game, the remakes included. A pack of two versions covers both. Brilliant Diamond / Shining Pearl has no TM list: the data source has none for it.

Generation Games
1 Red / Blue, Yellow
2 Gold, Silver, Crystal
3 Ruby, Sapphire, FireRed / LeafGreen, Emerald
4 Diamond / Pearl, Platinum, HeartGold, SoulSilver
5 Black, White, Black 2 / White 2
6 X / Y, Omega Ruby, Alpha Sapphire
7 Sun, Moon, Ultra Sun, Ultra Moon
8 Sword, Shield, Brilliant Diamond / Shining Pearl
9 Scarlet / Violet

ROM hacks

Each with its own stats, types and moves, Pokémon up to Gen 9 and regional forms, and named in English, as in the game.

Console Games
GBA Emerald Kaizo, Inclement Emerald, Blazed Glazed, Glazed, New Generations, Radical Red, Unbound, Run & Bun, Blazing Emerald v1.5.1, Blazing Emerald v1.6, Modern Emerald, Modern Emerald (Hard), Modern Emerald (German), Modern Emerald (Hard, German), Heart & Soul
DS Platinum Kaizo, Renegade Platinum, Sacred Gold, Storm Silver, Blaze Black, Volt White, Blaze Black 2 / Volt White 2 Redux, Blaze Black 2 / Volt White 2 Redux v1.4.1
3DS Rising Ruby, Sinking Sapphire

Fan games

Every game lists the wild Pokémon per route. Trainers: every trainer on the route for Generations 1–7 and the GBA and DS hacks; only the level-cap fights for the Switch games, Rising Ruby, Sinking Sapphire and Infinite Fusion. Where each list comes from and what it leaves out: known limitations.

Playing a ROM hack or another game? A pack is the route list and the boss level caps; encounter and trainer lists are optional. Import your own in the app or contribute it for everyone: game packs. Found a wrong route or name? Corrections are welcome as an issue.

Documentation

  • Guide on the website — the rules and every feature explained, in English, German, French, Spanish and Italian
  • Features in detail — every tab and rule explained
  • Self-hosting — Windows app, Docker, Pinokio, Node.js, updates, backups, HTTPS
  • Development — local setup, scripts, data, migrations, the website, releasing
  • Auto-tracking — fill in the run from the game running in RetroArch, mGBA, BizHawk or DeSmuME (Gen 3 to 5)
  • Stream overlay — show the run live in OBS, for one to three players
  • Known limitations — what the route lists and opponent teams do not cover, and where their data comes from
  • Game packs — add a game or ROM hack, in the app or as a contribution (CONTRIBUTING)

Version history

Docker tags follow MAJOR.MINOR: latest is always the newest release, and every version stays available under its own tag for rollbacks. The latest: 6.4 brings battle sets with an export to the Showdown damage calc, auto-tracking for Generation 5, and the Primary Type Rule.

Every version
Version What it is
1.0 Pre-PWA state (was latest until then).
1.1 Adds the installable PWA (was pwa).
2.0 Full UI overhaul: design tokens, shared component primitives, loading/error boundaries, toasts, pinned tab strip, keyboard-navigable dropdowns, one modal implementation, 40/44px touch targets.
3.0 Pokémon Infinite Fusion (Classic and Remix: fusions, catches that already are fusions, the game's own species/move/capture data), SoulLink for 3 or 4 players, and per-player Species Clause variants. Backup format v4.
3.1 Runs are addressed by an unguessable access key instead of their numeric id (old ?run=<number> links still open and are rewritten). Accessibility pass from a UI audit: readable type chips, text greys and focus ring, labelled Encounter and Battle & Catch fields, keyboard access to the Pokédex, a title per tab, drawn icons instead of emoji. Runs without Docker via npm run setup and with a one-click Pinokio launcher. Now MIT-licensed.
4.0 Redesign as a natural-history collection (the app is now called Lockstep in its interface): sage ground, specimen trays and labels, a green side rail on desktop, a new logo and fonts. The Team tab becomes a drawer of six trays plus a Box and Memorial column; Overview opens with one run sheet; the Pokédex card is a field-guide entry. Per-device shell colour (green, Poké Ball red, blue, yellow). Docker image for amd64 and arm64, also on GHCR.
4.1 The logo is back in the shell's bottle green (4.0 shipped it on a red tile); the app icon, splash screen and status bar follow.
4.2 The run list opens right under the run box and reads clearly in dark mode (ruled rows, the open run marked). New rule: permanent blind flight, which locks blind flight on so the header button cannot lift it. Clearer Docker volume guide and a by-game reference for trainer pictures.
4.3 Server defaults for the colour (DEFAULT_SHELL_COLOR, icons included) and the browser language (DEFAULT_LANGUAGE); the installed app follows the phone's language. The side-rail logo takes the shell colour, the run list reaches past the rail, the dark-mode button can return to following the device, and "Lock blind flight" got its name.
5.0 The app is now called Lockstep, and so are the repository (smiei/lockstep) and the image, which is published on GitHub's registry only (ghcr.io/smiei/lockstep). A Windows app: one installer, runs in the system tray. 16 ROM hacks (Radical Red, Unbound, Run & Bun, Renegade Platinum, and more) with their own stats, types and moves; Pokémon data up to Gen 9 with regional forms; a hack's own Pokémon as placeholders. Import your own game pack in the app, or contribute one. A start page with every run as a card. Boss-trainer pictures download by themselves. Notes on machine-translated languages and unverified game data. Backup format v5.
5.1 The Encounter tab tells open and finished routes apart at a glance, in dark mode too (a coloured or dashed frame and an outcome badge per route). 66 more boss-trainer pictures for the ROM hacks, and a complete list of the pictures each game expects. A ROM hack's own forms (Sevii, Hoenn) show their species' sprite, marked as a placeholder. Updated dependencies.
5.2 15 more official games: Ruby and Sapphire, Diamond and Pearl, Black 2 and White 2, and every main game from X and Y to Scarlet and Violet, with place, boss and badge names in all five languages. The catch calculator knows Gen 6 to 9: new balls (Beast Ball), the changed ball bonuses, and Sword/Shield's and Scarlet/Violet's level and badge rules; the Gen 5 formula is corrected. Fixed: 18 Pokémon re-typed to Fairy in Gen 6 (Clefairy, Gardevoir, Mawile, ...) lacked the Fairy type in every game and ROM hack with Gen 6+ data.
5.3 Official place names in all five languages for every official game, taken from PokéWiki per game and region (Spanish, Italian and French place names were often English before). ROM hacks keep their English names for places, trainers and badges, as in the game, and say so. Game covers in the game picker, on the start page and on the Overview, downloaded on the first start; your own covers win. The "data unverified" notes are gone.
5.4 The Team tab's Box can list the team too ("Show team"), so one sort ranks every living link by base stats. The desktop side rail folds away with an arrow at its foot. On the start page, runs can be marked as won (a gold Hall of Fame card) or lost (greyed out) and deleted in two clicks. The next level cap shows the team level beside it ("24 / 22") in the rail and the phone's top bar. "Open only" on the Encounter tab keeps the route saved last after a reload. Fixed: the Pokémon picker of an empty entry was cut off, and Box entries overlapped their buttons on narrow screens. HeartGold/SoulSilver route order corrected up to the second badge. Devices in other languages get English. Prisma 7; installs without Docker need Node.js 20.19 or newer.
5.5 Start-page cards show every player's team (first player left, second right) and a lost run gets a red frame and a Lost stamp; Open only beside the title hides won and lost runs. The Team tab's Box sits below the team at every width, and Show team frames team members in green with their slot. New blind-flight rule: hide Pokémon types too. A fresh install starts with the randomizer evolution rules off.
5.6 HeartGold and SoulSilver follow a curated route order with Johto and Kanto as their own sections and only the roaming legendaries as post-game; the new rule Include Kanto decides whether Kanto counts towards the progress bars (also Gold/Silver, Sacred Gold, Storm Silver). The randomizer evolution rules now cover every official Gen 1-7 game, checked against the Universal Pokémon Randomizer ZX, and only show where they apply. Radical Red, Unbound, Run & Bun and Inclement Emerald get every ball up to Gen 8 and their engine's own capture formula. Cherish Ball from Gen 4 on; the Fast Ball works out its bonus by itself.
5.7 The game packs were checked against the games' own data: route lists with the missing statics, gifts and legendaries (water-only places behind the Old Rod or Surf), level caps from the trainer tables, and each ROM hack's own species data, evolutions, moves, level-up moves, TMs and move tutors, its own moves with their descriptions included. Badge names are the official ones in every language (the German Johto, Hoenn and Unova names were translated from English before: Jasmine's badge is the Stahlorden). Yellow is a pack of its own, Blazing Emerald comes as v1.5.1 and v1.6, Unbound has no Sport Ball. HeartGold/SoulSilver: Mahogany between Chuck and Jasmine, Route 42 and Mt. Mortar earlier, the Bell Tower by its Ho-Oh. Backups carry the rule presets. In the type matrix, tapping a type highlights its column or row. Show team on the Team tab and Open only on the Encounter tab are remembered per device. Pictures that failed to load before the page was ready show their fallback instead of a broken image.
6.0 New Run and Settings are pages of their own: the games as a grid of covers, the run and the app's settings on one page, and links to report a bug or suggest a feature. The Rules tab groups its switches by theme under a label of the rules in force, with a guided tour that explains them; a tour through the app and one for Infinite Fusion are offered on a device's first visit. Level caps count only gyms and the League by default, with an adjustable distance for the rest of the team; rival and villain fights were checked against the games. A Statistics page in the style of a game-over screen (the verdict, scorecards with a catch curve per player, awards, and a hall of fame with the team that won each fight and the figures of its stretch); the Overview lists the evolution items every player still needs; the Pokédex card shows whether the Species Clause has used up a family, and for whom. Optional accounts for a self-hosted server, so that everybody lists only their own runs. A death in the Memorial names the fight that was next. The Journey is a route: every fight a station on one line, gyms as their badge, "you are here" before the next fight, which is shown large with its cap; capless fights keep their level in brackets. The side rail adds the old cap under the next one. Route search on the Encounter tab, and "Open only" keeps the newest catch in view. Under Blindflug, Battle & Catch keeps the team one tap from its info cards. Next.js security update. Backup format v7.
6.1 Every route lists its wild Pokémon (method, levels, chance, time of day) and its trainers with their teams, read from the games' own data: wild Pokémon for every main game, the ROM hacks and Infinite Fusion; every trainer for Generations 1–7 and the GBA and DS hacks, only the level-cap fights for the Switch games, Rising Ruby, Sinking Sapphire and Infinite Fusion. Trainers can be ticked off as beaten, and a tap on a listed Pokémon enters it for the route. The Journey shows the next opponent's team. What the lists leave out is in the new known-limitations page. A new run is asked whether it plays with a randomizer, since the lists only fit an unrandomized game. Trainer classes in all five languages. New ROM hack: Platinum Kaizo. Two-game packs (Red/Blue, X/Y, ...) get a cover split diagonally between both games. Backup format v8.
6.2 Auto-tracking: catches, evolutions, nicknames, the team and badges are entered from the game running in RetroArch, or with a Lua script in mGBA, BizHawk or DeSmuME, for every Generation 3 and 4 game in any Western language; per run you choose what is entered, only suggested or left alone. A stream overlay for OBS (team, graveyard, badges, counters, for one to three players). The Lockstep website with a guide in English, German, French, Spanish and Italian. Security hardening after an audit. A demo with FireRed, Radical Red and Infinite Fusion for the public instance. Backup format v9.
6.3 The Professor Oak Challenge as a run option: before each badge, catch and evolve every Pokémon the game lets you get by then, with Mewlax's lists for every official game and for Emerald Kaizo, Inclement Emerald and Radical Red; ticks per player, synced live, catches from the run count by themselves. Inclement Emerald's opponent levels corrected; missing opponent teams, statics and gifts added for many ROM hacks. A Games page on the website shows what Lockstep supports per game. Backup format v10.
6.4 Battle sets for every Pokémon (moves, nature, ability, item, IVs and EVs), read from the game or typed in on the Team tab, and an export of each player's team to the Showdown damage calc in the game's generation. Auto-tracking for Generation 5 (Black, White, Black 2, White 2 and their hacks), including the fight going on. The Primary Type Rule, a team score on the Overview, and the game packs Modern Emerald (Normal and Hard, also in German, with its trade-evolution option) and Heart & Soul. Backup format v11.

Acknowledgements

This project stands on the work of others. Thank you!

Licenses and attributions in full: THIRD_PARTY_NOTICES.md.

License

Copyright (C) 2026 smiei. From version 6.2 on, the source code is released under the GNU Affero General Public License v3.0 or any later version: you may use, change and share it, and whoever offers a changed Lockstep to others over a network must offer them its source code too. Versions up to 6.1 were released under the MIT License and stay so. Data and artwork from third parties keep their own terms; see THIRD_PARTY_NOTICES.md.

Disclaimer: This is an unofficial, non-commercial fan project. It is not affiliated with, endorsed by, or connected to Nintendo, Game Freak, Creatures Inc. or The Pokémon Company. Pokémon names, game data and artwork are the property of their respective owners.

This repository and the published Docker image deliberately contain no copyrighted artwork:

  • Pokémon sprites are downloaded from PokéAPI when the app is set up.
  • Infinite Fusion's ball icons come from the game's public repository at container start.
  • Fusion sprites are loaded by the browser straight from the Infinite Fusion community's sprite server and never stored.
  • Trainer pictures are downloaded from Pokémon Showdown when the app is set up, unless you bring your own.
  • Game covers are downloaded from libretro-thumbnails and Wikipedia when the app is set up, unless you bring your own. ROM hack covers come from SteamGridDB, and only with your own SteamGridDB API key.

Rights holders or authors of a data source who want a credit corrected or material removed: lockstep.tracker@gmail.com. Security problems: see SECURITY.md.

About

Self-hosted Pokémon Nuzlocke & SoulLink tracker for 1–4 players: encounters, team, deaths, level caps and catch rates, live on every device.

Topics

Resources

Contributing

Security policy

Stars

14 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages