11-02-2010, 11:06 PM
I didn't know where to put this thread, if it isn't in the right place I'm sorry, I suppose moderators will move it to a better place if needed.
I made a small fix for the G25 steering wheel because the G25 feels a bit weird when using the LilyPad plugin, after a lot of tries tweaking the axis sensitivity I didn't get what I was expecting to, I just got a huge central dead zone or twichy movements, so I took the PPJoy + GlovePIE way.
It isn't a perfect fix but at least you can drive your car using a steering wheel and LilyPad.
First of all, you'll need PPJoy installed in your PC, the Logitech Wingman Profiler and GlovePIE.
I won't explain how to install these programs and the use of them because there are tons of info about this all over the internet.
Here we go:
1.- In PPJoy set your G25 steering axis as follow:
PPJoy Virtual Joystick 1
Axis 1 ---> X Axis
X Axis ---> Analog 1
2.- Open up GlovePIE and paste this script:
This script is the main fix, it's concretely for GT4 but it should work for any racing game, if you want a faster response of your steering wheel change the "5" number for a bigger one, I use "7" for Enthusia.
Feel free to make a better script if you find the magic formula and post it in this thread, I'm not good at coding nor good at mathematics but hey, the script works fine.
Don't forget to press the "Run" button in GlovePIE.
3.- In LilyPad General tab check the "DirectInput" in Input APIs and "Direct Input" in Game Device APIs, go to Pad 1 tab and map your G25 buttons in LilyPad as you want but be sure to map the left analog sitck this way:
------------------------------ PC Control --- PS2 Control
------------------------------------------------------------
DX PPJoy Virtual Joystick 1 --- (X+ axis) --- L-Stick Right
DX PPJoy Virtual Joystick 1 --- (X- axis) --- L-Stick Left
Once they are mapped, set the sensitivity to 1.000 and the dead zone to 0.000
Probably you'll get the DX Logitech G25 input in your first try, keep trying until the DX PPJoy input gets recognized, in some buttons I even tried 10 times until it was recognized, don't ask me why.
As a recommendation, I use the DX Logitech G25 input for all buttons and axis less the steering wheel axis, like in this pic ...
A small recommendation for pedals in LilyPad and for GT4:
Brake pedal: Sensitivity ---> 0.588 (Dead Zone ---> 0.000)
Accelerator pedal: Sensitivity -----> 0.305 (Dead Zone ---> 0.000)
4.- Create a new game profile in the Logitech Wingman Profiler (name it PCSX2 for example) and browse your PC for the PCSX2 executable, select an icon and acept that window.
5.- Depending on the game you'll need to adjust the steering degrees in your Logitech Wingman Profiler, for GT4 360º suit my needs and for Enthusia I prefer 215º.
6.- You'll need to adjust the steering wheel sensitivity to 100% in the Logitech Wingman Profiler as well, I recommend to do that for the pedals too.
Left click on steering wheel and go to axis properties ...
7.- Close PCSX2 emulator if it's opened.
8.- Click on "play PCSX2" in the Logitech Wingman Profiler and the PCSX2 emulator window will pop up.
9.- Browse for your favorite racing game in PCSX2.
This method should work with a G27, a Driving Force Pro and a Driving Force GT since they are 900º steering wheels and they use the same Logitech Wingman Profiler.
I guess it should work with another steering wheels even without the Logitech Wingman Profiler as it is for fine tuning.
Final thoughts, the steering is far from perfect but it does the trick, it isn't as precise as in your PS2 but it's close, it would be cool that the LilyPad encoder could make an improvement for steering wheels.
I hope to have helped a bit and I'm sorry for my awful english.
I made a small fix for the G25 steering wheel because the G25 feels a bit weird when using the LilyPad plugin, after a lot of tries tweaking the axis sensitivity I didn't get what I was expecting to, I just got a huge central dead zone or twichy movements, so I took the PPJoy + GlovePIE way.
It isn't a perfect fix but at least you can drive your car using a steering wheel and LilyPad.
First of all, you'll need PPJoy installed in your PC, the Logitech Wingman Profiler and GlovePIE.
I won't explain how to install these programs and the use of them because there are tons of info about this all over the internet.
Here we go:
1.- In PPJoy set your G25 steering axis as follow:
PPJoy Virtual Joystick 1
Axis 1 ---> X Axis
X Axis ---> Analog 1
2.- Open up GlovePIE and paste this script:
Code:
debug = PPJoy1.Analog1
var.b = joystick.x
PPJoy1.Analog1 = joystick.x // steering wheel
if joystick.x > 0.0 {
PPJoy1.Analog1 = sqr(var.b)^(1/5)
}
if joystick.x < 0.0 {
PPJoy1.Analog1 = ((sqr(-var.b))^(1/5))*-1
}
This script is the main fix, it's concretely for GT4 but it should work for any racing game, if you want a faster response of your steering wheel change the "5" number for a bigger one, I use "7" for Enthusia.
Feel free to make a better script if you find the magic formula and post it in this thread, I'm not good at coding nor good at mathematics but hey, the script works fine.
Don't forget to press the "Run" button in GlovePIE.
3.- In LilyPad General tab check the "DirectInput" in Input APIs and "Direct Input" in Game Device APIs, go to Pad 1 tab and map your G25 buttons in LilyPad as you want but be sure to map the left analog sitck this way:
------------------------------ PC Control --- PS2 Control
------------------------------------------------------------
DX PPJoy Virtual Joystick 1 --- (X+ axis) --- L-Stick Right
DX PPJoy Virtual Joystick 1 --- (X- axis) --- L-Stick Left
Once they are mapped, set the sensitivity to 1.000 and the dead zone to 0.000
Probably you'll get the DX Logitech G25 input in your first try, keep trying until the DX PPJoy input gets recognized, in some buttons I even tried 10 times until it was recognized, don't ask me why.
As a recommendation, I use the DX Logitech G25 input for all buttons and axis less the steering wheel axis, like in this pic ...
A small recommendation for pedals in LilyPad and for GT4:
Brake pedal: Sensitivity ---> 0.588 (Dead Zone ---> 0.000)
Accelerator pedal: Sensitivity -----> 0.305 (Dead Zone ---> 0.000)
4.- Create a new game profile in the Logitech Wingman Profiler (name it PCSX2 for example) and browse your PC for the PCSX2 executable, select an icon and acept that window.
5.- Depending on the game you'll need to adjust the steering degrees in your Logitech Wingman Profiler, for GT4 360º suit my needs and for Enthusia I prefer 215º.
6.- You'll need to adjust the steering wheel sensitivity to 100% in the Logitech Wingman Profiler as well, I recommend to do that for the pedals too.
Left click on steering wheel and go to axis properties ...
7.- Close PCSX2 emulator if it's opened.
8.- Click on "play PCSX2" in the Logitech Wingman Profiler and the PCSX2 emulator window will pop up.
9.- Browse for your favorite racing game in PCSX2.
This method should work with a G27, a Driving Force Pro and a Driving Force GT since they are 900º steering wheels and they use the same Logitech Wingman Profiler.
I guess it should work with another steering wheels even without the Logitech Wingman Profiler as it is for fine tuning.
Final thoughts, the steering is far from perfect but it does the trick, it isn't as precise as in your PS2 but it's close, it would be cool that the LilyPad encoder could make an improvement for steering wheels.
I hope to have helped a bit and I'm sorry for my awful english.