Results 1 to 10 of 14

Thread: How to configure controls for mednafen?

Hybrid View

  1. #1
    Join Date
    Jan 2007
    Location
    Canada
    Beans
    181

    Question How to configure controls for mednafen?

    Hi, I've installed Mednafen (emulator), and it works great, but I can't figure out how to configure my gamepad to work with it.

    When I run it (mednafen /path/to/rom), I get this:

    Starting Mednafen 0.8.1
    Loading settings from "/home/vertimyst/.mednafen/mednafen.cfg"...
    Initializing joysticks...
    Joystick 0 - Logitech Logitech Dual Action - Unique ID: ce96ea6b9d7ca56a
    Once I'm in-game, I hit F1 for the help. One of the options is 'F2 - Configure Command Key'. So I hit that.

    This is where it gets confusing. At the bottom of the screen, I get 'Press a command key now'. Here, I assume I'm supposed to go 'alt+shift+n' (where n is the port - I have no idea what number I'm supposed to use, though, so I tried 1).

    I get random responses each time, from nothing at all to '1(1)', '1(2)', etc. I think this is because I've messed up the configuration or something. I'm doing a reinstall right now.

    So does anyone know how to configure the controls in this program? I've looked all over, and some people say to use F4 (a non-existent shortcut in my version), while others have said to simply do alt+shift+n right from the start, which also does nothing for me.

    -EDIT-

    Nevermind, I managed to figure it out. It turns out that by configuring the 'command keys', I had messed up the emulator shortcuts. Since reinstalling mednafen didn't fix this, I realized that the config file wasn't being recreated. So I manually deleted it, and that fixed the problem.

    So, to configure the controls, start Mednafen and load your rom:

    Code:
    mednafen /path/to/rom
    And hold down alt+shift and press 1. It should display a direction/button, followed by a number. Simply press the key you want to use for that direction/button. Pressing it a second time confirms the setting, and the setup moves on.
    Last edited by Scooter7; November 28th, 2007 at 11:11 PM. Reason: Solved
    -Vertimyst

  2. #2
    Join Date
    May 2007
    Beans
    46
    Distro
    Ubuntu 7.10 Gutsy Gibbon

    Re: How to configure controls for mednafen?

    Quote Originally Posted by Scooter7 View Post
    Pressing it a second time confirms the setting, and the setup moves on.
    You can also use that to set multiple buttons to the same command. The program knows you are done when you press the same button twice.

  3. #3
    Join Date
    Oct 2007
    Beans
    82
    Distro
    Ubuntu Studio 12.10 Quantal Quetzal

    Re: How to configure controls for mednafen?

    any way I can configure a joystick or game pad to the game? in the command line, I can see my game pad ID/name.

  4. #4
    Join Date
    Jan 2007
    Location
    Canada
    Beans
    181

    Re: How to configure controls for mednafen?

    You should be able to do that using the method I described.

    Just load your game with mednafen, then

    .. hold down alt+shift and press 1. It should display a direction/button, followed by a number. Simply press the key you want to use for that direction/button. Pressing it a second time confirms the setting, and the setup moves on.
    -Vertimyst

  5. #5
    Join Date
    Jan 2007
    Location
    Canada
    Beans
    181

    Re: How to configure controls for mednafen?

    Edit: Oops, sorry for the double post, my wireless card died as I was posting.
    Last edited by Scooter7; June 24th, 2008 at 10:26 PM. Reason: Double post
    -Vertimyst

  6. #6
    Join Date
    Oct 2007
    Beans
    82
    Distro
    Ubuntu Studio 12.10 Quantal Quetzal

    Re: How to configure controls for mednafen?

    weird, doesn't seem to work, only the keyboard works.

  7. #7
    Join Date
    Jan 2007
    Location
    Canada
    Beans
    181

    Re: How to configure controls for mednafen?

    Hmm, when you start mednafen, does it list your gamepad, like it does for me (see my first post in this thread)?

    Maybe try restarting your computer with it plugged in, if you've been plugging it in after starting your computer. Also, make sure it's plugged in before starting mednafen, otherwise it won't detect it.
    -Vertimyst

  8. #8
    Join Date
    Feb 2011
    Beans
    4

    Re: How to configure controls for mednafen?

    Quote Originally Posted by Scooter7 View Post
    -EDIT-

    Nevermind, I managed to figure it out. It turns out that by configuring the 'command keys', I had messed up the emulator shortcuts. Since reinstalling mednafen didn't fix this, I realized that the config file wasn't being recreated. So I manually deleted it, and that fixed the problem.

    So, to configure the controls, start Mednafen and load your rom:

    Code:
    mednafen /path/to/rom
    And hold down alt+shift and press 1. It should display a direction/button, followed by a number. Simply press the key you want to use for that direction/button. Pressing it a second time confirms the setting, and the setup moves on.
    Can you please rephrase this or explain in more detail? Alt+Shift+n doesn't do anything for me, neither when I pressed f2 nor before. F2 makes that line appearing at the bottom, which tells me to press the button which I want to reconfigure, but how am I supposed to know on which buttons which action is at that moment?! Can't figure it out, either it is too obvious or simply not working. I tried the num block, the arrow keys, f3, f4, wasd keys, nothing seems to be working. Also Alt+Shift+1 doesn't do anything, regardless if I pressed F2 before or not. Can someone help me out?

    EDIT: Nevermind... I had to first press Alt+Shift+2 to make mednafen show me a message about the second controler and THEN I was allowed get a response from mednafen when pressing Alt+Shift+1. I don't have any idea why it wouldn't let me configure the inputs for the first controler in the first place, but now it finally worked as it should. Guess you simply have to mash buttons until you make it work by accident
    Last edited by Zelphir; February 13th, 2013 at 04:13 PM.

  9. #9
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    17,619
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: How to configure controls for mednafen?

    Old thread. Closed.
    elementary OS Luna
    My Screenshot

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •