Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: MameWah and Gamepad  (Read 2702 times)

0 Members and 1 Guest are viewing this topic.

Slope

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 43
  • Last login:May 02, 2015, 03:43:21 am
MameWah and Gamepad
« on: March 13, 2006, 11:12:17 pm »
Okay, before you guys kill me, yes I did a search and I'm still having trouble.  :'(

Here's what I have:
   * Windows XP
   * MamWah 1.62b10
   * Logitech Dual Action Gamepad
   * Emulators currently loaded: z26 and Nestopia
   * joy2key for use with the emulators

I found through my searches that I need to use Joy2Key get get MameWah to work via gamepad.  Is this true?  Looks like it should work natively, but it doesn't....at least not for me.

I got JoytoKey loaded for the emulators fine, but not MameWah.  If I put it in the "startup_app_commandlines" I run into problems.  I need to kill the old Joy2Key before it loads the new Jot2Key with the different configuration.  If I use a batch file, the cmd box hangs.  Here's how I have it looking now...

Mamewah.ini
### External Application Settings ###
startup_app_commandlines                  c:\games\bin\killjoytokey.exe
exit_app_commandlines                     
exit_and_run_app_commandlines

This just makes sure I don't have a Joy2Key loaded.  Works great, but I can't use the gamepad in MameWah.

Atari 2600.ini
### Execution Settings ###
pre_emulator_app_commandlines             c:\games\bin\joytokey.exe c:\games\bin\atari260.cfg{nowait}{autoquit}
emulator_commandline                      c:\games\emulators\atari260\emulator\z26.exe "[rompath]\[name].[romext]" -v8 -iJ{nodosbox}
post_emulator_app_commandlines            c:\games\bin\killjoytokey.exe
general_app_commandlines

This setup works great, but I can't use the gamepad in Mamewah.  If I need to put the killjoy2key.exe in the pre_emulator_app commands it doesn't wait long enough and it won't load the new config.

My problems would be solved if Mamewah supported gamepads natively...I think...  How do you guys have it working.  What can I change to make this work?

Again, I appreciate all the help you have given me so far.  I can't wait to get this working.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MameWah and Gamepad
« Reply #1 on: March 14, 2006, 04:48:35 am »
I found through my searches that I need to use Joy2Key get get MameWah to work via gamepad.  Is this true?  Looks like it should work natively, but it doesn't....at least not for me.

No, it has native support.  You need to edit the ctrlr file and turn on joystick at least...where this file is depends on the version of Mamewah - assuming v1.61, it is the \mamewah\ctrlr\default.ini file.

Slope

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 43
  • Last login:May 02, 2015, 03:43:21 am
Re: MameWah and Gamepad
« Reply #2 on: March 14, 2006, 08:50:50 am »
I'm running version 1.62b10.

How do I turn it on?  I edited the default.ini file and am using these settings:

# 0 or 1 (off / on)
keyboard 1
mouse 0
joystick 1

Oh and at the top it has...

# main form
UP_1_GAME         "DIK_UP

Slope

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 43
  • Last login:May 02, 2015, 03:43:21 am
Re: MameWah and Gamepad
« Reply #3 on: March 14, 2006, 07:03:50 pm »
I just found the .\config\mamewah.cfg and have made the change there and it still doesn't work.  Here's what the config file looks like:

### INPUT MAPPINGS ###

# main form
UP_1_GAME         "DIK_UP

Slope

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 43
  • Last login:May 02, 2015, 03:43:21 am
Re: MameWah and Gamepad
« Reply #4 on: March 14, 2006, 08:50:54 pm »
I got it!!!  ;D  I was using the wrong config file.

Thanks MineWah for your help.  And thanks for making such a cool front-end!!   :D

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:June 22, 2025, 02:32:40 am
  • Insufficient facts always invite danger.
Re: MameWah and Gamepad
« Reply #5 on: March 16, 2006, 01:27:15 pm »
If you like it and use it, make sure to donate something to the developer. Keep these guys around to allow us a choice for frontends, and keep getting improvements and support!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MameWah and Gamepad
« Reply #6 on: March 16, 2006, 01:51:49 pm »
If you like it and use it, make sure to donate something to the developer. Keep these guys around to allow us a choice for frontends, and keep getting improvements and support!

How do you want that $20? ;)

 ;D

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:June 22, 2025, 02:32:40 am
  • Insufficient facts always invite danger.
Re: MameWah and Gamepad
« Reply #7 on: March 16, 2006, 04:42:28 pm »
Don't you mean

jcrouse

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1027
  • Last login:January 09, 2010, 05:53:51 pm
    • CPViewer
Re: MameWah and Gamepad
« Reply #8 on: March 16, 2006, 04:51:23 pm »
If you like it and use it, make sure to donate something to the developer. Keep these guys around to allow us a choice for frontends, and keep getting improvements and support!

How do you want that $20? ;)

 ;D

Problem is, the guy is probably donating $10 so Mini loses again. He isn't the brightest character around.

 ::)
John

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: MameWah and Gamepad
« Reply #9 on: March 17, 2006, 07:59:13 am »
Problem is, the guy is probably donating $10 so Mini loses again. He isn't the brightest character around.

If it isn't 'Orc-Crouse'!

 :D