Difference between revisions of "Emulator:Mednafen"

From Wah!ki
Jump to navigation Jump to search
Line 22: Line 22:
 
|}
 
|}
  
== Reassigning Inputs and Hotkeys ==
+
== Cabinet-Friendliness Tips ==
 +
=== Reassigning Inputs ===
 
While any game is running in Mednafen, press ALT + SHIFT + 1.  This will prompt you to set and confirm all of your inputs for player 1.  To set up player 2's controls, press ALT + SHIFT + 2 and repeat the process. [http://mednafen.sourceforge.net/documentation/#using-keys-nes]  This will commit the mapped inputs for the current game's platform.
 
While any game is running in Mednafen, press ALT + SHIFT + 1.  This will prompt you to set and confirm all of your inputs for player 1.  To set up player 2's controls, press ALT + SHIFT + 2 and repeat the process. [http://mednafen.sourceforge.net/documentation/#using-keys-nes]  This will commit the mapped inputs for the current game's platform.
  
 
Alternatively, you can edit Mednafen's config file in a text editor.  Open '''~/.mednafen/mednafen.cfg'''.  Scroll down to or search for the platform (e.g: ";nes", ";sms", ";gba"), and set the desired [http://ubuntuforums.org/showthread.php?t=719186 keycodes] for your inputs.
 
Alternatively, you can edit Mednafen's config file in a text editor.  Open '''~/.mednafen/mednafen.cfg'''.  Scroll down to or search for the platform (e.g: ";nes", ";sms", ";gba"), and set the desired [http://ubuntuforums.org/showthread.php?t=719186 keycodes] for your inputs.
  
If you're using Mednafen with Wah!Cade in an arcade cabinet, you will probably want to redefine the 1 and 2 keys, which are used as save state selections by default.  Scroll down in the config file to ";Save" and make the following changes:
+
Example:
 +
  ;nes, Port 1, Gamepad: A
 +
  nes.input.port1.gamepad.a keyboard '''122'''
 +
 
 +
=== Reassigning Save State Keys ===
 +
The number keys are used to select save states.  If you have 1 and 2 mapped to your start buttons and you want to disable the save state messages that appear when you press them, you will need to remap the save state keys.  Scroll down in the '''mednafen.cfg''' file to ";Save" and make the following changes:
  
 
   ;Save state 1 select
 
   ;Save state 1 select
Line 37: Line 43:
 
Now you can map player 1 start to the 1 key, and player 2 start to the 2 key, without conflicting with the save state selector.
 
Now you can map player 1 start to the 1 key, and player 2 start to the 2 key, without conflicting with the save state selector.
  
 +
=== Exit on ESC ===
 +
ESC exits the emulator by default.
 +
 +
== Help Menu ==
 
The help menu is accessible at any time by pressing F1.
 
The help menu is accessible at any time by pressing F1.
 
ESC exits the emulator by default.
 
  
 
== External Links ==
 
== External Links ==
 
* [http://mednafen.sourceforge.net/ mednafen.sourceforge.net] - Mednafen homepage
 
* [http://mednafen.sourceforge.net/ mednafen.sourceforge.net] - Mednafen homepage

Revision as of 01:52, 20 February 2011

About

Mednafen is a portable, utilizing OpenGL and SDL, argument(command-line)-driven multi-system emulator with many advanced features. The Atari Lynx, GameBoy (Color), GameBoy Advance, NES, PC Engine(TurboGrafx 16), SuperGrafx, Neo Geo Pocket (Color), PC-FX, and WonderSwan (Color) are emulated.

Mednafen is an acronym for "My Emulator Doesn't Need A Frickin' Excellent Name."

Configuration

Platform Version Device Exec Type commandline_format
Linux 0.8.D ROM /usr/games/mednafen D "[rompath]/[name].[romext]"

Cabinet-Friendliness Tips

Reassigning Inputs

While any game is running in Mednafen, press ALT + SHIFT + 1. This will prompt you to set and confirm all of your inputs for player 1. To set up player 2's controls, press ALT + SHIFT + 2 and repeat the process. [1] This will commit the mapped inputs for the current game's platform.

Alternatively, you can edit Mednafen's config file in a text editor. Open ~/.mednafen/mednafen.cfg. Scroll down to or search for the platform (e.g: ";nes", ";sms", ";gba"), and set the desired keycodes for your inputs.

Example:

  ;nes, Port 1, Gamepad: A
  nes.input.port1.gamepad.a keyboard 122

Reassigning Save State Keys

The number keys are used to select save states. If you have 1 and 2 mapped to your start buttons and you want to disable the save state messages that appear when you press them, you will need to remap the save state keys. Scroll down in the mednafen.cfg file to ";Save" and make the following changes:

  ;Save state 1 select
  command.1 keyboard 0
  
  ;Save state 2 select
  command.2 keyboard 0

Now you can map player 1 start to the 1 key, and player 2 start to the 2 key, without conflicting with the save state selector.

Exit on ESC

ESC exits the emulator by default.

Help Menu

The help menu is accessible at any time by pressing F1.

External Links