Go Back   NoGripRacing Forums > PC Racing > GTR2

Thread Tools
Unread 13 March 14, 04:40   #1
Premium Member
redamo's Avatar
Join Date: Dec 2008
Location: Castle Rock CO
Default Run GTR2 from Windows 8.1 Tiles

Just something to share for anyone interested in running GTR2 from windows 8 tiles. If you run GTR2 from a single folder; ie, all mods, add-ons, etc. in one folder, then making a shortcut to GTR2.exe and pinning it to the Start Screen is all that is needed.

Personally, I keep mods in separate GTR2 folders. Before in windows 7, a manual rename from a modded GTR2 folder to GTR2 sets that one to run. Such as from GTR2-Champcar to GTR2. Not much effort, but an effort nonetheless, over and over again.

In Windows 8 each mod can be a tile and a simple click on the tile starts the desired Mod. This post outlines how to do that. You’ll create a few short scripts, so first create a folder for your scripts at the root of C: and name it “Scripts”. The following 4 Sections describes how to script a method where a Windows 8 tile will open GTR2 for a mod stored in a separate folder named differently than GTR2. My startup screen is at the end. Comments, improvements are all welcome as I am not a programmer, but wanted the automation.

1)Open Notepad and enter the following lines:

Powershell C:\Scripts\Champcar_start.ps1
powershell C:\Scripts\Champcar_stop.ps1

Save this notepad in the “Scripts” folder with a .bat extension for batch file (instead of .txt). Whenever you edit this file right click and select “Edit”. Here’s what each line above says:

Set the root directory to C:
Change directory to windows powershell location
Open the powershell file saved in scripts folder called “Champcar-start.ps1” {Section 2 below}
Change directory to GTR2 folder
Start GTR2
Set the root directory to C: {when you exit GTR2 the batch file continues here}
Change directory to windows powershell location
Open the powershell file saved in scripts folder called “Champcar-stop.ps1” {Section 2 below}
Set the root directory to C:
Change directory to Scripts folder
InitiateStartScreen.vbs {runs a vbs script that restarts the start screen – Section 3 below}

Note if your drive letter is something other than C: then substitute that letter. Also, this example is using Champcar, so if your mod is something else use your name to describe the mod.

2) In this section the powershell script that renames your Mod folder to GTR2 (ie, the start.ps1 line above) and renames it back after you exit GTR2 (the stop.ps1 line above), will be created.

To open powershell - from the start screen type powershell_ise.exe and press enter. The powershell program will open. If you get a blue screen C-prompt you are probably selecting powershell without the “_ise”, so make sure you choose powershell_ise.exe.

Also, note you may need to set the powershell’s access to unrestricted. A google search gives information on this, or comment here for added assistance. You may also need to make an adjustment to your Administrator security settings, as I had to take ownership from “TrustedInstaller”, whatever that means. I found this a bit cumbersome and heard myself commenting “What the… this is my computer, I’m the administrator, I’m the boss of my own bones, why can’t I do this”. You get through it though.

With powershell open and a blank ½ screen below the tool bar, click next to the number 1 and type the following:

Set-Location -Path C:\
Rename-Item -NewName GTR2_Track_Test -Path C:\GTR2
Rename-Item -NewName GTR2 -Path C:\GTR2_Champcar

Use the File>Save As in powershell to name this file: Champcar-Start.ps1 Again, substitute the word Champcar for the name of the mod you are creating a tile for. Also the “-Start” is made up and you can call it whatever you want, or you don’t need it. Start just says to me this script is changing the mod folder name GTR2_Champcar to GTR2 so the Champcar mod can open. The file is saved as a Powershell file and has the designated .ps1 file extension. You can open in Notepad, but I’ve always opened in Powershell to edit when setting up a second mod tile.

The powershell script says by line:

Change the path to the root directory C: (use your drive letter)
The second line sets the existing GTR2 folder name: “GTR2” to “GTR2_Track_Test”
And the last line changes the mod folder “GTR2_Champcar” to “GTR2”

Note here that “GTR2_Track_Test” is my base GTR2 folder where I place new locations into, to test drive them before placing inside one or more Car mod folders. When a car mod tile in windows 8 is selected this base GTR2 folder is renamed to GTR2_Track_Test while the car mod folder is renamed to GTR2 so it can open. After you exit GTR2 the car mod folder is renamed back to its storage name and GTR2_Test_Track is renamed back to GTR2. This is done in the “stop.ps1” powershell script which is the opposite of the “start.ps1” powershell script. Create a new powershell script file for the “stop.ps1” and enter these command lines:

Set-Location -Path C:\
Rename-Item -NewName GTR2_Champcar -Path C:\GTR2
Rename-Item -NewName GTR2 -Path C:\GTR2_Track_Test

Use the File>Save As in powershell to name this file: Champcar-Stop.ps1

3) If you stopped here, once you exit a GTR2 session you’ll wind up at the desktop. A simple vbs script automatically returns the Start Screen. Open a blank notepad file and type the following two lines:

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.SendKeys "^{ESCAPE}"

Save this notepad file as “InitiateStartScreen.vbs” Use the .vbs file extension instead of .txt

You can click on this file and your Start Screen will pop up. And that’s what it does when executing in the batch file.

4) Ok, you’re just about there. The last thing to do is create a shortcut to the batch file created in section 1. Rename it with the mod it opens, then right click the shortcut to pin it to the start screen.

Now when you click this tile this mod is opened, and once exited, the start screen returns. In between these actions the different GTR2 folder names are renamed accordingly, and automatically.

To create another mod tile copy the three files: {Mod}.bat; {Mod}-start.ps1 and {Mod}-stop.ps1 and edit the insides accordingly. Create a shortcut to this batch file and pin it to the Start Screen.

Pic of Start Screen shows the base GTR2 for testing tracks (flag tile) with F1 next to it, GT Class below and Champcar next to it. Hope to add a League group of tiles soon, along with more mod tiles.

GTR2 Win8 desktop.png

Requested improvement - script the process all in one .vbs notepad file...

Last edited by redamo; 13 March 14 at 11:28. Reason: Requested improvement
redamo is offline   Reply With Quote
Unread 28 October 14, 01:35   #2
Join Date: Nov 2011

G'day mate. I've just got myself a Windows 8.1 computer but I can't start GTR2 in it at all. It keeps coming up with the config gfx. Have you got any tips on how to get it going, it would be much appreciated.
Flipshamilton is offline   Reply With Quote
Unread 1 November 14, 18:37   #3
Premium Member
redamo's Avatar
Join Date: Dec 2008
Location: Castle Rock CO

Hey Flip. Sorry for such a delay in responding. Don't log on as much here at end of race season. My experience installing GTR2 on Windows 8 started out a bit hectic as it had been a few years since I set it up on Windows 7.

I install from original cd's I have - I don't use Steam.

Had some problems at first but a few experts on here gave me the direction needed. First I had to update DirectX: "dxwebsetup.exe" You can get from Microsoft here:

I like to run the XD.ini and MapPlugin add-ons and found I also needed also need the .Net Framework 3.5 update again from Microsoft at:

I can't address the config.gfx issue you reference specifically. Beyond my knowledge grade. But if you install GTR2 from cd; then apply these two downloads, you should be good to go.

Good luck Flip

Don't know about Steam - I just use the GTR2 cd's to install.
redamo is offline   Reply With Quote
Unread 1 November 14, 20:41   #4
DurgeDriven's Avatar
Join Date: Jan 2011

Originally Posted by Flipshamilton View Post
. Have you got any tips on how to get it going
Use Windows 7

I just don't get the whole change a OS when the other one works perfectly well, just as fast and looks as good.

Sure for phone and tablet gadget emo types I get why you W8.

If driving titles is your only worry Windows 7 is the best platform for older generation simulations.

What irks me is people change to W8 and then try to tell people it runs GTR2 etc etc better then W7 which is just so much BS.
DurgeDriven is offline   Reply With Quote
Unread 2 November 14, 02:21   #5
Premium Member
redamo's Avatar
Join Date: Dec 2008
Location: Castle Rock CO


You're right. It doesn't make any sense to change for change sake. Phil seems to indicate he's got a new computer with windows 8, so it makes sense for him to try to get the most out of the new operating system with GTR2. If anyone on here can help with that all the better.

As far as performance, given identical computer specs, GTR2 runs just as well on both op systems.
redamo is offline   Reply With Quote
Unread 2 November 14, 07:44   #6
tmsr's Avatar
Join Date: Feb 2007
Location: Suffolk UK
Age: 31

I don't know if this is any help but I'm running GTR2 on 8.1 with ATI HD6800 graphics and when I updated through windows update it stopped launching but was fine when I got the drivers directly from AMD's site.
tmsr is offline   Reply With Quote
Unread 8 February 15, 17:48   #7
Join Date: Dec 2010

I had any problem with GTR2 on windows 7 64 bit. Now I bought a new PC with windows 8.1. Does it work with any problems?
Def29 is offline   Reply With Quote
Unread 8 February 15, 21:03   #8
TheIronWolf's Avatar
Join Date: Dec 2014
Location: Bellevue, WA

It works fine on Win 8.1 64bit. Initially, it was crashing for me till I set GTR2.exe and GTR2Config.exe to run in XP SP3 compatibility mode + As Administrator.

Note that in XP SP3 mode GTR2.exe will run with processor affinity mask set to 1 processor. I am using Process Lasso to set affinity to all cores as that greatly improves FPS on my computer.
TheIronWolf is offline   Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 10:51.
Home - Top

Powered by vBulletin® - Copyright ©2000 - 2018, Jelsoft Enterprises Ltd. 2003 - 2018
Page generated in 0.05232 seconds with 11 queries