Skip to content

RetroArch

RetroArch needs no script: Lockstep reads the game’s memory through its network commands.

In RetroArch: Main Menu → Online Updater → Core Downloader, then

  • Nintendo - Game Boy Advance (mGBA) for Ruby, Sapphire, Emerald, FireRed and LeafGreen,
  • Nintendo - DS (melonDS DS) for Diamond, Pearl, Platinum, HeartGold, SoulSilver and their hacks.
  1. Settings → User Interface → Show Advanced Settings: on. Without it the network commands are not in the menu.
  2. Settings → Network: scroll far down; below the netplay settings are Network Commands: on, and the Network Command Port: 55355.
  3. Restart RetroArch once so the setting takes effect.

Load Core with the core from step 1, then Load Content with your game.

  1. In Lockstep open the run, then Settings → Auto-tracking from the game.
  2. Choose RetroArch for your player.
  3. Enter the address of the device running RetroArch: 127.0.0.1 if it is the same computer as Lockstep, otherwise its address in your home network (for example 192.168.1.30) or on Tailscale. Port 55355.
  4. Press Test connection. The answer names your game, for example “FireRed/LeafGreen (EN)”. It already works on the title screen.
  5. Save. The line below shows when the game was last read.

From now on it is enough to start RetroArch with the game; Lockstep asks every few seconds. In a SoulLink each player does this for their own device.

Menu names can differ slightly between RetroArch versions and languages.