mednafen - mdeguzis/RetroRig GitHub Wiki
Table of Contents
- About Mednafen
- Configuration File Locations
- Pre-configured changes for RetroRig
- Gamepad Controls and Shortcuts
- BIOS Files
- SDL2 Support
- Ubuntu PPA packages - beta only
About Mednafen
Mednafen is an OpenGL and SDL multi-system free software wrapper that bundles various third-party emulation cores into a single package, and is driven by command-line input. It is distributed under the terms of the GNU General Public License.
Mednafen is an acronym for "My Emulator Doesn't Need A Frickin' Excellent Name" and was before known as Nintencer. Mednafen has RetroArch/Libretro port.
Configuration File Locations
The configuraiton files for this component are located at:
/home/your_user/.retrorig/.retrorig/.mednafen/
Pre-configured changes for RetroRig
This section will expand in the future, but I will briefly go over what I change in the default configuration file.
- Pre-configured control mappings
- Aspect ratio set to original aspect (stretch X, Y without distortion)
- Full screeen turned on
- Save state and load state to button mapping on gamepad
- Exit via Esc (normal operation, but done with gamepad)
- OpenGL video scalers and shaders configured for best results (always changing). Most use 'ipsharpner
and
hq2x`
Gamepad Controls and ShortcutsIf you are unsatisfied with system controls for Mednafen, here are some handy tips:
Esc
will exitF1
will show the helpF2
wil remap any control function (such as remapping Esc to a gamepad button)ALT
+SHIFT
+1
will reconfiguring controls for player 1CTRL
+SHIFT
+1
will change the gamepad typeALT
+F2
will remap a control function
BIOS Files
Some consoles require bios files be placed in the RetroRig/BIOS/Mednafen folder or the Mednafen ROMs folder. Please reference the below list for some help.
PSX/PS1
The PSX support requires you to place the correct BIOS image files in the correct location. This location is currently set in the mednafen configuration file as RetroRig/BIOS/Mednafen
. DO NOT rename other revisions/regions of the BIOS to match the expected filenames, or you'll likely cause emulation glitches.
The only acceptable rename is noted below:
scph5500.bin
SCPH-5500 BIOS image. Required for Japan-region games.
scph5501.bin
SCPH-5501 BIOS image. Required for North America/US-region games. Reportedly the same as the SCPH-7003 BIOS image.
scph5502.bin
SCPH-5502 BIOS image. Required for Europe-region games.
The filenames listed below are per default psx.bios_* settings.
Atari Lynx
Atari Lynx emulation requires the 512-byte Lynx boot ROM image, named as "lynxboot.img", and placed in the Mednafen base directory.
For more information, please see the Mednafen documentation website.
SDL2 Support
This is currently only in the beta, and is used to better take advantage of key features of the development library, most notably dual-display support and relative position specification. This will soon transition to the main Ubuntu branch.
About Mednafen
Starting in the beta branch, RetroRig colloborators are in the beginning stages of offering a PPA to provide our custom pacakges. The struture of Mednafens package follows:
Accepted:
OK: mednafen_0.9.36.2.1.orig.tar.bz2
OK: mednafen_0.9.36.2.1.debian.tar.gz
OK: mednafen_0.9.36.2.1.dsc
-> Component: main Section: games
mednafen (0.9.36.2.1) trusty; urgency=medium
* patched for SDL2 and added dual-head support
In the above Debian strucure, the additional ".1" suffix added to the original package name denotes our patch level.
For all other PPA information, please see the PPA Information wiki page.