RetroArch
RetroArch needs no script: Lockstep reads the game’s memory through its network commands.
1. Install the core
Section titled “1. Install the core”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.
2. Turn on network commands
Section titled “2. Turn on network commands”- Settings → User Interface → Show Advanced Settings: on. Without it the network commands are not in the menu.
- Settings → Network: scroll far down; below the netplay settings are Network Commands: on, and the Network Command Port:
55355. - Restart RetroArch once so the setting takes effect.
3. Load the game
Section titled “3. Load the game”Load Core with the core from step 1, then Load Content with your game.
4. Connect Lockstep
Section titled “4. Connect Lockstep”- In Lockstep open the run, then Settings → Auto-tracking from the game.
- Choose RetroArch for your player.
- Enter the address of the device running RetroArch:
127.0.0.1if it is the same computer as Lockstep, otherwise its address in your home network (for example192.168.1.30) or on Tailscale. Port55355. - Press Test connection. The answer names your game, for example “FireRed/LeafGreen (EN)”. It already works on the title screen.
- 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.