Seven Smiles
Registered
Edit: New, much simpler version with GUI below
It’s lovely to have an rFactor with only the 60s F1 cars and just click Select All to race against them. And just the 60s F1 tracks so you don’t have to scroll through all sorts of irrelevant and often confusingly-named others.
__________________________________________________________________________________
I have about 150 tracks installed (multiplied by all their variants) and a similar number of cars. With the present UI this means it's hard to find my way around, also possibly slows loading rFactor. I never want all this content available at one time so I came up with a way of dividing it into subsets and only selecting a subset of tracks and a subset of cars. It's all done with the magic of symlinks and a Windows batch file
First you have to create the subsets.
4. Now move all your content into your folders (and SafetyCars) as you like
5. Finally, delete rFactor 2\Installed\Locations and Vehicles
Now you're all set. All you need is some batch file magic which I've attached.
To use it:
___________________________________________________________________________________
Once you have used it to select a subset you must always use it to start the Launcher. If you want to stop using it, answer A to "All content" That will leave a symlink set up to all content, without that the Launcher will re-install the "missing" content. Similarly if you want to start a Multiplayer session running content that is not in your subset.
___________________________________________________________________________________
To completely uninstall it
___________________________________________________________________________________
Here it is in use
___________________________________________________________________________________
In c:\...\rFactor 2\UserData\ContentStorage I have this folder structure
___________________________________________________________________________________
One small gotcha: if the Launcher installs a new file it will go into the currently selected Locations or Vehicles subfolder. Just cut and paste it to which subfolder you want.
It’s lovely to have an rFactor with only the 60s F1 cars and just click Select All to race against them. And just the 60s F1 tracks so you don’t have to scroll through all sorts of irrelevant and often confusingly-named others.
I have about 150 tracks installed (multiplied by all their variants) and a similar number of cars. With the present UI this means it's hard to find my way around, also possibly slows loading rFactor. I never want all this content available at one time so I came up with a way of dividing it into subsets and only selecting a subset of tracks and a subset of cars. It's all done with the magic of symlinks and a Windows batch file
First you have to create the subsets.
- Add a new folder rFactor 2\UserData\ContentStorage
- In there put the familiar Locations and Vehicles folders and a new one SafetyCars
- Now decide on the subsets you want and make a folder for each under Locations and Vehicles
- Australasia
- Europe
- F1
- Fantasy
- Historic
- Karting
- New (tracks I haven't tried yet)
- NorthAmerica
- SE_Asia
- UK
- F1
- Historic
- Karts
- LMP
- Novel
- OpenWheelers
- Saloons
- Sports
- Sports_GT
4. Now move all your content into your folders (and SafetyCars) as you like
5. Finally, delete rFactor 2\Installed\Locations and Vehicles
Now you're all set. All you need is some batch file magic which I've attached.
To use it:
- Extract rF2_content_selector.bat from the zip and save it somewhere
- It has to be run as Administrator so that it can set up symlinks
- https://windowsreport.com/make-files-apps-run-as-admin-windows-10/
- In brief: make a shortcut to the file then set "Run as admin" in the shortcut
- Run it
- It asks Do you want a specific SUBSET (S or Return) or ALL content (A)? : if not goto 12
- If you've previously selected content it asks whether you want to change. If not, goto 12.
- Press TAB until the set of locations you want is shown
- Press Enter
- Press TAB until the set of vehicles you want is shown
- Press Enter
- It starts rFactor 2 Launcher
- (At this point there is a temporary symlink pointing to all your content so the Launcher is happy)
- Once the rFactor 2 Launcher is loaded
- If you selected SUBSET earlier it deletes the temporary symlink and all rF2 can see is your selected Locations and Vehicles subfolders.
- Voila! When you start single-player only the tracks and cars you've selected are present.
Once you have used it to select a subset you must always use it to start the Launcher. If you want to stop using it, answer A to "All content" That will leave a symlink set up to all content, without that the Launcher will re-install the "missing" content. Similarly if you want to start a Multiplayer session running content that is not in your subset.
To completely uninstall it
- Remove the directory rFactor 2\Installed\Locations (removes the symlink)
- Remove the directory rFactor 2\Installed\Vehicles ( " )
- Create new Locations and Vehicles directories
- Move your content back from rFactor 2\UserData\ContentStorage
Here it is in use
Code:
rFactor 2 Content Selector V0.4
===============================
Do you want a specific SUBSET (S or Return) or ALL content (A)? :
Currently Locations is set to "UK" and Vehicles set to "LMP"
Do you want to change content? (Y/N): y
Available sets of tracks:
Australasia
Europe
F1
Fantasy
Historic
Karting
New
NorthAmerica
SE_Asia
UK
Press TAB until the set of locations is reached: Europe
Using Location set -- Europe --
Available sets of cars:
F1
Historic
Karts
LMP
Novel
OpenWheelers
Saloons
Sports
Sports_GT
Press TAB until the set of vehicles is reached: F1
Using Vehicle set -- F1 --
(Note: Simlink to ALL location/vehicle files so Launcher doesn't re-install them)
Starting rFactor 2 Launcher...
Once the rFactor 2 Launcher is loaded
Press any key to continue . . .
Only Locations "Europe" and Vehicles "F1" present
In c:\...\rFactor 2\UserData\ContentStorage I have this folder structure
Code:
Locations
Australasia
Europe
F1
Fantasy
Historic
Karting
New
NorthAmerica
SE_Asia
UK
SafetyCars
Clio_PC
CorvettePC
CorvettePCLights
ISI_MercedesSLS_SafetyCar_2012
Vehicles
F1
Historic
Karts
LMP
Novel
OpenWheelers
Saloons
Sports
Sports_GT
One small gotcha: if the Launcher installs a new file it will go into the currently selected Locations or Vehicles subfolder. Just cut and paste it to which subfolder you want.
Attachments
Last edited: