Modernizing GTR2 with the Crew Chief GTR2 Enhancements Plugin

From Simwiki.net
Jump to navigation Jump to search

Modern GTR2

I've added the @The Iron Wolf's Crew Chief GTR2 Enhancements Plugin to my list of Modern GTR2 tweaks.

You can see quite an extensive feature list below.

I have things in my Modern GTR2 tweaks like Skip Intro Videos, NVIDIA Profile Settings for AA/etc., High Resolution Mirrors, 4GB Patch, Force Feedback Settings, and now I've added the GTR2 Enhancements Plugin with download and install instructions and a features list.

Crew Chief GTR2 Enhancements Plugin

Currently, here's what Crew Chief and the plugin bring to the table:

I especially like the flicker fixes, various crash fixes, borderless windowed mode, automatic use-all-cores, changeable weather patch fix, and high refresh rate physics and high refresh rate ffb enhancements

  • Crew Chief
    • Spotter with real voice call-outs for things like “car left/right”, time remaining, cars gaining from behind, etc. It’s extremely well done. Absolutely recommend downloading Crew Chief.
  • GTR2 Enhancements Plugin
    • Spotter Implementation and some Accuracy Customization
    • VR Support
    • Custom Rules
      • Customize various stock rules
      • Add DRS Rules
    • FFB Changes
      • Stationary Tyre Friction
      • Fix for losing FFB
      • Flat Spots
      • Dirt Pickup
    • Gearbox Changes
      • Lift-to-Shift
      • Antistall
      • Damage
      • Gear grinding on mis-shifts
    • Graphics Changes
      • Flicker fix
      • Borderless Windowed Mode (excellent implementation; feels native)
      • UI Squeeze for Triples and Ultrawide Screens
      • Wiper Animation
      • Backfire Effects
      • Improved Rain Reflection Quality
      • Improved Rain Reflection Performance
    • Motec Changes
      • Enhanced Motec (more information)
      • Additional Data Pages
      • Additional Data Page Unit Styles
    • Tire Enhancements
      • Separate Visual Tire Per Compound
    • DXVK Integration
      • “DXVK implements DX9 by using Vulkan. On some hardware, when used with GTR2 it improves framerate (especially in VR), memory usage and image quality.”
      • DXVK “SGSSAA”
        • “GTR2 specific DXVK fork supports AA form that looks similar to SGSSAA”
    • Memory Usage Optimizations
    • Decoupled High Refresh Rate Physics
      • A new physics thread can now run at native rate (tied to fps) or 400hz, 800hz, 1600hz, and 3200hz (real-world performance depends on your cpu)
    • Decoupled High Refresh Rate Inputs/FFB
      • A new Inputs/FFB thread can now run at native rate (tied to fps) or 200hz, 400hz, 800hz, or 1600hz (real-world performance depends on your cpu)
    • Additional Fixes
      • Always-on Fixes
        • Various crash case fixes
        • Optimized Framerate, memory usage, and image quality (on some hardware)
        • Reduce Headlight/Shadow Flicker (introduced with Steam GTR2)
        • Fix Missing rF1 Plugin API Telemetry Data
        • Enable Championship/Driving School Page Icons
        • Disable Use of My Documents for Game User Profile
        • Applies Changeable Weather Patch by Jstn
        • Add New Control Bindings In-Game Under Controls->Extra (scroll to bottom to view them)
      • Automatic Use-All-Cores-or-Some-CPU-Cores Setting for Improved FPS
      • VR Lens Flare Effect adjustment
      • Motion System Mode
      • Per-Car Settings File for Modders (mostly)
      • Per-Track Settings File

Absolutely recommended.

What You Can Expect

Here are two videos that show off GTR2 at its best. On the left is "Vanilla GTR2" in its original state and and on the right is "Modern GTR2" optimized with the Crew Chief GTR2 Enhancements Plugin.

All of the tweaks mentioned below are documented here or in the main GTR2 article.

The first video is a true vanilla Steam GTR2. If it couldn't be configured in-game, it wasn't configured, so no optimizations, no patches, no high resolution textures, no mods.

The second video is a modern Steam GTR2 with the Crew Chief GTR2 Enhancements Plugin and all the optimizations possible inside and outside the game.

This video is an optimized vanilla Steam GTR2. So, it's got things like NVIDIA profile tweaks, 4GB patch, using all cores, car and track mods, high res skies, hidden PLR and defviews.cam tweaks, etc. The only thing it doesn't have is the Crew Chief GTR2 Enhancements Plugin.

Installation

Note: You don't have to install every part all at once. You can do Crew Chief one day, DXVK another, and ReShade on another. I know it's a bit much, so take your time.

First download Crew Chief and it'll come with the latest GTR2 Enhancements Plugin:

https://thecrewchief.org/

Once you run GTR2, the plugin will generate Plugins\CrewChief.ini which you can then configure.

Check out the latest plugin info from its homepage here:

https://thecrewchief.org/showthread.php?2012-Crew-Chief-GTR2-Enhancements-Plugin-Setup-Instructions-Known-Issues-and-Changelog

Notes

  • The plugin comes with some things enabled right off the bat but there are some extra things which can be enabeld by hand in Plugins\CrewChief.ini file.

Beta Installation

Optional: Betas can be found on the discord. Find the invitation link on the plugin homepage.

If you do it this way, you'll download a ZIP and simply extract it into your GTR2 folder. It will typically ovewrite d3d9.dll and Plugins\CrewChief.dll.

Everything should be good to go but check release notes and any READMEs in the zips in case you need to update DXVK, CCGE ReShade Tools, or anything else along with it.

DXVK

Note: You don't have to install every part all at once. You can do Crew Chief one day, DXVK another, and ReShade on another. I know it's a bit much, so take your time.

"DXVK implements DX9 by using Vulkan. On some hardware, when used with GTR2 it improves framerate (especially in VR), memory usage and image quality... Additional benefit of using DXVK is the possibility of moving the near clipping plane as close as 0.03, which can be useful in VR and modern open wheelers... Lastly, DXVK VR rendering path supports OpenXR and ReShade with full depth info available in VR." (from the manual)

Download GTR2 specific fork of DXVK from the manual and extract the files into your GTR2 folder:

https://thecrewchief.org/downloads/gtr2/gtr2_dxvk_TIWF_latest.zip

Run GTR2Config.exe and save your choices.

Tweaks

Edit dxvk.conf to make any changes you may want:

  • Fullscreen vs Windowed: You might need to set d3d9.enableDialogMode = True in dxvk.conf to get Windowed mode back. Otherwise, it seems to default to Fullscreen mode.
    • Important! Overlays such as SimHub will not be able to display properly without d3d9.enableDialogMode = True
  • Max FrameRate: Check d3d9.maxFrameRate = 100 and set to zero to disable or your desired max framerate

Check out dxvk.conf for DXVK settings, such as MSAA level, max frame limit etc.

Is It Working?

  • GTR2_d3d9.log is generated when you run the game
  • See if you can switch between windowed and fullscreen modes
  • If both of the above are true, congratulations - you have DXVK running correctly!

If you use MSI Afterburner overlays, you can see "VULKAN" where it normally says "DXD9"

Whenever You Enable/Disable DXVK

Every time you turn DXVK on or off, make sure to re-run GTR2Config.exe. In fact, you may want to run it twice, as refresh rate choice may not show up the first time.

Disable DXVK

To turn DXVK off and go back to DX9, simply rename d3d9_dxvk.dll to d3d9_dxvk.dll_off

Notes

  • Overlays such as SimHub will not be able to display properly without d3d9.enableDialogMode = True

ReShade

Note: You don't have to install every part all at once. You can do Crew Chief one day, DXVK another, and ReShade on another. I know it's a bit much, so take your time.

The following is based on the CCGEP ReShade Tools section of the manual.

Before You Try:

  • If you want the full experience, however, you'll need to download version 3+ of the GTR2 Enhancements Plugin available from the discord which you can find via the plugin homepage.
    • Version 3+ is not available from the Crew Chief app at this time (2024-03-12) so you'll need to download v3 via discord.
  • Otherwise, you can try vanilla ReShade with any version of the GTR2 Enhancements Plugin
    • Just install ReShade to your GTR2 folder

Here's the quickest way to try it out:

  • Download the ReShade installer version with Addon support and install to your GTR2 folder:
    • Important: You want the installer version with Addon support
    • Select the location of your GTR2.exe file using the Browse button
    • Select Vulkan as your renderer (if you setup DXVK per above).
    • Do NOT install any presets, unless you want to, as you will be using the Retrolux Reshade preset for now. You can always run the ReShade installer again and install other presets.
    • Update ReShade Only: Select this option to avoid overwriting anything important.
      • Once you're confident with ReShade, you can backup your files, and try the other options which update your shaders and related files.
  • Download CCGEP Reshade Tools and extract into your GTR2 folder:
    • Read the README file just in case it contradicts these instructions
    • This contains the important CCGEPReShadeAddOn.addon32 file that goes at the root of your GTR2 folder
    • Create a reshade-presets folder in your GTR2 folder and move the tiw-vr-preset\*.ini files into it
    • Move tiw-vr-preset\reshade-shaders into your GTR2 folder
  • Download Retrolux Reshade for GTR2
    • Copy ReShade\Presets\*.ini files to your reshade-presets folder
    • Copy ReShade\Shaders\*.* and ReShade\Textures\*.* files to your reshade-shaders folder
  • Start GTR2:
  • At the main menu, you should see an obvious shaded box in the top-left telling you ReShade has started successfully and offering a tutorial.
  • Open the ReShade overlay (Default Home key), go to Addons, disable Generic Depth, and Enable CCGEP Add On by The Iron Wolf

ReShade 5 or lower:

  • Copy CCGE Reshade Tools Latest file ReShade32.dll to C:\ProgramData\ReShade\
    • Note: Only for people who have an old Tools archive with this custom DLL who want to run ReShade 5 or lower, otherwise you need to run ReShade 6+ now

You can use any ReShade presets you can find on the internet once you get used to where the files go. Watch out for conflicting files, though. ReShade presets often come with their own Shaders and Textures that you'll have to put in the right place.

Is It Working?

You should see an obvious shaded box in the top-left telling you ReShade has started successfully and offering a tutorial.

It should prompt you to hit the Home key for a tutorial. You should probably walk walk through this if you're new to ReShade. You don't have to make changes, just keeping clicking Continue.

Tap Home at any time to open the ReShade overlay. Tap Home again to close a ReShade overlay. You can remap these key bindings in the ReShade overlay Settings tab.

Notes

  • Reinstalling from the official ReShade will overwrite the custom ReShade32.dll from CCGEP Reshade Tools so re-do that step if you reinstall ReShade
  • You don't have to overwrite your ReShade.ini if a Reshade preset comes with one. The preset will have its own *.ini file(s) usually named after itself and these go in your presets folder.
  • You shouldn't need to use DLLs distributed by ReShade Presets that overwrite your own (eg. ReShade.dll)
  • Home key seems to be triggering Driving View shortcut even if you have a different key set to that. Change the shortcut in the ReShade overlay Settings tab.

Troubleshooting

  • If there's an error, open the ReShade overlay and go to the Log tab and review what's there. Look for warnings and errors.
  • "Failed to iterate all files in "G:\Games\GTR2\CCGEPReShadeAddOn.addon32"
    • Example: 15:03:28:735 [22140] | WARN | Failed to iterate all files in "D:\PnG3 MASTER\CCGEPReShadeAddOn.addon32" with error code 267!
    • Check ReShade.ini:
      • If you have AddonPath ensure it matches the path to the folder that contains GTR2.exe and ensure CCGEPReShadeAddOn.addon32 is in there.
        • Example: AddonPath=G:\Games\GTR2
      • If you do not have AddonPath, that's okay, leave it out, just ensure CCGEPReShadeAddOn.addon32 is in your GTR2 folder containing GTR2.exe
        • Example: G:\Games\GTR2\CCGEPReShadeAddOn.addon32

RealFeel FFB

Note: You don't have to install every part all at once. You can do Crew Chief one day, DXVK another, ReShade another, etc. I know it's a bit much, so take your time.

RealFeel FFB became popular back in the rFactor 1 and Game Stock Car days. Its FFB was based only on physics except for 'parking lot' physics that helped provide a more realistic friction of a tire at rest.

I can't say it feels hugely different (except for tire friction at low speed). It feels roughly the same as my tuned PLR parameters. All the same, it's nice to have different options and the way it simplifies and eases general and car-specific ffb may be valuable to you.

First, read this helpful post to familiarize yourself with RealFeel and the parameters you'll be tuning. Different wheels can have very different values so it can be discouraging if it feels weird but it's probably worth it if you stick to it.

https://www.racedepartment.com/threads/realfeel-settings-and-discussion.107251/page-2#post-2101592

Remember this handy keyboard shortcut infographic for when you have RealFeel running in-game as it will make tuning while driving very easy:

ReelFeelHotkeys.jpg

Installation

  1. Open the manual PDF and review the RealFeel section which should be the "rFactor Real Feel Plugin wiring" section
  2. Follow the manual instructions under "Getting Real Feel Plugin" and download the RealFeel Plugin
    1. Extract RealFeelPlugin.dll to your GTR2\Plugins folder
    2. Extract RealFeelPlugin.ini to your GTR2 folder
  3. Review the manual instructions under "Configuring Real Feel Plugin FFB in GTR2"
    1. You can probably safely ignore the manual details under "CrewChief.ini settings" as it comes with reasonable defaults but it can be helpful to familiarize yourself with what's possible there.

Now, run GTR2 and get in your car: The wheel should at least feel like there's a little more friction to turn the whel. Out on track, FFB should feel roughly the same.

Is it working?

  • Can you feel it?
    • You should be able to feel a dynamic, elastic-like friction when turning your wheel when the car is stopped. This effect should decrease as you accelerate until it is unnoticeable above say around 50km/h.
    • This is NOT the always-on friction or damping feeling that you're probably already used to.
    • It should feel like how a car's tires require a bit more muscle to turn when the car is off vs when it's on and also as compared to with and without power steering assist (the Crew Chief GTR2 Enhancements Plugin models power steering assist on vs off effect for this).
  • Can you hear it?
    • Try one of the numeric keypad keyboard shortcuts and listen for a voice confirming your input
  • RealFeelPlugin.ini
    • Ensure RealFeelIsOn=True
    • RealFeelPlugin.ini should be overwritten each time you start and exit GTR2. If it's loaded in Notepad++ or similar you'll get a notification that the file has been changed and needs to be reloaded. This is how you know the plugin is active.

Gotchas

  • Reverse FFB
    • Flip to positive or negative for SteerForceInputMax
  • FFB too Strong
    • Increase MaxForceAtSteeringRack values. Yes, increase this parameter to reduce FFB strength.
  • Oscillation
    • See manual section "Notes on Direct Drive wheel oscillation"
    • Start by increasing (yes, increasing) MaxForceAtSteeringRack to reduce FFB strength such as a large number like 200000 then decrease gradually to bring back ffb strength until oscillation occurs again and then back off until satisfied
  • Physics FFB Only, No Extra Effects
    • RealFeel FFB, itself, doesn't provide any other effects like your get in the PLR, such as Steer Vibe, Brake Vibe, Throttle Vibe, Friction, Damper, Rumble Strips, and Jolts.
    • But if you have these effects enabled in your PLR then they will be present when using RealFeel, as well.
    • With the FFBMixerRealFeelPercent parameter, you can also mix in origingal FFB steering forces to complement RealFeel's physics-only steering forces. I have no specific recommendation here but it may be worth an experiment for some.

Tuning

Per @Niels_at_home in this post:

  • Kf, Ks, A, Kr: These are the parking lot FFB parameters from LeoFFB. These are only active at very low speed, and should not be felt once you are driving, even in a hairpin.
  • Kf: is the maximum force you feel when the car stands still, to turn the tires. 11500 is max.
  • Ks: is the stiffness of the tires, a higher number will make it feel less 'elastic'
  • A: escapes me at the moment! sorry! :)
  • Kr: How fast all of the above fall away as car speed increases. At higher values the forces drop off quicker as you speed up.

Notes

  • Car-specific Settings in RealFeelPlugin.ini
    • Car-specific settings will be automatically generated and saved to RealFeelPlugin.ini each time you try a car in GTR2 and exit GTR2
  • Mixing Original and RealFeel FFB
    • This is possible with the FFBMixerRealFeelPercent parameter that gets generated with car-specific settings in RealFeelPlugin.ini
    • It's possible, that's all I can say. Try it out if that's something you're interested in.
  • FrontGripEffect
    • This value seems to relate to the PLR FFB steer force grip weight parameter
    • This means at least in part RealFeel FFB feeling will depend on how the PLR FFB feels
    • In this case, it's may be worth your time to investigate the crowd-sourced ffb settings in the SHO Competition FFB mod
  • My RealFeelPlugin.in for SimuCube 2 Pro
    • To help get your bearings, here are my settings for reference...
    • [General]
    • RealFeelIsOn=True
    • ConsoleEnabled=False
    • ConsoleRepeatDelay=0.100000
    • SpeechEnabled=True
    • KeyRepeatDelay=0.100000
    • SteerForceInputMax=-11500.000000
    • MinSpeed=10.000000
    • DefaultMaxForceAtSteeringRack=14932.000000
    • DefaultSteeringDamper=11500.000000
    • DefaultFrontGripEffect=0.000000
    • DefaultSmoothingLevel=1
    • VehicleDelimiterSize=64
    • DefaultKf=4000.000000
    • DefaultKs=7.000000
    • DefaultA=1.500000
    • DefaultKr=3.000000