View Full Version : Gun wii working with games of shoots in Mame
akiles500
02-12-2011, 09:16 AM
I have get with a gun wii that works with games of shoots in Mame:
5LFfPsbktbY
Price of all:39 euros
At the moment only works out of Hyperspin.
Cheers
akiles500
02-13-2011, 10:31 AM
Here you go a tutorial to do it:
Gun Wii for games of shoots in M.A.M.E. Wireless
-Components used:
-Gun for Wii (4 euros) and Wiimote control (22 euros):
http://thumbs.subefotos.com/a93b1c7bb0bb06abfa4751fdef0bce25o.jpg (http://subefotos.com/ver/?a93b1c7bb0bb06abfa4751fdef0bce25o.jpg)
http://thumbs.subefotos.com/f083e51e3bcf1a584eec6860ba8fd887o.jpg (http://subefotos.com/ver/?f083e51e3bcf1a584eec6860ba8fd887o.jpg)
-Usb-bluetooth adapter (5 euros):
http://thumbs.subefotos.com/db415b5ea14fbb17a70a8c392b45bc91o.jpg (http://subefotos.com/ver/?db415b5ea14fbb17a70a8c392b45bc91o.jpg)
-Wii Sensor Bar (8 euros):
http://thumbs.subefotos.com/e688496b85bf0cfe6ebfc3b7ef1ad86fo.jpg (http://subefotos.com/ver/?e688496b85bf0cfe6ebfc3b7ef1ad86fo.jpg)
-Required Software:
-Bluesoil:
http://thumbs.subefotos.com/65438e6416d5831ed7416330633a1734o.jpg (http://subefotos.com/ver/?65438e6416d5831ed7416330633a1734o.jpg)
-Wiinremote:
http://thumbs.subefotos.com/8b0c86592421af4c16ca961db7b58516o.jpg (http://subefotos.com/ver/?8b0c86592421af4c16ca961db7b58516o.jpg)
-Instalation:
Install the program and connect our adapter BlueSoleil Bluetooth / USB.
Open the Bluesoleil and double-click the orange ball icon, located in the central part of the interface:
http://thumbs.subefotos.com/65438e6416d5831ed7416330633a1734o.jpg (http://subefotos.com/ver/?65438e6416d5831ed7416330633a1734o.jpg)
then press the buttons 1 and 2 wiimote control to activate the bluetooth, this will sync with the bluetooth adapter / USB PC.It will recognize the controller Wiimote as Nintendo RVL-CNT-01:
http://thumbs.subefotos.com/cf2cd0424abec680d0f14054f94b5668o.jpg (http://subefotos.com/ver/?cf2cd0424abec680d0f14054f94b5668o.jpg)
We select our new device Nintendo RVL-CNT-01 and give the right mouse button and choose the option Connect-> service bluetooth human interface device:
http://thumbs.subefotos.com/b964602a775d266e874e63bf8bec7105o.jpg (http://subefotos.com/ver/?b964602a775d266e874e63bf8bec7105o.jpg)
It will get a red line between the orange ball and the device and we can see that in the task bar icon changes from blue to green:
http://thumbs.subefotos.com/dcbfda5af4d0c5090f46481871648f84o.jpg (http://subefotos.com/ver/?dcbfda5af4d0c5090f46481871648f84o.jpg)
Now put the sensor bar on top of your monitor and centered and switch on:
Wiinremote Now run the program and go to Preferences:
http://thumbs.subefotos.com/c448ab816ead91e0962399bae2d3a831o.jpg (http://subefotos.com/ver/?c448ab816ead91e0962399bae2d3a831o.jpg)
mark in this window IR sensor and assign to the button A to the Right-Click Mouse:
http://thumbs.subefotos.com/005fbf063e30da53d298519fd6b5a101o.jpg (http://subefotos.com/ver/?005fbf063e30da53d298519fd6b5a101o.jpg)
In B the Middle Mouse Click :
http://thumbs.subefotos.com/50ce71c50dad3e2d33a4aa2e37d32813o.jpg (http://subefotos.com/ver/?50ce71c50dad3e2d33a4aa2e37d32813o.jpg)
and in the home button Cursor On/Off $ Speed:
http://thumbs.subefotos.com/5d1db37a0af102e7f4d1f2a18c8c35ffo.jpg (http://subefotos.com/ver/?5d1db37a0af102e7f4d1f2a18c8c35ffo.jpg)
You will mark Enabled cursor at startup and Minimize at startup.Give the Apply button and close the program.
When we open other time, it opens minimized in the task bar and the mouse pointer will move with the Wiimote gun.
Set M.A.M.E:
To use our Wiimote as a gun, we must first set our version of mame in my case the version 141 of mameplus.Open mameplus 141 and go to the Options tab / Default Game Options:
http://thumbs.subefotos.com/03f01444f26fc063e6323c385a82b871o.jpg (http://subefotos.com/ver/?03f01444f26fc063e6323c385a82b871o.jpg)
In CONTROLLERS we check in the options Enable LightGun Input y Offscreen shots reload (this option is used to recharge the gun in some games).
NOTE: There are some games where you have to recharge, so it is best to have marked the option in MAME "Offscreen shots reload", so if you shoot pointing away from the screen, will be a recharge.
http://thumbs.subefotos.com/aa0fedc15fbb16e8b127f3c924d3925do.jpg (http://subefotos.com/ver/?aa0fedc15fbb16e8b127f3c924d3925do.jpg)
And in Controller Mapping we check in the option lightgun device the option lightgun, and we give Accept button:
http://thumbs.subefotos.com/a22f3b3ffec185772d600521d78b0503o.jpg (http://subefotos.com/ver/?a22f3b3ffec185772d600521d78b0503o.jpg)
Now run a game, for example: Operation Wolf and go to the game menu, Input (This game):
http://thumbs.subefotos.com/49839b6b75bc9c635a98e927bcb03e16o.jpg (http://subefotos.com/ver/?49839b6b75bc9c635a98e927bcb03e16o.jpg)
and configure the controls as follows:
Button 1 – pull the trigger "B"
Button 2 - Press "A"
Lightgun Analog X - Move the Wiimote horizontally
Analog Ligthgun Y - Move the Wiimote vertically
Example with the game Operation Wolf.When we open the menu Input (This Game) we find with this configuration:
http://thumbs.subefotos.com/b49c3e21c0b8a1aaca9dbf7b1463499bo.jpg (http://subefotos.com/ver/?b49c3e21c0b8a1aaca9dbf7b1463499bo.jpg)
To change the buttons get any easier than the button to change, for example:
P1 Button 1: Get over P1 Button 1 and press Enter, then press the gun trigger and will mark Gun 1 button 2.
P2 Button 2: Get over P1 Button 2 and press Enter, then press the button on the control button and dial 1 Gun 2.
X lightgun Analog: Analog X lightgun Get up and press the Enter key, then move the gun in pan until it reads Gun 1 axis X.
Lightgun And Analog: Stand up lightgun And Analog and press Enter, then move the gun into vertical movement until it reads Gun 1 axis Y.
And after changing four controls, should look like this:
http://thumbs.subefotos.com/1f767e616cd2222375f9b48325e81e7eo.jpg (http://subefotos.com/ver/?1f767e616cd2222375f9b48325e81e7eo.jpg)
Now we are ready to play.
NOTE: This configuration of buttons has to be done for each game of shoots of Marne.
NOTE: The problem because it was not compatible mameplus before is because from the version 117 (I remember), the mame step of use raw input instead of direct input to read controls, keyboards and so on.
The solution is to use an old version of mame or compile the current changing the value of direct input from 0 to 1 in the file of source code Input.c:
In the source code going to this folder /src/osd/windows/ and here there is a file called INPUT.C, you open it with notepad and you change where it says:
#define FORCE_DIRECTIPUT 0
You put
#define FORCE_DIRECTIPUT 1
List of Gun Shooters in Mame (147games):
1. Alien Command
2. Alien3: The Gun
3. Alien3: The Gun
4. Area 51
5. Bang!
6. Beast Busters
7. Beast Busters
8. Beast Busters 2nd Nightmare
9. Behind Enemy Lines
10. Born To Fight
11. Bronx
12. Bubble Trouble
13. CarnEvil
14. Catch-22
15. Cheyenne (version 1.0)
16. Chiller (version 3.0)
17. Clay Pigeon (version 2.0)
18. Colt
19. Combat (version 3.0)
20. Confidential Mission
21. Crackshot
22. Crime Patrol 2: Drug Wars v1.1
23. Crisis Zone
24. Crossbow
25. Crypt Killer
26. Cycle Shooting
27. Dead Eye
28. Death Crimson OX
29. Deer Hunting
30. Desert Gun
31. Dragon Gun
32. Duck Hunt
33. Egg Venture
34. Egg Venture Deluxe
35. Evil Night
36. Extreme Hunting
37. Extreme Hunting 2
38. Fast Draw Showdown v1.3
39. Gallagher's Gallery
40. Ghost Hunter
41. Ghost Squad
42. Ghoul Panic (OB2/VER.A)
43. Golly! Ghost!
44. Great Guns
45. Gun Bullet
46. Gun Gabacho
47. Gun Survivor 2: Bio Hazard Code Veronica
48. Gunblade NY
49. Gunbuster
50. Hell Night
51. Hit 'n Miss
52. Hogan's Alley
53. House of the Dead
54. House of the Dead 2
55. Invasion - The Abductors
56. Johnny Nero Action Hero
57. Judge Dredd
58. Jurassic Park
59. Jurassic Park 3
60. Keisatsukan Shinjuku
61. L.A. Machineguns
62. Laser Ghost
63. Lethal Enforcers
64. Lethal Enforcers II: Gun Fighters
65. Lethal Justice
66. Line of Fire / Bakudan Yarou
67. Locked 'n Loaded
68. Lord of Gun
69. Lupin The Third - The Shooting
70. Mad Dog McCree II: The Lost Gold Gun
71. Mad Dog McCree (1º Parte)
72. Mallet Madness v2.1
73. Maximum Force
74. Mechanized Attack
75. Mobil Suit Gundam Final Shooting
76. N.Y. Captor
77. One Shot One Kill
78. Operation Bear
79. Operation Thunder Hurricane
80. Operation Thunderbolt
81. Operation Tiger
82. Operation Wolf
83. Operation Wolf 3
84. P's Attack
85. Platoon V.
86. Point Blank
87. Point Blank 2
88. Police 24/7
89. Police 911
90. Police 911 2
91. Police Trainer
92. Rail Chase
93. Rail Chase 2
94. Ranger Mission
95. Rapid Fire
96. Revolution X
97. Road Runner
98. Sharpshooter
99. Shooting Gallery
100. Shooting Master
101. Silent Scope
102. Silent Scope 2
103. Silent Scope EX
104. Skeet Shot Dynamo
105. Sogeki
106. Space Gun
107. Space Pirates
108. Sports Shooting USA
109. Steel Gunner
110. Steel Gunner 2
111. Target Hits
112. Teraburst
113. Terminator 2 - Judgment Day
114. The House of the Dead III
115. The Last Bounty Hunter
116. The Lost World
117. The Maze of the Kings
118. Tickee Tickats
119. Time Crisis
120. Time Crisis 2
121. Time Crisis 3
122. Total Vice
123. Triple Hunt
124. Trophy Hunting - Bear & Moose
125. Turkey Hunting
126. Turkey Shoot
127. Tut's Tomb
128. Twin Adventure
129. Under Fire
130. Model Racing gun game
131. Virtua Cop
132. Virtua Cop 2
133. Virtua Cop 3
134. Virtual Combat
135. Vs. Duck Hunt
136. Vs. Freedom Force
137. Vs. Hogan's Alley
138. Who Dunit
139. Who Shot Johnny Rock?
140. Wild Gunman
141. Wild Pilot
142. Wing Shooting Championship
143. World Combat
144. Zero Point
145. Zero Point 2
146. Zombie Raid
147. Zorton Brothers (Los Justicieros)
I onlyhave tested Operation Wolf,the others there are tested.
NOTE:Only I have tested in games of Mame but I believe that also will work with games of Sega model 2 ,Naomi,etc...
5LFfPsbktbY
I followed your instructions today and got some mixed results. I am able to get the wiimote to detect in MAME, but I'm having issues with it's stability. I'm not sure if it's just my positioning, but my cursor often stops being detected while moving the wiimote, it will work fine for a second, then stop working, the start working again. No idea what's causing it.
akiles500
02-13-2011, 11:32 PM
The bar leds wireless have to be good loaded always and the wiimote have charged batteries.
With press the button HOME enabled or disabled the cursor.
akiles500
02-14-2011, 07:08 AM
This tutorial is configurated for used with wiirremote and this software only accept a wiimote.
There is other software called Glovepie that with it if it can to use two wiimote to play with two guns but I don,t know configurated,if anyone know configurated could upload the configuration.
Cheers
akiles500
02-18-2011, 06:35 AM
Updated of tutorial gun shooters in Mame with gun wii.
Enjoy it!
Veusti
02-25-2011, 11:32 AM
thx Akiles. Amazin' tutorial :p
akiles500
02-25-2011, 12:35 PM
Veusti I'm glad you like it
Enjoy it!
bewts
02-26-2011, 07:44 AM
Very cool. Gonna have to order a sensor bar.
So this won't work in HS? Or you just need a script to open the software for each shooter game?
akiles500
02-26-2011, 09:46 AM
Betws each game have to configurate like the configuration of tutorial.
The configuration always is the same for each game.
Veusti
02-26-2011, 11:14 AM
If I launch hyperspin, can I use my wii gun ? I think bewts has right, we should create a script to open software ( Wiinremote & Blue Soleil ).
Akiles, do you test your wii gun with hyperspin with other emulator ?
bewts
02-26-2011, 02:20 PM
You could probably just have it as a startup program when your system boots.
Does that software do mouse emulation? that would solve some probems with PC versions of HOTD.
Veusti
02-27-2011, 01:52 AM
I don't know if Wiinremote can do it but i know GLOVEPIE can do.
I don't test Glovepie because it seems difficult, you must create a script and use ppjoy.
Betws, with Glovepie you could find a script for HOTD. look at this ;)
roxVAfay-z4
The guy don't use a sensor bar that why he shoot the ceiling lol
sosfx
02-27-2011, 09:04 AM
Nice Guide akiles going to give this a go :)
thanks
Methe
04-28-2011, 09:03 AM
You can find an usb powered sensorbar here : videogamebundle.com
akiles500
04-28-2011, 11:34 AM
Veusti I only have tested with some games in mameplus emulator.