Genesis Megadrive - kpa32/retropie-wiki-cn GitHub Wiki


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 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

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.

ROMS

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

Place your ROMS in either

/home/pi/RetroPie/roms/megadrive

or

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

Controls

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

/opt/retropie/configs/megadrive/retroarch.cfg

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.

lr-picodrive

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"

lr-genesis-plus-gx

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

genesis

6 Button Genesis/MegaDrive Wireless Controller

sega_megadrive_6button_diagram

6 Button Genesis/MegaDrive ArcadePad Controller

sega_megadrive_6button_arcadepad_diagram

Dgen

DGen uses a configuration file called dgenrc located in

/opt/retropie/configs/megadrive/dgenrc

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

Advanced Configuration:

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 menu and boxart instead of megadrive then you can change the file in /etc/emulationstation/es_systems.cfg

from

  <system>
    <name>megadrive</name>
    <fullname>Sega Mega Drive / Genesis</fullname>
    <path>~/RetroPie/roms/megadrive</path>
    <extension>.smd .bin .gen .md .sg .zip .SMD .BIN .GEN .MD .SG .ZIP</extension>
    <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ megadrive %ROM%</command>
    <platform>megadrive</platform>
    <theme>megadrive</theme>
  </system>

to

    <name>genesis</name>
    <fullname>Sega Genesis</fullname>
    <path>~/RetroPie/roms/megadrive</path>
    <extension>.smd .bin .gen .md .sg .zip .SMD .BIN .GEN .MD .SG .ZIP</extension>
    <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ megadrive %ROM%</command>
    <platform>genesis</platform>
    <theme>genesis</theme>
  </system>
⚠️ **GitHub.com Fallback** ⚠️