Build Your Own Arcade Controls Forum

Main => Lightguns => Topic started by: vargas14617 on April 06, 2019, 10:45:41 pm

Title: Using willmote and act labs gun in same cab. need help
Post by: vargas14617 on April 06, 2019, 10:45:41 pm
i have a cab using act labs for games that use real light guns.  for games like T2 I use the wiimote till i get an aimtrak,  the issue I am having is I keep having to change the mame.ini form 0 to 1 for offscreen reload.  is there a way to make this automatic?
Title: Re: Using willmote and act labs gun in same cab. need help
Post by: thet0ast3r on April 08, 2019, 02:15:44 am
Should be doable. I don`t use windows nowadays, but i guess you are unplugging the unused guns? If so, you could just write a script that modifies the mame ini whenever a certain usb device was connected/disconnected. I don`t know how mame handles the .ini however; so it might be that you have to restart mame.
Title: Re: Using willmote and act labs gun in same cab. need help
Post by: Howard_Casto on April 08, 2019, 02:46:37 am
Or just use the ini file system as designed....  You can make ini files named after specific games (name it after the rom) and those settings will only be used for those games.  So set it one way in your mame.ini, and set it the other way for which ever games you need it turned off.  There aren't a lot of gun games, so it shouldn't take long.  You only need to include the settings that you want to be different btw... no need to copy the entire file. 
Title: Re: Using willmote and act labs gun in same cab. need help
Post by: thet0ast3r on April 08, 2019, 02:54:21 am
well, thats the obvious answer. My brain somehow thought he wanted to sometimes play the same game with different settings.  :banghead:
Title: Re: Using willmote and act labs gun in same cab. need help
Post by: vargas14617 on April 08, 2019, 07:27:57 pm
Or just use the ini file system as designed....  You can make ini files named after specific games (name it after the rom) and those settings will only be used for those games.  So set it one way in your mame.ini, and set it the other way for which ever games you need it turned off.  There aren't a lot of gun games, so it shouldn't take long.  You only need to include the settings that you want to be different btw... no need to copy the entire file.
So I have and INI file for terminator 2 with 1 for offscreen reload and one for house of the dead 0 for offscreen reload.  but how do I do that?
Title: Re: Using willmote and act labs gun in same cab. need help
Post by: Howard_Casto on April 09, 2019, 01:38:38 am
I told you.  Copy the lines of your mame.ini that are going to be different into a text file and name that text file after the roms you want to change.  You'll need to copy it and rename it for each rom you want different.  All of this stuff is covered in mame's documentation.