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: DOS Mame and Joystick support - help?  (Read 4943 times)

0 Members and 1 Guest are viewing this topic.

JLR2000

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 435
  • Last login:February 18, 2021, 02:49:16 pm
  • There is NO Sanctuary...
    • WWW
DOS Mame and Joystick support - help?
« on: September 11, 2002, 04:07:21 pm »
I'm setting up a machine running pure dos, dmame and ADVMenu.  I want to use a mouse and an old pc joystick for input.  I have the mouse working good, but I'm confused how to get mame to recognize the joystick. It is an old Gravis Gamepad 4 button model.  I've plugged it into my soundcard port, and I set ADVMenu to support joysticks and it works in the FE, but when I get to MAME I don't get any response when mapping buttons (using TAB).  I've tried running dmame from the command line with options like:

dmame -joygamepadpro centiped

-and-

dmame -joyauto centiped

but have had no luck.  Do I need some sort of DOS drivers for the gamepad?  The game I'm replacing only has a few inputs, so I'm hoping to avoid buying an interface or a keyboard hack.  I think a gamepad hack would be much simpler if I can get the joystick recognized.  Thanks for any and all help!!

rampy

  • *shrug*
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2910
  • Last login:March 02, 2007, 11:32:16 am
  • ...as useless as a JPG is to Helen Keller
    • Build Your Own PVR
Re:DOS Mame and Joystick support - help?
« Reply #1 on: September 11, 2002, 04:46:05 pm »

I'm setting up a machine running pure dos, dmame and ADVMenu.  I want to use a mouse and an old pc joystick for input.  I have the mouse working good, but I'm confused how to get mame to recognize the joystick. It is an old Gravis Gamepad 4 button model.  I've plugged it into my soundcard port, and I set ADVMenu to support joysticks and it works in the FE, but when I get to MAME I don't get any response when mapping buttons (using TAB).  I've tried running dmame from the command line with options like:

dmame -joygamepadpro centiped

-and-

dmame -joyauto centiped

but have had no luck.  Do I need some sort of DOS drivers for the gamepad?  The game I'm replacing only has a few inputs, so I'm hoping to avoid buying an interface or a keyboard hack.  I think a gamepad hack would be much simpler if I can get the joystick recognized.  Thanks for any and all help!!


it should be dmame centiped -joy auto   (the important thing is the space after -joy then the joystick name   )

Not sure if ADVmame is different but fwiw   dmame gamename -joy sidewinder works for me in vanilla dos without any gamepad drivers... I DID have to enable my soundcard in DOS though.. in may case load the SB emulation and set blaster commands in my autoexec.bat

Hope that helps... good luck!

rampy


JLR2000

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 435
  • Last login:February 18, 2021, 02:49:16 pm
  • There is NO Sanctuary...
    • WWW
Re:DOS Mame and Joystick support - help?
« Reply #2 on: September 11, 2002, 04:51:50 pm »
Thanks!  I do have soundcard commands in my Autoexec.  Looks like I was just typing the parameters in the wrong order! (DOH  ::) )  I am using dos mame, not AdvanceMame.  (Just using the AdvMenu DOS mame frontend).  Thanks for your help. Can't wait to try it tonite!!

Thenasty

  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4420
  • Last login:Yesterday at 12:46:10 pm
    • Thenasty's Arcademania Horizontal/Vertical monitor setup.
Re:DOS Mame and Joystick support - help?
« Reply #3 on: September 11, 2002, 07:16:54 pm »
for your need..
Dmame -4button gamename
Thenasty's Arcademania Horizontal/Vertical setup.
http://forum.arcadecontrols.com/index.php?topic=26696.0

Free VGA Breakout Cable
http://forum.arcadecontrols.com/index.php?topic=38228.0

Ultimate All in One Coin Mech write up (Make your own)
http://forum.arcadecontrols.com/index.php?topic=19200.0

JLR2000

  • Wiki Contributor
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 435
  • Last login:February 18, 2021, 02:49:16 pm
  • There is NO Sanctuary...
    • WWW
Re:DOS Mame and Joystick support - help?
« Reply #4 on: September 11, 2002, 07:53:17 pm »
Thanks everyone for your help.....here's what I needed to do:


dmame gamename -joy 4button


also found out I can't edit the mame.cfg file in dos with the "edit" command.  I just copied it to a floppy and changed it with notepad on another pc.  Eventually, I just wiped out the mame.cfg and reran dmame with all the parameters I wanted:

dmame gamename -soundcard 1 -joy 4button -mouse

and a new mame.cfg was created. One thing to note: the soundcard option somehow was set to "-1" instead of "1". I just edited with notepad and replaced it.  Now it's good to go.  Thanks again everyone.. ;D