Thanks again Howard, as I said I'm quite new to all this (I mean the forum and how it works), I perfectly understand what you said and your point of view.
That said, I think that in the future Sinden gun is probably the best one and I will consider buying one of them but it's quite expensive at the moment.
My girlfriend (now wife) bought me a Wii for my birthday more than 10 years ago so I spent no money for the wiimote. I found a wonderful gun (with a button on the bottom of the butt of the gun, perfect as the action button in Time Crisis) for like $ 18, shipping included, and I had an ebay coupon of $ 12, so I spent like $ 6 for the gun. I also bought the Dolphin bar on Amazon for less than $ 25 (it was a special offer).
So, all my Wiimote/gun/sensor costed me like $ 30, a Sinden gun was about $ 110 last time I checked.
I know that Glovepie is an old and dead program, but it's simple and do what I need.
With the script I wrote the line of sight accuracy is almost perfect, the real problem possibly is the latency, but I don't think it's caused by Glovepie, probably it's a wiimote/dolphinbar/windows drivers issue or a limit of sensor bars technology, but it's not so bad during gaming.
I also added to the script an autofire toggle button and I can play games as Point Blank or Time Crisis without a visible crosshair, thing that I never managed to do with all other script I tried.
The good thing with working with the mouse cursor is that there is no need to adjust any setting. You don't need to mess with MAME in game calibration. I tried the script also with PSX emulators, unfortunately only the old PSXfin works perfectly, but I have very few shooting games on PSX (at the moment only Time Crisis - Poject Titan) so I will not spend time on make it work in other emulators (I briefly tried the nuvee plugin for PCSXR, but it's not that easy and it's too much effort for a single game).
In my script you just have to set a few parameters and you are ready to go:
- Distance of the 2 light dots of the sensor bar in cm (dolphin bar is about 19 cm)
- Width and height of the monitor in cm
- Distance between sensor bar and the actual top of the image frame (I wrote it positioning the sensor bar on top of my monitor)
I wrote the script in like 10 minutes so, at the moment, I just consider the gun in standard vertical position (no gangsta side grip
or tilt allowed) and you can change the distance from the screen without problems. I also consider only the bar at the top of the monitor. With a few more math it's probably easy to add this modifications.
Now I'm in my office but I soon as I have the opportunity I'll attach here the script for anyone who wants to try and possibly improve it.
Thanks again to all