| | | Supreme Being
       
Group: Moderated Users Last Login: 12/4/2008 1:36:50 PM Posts: 539, Visits: 1,120 |
| | OK, I am uploading the latest additions I made to GlovePIE, it now has TrackIR emulation, in addition to its normal mouse, keyboard, joystick, and MIDI emulation abilities. http://rapidshare.com/files/59195427/GlovePIETrackedDesktop.zip Edit: the above file is updated This version also makes it possible to write to FakeMouse.DirectInputX etc, so that it won't interfere with the real mouse if you don't want it to, and it handles fractional numbers of mickeys better. And you can now read RealMouse.DirectInputX etc, if you want to read the real mouse (actually the combined of all real mice) without it including any fake mouse movements. Previously you could only access the real and fake input combined. To use TrackIR emulation the first time, you need to start GlovePIE first, then load a script that uses fake TrackIR, then start running the script. AFTER that you should start the game. GlovePIE will change the registry the first time it runs a script with fake TrackIR, so that all TrackIR games will then use the fake TrackIR instead of the real TrackIR from then on, even if GlovePIE is not running. This means that you no longer have to start GlovePIE before the game, you can then start GlovePIE while the game is running if you want. If you want games to use the real TrackIR again, you will need to use the "CP-Settings > Restore real TrackIR" menu. If you don't have a real trackIR, then you don't need to worry about this. Restoring the real TrackIR won't affect a game that is currently running, until you exit the game and start again. Don't use this menu while your script is running. Currently it works on all the TrackIR games that I tested, except the StokedRider: AlaskaAlien demo. |
| | | | Supreme Being
       
Group: Forum Members Last Login: 12/22/2008 8:21:48 AM Posts: 85, Visits: 325 |
| Good results from a lot of sim games, only insurgency doesn't work Trackir selector deactivate every time and Ace High inverted Roll but don't care, how to setup sensitivity ?
FakeTrackIR.yaw = (vr920.Yaw - var.offset)*4 <----- +1 for more ?
Thx again
Windows XP SP2 Stable/Server SP2 2003/Ubuntu (Vista Suxx For gamers)
C2D E6600@3.51 (9x390) 1.325 vcore WC
4 Gig Gskill Extreme Ram 4-4-4-12 Unlinked 780
2x 120 go Western Digital Raid 0, 320 Maxtor+ 250+200 Western Digital Harddrives
DS4 N650i Gigabyte Sli F7 Bios in no SLI Mode, Southbridge WC
8800 GTS 320@650/1500/1000 WC with native VR920 Stereo, Forcewares up to date.
Icuiti VR920 Hmd, 22" IIYAMA LCD Monitor, 19" LCD LDLC.
Line6 TonePort UX1 SoundCard, M-audio Transit, Yamaha MSP5 Audio Monitors
Axxyon 680 Sli PSU + Antec Nine Hundred
Reserator 1+ Moded Zalman WC cooler 30° idle
Razer Coperhead, Examat+Exarest, G15 Logitech, Volito2 Wacom Tablet
G25 Wheel Logitech, Thrustmaster Top Gun Fox Pro2
Hackintosh Pro E2160, 2 gig, Leopard 10.5.2
Dell D610 XP Sp2 /Tiger 10.4.9
|
| | | | Supreme Being
       
Group: Moderated Users Last Login: 12/4/2008 1:36:50 PM Posts: 539, Visits: 1,120 |
| | if you have problems with the rotation in the game not matching your actual rotation, then look at the profile ID for that game (in the debug box near the stop button), then add another branch of the if statement, eg. if FakeTrackIR.ProfileID=0xFACE then // imaginary game that needs different scaling FakeTrackIR.yaw = (vr920.Yaw - var.offset)*4 FakeTrackIR.pitch = vr920.Pitch*4 FakeTrackIR.roll = -vr920.Roll*4 else if FakeTrackIR.ProfileID=3A35H or FakeTrackIR.ProfileID=3A38H then // Arvoch Conflict and Evochron Alliance use a different range FakeTrackIR.yaw = (vr920.Yaw - var.offset)*2 FakeTrackIR.pitch = vr920.Pitch*2 FakeTrackIR.roll = -vr920.Roll*10 else FakeTrackIR.yaw = (vr920.Yaw - var.offset) FakeTrackIR.pitch = vr920.Pitch FakeTrackIR.roll = -vr920.Roll end if
Unfortunately not all games interpret the angles the same way. I defined the pitch, yaw, and roll values the way that was most common for them to be interpretted, but it is not the only way. Do the same thing for games than invert roll, and remove the minus sign (or multiply by -1). Then you can post it here so that others can benefit (I don't have all the TrackIR games to test). |
| | | | Supreme Being
       
Group: Moderated Users Last Login: 12/4/2008 1:36:50 PM Posts: 539, Visits: 1,120 |
| Insurgency is free (to the extent that a 600MB download can ever be free), but it is a mod for HalfLife 2, and I don't have HalfLife 2. So I can't test it to work out what the problem is. Sorry |
| | | | Supreme Being
       
Group: Forum Members Last Login: 12/22/2008 8:21:48 AM Posts: 85, Visits: 325 |
| No prob for insurgency, i think it's an interface bug on my config may be, selector can't stay when i activate it, may be i need to tweak that in config game file i will look but mouse emulation is ok too , for inversion ok i done that thx
Windows XP SP2 Stable/Server SP2 2003/Ubuntu (Vista Suxx For gamers)
C2D E6600@3.51 (9x390) 1.325 vcore WC
4 Gig Gskill Extreme Ram 4-4-4-12 Unlinked 780
2x 120 go Western Digital Raid 0, 320 Maxtor+ 250+200 Western Digital Harddrives
DS4 N650i Gigabyte Sli F7 Bios in no SLI Mode, Southbridge WC
8800 GTS 320@650/1500/1000 WC with native VR920 Stereo, Forcewares up to date.
Icuiti VR920 Hmd, 22" IIYAMA LCD Monitor, 19" LCD LDLC.
Line6 TonePort UX1 SoundCard, M-audio Transit, Yamaha MSP5 Audio Monitors
Axxyon 680 Sli PSU + Antec Nine Hundred
Reserator 1+ Moded Zalman WC cooler 30° idle
Razer Coperhead, Examat+Exarest, G15 Logitech, Volito2 Wacom Tablet
G25 Wheel Logitech, Thrustmaster Top Gun Fox Pro2
Hackintosh Pro E2160, 2 gig, Leopard 10.5.2
Dell D610 XP Sp2 /Tiger 10.4.9
|
| | | | Supreme Being
       
Group: Moderated Users Last Login: 12/4/2008 1:36:50 PM Posts: 539, Visits: 1,120 |
| | If you've added some IF statements to check for other games and use different sensitivities, or if you've made seperate scripts for the other games, then feel free to share your changes with us. |
| |
|
|