Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: JLR2000 on September 11, 2002, 04:07:21 pm

Title: DOS Mame and Joystick support - help?
Post by: JLR2000 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!!
Title: Re:DOS Mame and Joystick support - help?
Post by: rampy 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

Title: Re:DOS Mame and Joystick support - help?
Post by: JLR2000 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!!
Title: Re:DOS Mame and Joystick support - help?
Post by: Thenasty on September 11, 2002, 07:16:54 pm
for your need..
Dmame -4button gamename
Title: Re:DOS Mame and Joystick support - help?
Post by: JLR2000 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