Mednafen is a multi-system emulator with built-in netplay that works for Sega Genesis / Mega Drive games. Its netplay is server-based: every player connects to the same standalone Mednafen-Server, which keeps the game in sync. This guide follows the official Mednafen netplay documentation and the Sega Genesis / Mega Drive documentation.
Use your own legally obtained copy. We recommend that you use your own legally obtained copy of the game. ROM does not condone illegally downloading ROMs.
What you need
- The latest Mednafen release from the official releases page on each player's computer - the 64-bit Windows build is the recommended one, and Mednafen-Server is downloaded from the same page.
- A server to connect to: one player (or a separate always-on machine) runs Mednafen-Server, or you use a public server someone shares.
- Every player needs their own legally obtained copy of the same game.
Run the server (host only)
- Download the latest Mednafen-Server release from the official site.
- Unpack it and follow the README files included in the download - they cover the configuration and its caveats. The default netplay port is 4046.
- Share the server's hostname or IP with the other players.
Connect and play (everyone)
- Launch Mednafen with the game file, for example
mednafen path/to/game.md(the emulator is command-line driven; a frontend works too). To map controllers, press ALT+SHIFT+1 for the player 1 device (ALT+SHIFT+2 for port 2, and so on) and follow the on-screen prompts. - Press T to open the netplay console. All netplay commands are typed there, and the console appears whenever a message arrives.
- Connect with
/server <hostname> [port]. The official documentation's examples are/server netplay.fobby.netand/server helheim.net 4046- treat those hostnames as syntax examples, not verified live servers; use the host your group is actually running. - Set your name with
/nick <name>. - If the group agreed on a game key, set it with
/gamekey <key>so only players with the key join this game. - Take your controller with
/take <number>. The other controller commands are/drop(release),/dupe(share a controller between players) and/swap(exchange two controllers). - Useful checks:
/listshows the players in the game,/pingpings the server,/quitdisconnects.
Notes
- Mednafen sends a save state when a player connects (and whenever anyone loads one), and save states include the game's save RAM - back up important save files before netplaying. The official documentation also notes this has potential security implications; play with people you trust.
- Players with a lower ping to the server have a latency advantage, so pick a server near the group. The official documentation lists recommended settings changes to reduce latency.
- Sega CD / Mega-CD emulation is currently nonfunctional in Mednafen, so this guide covers cartridge games only.