megadrive genesis

This console, known as the Genesis in North America and the Mega Drive everywhere else in the world, was released by Sega in 1988

Emulator Rom Folder Extension BIOS Controller Config
lr-picodrive megadrive .smd .bin .md .iso .zip none /opt/retropie/configs/megadrive/retroarch.cfg
lr-genesis-plus-gx megadrive .smd .bin .md .iso none /opt/retropie/configs/megadrive/retroarch.cfg
DGen megadrive .smd .bin .md .iso none /opt/retropie/configs/megadrive/dgenrc

Emulators: DGen, lr-picodrive, lr-genesis-plus-gx

DGEN has the worst performance and can be tedious to configure controls, lr-picodrive seems to be the favourite for older Pi's, lr-genesis-plus-gx seems to be the favourite for the Pi 2.


Accepted File Extensions: .smd .bin .gen .md .sg .zip

Place your ROMS in either



/home/pi/RetroPie/roms/genesis (symlinked to megadrive folder to remove confusion)


There are two methods for configuring controls- one for DGen and the other for lr-picodrive and lr-Genesis-Plus-GX.

lr-picodrive and lr-genesis-plus-gx

lr-picodrive and lr-genesis-plus-gx utilise RetroArch configurations

Add custom retroarch controls to the retroarch.cfg file in


For more information on custom RetroArch controls see: RetroArch Configuration

Configuring a 6 button controller

First you need to tell retroarch to use 6 buttons, because the default is to use 3.


There are two ways to achieve this, most people will want to use Option 1:

Option 1 - RetroArch Menu

Launch a Megadrive game and go to the Retroarch menu (default mapping: Select + X).

Go to Quick Menu -> Options and set the two input devices to 6 button pad.

Exit the Retroarch menu.

Once you quit the game, the configuration will be saved within the /opt/retropie/configs/all/retroarch-core-options.cfg file. You do not need to edit this file.

These core options will also take affect on any other system which you may use lr-picodrive for (eg. Sega 32X, Sega CD).

Option 2 - Config file edit

If you don't have access to the Quick Menu (due to misconfigured controls or some other reason), then edit the /opt/retropie/configs/all/retroarch-core-options.cfg file and add:

picodrive_input1 = "6 button pad"
picodrive_input2 = "6 button pad"


There are two ways to achieve this, most people will want to use Option 1:

Option 1 - RetroArch Menu

You can save a Core Remap File which reloads every time the emulator is launched.

Launch a Megadrive game and go into the RetroArch menu (default mapping: Select + X).

Go to Quick Menu -> Input Options and set the User 1 Device Type and User 2 Device Type to MD Joypad 6 Button.

Scroll down on the same page and select *Save Core Remap File.

This will save a core remap file (.rmp) to a folder called "Genesis Plus GX" in the /opt/retropie/configs/megadrive folder. By default this remap file will load every time the emulator is launched.

Option 2 - Config file edit

Edit the file /opt/retropie/configs/megadrive/retroarch.cfg and add:

input_libretro_device_p1 = "513"
input_libretro_device_p2 = "513"

This will set the controller type to a 6 button pad, and will reload this configuration every time the emulator is launched.

3 Button Genesis/MegaDrive Controller


6 Button Genesis/MegaDrive Wireless Controller


6 Button Genesis/MegaDrive ArcadePad Controller



DGen uses a configuration file called dgenrc located in


To set up an exit button: modify this line to match your controller button

# Quit DGen or switch to the next ROM on the command-line.
key_quit = escape
joy_quit = joystick0-button12

If you are from the United States it is likely that you had the Sega Genesis rather than the Sega Megadrive. If you want EmulationStation to show the genesis graphics instead of megadrive then you should create a file /opt/retropie/configs/all/platforms.cfg with the following contents (note this requires at least v4.1.6 of the RetroPie-Setup script).


Once this is done, please update any of the currently installed megadrive emulators from RetroPie-Setup and Emulation Station will now use the Genesis logo. Scraping from within Emulation Station should also return Genesis artwork.