MD+ Emulators (Genesis Plus GX & MAME)
Page 1 of 1
MD+ Emulators (Genesis Plus GX & MAME)
Genesis Plus GX
As of the 7th of October 2021, Genesis Plus GX in Retroarch fully supports MD+ patched games and is now the preferred emulator to use for playing MD+ games.
How to set up:
Now you can load your game in Genesis Plus GX by navigating to the game folder and loading the ROM file.
IMPORTANT: The last thing that must be done when the game is loaded is to set the CD-DA volume in the core options (outlined in the screenshots below). Once the game is loaded, open the core "Quick Menu" and navigate to "Options", then "Audio", then "CD-DA Volume" and set it to 65. This is equivalent to a real MegaDrive/Genesis using a MegaSD with the CD-DA option set at the default setting of 80, and what all of the MD+ audio packs are balanced around.
If you leave the option set to 100 the custom audio will be too loud and will drown out the sound effects generated by the game.
To access the Quick Menu you can use whatever button is your "Home" button on your controller (PS button on a PlayStation controller or the equivalent on an Xbox controller etc.) or by pressing F1 on your keyboard.
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
MD+ MAME
Download links are at the bottom of the post.
This emulator is considered as obsolete for playing MD+ games, but you can still use the debugger for development.
This has never been publicly released, but I think it's about time that it was to encourage development of games using the, in my opinion, superior and more modern MD+ format (you will still need an understanding of 68k assembly and Mega Drive/Genesis hardware to accomplish this, this is not a tutorial for simple injection of code that anyone can do). It's not perfect, but it serves as a competent platform for playing and developing MD+ games until a better solution comes along (i.e. if or when eke finishes implementing it more accurately in to Genesis Plus GX, as per his enquiry last December. This is now finished and information is at the top of this post).
The core functions are all there, track looping and fading. There is only one issue with track looping as MAME runs at 75Hz internally when reading sector data, which will display an issue where the timing will be slightly off due to playing games that run at 60Hz and 50Hz, therefore the specified loop will trigger earlier than intended and will appear to sound incorrect, depending on the length of the audio track. The longer the track the more "out" it will sound. As long as your audio tracks loop correctly in an audio editor and the values are correct in the CUE file, they will have no issues when played back on a MegaSD with real hardware.
There are two methods of loading games using MAME, either by command line (development & playing) or using the GUI itself (playing).
Loading games with command line and debugger:
(Use "genesisplus" for US NTSC 60Hz games, "megadrijplus" for JP NTSC games, and "megadrivplus" for PAL 50Hz games)
Using Streets Of Rage 2 as an example below, navigate to your MAME directory and input the relevant commands as described in the code box above:
The game name and CUE file can be named anything, but they should have no spaces and should be placed in the root of your MAME folder. It is also preferable that your audio files contain no spaces.
MAME's debugger is not to everyone's tastes, but there are alternatives. Regen is one of them (link below), but obviously it is not MD+ capable. In that it will not recognise the MD+ code used to patch address lines to play back audio files, but the entire Streets of Rage 2 patch was successfully coded by infinest using the Regen emulator and its debugger while referencing the MegaSD dev manual.
You can also load games via the command line without the debugger. Simply omit the "-debug" command. This is handy for quick loading using a batch file instead of using the GUI. Speaking of which...
Loading games using the GUI:
Load MAME by double clicking on the executable. Choose "Genesis + (USA, NTSC)". Some errors will pop up (7 of them) before you reach the main GUI, they can be safely ignored by clicking "OK" on each. With the GUI method the game name and the CUE file can be named whatever you like, can have spaces and can be placed in folders other than the root.
As is standard with MAME I created a "roms" folder in the root, then created a folder for the game ROM, CUE and audio files. Using the MAME GUI it's easy to navigate to where these are stored, making sure that the CUE file is selected for the "cdrom (cdrm)" option, and the ROM is selected for the "cartridge (cart)" option.
Click on "Reset" when that's done. MAME will reset with those files mounted (equivalent to the command line option) and the same 7 errors from before will pop up. Again, these can be safely ignored and cycled through until the game starts.
IMPORTANT: One of the last things to do is to normalise the volume of the CDDA so that it outputs the equivalent volume to real hardware as MAME is a little louder by default. This is done in the MAME options by pressing tab on your keyboard to bring up the options menu.
Navigate to "Slider Controls" and change the two highlighted options in the image below to around the 0.65 region. (CD/DA Ch.0 & Ch.1)
The very last thing to do is to change the refresh rate from 50fps to 60fps, as the MD+ cores start-up at 50Hz. Exit the menus and press F3 to reset your game.
Download Links:
MD+ MAME
MD+ MAME with added ini and shader files from MAME 0.171 provided by Retroplay
MD+ (MegaSD) Dev Manual
Regen (with debugger)
Regen Backup Link From Original Source (with debugger)
Credit to neodev for the developmental version of MD+ MAME.
As of the 7th of October 2021, Genesis Plus GX in Retroarch fully supports MD+ patched games and is now the preferred emulator to use for playing MD+ games.
How to set up:
- Download the patch file and audio pack from the relevant release articles on Zeldix
- Source the base ROM with the required CRC-32 value for the MD+ patch
- Use a program like FLIPS to patch the base ROM with the MD+ patch
- Create a new folder for the game and name it to your preference
- Place the patched MD+ ROM and the WAV and CUE files from the audio pack inside the folder (it should look like the first screenshot below, using Streets of Rage as an example)
- Use whatever name you prefer, but the ROM and CUE files must have the same name
- Do not rename the WAV files or edit the contents of the CUE file
Now you can load your game in Genesis Plus GX by navigating to the game folder and loading the ROM file.
IMPORTANT: The last thing that must be done when the game is loaded is to set the CD-DA volume in the core options (outlined in the screenshots below). Once the game is loaded, open the core "Quick Menu" and navigate to "Options", then "Audio", then "CD-DA Volume" and set it to 65. This is equivalent to a real MegaDrive/Genesis using a MegaSD with the CD-DA option set at the default setting of 80, and what all of the MD+ audio packs are balanced around.
If you leave the option set to 100 the custom audio will be too loud and will drown out the sound effects generated by the game.
To access the Quick Menu you can use whatever button is your "Home" button on your controller (PS button on a PlayStation controller or the equivalent on an Xbox controller etc.) or by pressing F1 on your keyboard.
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
MD+ MAME
Download links are at the bottom of the post.
This emulator is considered as obsolete for playing MD+ games, but you can still use the debugger for development.
This has never been publicly released, but I think it's about time that it was to encourage development of games using the, in my opinion, superior and more modern MD+ format (you will still need an understanding of 68k assembly and Mega Drive/Genesis hardware to accomplish this, this is not a tutorial for simple injection of code that anyone can do). It's not perfect, but it serves as a competent platform for playing and developing MD+ games until a better solution comes along (i.e. if or when eke finishes implementing it more accurately in to Genesis Plus GX, as per his enquiry last December. This is now finished and information is at the top of this post).
The core functions are all there, track looping and fading. There is only one issue with track looping as MAME runs at 75Hz internally when reading sector data, which will display an issue where the timing will be slightly off due to playing games that run at 60Hz and 50Hz, therefore the specified loop will trigger earlier than intended and will appear to sound incorrect, depending on the length of the audio track. The longer the track the more "out" it will sound. As long as your audio tracks loop correctly in an audio editor and the values are correct in the CUE file, they will have no issues when played back on a MegaSD with real hardware.
There are two methods of loading games using MAME, either by command line (development & playing) or using the GUI itself (playing).
Loading games with command line and debugger:
- Code:
mametiny genesisplus -cart game.md -cdrom game.cue -debug
(Use "genesisplus" for US NTSC 60Hz games, "megadrijplus" for JP NTSC games, and "megadrivplus" for PAL 50Hz games)
Using Streets Of Rage 2 as an example below, navigate to your MAME directory and input the relevant commands as described in the code box above:
The game name and CUE file can be named anything, but they should have no spaces and should be placed in the root of your MAME folder. It is also preferable that your audio files contain no spaces.
MAME's debugger is not to everyone's tastes, but there are alternatives. Regen is one of them (link below), but obviously it is not MD+ capable. In that it will not recognise the MD+ code used to patch address lines to play back audio files, but the entire Streets of Rage 2 patch was successfully coded by infinest using the Regen emulator and its debugger while referencing the MegaSD dev manual.
You can also load games via the command line without the debugger. Simply omit the "-debug" command. This is handy for quick loading using a batch file instead of using the GUI. Speaking of which...
Loading games using the GUI:
Load MAME by double clicking on the executable. Choose "Genesis + (USA, NTSC)". Some errors will pop up (7 of them) before you reach the main GUI, they can be safely ignored by clicking "OK" on each. With the GUI method the game name and the CUE file can be named whatever you like, can have spaces and can be placed in folders other than the root.
As is standard with MAME I created a "roms" folder in the root, then created a folder for the game ROM, CUE and audio files. Using the MAME GUI it's easy to navigate to where these are stored, making sure that the CUE file is selected for the "cdrom (cdrm)" option, and the ROM is selected for the "cartridge (cart)" option.
Click on "Reset" when that's done. MAME will reset with those files mounted (equivalent to the command line option) and the same 7 errors from before will pop up. Again, these can be safely ignored and cycled through until the game starts.
IMPORTANT: One of the last things to do is to normalise the volume of the CDDA so that it outputs the equivalent volume to real hardware as MAME is a little louder by default. This is done in the MAME options by pressing tab on your keyboard to bring up the options menu.
Navigate to "Slider Controls" and change the two highlighted options in the image below to around the 0.65 region. (CD/DA Ch.0 & Ch.1)
The very last thing to do is to change the refresh rate from 50fps to 60fps, as the MD+ cores start-up at 50Hz. Exit the menus and press F3 to reset your game.
Download Links:
MD+ MAME
MD+ MAME with added ini and shader files from MAME 0.171 provided by Retroplay
MD+ (MegaSD) Dev Manual
Regen (with debugger)
Regen Backup Link From Original Source (with debugger)
Credit to neodev for the developmental version of MD+ MAME.
Relikk- Since : 2017-02-17
Re: MD+ Emulators (Genesis Plus GX & MAME)
First post is now updated with information for Genesis Plus GX which now fully supports MD+ games.
Relikk- Since : 2017-02-17
Similar topics
» Genesis Plus GX
» Please test my MMX MSU1 Genesis hack
» Extra Music Tracks For Genesis?
» Top Gear 2 (Mode 1)
» Mega Man - Wily Wars (Genesis Mini) MD+
» Please test my MMX MSU1 Genesis hack
» Extra Music Tracks For Genesis?
» Top Gear 2 (Mode 1)
» Mega Man - Wily Wars (Genesis Mini) MD+
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum