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: wiimote as a light gun (another try)  (Read 16877 times)

0 Members and 1 Guest are viewing this topic.

Valken

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:March 05, 2025, 06:05:48 pm
wiimote as a light gun (another try)
« on: November 03, 2010, 06:20:46 am »
some times ago I've tried to configure my wiimote to work in MS windows, just to use it as a light gun with mame. I've desisted after a few hours because of the lack of a software that could detect the wiimote like a plug'n play device (glovepie was too long to configure for my taste), the inaccuracy of the pointer (using glovepie) and last but not least, the absence of a "real" light gun shape, wiimote.

Well, now I've found a user friendly software that detect my wiimote "on the fly" and seems enough accurate (using sensor bar) in desktop use, at about 1,5 -2 meters discance from the monitor (you can find it at this url http://forums.whirlpool.net.au/forum-replies.cfm?t=1192317).
I've also found a really badass (machine) gun with wiimote and nunchuk integrated...





... There's only one problem: the wiimote is not recognized by mame (probably because of the raw imput detection method used by the emulator)...

So I'm here to ask your help to solve the problem; any suggestion will be appreciated

----------------UPDATE---------------
I've tried it with an old version of mame that supports direct input and it works (quite) well: the pointing accuracy is not bad... the "feel" It's almost the same as using wiimote with a real wii to play on rail  games.
Unfortunatly, wiimote  buttons are not recognized by MAME; so, the controller works only as a pointing device.



« Last Edit: November 04, 2010, 05:37:30 am by Valken »

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: wiimote as a light gun (another try)
« Reply #1 on: November 03, 2010, 07:35:40 am »
Promising! Hadn't seen this app before. Downloaded and will check it out tonight.

NIVO

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1256
  • Last login:March 20, 2025, 03:33:34 pm
  • danny_galaga is my mail man.
    • N.A.M.E. - arcade cabinet project
Re: wiimote as a light gun (another try)
« Reply #2 on: November 03, 2010, 07:35:06 pm »
where did you get the gun Valken? I didnt really read the link you posted to be honest(my being lazy) if it was posted there.

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: wiimote as a light gun (another try)
« Reply #3 on: November 03, 2010, 07:52:23 pm »

bkenobi

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1668
  • Last login:August 16, 2021, 10:41:52 pm
Re: wiimote as a light gun (another try)
« Reply #4 on: November 03, 2010, 09:21:05 pm »
That Uzi looks cool, but I highly suspect it will be painful to play most gun games with.  Most games utilize a pistol, which has a short barrel.  If you use a longer barrel (especially one that's heavier), you will wear your arms out VERY quickly.  If you use it how the actual gun is designed to be used, you won't be able to hit targets on faster movement games and will significantly handicap yourself IMO.

Valken

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:March 05, 2025, 06:05:48 pm
Re: wiimote as a light gun (another try)
« Reply #5 on: November 04, 2010, 04:51:04 am »
where did you get the gun Valken? I didnt really read the link you posted to be honest(my being lazy) if it was posted there.

I've found it at a Fnac superstore, in Italy where (i live and) it's officially distributed. You can find a video of the machinegun in action here

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8522
  • Last login:Yesterday at 01:09:20 am
  • because the mail never stops
    • dans cocktail lounge
Re: wiimote as a light gun (another try)
« Reply #6 on: November 04, 2010, 06:21:55 am »
some times ago I've tried to configure my wiimote to work in MS windows, just to use it as a light gun with mame. I've desisted after a few hours because of the lack of a software that could detect the wiimote like a plug'n play device (glovepie was too long to configure for my taste), the inaccuracy of the pointer (using glovepie) and last but not least, the absence of a "real" light gun shape, wiimote.

Well, now I've found a user friendly software that detect my wiimote "on the fly" and seems enough accurate (using sensor bar) in desktop use, at about 1,5 -2 meters discance from the monitor (you can find it at this url http://forums.whirlpool.net.au/forum-replies.cfm?t=1192317).
I've also found a really badass (machine) gun with wiimote and nunchuk integrated...





... There's only one problem: the wiimote is not recognized by mame (probably because of the raw imput detection method used by the emulator)...

So I'm here to ask your help to solve the problem; any suggestion will be appreciated

----------------UPDATE---------------
I've tried it with an old version of mame that supports direct input and it works (quite) well: the pointing accuracy is not bad... the "feel" It's almost the same as using wiimote with a real wii to play on rail  games.
Unfortunatly, wiimote  buttons are not recognized by MAME; so, the controller works only as a pointing device.





Holy crap, that gun looks awesome! Link? (not that I could import it to Australia looking like that)


ROUGHING UP THE SUSPECT SINCE 1981

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: wiimote as a light gun (another try)
« Reply #7 on: November 04, 2010, 08:47:41 am »
This actually sounds like a really awesome idea. I read the link you provided, and have 2 questions. I don't know if anyone has the answers, but:

1) do you know is there any reason they are reccomend a $70 bluetooth adaptor? These things are generally cheap as far as I know.
http://www.meritline.com/mini-type-wireless-bluetooth-usb-adapter-class-1-bluetooth-v-2---p-26876.aspx

2) Why is the sensor bar optional? I don't get it. How would you even hook up a sensor bar to a pc? Do they mean that you need to hook up a wireless sensor bar via blue tooth?

JustMichael

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1438
  • Last login:September 27, 2015, 01:19:40 am
  • Mmmmm!! Cheesecake!!
Re: wiimote as a light gun (another try)
« Reply #8 on: November 04, 2010, 10:04:30 am »
1) do you know is there any reason they are reccomend a $70 bluetooth adaptor? These things are generally cheap as far as I know.
http://www.meritline.com/mini-type-wireless-bluetooth-usb-adapter-class-1-bluetooth-v-2---p-26876.aspx

$70???  Don't believe everything you read on the internet!  It might have been $70 1 1/2 years ago (when adding taxes and shipping to AU) but if you follow the link, Dlink has it for $29.99 in their store and Walmart has it for $22.82 +$.97 shipping

2) Why is the sensor bar optional? I don't get it. How would you even hook up a sensor bar to a pc? Do they mean that you need to hook up a wireless sensor bar via blue tooth?

The "sensor bar" is a misnomer.  It does NOT sense anything.  It just shines a couple of infra-red lights and it is the wiimotes that "see" these lights.
The Wii sensor bar was optional because he had a battery powered "sensor bar".  I don't know what voltage the Wii feeds the sensor bar so I can't advise how to connect it to the pc.  A wireless sensor bar is wireless because it is powered by batteries and it doesn't "connect" to anything.  It just sits there shining 2 lights.

For the record I haven't tried to use my Wiimotes with my pc.  I am happy with using them with the Wii only.

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: wiimote as a light gun (another try)
« Reply #9 on: November 04, 2010, 10:39:17 am »
Thanks for the reply, Michael.

I figured the mention of a $70 Bluetooth dongle was just a plug for an overpriced product, but wanted to make sure I wasn't missing anything.

I didn't know the Wii sensor bar only sent an infrared signal, I thought it received one from the end of the wiimote as well. So, the sensor bar is optional, but it would be necessary to have something, even if that is just two infrared LEDs mounted in by the screen.

I am really interested in a wireless option for shooters, and this sounds like the cheapest route to go. I have a "non-invasive" mame-ing to my arcade cabinet. (Everything just routes through JAMMA and can be brought back to original in less than a minute, just by swapping out jamma plug and modular CP) I didn't do any shooter setup, because it would pretty much need a dedicated control panel.


Hoopz

  • Don't brand me a troublemaker!
  • Trade Count: (+8)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5285
  • Last login:June 13, 2025, 09:18:32 pm
  • Intellivision Rocks!
Re: wiimote as a light gun (another try)
« Reply #10 on: November 04, 2010, 10:40:49 am »
I bought a Bluetooth dongle at Amazon about 2 years ago.  It cost just $4 or $5 before shipping.  I haven't had any issues with it. 

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: wiimote as a light gun (another try)
« Reply #11 on: November 04, 2010, 11:16:18 am »
Yeah, they are dirt cheap these days. I'm gonna go buy a usb bluetooth dongle and try this out. Probably not immediately though. If I figure anything out, I'll be sure to post it.

patm95

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 77
  • Last login:March 07, 2019, 05:43:55 pm
Re: wiimote as a light gun (another try)
« Reply #12 on: November 04, 2010, 11:28:10 am »
This would be a very interesting route if it proves fruitful.  This could give us good controllers that have recoil and at reasonable prices.  Hope it works out!

Valken

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 15
  • Last login:March 05, 2025, 06:05:48 pm
Re: wiimote as a light gun (another try)
« Reply #13 on: November 29, 2010, 05:58:18 am »
Just a little update:
WiiMouse author has released a new version of his software that supports wiimotion plus. He also releases a special controller type called "namedPipe": If I've understood right it is basically a dll that creates a named pipe server so that applications can connect to it and utilise the WiiMote.
Mybe, in the  future we will see an official mame build with embended wiimote (i.e. lightgun)  support ...
Meanwhile, I've kindly asked the author  to tweak / modify  his software to work properly with mame light gun games.
He said he's working on it...  :applaud: (http://forums.whirlpool.net.au/forum-replies.cfm?t=1192317&p=9)

... keep your fingers crossed
  
« Last Edit: November 29, 2010, 06:11:18 am by Valken »

JRoz

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 257
  • Last login:February 14, 2024, 07:33:43 am
Re: wiimote as a light gun (another try)
« Reply #14 on: November 29, 2010, 05:47:28 pm »
Ahh damn, I was all excited for this and already got my hardwired sensor bar in the mail.  Oh well I'll have to use it on my pc and other emulated games for the time being :)

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: wiimote as a light gun (another try)
« Reply #15 on: December 01, 2010, 01:16:08 pm »
I just got my bluetooth adaptor in, and the wiimote software seems to work great. So far, the only possible solution I can find is to recompile mame to force directinput. Looking back at previous posts to Headkaze from previous posts, can be done with his compiler. This is the only workaround I can think of to get a new version of MAME to read the input like the old versions could.

http://forum.arcadecontrols.com/index.php?topic=96015.msg1012763#msg1012763

The only problem I think would happen that is that it will treat any and all mouse movements as the same thing. If you have a mouse trackball, it will see those movements as the same thing as the lightgun. I don't think it would be a problem in many cases, but I think there would be multiplayer lightgun problems going on with forced directinput.

The only other solution I see is finding a driver based Wii Remote utility for the PC, one that will treat the wii remote as a real Bluetooth mouse or bluetooth tablet. It looks like there are some other wii remote utilities out there, like WiinRemote or Glovepie, but I haven't had a chance to test them out.

shateredsoul

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1412
  • Last login:January 25, 2013, 08:23:51 pm
Re: wiimote as a light gun (another try)
« Reply #16 on: December 01, 2010, 03:37:50 pm »
about f'ing time. How does this work with dolphin? has anyone tried that yet?

wait, so does this work with the toshiba stack? The readme file says it must be the microsoft stack  :-\ :'(
« Last Edit: December 01, 2010, 03:39:49 pm by shateredsoul »

Vigo

  • the Scourage of Carpathia
  • Global Moderator
  • Trade Count: (+24)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6417
  • Last login:June 25, 2025, 03:09:16 pm
Re: wiimote as a light gun (another try)
« Reply #17 on: December 01, 2010, 04:18:01 pm »
about f'ing time. How does this work with dolphin? has anyone tried that yet?

wait, so does this work with the toshiba stack? The readme file says it must be the microsoft stack  :-\ :'(

I have connected mine with bluesoleil stack, and it looks like it is supported in dolphin.

JRoz

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 257
  • Last login:February 14, 2024, 07:33:43 am
Re: wiimote as a light gun (another try)
« Reply #18 on: December 03, 2010, 04:23:09 pm »
So Vigo, you have tested this with Dolphin and it worked with light gun games?  Anyone try it with NullDC or even NES for dunk hunt type games :)

Celsius

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 81
  • Last login:May 10, 2015, 11:40:41 am
    • Rcade project
Re: wiimote as a light gun (another try)
« Reply #19 on: May 01, 2011, 12:12:48 pm »
Did anyone get this to work in mame?

dragomanjk

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • Last login:May 30, 2011, 02:10:05 pm
Re: wiimote as a light gun (another try)
« Reply #20 on: May 09, 2011, 02:59:35 pm »
Here's a person that is using GlovePie and 2 wiimotes.    I assume he's using PPJoy, DirectInput hack, or something similar.  I borrowed a wiimote and while it worked in Dolphin, I couldn't get MAME to recognize it.  I don't know if it was a configuration issue or not.

jtslade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 747
  • Last login:February 13, 2025, 10:06:51 pm
  • Keep it looking originallish!
Re: wiimote as a light gun (another try)
« Reply #21 on: May 13, 2011, 08:50:15 am »
Any find a solution to get the Wiimote to be seen by Mame?

Using Wiiremote it actually tracks pretty well, but of course none of the buttons work and

I can't even figure out what settings to have the mame.ini so that the wii mote is seen as a lightgun..

Any assistance would be appreciated. I have seen that an older version of mame may be the answer.
Ms. Pacman Original Cocktail with Non destructive mod to Groovy Arcade Linux with All 4way Vertical Cocktail capable 2 button or less games.


Neo Geo MVS Mame Cab Running Hyperspin, 25" Nanao Arcade Monitor, Mini-pac, ATI Radeon HD 4850 (ATOM-15), IL 8 Way Euro-Sticks from Paradise Arcade, Win XP 64bit, and tons of other junk.


jtslade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 747
  • Last login:February 13, 2025, 10:06:51 pm
  • Keep it looking originallish!
Re: wiimote as a light gun (another try)
« Reply #22 on: May 14, 2011, 03:24:56 am »
Anyone know where to find a pre 1.17 Mame (32 bit) since this is when they implemented RAW_Input ?

Something with no-nag and hi score support would be awesome....


Thank you!
Ms. Pacman Original Cocktail with Non destructive mod to Groovy Arcade Linux with All 4way Vertical Cocktail capable 2 button or less games.


Neo Geo MVS Mame Cab Running Hyperspin, 25" Nanao Arcade Monitor, Mini-pac, ATI Radeon HD 4850 (ATOM-15), IL 8 Way Euro-Sticks from Paradise Arcade, Win XP 64bit, and tons of other junk.


jtslade

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 747
  • Last login:February 13, 2025, 10:06:51 pm
  • Keep it looking originallish!
Re: wiimote as a light gun (another try)
« Reply #23 on: May 14, 2011, 04:17:07 am »
Ok I'm building a 1.16 Mame AMD64 optimized (Dual Core) 32bit version of mame with High-Score support diff.

I'll post a link and my findings after working to get two light guns working.

I am using Wiinremote, DLINK DBT-120 blue tooth adapter on my WinXP 32bit cab and bluesoeil stack

http://onakasuita.org/wii/index-e.html

Ms. Pacman Original Cocktail with Non destructive mod to Groovy Arcade Linux with All 4way Vertical Cocktail capable 2 button or less games.


Neo Geo MVS Mame Cab Running Hyperspin, 25" Nanao Arcade Monitor, Mini-pac, ATI Radeon HD 4850 (ATOM-15), IL 8 Way Euro-Sticks from Paradise Arcade, Win XP 64bit, and tons of other junk.


Yardley

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 144
  • Last login:July 13, 2025, 04:02:08 pm
  • I want to build my own arcade controls!
Re: wiimote as a light gun (another try)
« Reply #24 on: April 07, 2013, 03:28:31 am »
Hi, can someone please help me. How can I reassign button B to be left click and button A right click with the wiimote mouse software linked to in the original post?