1. Glad you're here! But hey, how can I register/login?!
    Registration and login is only possible through our website. Please go there to get a new account or to login and get back here afterwards! Thank you.

    (deutsch: Registrierung/Login ist nur über unsere Webseite möglich.)
    Dismiss Notice

Installing and Configuring rFactor2 Dedi for JustRace

Discussion in 'Community Support' started by J-turn, Oct 13, 2020.

Thread Status:
Not open for further replies.
  1. J-turn

    J-turn Administrator Staff Member

    Our guides and information has moved to a Wiki.

    The information below is out of date.

    Please use the Wiki.
    Who is this for?
    Anyone wanting to use rFactor2 with the JustRace system

    Difficulty / Time
    rFactor2 dedicated server is complicated and hard to work with. Once configured JustRace makes it easy but you will have to invest in getting it working.

    Installing and Configuring rFactor2 Dedi for JustRace
    If you already have rFactor2 dedicated server installed you should leave that as it is and install a new one. This means you can carry on using your old installation until you are ready to switch to JustRace.

    Note: You may have created some of the folder structure below already if you have installed any other dedicated servers for JustRace.

    Warning: rFactor2 is one of the more complicated dedicated servers to get working.
    1. Download this zip file and extract it to a location on the server that you wish to install rFactor2 Dedi
    2. We will be using steam command line client to automate the install of rFactor2 Dedicated server.
    3. Go into the "Dedicated Servers\rFactor2\Workshop" folder and open the included files in a text editor. Notepad++ is a fantastic free editor. Much better than windows notepad.
    4. Edit each of the files to include your steam username and password in the first line. This is needed to download content from the Steam Workshop (free content and DLC). You can create a brand new steam account. It does NOT need to own rFactor 2 but a steam account is needed to access Steam Workshop.
      upload_2020-10-14_0-24-53.png
    5. Right click the "rFactor2 Update.bat" file and create a shortcut.
    6. Rename the shortcut to "Update RF2 - Manual Mode"
    7. Right click the shortcut and select properties --> advanced --> Run as Adminsitrator
    8. Repeat steps 5 to 7 creating two more shortcuts called "Update RF2 - Auto Mode - Update Workshop and JRSM" and "Update RF2 - Auto Mode - Update Dedi, workshop and JRSM"
    9. Right click the "Update RF2 - Manual Mode" shortcut and select properties. Edit the "target" adding
      to the end (with a space between existing entry and "folder"
    10. Right click the "Update RF2 - Auto Mode - Update Workshop and JRSM" shortcut and select properties. Edit the "target" adding
      to the end (with a space between existing entry and "folder"
    11. Right click the "Update RF2 - Auto Mode - Update Dedi, workshop and JRSM" shortcut and select properties. Edit the "target" adding
      to the end (with a space between existing entry and "folder"
    12. Run the "Update RF2 - Manual Mode" file - Caution any running RFactor2 dedicated servers WILL BE STOPPED!
    13. Enter Y when asked to setup a new server
    14. If everything goes ok you should see the following:
      upload_2020-10-14_0-36-44.png
      Check the command window for errors and then close it.
    15. Navigate to "Dedicated Servers\rFactor2\dediserver\Bin32\". Right click "ModMgr.exe" and select "Create Shortcut"
    16. Edit the shortcut to remove "Bin32" from the "Start In" path.
      upload_2020-10-14_0-50-50.png
    17. Double click the shortcut and install the Adria track and BT44 car.
      upload_2020-10-14_0-57-3.png
    18. Goto "Dedicated Servers\rFactor2\dediserver\support\tools\" and run the "mas.exe"
    19. Click the 4th icon and confirm the location of your "Packages" folder
    20. Create a new "mod" by clicking the 6th icon on the toolbar "Create the package file"
    21. Click "Create New Mod Package"
    22. Accept the default name and click "Next"
    23. Add the "Adria" Track and click "Next"
    24. Add the Brabham BT44B car and click "Next" followed by "Done"
    25. Click "Package"
    26. Click "Install"
    27. Click "Done" and close the program
    28. Goto the JustRace Server Manager Settings tab and specify the installation path for the rFactor2 Dedicated Server and then click "Refresh Cars and Tracks"
      upload_2020-10-14_0-38-44.png
    29. Adjust the ports that you want the JustRace rFactor2 dedi to use. These should NOT be the same as any existing rFactor2 dedi servers you have installed.
      1. In JustRace Server Manager open the Game Port Settings
        [​IMG]
      2. Find the "AvailableServerSlots" section and adjust "rFactor2" value as required. This limits the maximum number of servers you can run at the same time.
        upload_2020-10-14_12-14-46.png
      3. Find the "rFactor2ServerPorts" section and configure up a set of ports for each server specified in item 2 above.
        upload_2020-10-14_12-15-19.png
      4. Make sure the ports you specify are allowed through your firewall.
        Generic guide for Windows 10
        Google is your friend
    30. Close and restart JRSM
    31. Click Refresh Cars and Tracks next to RFactor 2 on the Game Settings tab
    32. Make sure that your community has enabled rFactor2 as one of the games you run:
      JustRace Portal --> Admin --> My Communities --> Edit the community --> Adjust "Games Your Community Users"
      upload_2020-10-14_1-7-23.png
    33. If you need to unlock paid content on your server then:
      1. Schedule an event using Adria and the Brabham for your server to start in 5 mins time. Follow this guide if your not sure how
      2. Once the server has started delete the event from the portal
        upload_2020-10-14_0-43-32.png
      3. Follow this guide on the Studio 397 forums to unlock DLC.
    Installing additional workshop items or packages
    1. If you wish to install other items from the workshop then edit the files in the "Workshop" folder and remove "//" from the start of any item wish to install. You can also add your own items. The files do not include every workshop item.
    2. One edited and saved run the update batch file again
    3. Install the content with ModMgr as per part 10 above
    4. Click "Refresh Cars and Tracks" in JustRace Server Manager - this can take some time to complete depending on how much content you have.
    Installing workshop updates
    1. If updates have been released then run the "Update" batch file again
    2. Any updates for workshop content will be downloaded
    3. Install the updates using ModMgr as per part 10 above except use "update" instead of install.
    4. Click "Refresh Cars and Tracks" in JustRace Server Manager - this can take some time to complete depending on how much content you have.
     

    Attached Files:

    Last edited: Apr 13, 2022
Thread Status:
Not open for further replies.

Share This Page