Skip to content

Auto-tracking from the game

On a self-hosted Lockstep the app can read the game you play in RetroArch, mGBA, BizHawk or DeSmuME and enter what happens itself: catches, evolutions, nicknames, the team, badges and, if you want, deaths. What it enters itself and what it only suggests, you choose per run.

  • Generation 3: Ruby, Sapphire, Emerald, FireRed, LeafGreen.
  • Generation 4: Diamond, Pearl, Platinum, HeartGold, SoulSilver, Renegade Platinum, Sacred Gold, Storm Silver.

Every Western language version works: Lockstep finds the team by its checksums instead of fixed addresses.

Pick the page for your emulator; each takes about five minutes:

  • RetroArch: Gen 3 and 4, no script.
  • mGBA: Gen 3, with the Lua script.
  • BizHawk: Gen 3 and 4, with the Lua script.
  • DeSmuME: Gen 4 on Windows, with the Lua script and LuaSocket (experimental).

If something does not work: Troubleshooting.

Lockstep and the emulators have to reach each other directly: RetroArch over UDP port 55355, the Lua scripts over TCP port 55356. Only addresses of this computer, the home network and Tailscale are allowed.

If you do not play in the same home network, Tailscale is the easy way: each player joins your tailnet, then you enter their Tailscale address (100.x.x.x), or their script gets the Tailscale address of the computer running Lockstep. Access through Cloudflare or another domain is not enough: it passes on the web page, not these ports.

Under Settings → Auto-tracking from the game you choose, for the whole run, what happens with each kind of change:

Automatically Only as a suggestion Not at all
Catches, evolutions and nicknames (default: automatically) entered a new catch shows up as a note with its route preselected; evolutions and nicknames of entered Pokémon still follow the game nothing
Badges (default: automatically) the fight is ticked off on the Journey a note to tick it off nothing
Deaths (default: only as a suggestion) the link dies at once a note with a field for the cause of death nothing

Entering deaths automatically is possible, but a Pokémon at 0 HP then counts as dead at once, even if you revive it afterwards or load an older save.

  • A catch whose place fits exactly one free route is entered. If a place has several routes or the route is taken, a note above the run’s pages asks which route it was. In a randomized game that happens more often, because the species no longer tells which of a place’s entries is meant.
  • Your first Pokémon goes on the starter route; roaming legendaries, gifts, fossils and gift eggs on their own static place.
  • Evolutions follow the game, and so do nicknames, unless you typed one in Lockstep yourself.
  • A badge ticks its fight off on the Journey, without saving first. In Generation 3, won rivals, villains and League fights are ticked off too (they follow the Badges setting).
  • A fight going on shows in Battle & Catch: the opponent’s species, level, HP and status, ready to use with one click.
  • A Pokémon at 0 HP brings a note: Mark as dead (with an optional cause) or Dismiss.
  • What you deposit in the PC leaves the team in Lockstep; what you withdraw joins it. In a SoulLink the shared team follows the games once every connected player has the same links in their team.
  • A dismissed note stays dismissed. A death is reported again only after the Pokémon has had HP in between.
  • Nothing is ever deleted, not even when you load an older save.

Switching on mid-run: what you entered by hand before is matched to the Pokémon in the game instead of being added twice, and your own nicknames stay. If you have a Pokémon on another route than the game says, a note comes instead of a second entry.

Still done by hand: fled and defeated encounters, in Generation 4 rivals, villains and the League, and in HeartGold/SoulSilver the eight Kanto gyms.

More details and the environment variable to switch it off are in the auto-tracking documentation.