Time consuming, medium to hard difficulty. Please be aware that rFactor2 dedicated server is the most complex and difficult to get running. JustRace makes it easier but it is still not 100% straight forward. If you are not experianced with computers you may find it difficult.
IMPORTANT: Do NOT try to link JRSM to an existing rFactor 2 game installation. You must link JRSM to an rFactor 2 dedi installation.
Note: We recommend you use our installation scripts. If you choose to use an existing installation or use the Steam Client (rather than the steam command line tool we use) then support may be limited.
You should now be able to use the Portal to schedule an event on RF2
Quick and relatively easy.
IMPORTANT: rFactor 2 uses significant amounts of disk space. In order to save disk space our automated scripts create soft links to the packages downloaded from the workshop to avoid multiple copies of very large files. This is ONLY supported on the NTFS file system so make sure you install rFactor 2 on an NTFS formated drive.
Note:
To install non-workshop content you must download and place the package in the pacakages folder and then use Mod Manager to install the content. Once installed you can click "Refresh Cars and Tracks" on the JRSM RF2 tab.
To use DLC with rFactor 2 you must unlock Mod Manager so it can install the content. If the Mod Manager is not unlocked for the DLC item then you will be able to download it but it won't install.
Refresh Index Now
to update the indexes so you can schedule events using the DLC.Quick and relatively easy.
To speed up the indexing of content JRSM checks the filenames of car MAS files with a regular expression. Only MAS files that match the regular expression are extracted and indexed. If you find after installing cars and re-indexing that they are not available on the portal then the content you need to adjust the regular expression.
_1982_
so we could adjust the default regular expression as follows:(?:^(?:car|car-upgrade)$|.*(?:team|tt12|_1982_).*)
car
or car-upgrade
or any filename containing team
or tt12
or _1982_
Index new cars and tracks only
is NOT checked and click Index Now
.Note:
Matches are case insenstive and we match on the filename WITHOUT the ".mas" extension.
Default
(?:^(?:car|car-upgrade)$|.*(?:team|tt12).*)
Matches any filename that is car
or car-upgrade
or any filename containing team
or tt12
Test this Regular Expression
Match Everything
.*
Matches everything so all MAS files will be extracted and indexed. we DO NOT recommend using this as indexing will be very slow.
Test this Regular Expression
We recommend using RegexStorm.net to check your regular expressions. Put the regular expression in the Pattern
textbox and the filename WITHOUT the .mas extension in the Input
textbox. Make sure that Ignore Case
and Singleline
are checked.
If you use r2la then you can add support for the live timing by following the instructions below.
JustRace Server Manager (JRSM) has a "master" set of config files for an rFactor2 dedi server profile located here:
[JRSM_INSTALL_FOLDER]\Install\rFactor2\UserData\player
If the "player" profile in the rF2 Dedi install dedi install does not exist then the "master" location is cloned to the rF2 dedi install. This would be the typical location of the Dedi player profile:
[RF2_INSTALL_PATH]\UserData\player
When JRSM creates a new rF2 server it clones the player profile in ther rF2 dedi folder to a numbered folder that corresponds to the port the server is running on.
The relationship is as follows:
Grandparent (JRSM Install Folder) --> Parent (Player folder in RF2 Dedi) --> Child (numbered user profile created by JRSM)
What this means is you can customiser the settings in the player folder of the rF2 dedi server and those settings will be used by all rF2 servers created by JRSM.
For this to work you must already have r2la installed and working
C:\Windows\System32
This is NOT a recommended thing to do as it adds requires the game to be started BEFORE the dedi. Otherwise steam will prevent you from starting the game because rFactor 2 is already running. However, if you want to do this we must configure JRSM to start rFactor 2 Dedi on a specific port range that rFactor 2 game uses to find "lan" servers. It will still be possible for external races to connect providing you have port forwarding configured.
File
--> Open Game Port Settings
AvailableServerSlots
for rFactor2
so it is set to 6
"AvailableServerSlots": {
"AssettoCorsa": 10,
"AssettoCorsaCompetizione": 9,
"RaceRoomRacingExperience": 5,
"rFactor2": 6,
"ProjectCars": 10,
"Automobilista": 9
},
rFactor2ServerPorts
and replace it with the settings below. Note you can edit the settings below if you need to but DO NOT adjust the HTTPServerPort
values. rFactor 2 uses a specific range of values (27013 to 27018) to find dedi servers on your LAN."rFactor2ServerPorts": [
{
"HTTPServerPort": 27013,
"SimulationPort": 54370,
"ReservedServerName": ""
},
{
"HTTPServerPort": 27014,
"SimulationPort": 54371,
"ReservedServerName": ""
},
{
"HTTPServerPort": 27015,
"SimulationPort": 54372,
"ReservedServerName": ""
},
{
"HTTPServerPort": 27016,
"SimulationPort": 54373,
"ReservedServerName": ""
},
{
"HTTPServerPort": 27017,
"SimulationPort": 54374,
"ReservedServerName": ""
},
{
"HTTPServerPort": 27018,
"SimulationPort": 54375,
"ReservedServerName": ""
}
],
Multiplayer
section and click the LAN
option. You should be able to see and join your server.Internet
lobby area and still be able to join providing port forwarding etc is configured.