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: ActLab guns with the new mame (v0.105)  (Read 2711 times)

0 Members and 1 Guest are viewing this topic.

Farmboy90

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 294
  • Last login:June 26, 2006, 12:15:04 am
  • My cab is done... Pics coming soon!!
ActLab guns with the new mame (v0.105)
« on: April 14, 2006, 11:33:33 am »
Has anyone gotten the ActLab gun set up and working with the new mame, v0.105?

I tried last night and could not make it work.  The gun shoots icons in XP and seems to work well in windows.  But when I load up Mame and try Operation Wolf the cursor never moves.  I remap the trigger and grenade buttons and those work fine.  I can fire shots and throw grenades, but the cursor will not update when I pull the trigger.

The in game setup mapped my trigger and grenades to MOUSE_5, so I figured I would need to get Lightgun Analog X/Y to map to mouse 5 as well.  Since you can't do that in the game I tried to modify the opwolf.cfg.

No matter what I used, MOUSECODE_5_ANALOG_X, MOUSE_5_X, etc... Nothing worked.

I also tried different combinations of mame.ini device settings like:

mouse                      0 and 1 (tried both)
lightgun_device        none/mouse/lightgun  (tried them all)

Any ideas what is going on?



ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: ActLab guns with the new mame (v0.105)
« Reply #1 on: April 14, 2006, 01:08:46 pm »
Can you try moving your actual mouse swiftly for the x/y mame in game setup stuff, then exit and edit the CFG and change the mouse number value to 5?  I was a little confused as well -- my trackball wouldn't work at first, until I realized I had to go in a remap everything because it was now being detected as MOUSE2 for some reason even though it's the only mouse device currently connected?!?  What is mouse1 I wonder hehe. 

I will try and hook up my act labs guns this weekend and see what I find also.

Farmboy90

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 294
  • Last login:June 26, 2006, 12:15:04 am
  • My cab is done... Pics coming soon!!
Re: ActLab guns with the new mame (v0.105)
« Reply #2 on: April 14, 2006, 01:27:41 pm »
Can you try moving your actual mouse swiftly for the x/y mame in game setup stuff, then exit and edit the CFG and change the mouse number value to 5?  I was a little confused as well -- my trackball wouldn't work at first, until I realized I had to go in a remap everything because it was now being detected as MOUSE2 for some reason even though it's the only mouse device currently connected?!?  What is mouse1 I wonder hehe. 

I will try and hook up my act labs guns this weekend and see what I find also.


Yeah this is what I did.  I wiggled the trackball and edited that value.  It did not work.  I also went in and remapped it using the spinner and changed that value as well.  Still no luck.

What is weird though is that MAME recorded different strings when I did that.  As a test, for the analog x axis, I spun the trackball.  Then I went to the analog y axis and spun the spinner.  Then I exited and looked at the .cfg file.  Oddly the values were totally different!!  It was something like MOUSCODE_2_ANALOG_X for one thing, and MOUSE_4_Y for the other.

I mean the strings aren't even close to each other.  Another weird thing is that when I changed MOUSECODE_2_ANALOG_X to MOUSECODE_5_ANALOG_X, MAME stopped recognizing the value. 

So when I went back into the game, after editing the value to 5, the in game setup said n/a.    :lame:   I laughed at this since MAME was the one who chose this to begin with, and now all of a sudden it is invalid??  WTF??    :dizzy:

I think the new mame has a bug or something.

Anyway, if you could let me know what strings are in your .cfg that would be great.   Also post your mame.ini if you can.

Thanks!
« Last Edit: April 14, 2006, 01:29:28 pm by Farmboy90 »

Derrick Renaud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:December 06, 2024, 04:31:44 pm

Farmboy90

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 294
  • Last login:June 26, 2006, 12:15:04 am
  • My cab is done... Pics coming soon!!
Re: ActLab guns with the new mame (v0.105)
« Reply #4 on: April 14, 2006, 03:50:48 pm »
By the way I using mame (not mame32) launched from mamewah.  Not sure if that matters, just thought I would point it out.

Derrick, thanks, I will try it out tonight and let you know.

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project

tkuper05

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 127
  • Last login:February 20, 2022, 07:57:24 pm
  • I find your lack of buttons disturbing.
Re: ActLab guns with the new mame (v0.105)
« Reply #6 on: April 14, 2006, 06:44:14 pm »
Would the setup posted by Derrick work for the topgun lcd lightguns?

Derrick Renaud

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 299
  • Last login:December 06, 2024, 04:31:44 pm
Re: ActLab guns with the new mame (v0.105)
« Reply #7 on: April 14, 2006, 07:20:22 pm »
Would the setup posted by Derrick work for the topgun lcd lightguns?
Setting the controls is mostly the same with the TopGuns.  Except where it says to shoot at the one side, you just hold it there.  Then select the axis and move the gun.

You need to shoot on the actlabs guns so the axis movement is registered.  On the TopGuns you do not need to shoot because the axis updates in real time.

D.

peanut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 52
  • Last login:November 11, 2009, 01:47:29 pm
  • arcade nut
Re: ActLab guns with the new mame (v0.105)
« Reply #8 on: April 16, 2006, 01:44:39 am »
what drivers are you using for the guncon lightguns?

aljupy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 154
  • Last login:October 23, 2011, 07:30:06 pm
  • I want to build my own arcade controls!
Re: ActLab guns with the new mame (v0.105)
« Reply #9 on: April 16, 2006, 05:52:39 am »
what drivers are you using for the guncon lightguns?
With LCD TOP GUN or GUNCON2 You just can use the Smog

ahofle

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4544
  • Last login:August 30, 2023, 05:10:22 pm
    • Arcade Ambience Project
Re: ActLab guns with the new mame (v0.105)
« Reply #10 on: April 27, 2006, 10:10:46 pm »
Has anyone had any luck with offscreen reloads with v0.105 with the act labs guns?  Everything else seems to be working (simultaneous dual guns, shooting) but I can't get either gun to reload offscreen.  Here's my ini:

mouse                   1
offscreen_reload        1
lightgun_device         lightgun

Any ideas?

Oh, and I'm using Win98SE.  Would that be the problem?  :(
« Last Edit: April 28, 2006, 01:10:37 am by ahofle »