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: Ultimarc Guns Changing Ports  (Read 2451 times)

0 Members and 1 Guest are viewing this topic.

Richardgregory

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Last login:November 17, 2021, 01:15:10 pm
  • I want to build my own arcade controls!
Ultimarc Guns Changing Ports
« on: September 10, 2018, 08:27:04 am »
It's been ages since I turned on my cabinet, but when I did yesterday, I notice that my Ultimarc guns weren't working properly.........I believe that in MAME the configuration changed - ie. GUN1 and buttons were now something else.

I can't recall here in this forum that someone had the same thing.....what are the steps needed to prevent the reconfiguration of the equipment to different USB ports, or MAME configurations.   I thought I labelled each USB device with each USB port so that if it gets disconnected I would know were each one was originally plugged into - this will prevent windows from reassigning devices to USB ports - don't think that's happening.

Been too long!

Thanks

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Ultimarc Guns Changing Ports
« Reply #1 on: September 10, 2018, 08:50:43 am »
Windows keeps re-assigning new ID's every time the PC starts up, And yeah its a PITA!

You can fix it in 1 of 2 ways:

1) Fix the ID's in MAME using this method: https://docs.mamedev.org/advanced/devicemap.html
2) Use a external program to do it (Which is what I did) Makes boot up slightly longer but fixes them in windows rather than in MAME itself.
I cant remember the name of the one I used atm but when I get a chance ile have a look if you want?

It should be on this forum somewhere though as I have mentioned it before....

TheElectricMonk

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 40
  • Last login:May 06, 2022, 04:17:57 pm
  • I want to build my own arcade controls!
Re: Ultimarc Guns Changing Ports
« Reply #2 on: September 10, 2018, 03:38:56 pm »
2) Use a external program to do it (Which is what I did) Makes boot up slightly longer but fixes them in windows rather than in MAME itself.
I cant remember the name of the one I used atm but when I get a chance ile have a look if you want?

It should be on this forum somewhere though as I have mentioned it before....

You did, when I had an unrelated problem.

http://hyperspin-fe.com/files/file/11305-tur-game-controller-order/

Told you the link would come in handy some time  ;)

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Ultimarc Guns Changing Ports
« Reply #3 on: September 10, 2018, 03:41:32 pm »
2) Use a external program to do it (Which is what I did) Makes boot up slightly longer but fixes them in windows rather than in MAME itself.
I cant remember the name of the one I used atm but when I get a chance ile have a look if you want?

It should be on this forum somewhere though as I have mentioned it before....

You did, when I had an unrelated problem.

http://hyperspin-fe.com/files/file/11305-tur-game-controller-order/

Told you the link would come in handy some time  ;)


Hah!

Yeah thats the one ;)

That will sort your prob, Its what I use to keep mine set.

Richardgregory

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Last login:November 17, 2021, 01:15:10 pm
  • I want to build my own arcade controls!
Re: Ultimarc Guns Changing Ports
« Reply #4 on: September 11, 2018, 08:05:42 am »
Thanks all  :applaud:

It's the guns that keep on changing -- not sure why, but then again maybe my spinner is as well, but never noticed.

Cheers!

Richardgregory

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Last login:November 17, 2021, 01:15:10 pm
  • I want to build my own arcade controls!
Re: Ultimarc Guns Changing Ports
« Reply #5 on: September 11, 2018, 10:09:14 pm »
Ok, I installed this evening the utility and the application detected both light guns and created the INI file.  I also created the shortcut to the program and put it in the Windows Startup.  Now what happens is everytime the PC restarts, I get the found USB message in Windows and drivers installing.....I also continue to have the light guns not being recognized in the MAME game - ie. Terminator Judgement Day.  I need to reconfigure the game's control as the GUN ID keeps on changing still after a restart.

I think I"m missing a step here....do I need a CLTRL file in the MAME config directory as well to keep the device ID permanent.

[/quote]


Hah!

Yeah thats the one ;)

That will sort your prob, Its what I use to keep mine set.
[/quote]

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Ultimarc Guns Changing Ports
« Reply #6 on: September 12, 2018, 04:44:52 pm »
Not sure if this is your problem but if I recall there is actually 2 device ID’s per gun.

One shows up as aim trak the other does not.

Have you fixed both?

Richardgregory

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Last login:November 17, 2021, 01:15:10 pm
  • I want to build my own arcade controls!
Re: Ultimarc Guns Changing Ports
« Reply #7 on: September 13, 2018, 08:59:30 am »
Here's the INI file that I'm using, which coincides with what the program detects:

mameconfig version="10">
 <system name = "default">
 <input>
 <mapdevice device="PID_1603" controller="GUNCODE_1" />
 <mapdevice device="PID_1604" controller="GUNCODE_2" />
 <mapdevice device="ATRAK Device #1" controller="JOYCODE_1" />
 <mapdevice device="ATRAK Device #2" controller="JOYCODE_2" />
 </input>
 </system>
</mameconfig>

In MAME, after reboots, the GUNS ID in the game jump from GUN2, to GUN3, to GUN5......driving me nuts!

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Ultimarc Guns Changing Ports
« Reply #8 on: September 13, 2018, 09:09:20 am »
Sorry cant help on that one, never had any luck setting them in mame which is why i used the tur program.

Richardgregory

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Last login:November 17, 2021, 01:15:10 pm
  • I want to build my own arcade controls!
Re: Ultimarc Guns Changing Ports
« Reply #9 on: September 13, 2018, 11:41:06 am »
Yup...I gave the Tur-Game Controller Order program a whirl, but it's not really changing anything for me. 

MAME still assigns the guns different GUNx values each time.  I don't get it.  :banghead:

In your case, your guns are 100% stable each time?  Can't imagine what could be wrong with my system.

Thanks

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Ultimarc Guns Changing Ports
« Reply #10 on: September 13, 2018, 12:27:27 pm »
Yup...I gave the Tur-Game Controller Order program a whirl, but it's not really changing anything for me. 

MAME still assigns the guns different GUNx values each time.  I don't get it.  :banghead:

In your case, your guns are 100% stable each time?  Can't imagine what could be wrong with my system.

Thanks

Yup, once they were set that was it no more changes.
Added a few seconds onto my windows boot time but other than that everything works as should.

I fixed the sensor bar (not that it needed it I dont think) and the IPAC & Spin Trak as well.

Richardgregory

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Last login:November 17, 2021, 01:15:10 pm
  • I want to build my own arcade controls!
Re: Ultimarc Guns Changing Ports
« Reply #11 on: September 14, 2018, 08:22:10 am »
I hope one day I can get all this figured out, but not too optimistic.

I spent another hour on the damn thing yesterday...tried again a few things but still no luck. I even disabled plug and play Windows services, UPNP as well but that did squat.

When running the TUR Game controller on startup, is it normal to see in Windows - Found New Hardware - installing drivers for the devices message everytime? When I run the Listcontroller.exe program, it lists 2 entries for the 2 lightguns....should I be expecting another 2 entries for the buttons of the lightguns? Also, what version of MAME are you using?

Thanks

Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Ultimarc Guns Changing Ports
« Reply #12 on: September 14, 2018, 08:30:54 am »
No it should not be re-installing every time, Mine does not do that.
All that happens with mine is that when the PC boots into windows it disables all the USB's (inc the IPAC) for a few seconds when it re-orders them but after that everything is as normal.

It sounds to be like for some reason your drivers are being lost when you shut down?

Richardgregory

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 360
  • Last login:November 17, 2021, 01:15:10 pm
  • I want to build my own arcade controls!
Re: Ultimarc Guns Changing Ports
« Reply #13 on: September 14, 2018, 08:45:47 am »
Perhaps my Windows 7 somehow is a bit wonky.  When you run the Listcontroller.exe program, or the Tur-Game Controller application itself, how many devices does it detect in your case?  For me, it just lists the 2 lightguns...no IPAC, no spinner, etc that I already have plugged in.


Titchgamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4222
  • Last login:December 17, 2023, 08:05:48 am
  • I have a gaming addiction.....
Re: Ultimarc Guns Changing Ports
« Reply #14 on: September 14, 2018, 09:23:43 am »
Perhaps my Windows 7 somehow is a bit wonky.  When you run the Listcontroller.exe program, or the Tur-Game Controller application itself, how many devices does it detect in your case?  For me, it just lists the 2 lightguns...no IPAC, no spinner, etc that I already have plugged in.

Cant remember to be honest mate, been a while!