Main > Main Forum
WiimoteS and MAME questions / help...
<< < (2/3) > >>
pulsar5271:
posting itt because i am akcrash's assistant with this arcade cabinet project

even though the remotes recognize as mice, they always do weird things.  in windows, when you have the glovepie script for 2 wiimotes running, it will try to marquee the area between mouse cursors 1 and 2 when either mouse tries to click.  i don't know if this is just a ppjoy problem or something, or if this could be pointing to a bigger problem.

also we need a way to automate bluetooth pairing and initialization.  ideally, we want the wii remotes in holsters on the side of the cabinet, and though the cabinet is open right now, we're gonna finish it up eventually and don't want to have people mess with computer crap when we want to shoot aliens in the face.

p.s. OP is a  :tool:   :cheers:
mhermann:
I started playing around with this as well. I got my two Wii remotes working in Windows. I don't think GlovePie is the answer. From a logical standpoint without any mame changes we need the 2 wii remotes to be recoginized (or be controlling) 2 different mouse devices in windows.

Correct me if I am wrong but the problem with 2 lightguns working in mame is that they have to be setup as joysticks correct? I have not used the Top Guns or the Guncon guns, but my understanding is that if we could get the wii remotes to work just like a trackball and spinner do and have mame recognize them the same way we would be in business, correct?

If that is the case GlovePie will not work as for some reason it just moves the mouse and it will not work in mame. What I think is needed is the creation of a virtual mouse in Windows XP. A driver would be written that takes the input from the Wii controlls and actually controls the virtual mouse. Then mame would just treat the virtual mouse as a regular mouse. This would be similar to PPJoy which treats input devices as joy sticks.

Sorry if this was a ramble I am still trying to get my head around the problem. I am not sure why GlovePie just does not work. If it sends mouse commands to a mouse you would think it would work in mame. Unless the way it is implemented he is not doing API calls which I think is needed.
akcrash:

--- Quote from: mhermann on May 01, 2008, 12:08:15 pm ---
If that is the case GlovePie will not work as for some reason it just moves the mouse and it will not work in mame. What I think is needed is the creation of a virtual mouse in Windows XP. A driver would be written that takes the input from the Wii controlls and actually controls the virtual mouse. Then mame would just treat the virtual mouse as a regular mouse. This would be similar to PPJoy which treats input devices as joy sticks.

I am not sure why GlovePie just does not work. If it sends mouse commands to a mouse you would think it would work in mame. Unless the way it is implemented he is not doing API calls which I think is needed.

--- End quote ---

I found this tidbit in the comments of one of the scripts, "Setting it to the mouse does not work as GlovePIE cannot modify RawImput yet." This is apparently NOT true. Could someone else verify this by trying the script i have attached? With this script i have been playing several gun games, Area 51, T2 and Alien3 The Gun. They all worked great with one wiimote. The only thing that did not work is if the wiimote is set to emulate the mouse buttons, the button presses never show up. Which is why i made the buttons show up as joystick buttons. You can either play with the nunchuck attached or not.


--- Quote from: mhermann on May 01, 2008, 12:08:15 pm ---Correct me if I am wrong but the problem with 2 lightguns working in mame is that they have to be setup as joysticks correct? I have not used the Top Guns or the Guncon guns, but my understanding is that if we could get the wii remotes to work just like a trackball and spinner do and have mame recognize them the same way we would be in business, correct?

--- End quote ---
I think that is correct.

I believe that this whole thing is possible, it just needs some fine tuning, of course an actual driver would be the best solution, glovepie is good but I think it may be drawing CPU power in the background to. I think it can be made to work until some one with the know how to create an actual driver steps in....

Please post your results with this script...

On a side note has anyone played the original alien3 game? Wondering if the gun cursor should stick a little bit when you are pulling the trigger, or if it is something with the scripting or the way the game runs on my machine, cause the cursor moves flawlessly except when the trigger gets pulled.
TheShanMan:

--- Quote from: wbassett on April 28, 2008, 10:23:01 am ---I think there is a lot of interest in this area so they will probably be receptive to it.

--- End quote ---

I agree - whoever figures out how to make these work reliably as a pair will have a lot of people doing this: :notworthy:

I applaud anyone who tries to make this a reality! :applaud:
mhermann:

--- Quote from: akcrash on May 01, 2008, 02:49:25 pm ---Please post your results with this script...

--- End quote ---

I tried it with VS Duck Hunt. It does work . Note Light Gun must be set to 1 in the mame.ini file. But it was jumpy and the fire buttons were weird. As soon as the first duck was released it would file with out me touching the trigger. Then when I wanted to fire it was delayed.

But I think with a real driver this will work. I am looking into it but it is a bit out of my area of expertise.
Navigation
Message Index
Next page
Previous page

Go to full version