GTR2 / Power & Glory mod conversion

Talk about Head Mounted Displays (HMDs), augmented reality, wearable computing, controller hardware, haptic feedback, motion tracking, and related topics here!
Post Reply
kalabalik
Two Eyed Hopeful
Posts: 80
Joined: Thu Aug 23, 2012 5:53 am

GTR2 / Power & Glory mod conversion

Post by kalabalik »

Right, as obvious as this may be getting it up and running; there's a few things to edit in some files to get the headtracking and even force feedback to be clear and responsive.

Power & Glory is a total conversion mod for SimBin's GTR2, sporting a lot of the golden era of racing; namely the '60s and '70s racers.

Download the game @ Steam for peanuts:
http://store.steampowered.com/app/8790
Or just buy the whole mega bundle, it's more than worth it!
http://store.steampowered.com/sub/18370/

Download the mod here:
http://gtlw-blog.flyingpig.info/index.p ... Itemid=113


To get it working, I use Opentrack's new autocentering tracker to keep my head towards the wheel:
https://dl.dropboxusercontent.com/u/152 ... ntrack.zip
Using this Rift profile:
https://dl.dropboxusercontent.com/u/152 ... centre.zip

Then of course I use TriDef Rift drivers to toss the game into VR:
http://www.tridef.com/download/TriDef-3D-latest.html



After installing the P&G mod pack you need to start the launcher PnG3.exe and dismiss the two error messages. Then click the "Player" button to set the force feedback and profile settings before we change these files manually. Quit the launcher.

Go to the installed directory and the subfolder UserData/{profilename}/{profilename}.PLR and open it in notepad. (Back it up first!)

To make the head tracking responsive, find and change these lines in your file with these:

Code: Select all

HMD Pitch Exponent="0.00000" // Exponent to apply to pitch tracking.  > 1.0 makes tracking near-center slower, > 0 & < 1.0 makes tracking near-center faster.
HMD Yaw Exponent="0.00000" // Exponent to apply to yaw tracking.  > 1.0 makes tracking near-center slower, > 0 & < 1.0 makes tracking near-center faster.
HMD Roll Exponent="0.00000" // Exponent to apply to roll tracking.  > 1.0 makes tracking near-center slower, > 0 & < 1.0 makes tracking near-center faster.

Code: Select all

TrackIR Pitch Down Limit="-1.00000" // Min: -1.00, Max: 0, Default: -0.15
TrackIR Pitch Up Limit="1.00000" // Min: 0, Max: 1.00, Default: 0.05
TrackIR Yaw Left Limit="-1.00000" // Min: -1.00, Max: 0, Default: -0.40
TrackIR Yaw Right Limit="1.00000" // Min: 0.00, Max: 1.00, Default:  0.40
TrackIR Roll Left Limit="-1.00000" // Min: -1.00, Max: 0.00, Default: -0.075
TrackIR Roll Right Limit="1.00000" // Min: 0.00, Max: 1.00, Default: 0.075

And for (in my opinion) better feel of the force feedback in your wheel, replace these lines:

Code: Select all

FFB Device Type="1" // Type of FFB controller: 0=none 1=wheel, 2=stick/custom, 3=rumble pad.
FFB Effects Level="4" // Number of FFB effects to use: 0=No Effects, 1=Low, 2=Medium, 3=High, 4=Full, 5=Custom.
FFB Gain="0.92000" // Strength of Force Feedback effects.  Range 0.0 to 1.0.
FFB Throttle FX on steer axis="1" // 0 = Throttle effects on throttle axis, 1 = throttle effects on steering axis.
FFB Brake FX on steer axis="1" // 0 = Brake effects on brake axis, 1 = brake effects on steering axis.
FFB steer vibe freq mult="0.40000" // Controls frequency of steering vibration. Recommended: 0.5 to 1.0, 0.0 disables steering vibration.
FFB steer vibe zero magnitude="0.03500" // Magnitude of steering vibration at 0mph (reference point).
FFB steer vibe slope="0.00000" // Slope of line defining magnitude as a function of frequency (used with FFB steer vibe zero magnitude).
FFB steer vibe wave type="0" // Type of wave to use for vibe: 0=Sine, 1=Square, 2=Triangle, 3=Sawtooth up, 4=Sawtooth down.
FFB steer force average weight="0.70000" // How much weight is given to new steering force calculations each frame (0.01 - 1.0). Lower values will smooth out the steering force, but will also add latency.
FFB steer force exponent="0.80000" // Steering force output "sensitivity".  Range 0.0 to infinity.  0.0 to 1.0 = higher sensitivity, greater than 1.0 = lower sensitivity.
FFB steer force input max="-11500.00000" // Recommended: 11500 (-11500 if controller pulls in the wrong direction).
FFB steer force output max="1.80000" // Maximum force output of steering force, recommendation 0.8 to 2.0
FFB steer force grip weight="0.90000" // Range 0.0 to 1.0, recommended: 0.4 to 0.9.  How much weight is given to tire grip when calculating steering force.
FFB steer force grip factor="0.90000" // Range 0.0 to 1.0, recommended: 0.2 to 0.6.  How much of a factor the front wheel grip is on the steering weight.
FFB steer update thresh="0.01500" // Amount of change required to update steer force/vibe (0.0 - 1.0). Lower values = steering force updated more frequently = lower frame rate.
FFB steer friction coefficient="0.17500" // Coefficient to use for steering friction.  Range: -1.0 to 1.0
FFB steer friction saturation="1.00000" // Saturation value to use for steering friction.  Range: 0 - 1.0
FFB steer damper coefficient="0.17500" // Coefficient to use for steering damper.  Range: -1.0 to 1.0
FFB steer damper saturation="1.00000" // Saturation value to use for steering damper.  Range: 0 - 1.0
FFB throttle vibe freq mult="0.17000" // Scales actual engine frequency to force FFB vibration frequency.  Suggested range: 0.10 to 0.50
FFB throttle vibe zero magnitude="0.09000" // Magnitude of engine vibration at 0rpm (reference point).
FFB throttle vibe slope="0.00000" // Slope of line defining magnitude as a function of frequency (used with FFB throttle vibe zero magnitude).
FFB throttle vibe wave type="0" // Type of wave to use for vibe: 0=Sine, 1=Square, 2=Triangle, 3=Sawtooth up, 4=Sawtooth down.
FFB throttle vibe update thresh="0.08000" // Amount of change required to update throttle vibe (0.0 - 1.0)
FFB brake vibe freq mult="0.90000" // Scales actual brake rotational frequency to force feedback vibration frequency.
FFB brake vibe zero magnitude="0.10000" // Magnitude of brake vibration at 0mph (reference point).
FFB brake vibe slope="0.00000" // Slope of line defining magnitude as a function of frequency (used with FFB brake vibe zero magnitude).
FFB brake vibe wave type="0" // Type of wave to use for vibe: 0=Sine, 1=Square, 2=Triangle, 3=Sawtooth up, 4=Sawtooth down.
FFB brake vibe update thresh="0.05000" // Amount of change required to update brake vibe (0.0 to 1.0)
FFB rumble strip magnitude="0.35000" // How strong the rumble strip rumble is.  Range 0.0 to 1.0, 0.0 disables effect.
FFB rumble strip freq mult="0.60000" // Rumble stip frequency multiplier 1.0 = one rumble per wheel rev.
FFB rumble strip wave type="0" // Type of wave to use for vibe: 0=Sine, 1=Square, 2=Triangle, 3=Sawtooth up, 4=Sawtooth down.
FFB rumble strip pull factor="-1.20000" // How strongly wheel pulls right/left when running over a rumble strip. Suggested range: -1.5 to 1.5.
FFB rumble strip update thresh="0.07500" // Amount of change required to update rumble strip effect (0.0 - 1.0)
FFB jolt magnitude="1.00000" // How strong jolts from other cars (or walls) are.  Suggested Range: -2.0 to 2.0.

Now we can boot up the game and set the wheel buttons etc. On the "Force" tab in the control options you should set the Effects to "Full" and Strength to around 90% to not over saturate the FFB signals. Some cars need this much lower to avoid feeding too much noise to the wheel.

I own a Fanatec GT2 wheel, so here's the on-wheel settings for most cars. I have the Force Strength option active at all times so I can change it on the fly.
Sensitivity: 540 degrees (depending on car, but this is a viable default for most of them)
FF Strength: 50-90 (as said, extremely dependant on the feel of the car, so adjust accordingly)
Shock effect strength: 100
Drift mode: 1-3 (to ease up the weight of the wheel we need the drift setting to effectively ease up drifts and counter steer)
ABS: Off (if On, you'll lose the rumble effects from the engine)
Linearity: 00-20 (helps driving the car in a straight line; some cars are super twitchy so need this upped a notch or two)
Deadzone: 0
Spring: -3 (this also helps the wheel feel a bit more responsive)
Dampening: Off (I feel this option dulls the car's communication, but some like it)
ACL: Off (this means Autoclutch, so if you don't use the clutch manually, set this to On to get faster gear shifts)


There we go, so hop in the car and stay in the garage while we set the HMD settings to:
World Scale 0.1
Both HMD and Game FOV: 95

I know these ain't completely perfect settings, but they're fully functional with just a bit more personal tweaking to do. The rest is up to you.

Go Race!


A short little run with these settings with the Porsche 911 '72 @ Nürburgring:
https://www.youtube.com/watch?v=pv-jaagwr-U
Post Reply

Return to “General VR/AR Discussion”