Escolar Documentos
Profissional Documentos
Cultura Documentos
Home
Help
Search
Login
Register
Main
Woodworking
Reviews
Software
Monitor/Video
Maximus
Arcade
Audio/Jukebox/MP3
Project
Announcements
Artwork
Consoles
Buy/Sell/Trade
Meet Up
Arcade
Miscellaneous
Everything Else
Politics n Religion
Forum Discussion
Wiki
Discussion
GroovyMAME
DOS/WinCab
Merit/JVL Touchscreen
Project Arcade
Old Boards
Linux
Restorations
controls.dat
Old Archives
Automated
Projects
Pinball
Unread posts | New Replies | Recent posts | Arcade | Rules | Chatroom | Wiki | File Repository | RSS
previous next
Pages: [1]
Go Down
Author
Topic: Glovepie Scripts for MAME and other Emulators (Read 5980 times)
Howard_Casto
Idiot Police
Trade Count: (+1)
Full Member
Online
Posts: 12028
Your Post's Soul is MINE!!!
.......Again??
This is the companion thread to the "Fun With Glovepie" tutorial thread.
Completed scripts and scripts that are ready for beta testing will be posted here.
Useful Utilities
=========
http://glovepie.org/glovepie_download.php - Glovepie (Latest Version): Needed
to run scripts.
http://bluetoothinstaller.com/bluetooth-command-line-tools/ - Bluetooth
command line utilities: Allows scripts to unpair wiimotes via code.
http://uploaded.net/file/fzhe96kn -PPJoy: Necessary to emulate the gamepad,
which is REQUIRED for MAME usage.
http://www.ngohq.com/home.php?page=dseo -Driver Signature Enforcement
Overrider: Win7/Vista users may need this to properly install ppjoy.
=========
#1 Complete Wii Accessory Script 1.5 (CompleteWiimote1.5.zip)
It really annoys me that most of the scripts out there are hard-coded so
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
1/15
9/4/2014
specifically towards the game the authors wanted to use it with that they need
re-written for anything else. This is especially true if the script doesn't use
motion controls as it can easily be made completely generic. Thus this script. It
maps out all of a wiimote's functions to a ppjoy virtual gamepad. All wiimote
accessories are also supported and mapped out accordingly, and yes I said ALL
accessories. Nunchucks, Classics, Music Controllers, the Balance board ect... All
of the admin buttons (plus, minus and home) are universally mapped to the same
gamepad buttons so you can hot-swap accessories on the fly. I wrote it a while
back and it's designed to "just work" aka if you want to use your guitar hero
controller for frets on fire just plug it in and run the script. If you want to switch
to a arcade game, plug in your mad-catz stick, ect.... Pointer functions are not
hooked up (intentionally so) nor is motion plus or standard motion controls. This
is a "regular" script.
The script is currently beta, but you guys can help me finish it. I couldn't test the
drum controller portion of the script because I don't have one. Ditto for the Dj
Hero controller. So if you guys have those controllers and are willing to test, pm
me and we'll get the script finished. After those functions are finalized I'll modify
the script to support the full 7 wiimotes and it will essentially be done.
Script #2 Quad Wiimote Lightguns for MAME 1.5 (mwg1.5.zip) **UPDATE** Fixes
calibration bug for players 2-4
Ok without further ado, I'll go ahead and post this one. It could use more work,
but it is perfectly servicable as a solution to run up to 4 wiimotes as lightguns in
mame. Features include a calibration routine, the ability to save settings... shake
to reload and much more. Extract the zip file to your glovepie folder.
NOTE: This script is complex! It includes two helper exes and has it's own
document folder. It is an entire system, not a mere script, so read all of the docs
before using it.
C ompleteWiimote1.5.zip (5.57 kB - downloaded 754 times.)
mwg1.5.zip (21.67 kB - downloaded 746 times.)
Howard_Casto
Idiot Police
Trade Count: (+1)
Full Member
Online
Logged
Posts: 12028
Your Post's Soul is MINE!!!
.......Again??
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
2/15
9/4/2014
Howard_Casto
Idiot Police
Trade Count: (+1)
Full Member
Online
Finally released the wii lightgun script..... It might still need tweaking, but it
needs to be out in the wild.
Logged
Posts: 12028
Your Post's Soul is MINE!!!
.......Again??
Necro
Trade Count: (+1)
Full Member
Offline
Posts: 1007
HC: Does the 'lightgun' script work using the pointer function of the remote or the
gyroscope/position functions? (or both). Just wondering if I'd need to setup the
LED bar for functionality.
Logged
BadMouth
Trade Count: (+4)
Full Member
Offline
I'll give it a try this evening. I spent two evenings on Wii-Mouse and couldn't get
it working with my 3rd party guns.
Hopefully I'll have better luck with glovepie.
Logged
Posts: 5286
Howard_Casto
Idiot Police
Trade Count: (+1)
Full Member
Online
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
3/15
9/4/2014
You need the led bar. It's a lightgun script, not a gyromouse script.
Logged
Posts: 12028
Your Post's Soul is MINE!!!
.......Again??
Le Chuck
I want a new quote!
Wiki C ontributor
Trade Count: (+6)
Full Member
Offline
Good stuff, many thanks for all your hard work on this. Look forward to trying it
out!
Logged
Posts: 4061
2012 UC A Awardee
nipsmg
Trade Count: (0)
Full Member
Offline
This will be tested this week. Got new computer in machine up and running, but
am having problems programming my ipac
As soon as I figure that out I'll be
testing this out.
Logged
Posts: 1119
ROONEY!! ERRGH!!
RamjetR
Trade Count: (0)
Full Member
Offline
Sweet! Charging 4 AA batteries now and shall have a go after lunch. Hopefully I
can have a quiet day at work and find some time to set it up.
Logged
Posts: 137
Gentlemen.... Start your engines!
My Youtube C hannel http://www.youtube.com/user/ramjetr?feature=mhee
Try my RamjetM2Borderless V0.7 utility for your M2Emulator shooting games here
https://docs.google.com/open?id=0B-P3wlC iYEm3RzhC Zk1NcFR3blE
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
4/15
9/4/2014
BadMouth
Trade Count: (+4)
Full Member
Offline
I jumped into the first script without reading that it didn't support the pointing
functions.
Had a bit of trouble consistently connecting, but it worked fine for the POV hat
and buttons.
I tried my 2nd gun(not both at the same time) before realizing that the script
didn't support pointing.
Posts: 5286
Never sure if they're really
a noob or a troll.
Howard_Casto
Idiot Police
Trade Count: (+1)
Full Member
Online
Logged
That's your bluetooth connection giving you issues... the scripts have nothing to
do with that. You wouldn't have a wii nearby would you? If a wii and your pc try
to read the wiimote at the same time you'll get a bsod.
Logged
Posts: 12028
Your Post's Soul is MINE!!!
.......Again??
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
5/15
9/4/2014
BadMouth
Trade Count: (+4)
Full Member
Offline
Quote from: Howard_Casto on September 11, 2012, 09:34:05 am
That's your blue tooth conne ction giving you issue s... the scripts have nothing to do
with that. You wouldn't have a wii ne arby would you? If a wii and your pc try to re ad
the wiim ote at the sam e tim e you'll ge t a bsod.
Posts: 5286
Never sure if they're really
a noob or a troll.
Logged
Howard_Casto
Idiot Police
Trade Count: (+1)
Full Member
Online
Posts: 12028
Are you using the Microsoft stack? Because that's the best one for glovepie... or
at least it worked best for me.
Howard_Casto
Idiot Police
Logged
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
6/15
9/4/2014
DOH!
How come everytime I release something, no matter how long I debug it I find a
bug?
The calibration part of the script has a bug in it... no matter the gun you try to
calibrate, only player 1 trigger responds.
Posts: 12028
**UPDATE**
The modified script and only the script is attached to this post. I'll update the
complete packaged and change the revision accordingly later tonight.
MAMEWiiGun.zip (3.56 kB - downloaded 112 times.)
BadMouth
Trade Count: (+4)
Full Member
Logged
Offline
Quote from: Howard_Casto on September 11, 2012, 11:21:39 am
W hat m ode l wiim ote is it?
C e rtain wiim ote s (e spe ctially wiim ote +) ne e d a spe cial e x e from the glove pie site .
That's about all I can think off ote hr than your stack be ing odd.
Posts: 5286
Are you using the Microsoft stack ? Be cause that's the be st one for glove pie ... or at
le ast it work e d be st for m e .
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
7/15
9/4/2014
http://www.bigben.fr/produit/produit/id/2285
I know it's not the script, but when testing script #1 it paired and worked fine.
Somewhere between switching back and forth between the guns pairing it to
test the gun script (#2), something got screwey with just the one gun.
In my end-user thinking, there's gotta be a value stored somewhere in windows
that got screwed up and can be cleared out.
Pretty sure I'm using the Microsoft stack. Will check the names when I get home,
but there were 2 drivers and they both started with MS.
Last Edit: September 11, 2012, 11:50:26 am by BadMouth
Howard_Casto
Idiot Police
Trade Count: (+1)
Full Member
Logged
Online
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
8/15
9/4/2014
BadMouth
Trade Count: (+4)
Full Member
Logged
Offline
Quote from: Howard_Casto on September 11, 2012, 12:20:40 pm
Also try syncing the wiim ote outside of glove pie and se e if that he lps. You can do this
in your blue tooth control pane l in windows..... sim ply go through the add de vice wizard
and hit 1+2 while you are going through the wizard.... don't add a pairing code .
Posts: 5286
Never sure if they're really
a noob or a troll.
Necro
Trade Count: (+1)
Full Member
Offline
Howard - can you recommend any bluetooth adapters? Definitely want to try this
but don't want to get one that's just going to cause headaches.
Logged
Posts: 1007
Building a 'C lassic' MAME
C ab
Howard_Casto
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
9/15
9/4/2014
Idiot Police
Trade Count: (+1)
Full Member
Online
other Emulators
Reply #18 on: September 11, 2012,
04:00:54 pm
Quote from: Necro on September 11, 2012, 03:32:12 pm
Howard - can you re com m e nd any blue tooth adapte rs? De finite ly want to try this but
don't want to ge t one that's just going to cause he adache s.
Posts: 12028
Your Post's Soul is MINE!!!
.......Again??
Necro
Trade Count: (+1)
Full Member
Not sure. I'm using an el-cheapo 2$ adaptor from china. It works pretty well but
I almost always have to connect my wiimotes twice (it freezes after a sec,
disconnects and I have to sync again). I think the stack is more important. The
adaptor needs to be fully compatable with with the microsoft stack or bluesoli
Logged
Offline
Posts: 1007
OK...I'll dig in more to try to find one that's reliable. I'm at the point where I'd
rather just spend a few bucks more and get something I know will work rather
than deal with the hassle.
Logged
Howard_Casto
Idiot Police
Trade Count: (+1)
Full Member
Online
Posts: 12028
Your Post's Soul is MINE!!!
.......Again??
felix pontifex
Trade Count: (0)
Full Member
Offline
Posts: 24
I want to build my own
arcade controls!
Hey, it's been a while, I wanted to ask about cleanpie. I tried just starting the
program (after putting it in the glovepie folder like the instructions told me) but
nothing happened. I then tried putting it to admin approval to open, and while
the confirm window came up for that, it didn't do anything afterward. I then tried
putting in the command line, and I got a "runtime error 5" message.
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
10/15
9/4/2014
In the mean time I will try using it through glovepie, if the damn thing will sync.
Logged
Warborg
Trade Count: (0)
Full Member
Offline
Posts: 357
Personal text? Nah...
I apologize for the thread necro here, but I recently started messing with Dolphin
and have a Tron edition Wiimote that I am going to sync up to my media PC for
Dolphin and for playing ScummVM from bed, and in the various google searches I
ran across this thread... What was of particular interest was of using the
Wiimote as a lightgun. My GF loves lightgun games, especially some of the ones
on the PS2. So Howard, you seem to be the Wiimote/Glovepie guru here, I
wanted to find out if you know if this can function with PCSX2 and (I guess this
part is for anyone that's set this up previously) how accurate are the Wiimotes in
terms of using them for this function? Are they accurate enough to put them in a
gun housing and actually aim down the sights or like most lightguns of this
nature only accurate enough to move around a crosshair on the screen?
Logged
Howard_Casto
Idiot Police
Trade Count: (+1)
Full Member
Online
I don't have a clue if they work on pcsx2, sorry. If it supports a joystick as the
lightgun input then it should work for both players, otherwise you'll probably only
get p1 support.
It's not going to work super well in the context of an arcade cab, unless it's a
podium cab. In terms of just a tv, yeah it works pretty well. I actually test most
of my scripts via sitting on the bed (my tv is at the foot of the bed).
Posts: 12028
Your Post's Soul is MINE!!!
.......Again??
With accuracy you mileage may vary. I managed to get it almost dead accurate
IF I calibrated upon the start of each game and IF I didn't move around a lot. It
also entirely depends upon the type of game you are playing. The Sega shooters
typically have a pretty wide birth in terms of shots, so pinpoint accuracy isn't
needed. With other games it might not be accurate enough. I suggest leaving
some sort of crosshair on the screen just in case your calibration goes off, but in
general you can usually "shoot from the hip".
Logged
liquid8
Trade Count: (0)
Full Member
Offline
I used Howard's script - it takes a bit of time to setup properly and glovepie and
wiimote pairing can be finicky. It's important to pick a spot and calibrate. I do
leave the crosshair on regardless. It's a cheap solution - if I could, I'd probably
get something else but it works well enough.
Posts: 156
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
11/15
9/4/2014
I ordered this holder, which is really nice but quite heavy after a pretty short use:
I think I actually modified Howard's scripts to sort of combine the full wiimote and
lightgun stuff together, to make use of additional buttons (and the builtin
nunchuck). I haven't messed with it for a while, but I will be brushing it off again
soon if you have any interest.
Logged
Warborg
Trade Count: (0)
Full Member
Offline
Quote from: liquid8 on February 14, 2014, 10:19:16 pm
Posts: 357
Personal text? Nah...
I use d Howard's script - it tak e s a bit of tim e to se tup prope rly and glove pie and
wiim ote pairing can be finick y. It's im portant to pick a spot and calibrate . I do le ave
the crosshair on re gardle ss. It's a che ap solution - if I could, I'd probably ge t
som e thing e lse but it work s we ll e nough.
I orde re d this holde r, which is re ally nice but quite he avy afte r a pre tty short use :
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
12/15
9/4/2014
I think I actually m odifie d Howard's scripts to sort of com bine the full wiim ote and
lightgun stuff toge the r, to m ak e use of additional buttons (and the builtin nunchuck ).
I have n't m e sse d with it for a while , but I will be brushing it off again soon if you have
any inte re st.
Yes, I do have interest in it... I've tried a couple of solutions in the past that I
didn't care for (including trying move on the PS3) and I'm already trying to set up
the Wiimote for other functionality so I would love it if this would be a workable
solution...
Logged
mike boss
Trade Count: (+1)
Full Member
Offline
Posts: 2036
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
13/15
9/4/2014
WindDrake
Trade Count: (0)
Full Member
Offline
WindDrake
Trade Count: (0)
Full Member
Offline
Saw this.
http://wiibrew.org/wiki/Wiimote/Extension_Controllers#Classic_Controller
Then looked at http://glovepie.org/forum/viewtopic.php?f=6&t=723
Seems like this damned thing is going to require some custom script (which I am
terrible at).
Posts: 236
Electrical Engineer
Using that funky decode, I was able to find that .Exp2-5 return accelerometer
data, Exp0 is Nunchuk Up/Down, Exp1 is Left/Right, and that the Z button
decrements Exp5 by 1, while the C button decrements Exp6 by 2, both at the
same time decrements by 3.
I can't get the Wiimote buttons to do anything, though. Makes me think Glovepie
is not reading the "Nunchuk" properly.
Logged
My Gameroom Blog/Dumping-ground | What Boards/Chassis' I Fix
My MAME Cabs: 4-Player 2-Player
estrika
Trade Count: (0)
Jr. Member
Offline
Posts: 7
howard_casto great script and addon tools, i already have one for lightgun but
mine is very simple it works but only wiimote not nunchuk, i will test yours.
regarding btpair tools, i have a china made dongle cheap as hell, and it never
worked with microsoft bluetooth stack, i found the solution using toshiba
bluetooth stack, its paied but if anyone needs it i can upload it (80mg).
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
14/15
9/4/2014
howard_casto i have 2 more scripts one motion sensor gyro i use it to play
driving games like mario kart and another a simple mouse to demul and others
(keep in mind that i am a noobie comparing to you with glovepie) do you think
you can bring more interesting stuff to them?
i leave them here in case you want take a look, they work but are simple as hell.
Logged
Pages: [1]
Go Up
previous next
Build Your Own Arcade Controls Forum | Main | Software Forum |
Glovepie Scripts for MAME and other Emulators
Jum p to:
go
Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
| XHTML R SS W AP2
http://forum.arcadecontrols.com/index.php/topic,122350.msg1422504.html#msg1422504
15/15