Jump to content
  • Announcement

    The HyperSpin 2 early access beta is here!

    We’re starting the first public testing phase with Platinum Members to keep the scope manageable while we test the current feature set and begin to add more. In the future, we’ll provide a version for basic members as well.  On behalf of the entire HyperSpin team, we look forward to another exciting adventure with our community.

Mame and Aimtraks driving me crazy 152/153 doesnt matter.


dougan78

Recommended Posts

Posted

Aimtrak Setup:

Trigger is Mouse left

Offscreen is Mouse right

Red button left side of gun is mouse right

Clicking around and mouse movement in Windows is great. Playing Nestopia and Duckhunt is great (with no crosshair version of course).

I had 1 gun that worked fine so I ordered a second gun. Granted I did not use the first gun a lot however played a bunch of stuff for several hours and worked great. So now to my issues with Mame.

1. Download Mame 152 from mamedev site. Extract, Run mame -cc and configure my ini settings.

2. Test with Mame and guns work great, they are gun 3 and gun 4 the buttons map to gun 3 button 0 and gun 3 button 1. Great.

3. Slap in a mame 152 build no direct input from jumpstile folder and works too.

I walk away and come back and then this is where stuff gets wonky. I start playing a gun game and then button 2 doesn't work. So I check the config and remap the buttons for player 1. Ok now it maps the buttons in mame as gun 3 button 0 for the trigger and gun 3 button 0 for the second button. I know it sees the buttons as separate buttons however it assigns them both as Gun 3 Button 0 separately as in: I take P1 Fire for a gun game and set the trigger and the red gun button they show up separately and both as gun 3 button 0.

Now sometimes if I make a new folder I can make it work and sometimes it will work for multiple sessions. I go through and get it all fixed and then some people come over and want to play gun games and no they don't work. Now I tested as controller instead of using the gun as a mouse and could not get that to work either. If it did not work properly in windows I would think it was the gun however it works fine in windows for both guns.

I have tested Mame 152 from mamedev

I have tested mame 153 from mamedev

I have tested mame 152 from jumpstile folder no direct input

I have tested mame 153 from jumpstile folder no direct in put

I have tested mameui153.

I would assume the mamedev ones should work fine out of the gate. I do not think it is an ultimarc issue. Just wonder if anyone else has seen this before. I am about ready to put both guns back in the box and test them again next fall.

I have also tested put the guns emulated as a controller with direct input versions of mame. That was actually worse as they would keep pointing up.

Side note, I thought maybe having xpadder running was it and not.

at a loss.

Thanks for any help.

Posted

I tested manually editing the guncode_button_0 and changing it to a 1 for the desired button in the config for the game to. That results in it not doing anything. Them both as button 0 has both buttons hit at the same time.

arrghhh!!!!

  • 2 weeks later...
Posted

I finally figured this out and I am posting this to help anyone else. In mame when you configure inputs it is generally a one size fits all approach for the regular games. When it comes to these light gun games I have found that is not the case. Using the non-direct input version of .153 in jumpstiles folder I have found that infact each game must be setup individually. I have 2 examples from my testing:

Area 51:

Enable lightgun input for this game via right click properties, controllers tab, check enable lightgun. This made BOTH my lightguns work if I checked DUAL lights guns stuff was not working, go figure. Next this game requires offscreen reload so be sure that is checked. Launch the game and configure the inputs accordingly. Remove Joystick checkbox. These are the only 2 checkboxes on this screen that need to be checked for this game.

Beast Wars:

Enable lightgun input for this game via right click properties, controllers tab, check enable lightgun. This made BOTH my lightguns work if I checked DUAL lights guns stuff was not working, go figure. Next this game does not require offscreen reload so be sure that is NOT checked. Launch the game and configure the inputs accordingly. Remove Joystick checkbox. There should only be 1 checkbox selected for this game and enable lightgun is it.

Apparently each game requires its own ini to work properly rather than relying on a default config. Why? I have no idea everything else in mame works with a default config I guess that is the difference between controllers and light gun support. Anyway I hope this helps someone else as I literally have done everything to get this working and finally found this to be the case for me and my setup and hope it can be for you too.

Cheers!

  • 1 month later...
Posted

Mame 0.153 & Aimtrak Configuration

If your Aimtrak gun isn’t calibrated yet do the standard calibration by standing back at least 2 ft from your monitor and pointing the gun down and holding the trigger for 5 seconds. You should see the mouse cursor go to the top left of the screen and flash. Aim at it and shoot it, if you did it correctly the mouse cursor will then go to the top right corner of the screen. If it doesent, shoot it again until it does move to the top right corner of the screen. Now shoot it again, and then when it moves to the bottom center of the screen shoot it one last time.

=================================================================================

Now, open up your web browser and download the latest Ultimarc Aim Trak utility (currently 1.9) here:

(The link is located about halfway down the page.)

DISREGARD ANY INSTRUCTIONS ON THE ULTIMARC WEBPAGE. JUST DOWNLOAD THE UTILITY

http://ultimarc.com/aimtrak.html

Start the utility and make sure it says device 1 and shows the firmware version (currently 8.15) Now,under the configuration tab, make sure you setup the button assignments as follows:

On Screen Off Screen

TRIG = Mouse LEFT Mouse RIGHT

AUX= -------- AUX= --------

P1= GP Button 1 GP Button2

P2= GP Button 3 GP Button4

Keep the Enable Cal box’s checked for both ON and OFF screen for TRIG, P1, and P2

Under Cal Delay set it at 60 (this is so when your playing games that have continuous fire by holding down the trigger you dont go into calibration mode.)

Make sure the Emulate Mouse circle is checked and then click on “Apply Changes”

Exit the utility.

=================================================================================

Mame 0.153 configuration

NOTE: I am using mameui64.exe and my mame.ini is located in my \mameui64\ini folder. Do not get step 2 below confused with the mameui64.ini that is located where you have your mameui64.exe located.

Go to the mame.ini and change your settings so they match the ones below. The section your looking for is titled “Core Input Options” Change your settings so they match the ones below.

ctrlr

mouse 0

joystick 1

lightgun 0

multikeyboard 0

multimouse 1

steadykey 0

ui_active 0

offscreen_reload 1

If you are using multiple keyboards you can change that value if you like but the Mouse, Joystick, Lightgun, Multimouse and Offscreen reload MUST be just like above.

Now go down a few more lines in the in the INI until you find this:

paddle_device mouse

adstick_device keyboard

pedal_device keyboard

dial_device mouse

trackball_device keyboard

lightgun_device lightgun

positional_device keyboard

mouse_device mouse

It doesent matter what any of these say EXCEPT these 2:

lightgun device lightgun

mouse device mouse

It needs to be set like this for it to work with games needing offscreen reloads as well as games requiring a second button assignment. (Ie, for grenades or such in games like Beast Buster)

================================================

Now run mame and start any game you like.

After the game loads, Hit the TAB key and pick ”Input General” and then “Player 1 Controls”

Now scroll down until the “P1 Button 1” highlighted. DO NOT PRESS ENTER!!

BEFORE you press enter, point the lightgun steadily at the screen and THEN press enter, and without moving the gun, pull the trigger.

It should say “Gun x B0” (where x could be 1 , 2, 3 etc.)

Now move down one line until “P1 Button 2 is highlighted. DO NOT PRESS ENTER!!

BEFORE you press enter, again point the lightgun steadily at the screen and THEN press enter, and without moving the gun, push the button on the right side of the gun. It should say “Joy x B0” (where x could be 1 , 2, 3 etc.)

Now scroll WAY down the list until you see “Lightgun X Analog Dec” Press “Enter” and then the “ESC” Key.

It should now say “NONE”. Do the same thing for “Lightgun X Analog Inc” and as well as for “Lightgun Y Analog Dec” and “Lightgun Analog Y Inc”.

Now go back up until “Lightgun Analog X” is highlighted. DO NOT PRESS ENTER!!

BEFORE you press enter, point the lightgun steadily at the center of the screen and THEN press enter, and move the gun slowly to the right until it says “Gun x X” (where x could be 1, 2, 3)

Now scroll down until “Lightgun Analog Y” is highlighted. DO NOT PRESS ENTER!!

BEFORE you press enter, point the lightgun steadily at the center of the screen and THEN press enter, and move the gun slowly to the left until it says “Gun x Y” (where x could be 1, 2, 3)

Scroll down until “Return to Previous Menu” is highlighted and then press enter, and again on the next screen. Now go start any lightgun game and it should work perfectly.

( I tested mine on Area 51 Maximum force and then on Beast Busters so I know those 2 work fine)

Posted

So you have a utrak and aimtrak? The key to you getting it working is the naming which device is mouse and lightgun? If so nice find.

Sent from my SCH-I545 using Tapatalk

  • 1 month later...
Posted

I have a mame related question I hope you can help me with.

I have 2 act labs light guns which Ive got working as dual gun (seen as mice) with my house of the dead 3 pc game and also Model 2 Emulator using Troubleshooter 2 app.

Now Ive tried to get dual mice enabled in Mame but Im having a nightmare, player 1 controls player 2 aswell. Apparently mame as standard uses raw input and should work but a lot of the compiles use xinput which does not. Im still using 1.53 and would like to stay with that and use Jumpstiles No nag version. Do you know anyway I can get 2 lightguns to work in Mame and what version of 1.53 would work. Someone said groovymame but it has not worked for me. All the best Fire10

Posted

Sure, I believe those are setup in a similar fashion. I use Jumpstile's builds. NOT the DIRECTINPUT one. The key for me getting this working in mame was this:

Mame.ini:

#

# CORE INPUT OPTIONS

#

coin_lockout 1

ctrlr

mouse 1

joystick 1

lightgun 0

multikeyboard 0

multimouse 0

steadykey 0

ui_active 0

offscreen_reload 0

joystick_map auto

joystick_deadzone 0.3

joystick_saturation 0.85

natural 0

joystick_contradictory 0

coin_impulse 0

In the ini folder I have a ini for each lightgun game:

bbusters.ini

#

# CORE INPUT OPTIONS

#

coin_lockout 1

ctrlr

mouse 0

joystick 0

lightgun 1

multikeyboard 0

multimouse 0

steadykey 0

ui_active 0

offscreen_reload 0

joystick_map auto

joystick_deadzone 0.3

joystick_saturation 0.85

natural 0

joystick_contradictory 0

coin_impulse 0

Each game I setup with its own ini setting offline reload to 1 as necessary. If I did not do it this way I could not get both guns working. They would not assign buttons properly, etc.

Those are just my core inputs sections. The secrions that matter for lightguns.

Posted

Well finally worked it out the version I needed was in Jumpstiles folder, THANKS JUMPSTILES!!!, and it was MameuiFX without direct input. Cheers guys hope this helps someone

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...