Difference between revisions of "Using Upgrades Generator (rFactor2)"

From GPVWC Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[File:RFactor2.png|300px|right]]
 
[[File:RFactor2.png|300px|right]]
This is a basic guide on how to add settings from the GPVWC Upgrades Generator to a Superleague test mod.
+
This is a basic guide on how to add settings from the GPVWC Upgrades Generator to a Superleague/Superleague Lights test mod.
  
 
== Step 1 ==
 
== Step 1 ==
  
Download & install the 2020 Superleague Test Base Mod: https://drive.google.com/open?id=10kLL2SVMddEMHibMSQ-TcP1BMzefGDcX
+
Download & install the 2021 Superleague/SL Lights Test Base Mod: [https://drive.google.com/file/d/14725BfXn9QCIxYNw82sj2igOlw8Sy9JJ/view?usp=sharing GPVWC21_SL_TCar-v1.rfcmp]
  
Also download the base upgrades file: https://drive.google.com/open?id=1PgBlo0fPx1zodeEt-jZnp6iQ1KS4LGcA
+
Also download the base upgrades files: [https://drive.google.com/file/d/1Jzvuard4zOKaHt7hm35T17gyGIcXEyOP/view?usp=sharing SL21 Upgrades File] / [https://drive.google.com/file/d/1PBJCovBI5huFSFPdxZgWRLPvHX-Yl4Nb/view?usp=sharing SLL21 Upgrades File]
  
  
''Optional: Download the vehicle description file if you want customise the vehicle name & class'': https://drive.google.com/open?id=1a9hSATA2IjfYesRJ0_QjRVZt258RoyDX
+
''Optional: Download the vehicle description file if you want customise the vehicle name & class'': [https://drive.google.com/file/d/1qtcBsiDkQ32hz2DiK6qWIY7xy-z02owE/view?usp=sharing SL21 veh file] /  [https://drive.google.com/file/d/1D0b3vLpmWazpkfSjIno1qSf5XQRikn61/view?usp=sharing SLL21 veh file]
  
 
== Step 2 ==
 
== Step 2 ==
  
Use the upgrades generator to create the upgrades file you want (make sure to fill out all boxes): http://en.gpvwc.com/services/upgrades/
+
Open the upgrades generator spreadsheet for the series you want to modify: [https://docs.google.com/spreadsheets/d/1d634JONLerFmoIs4jzl5qPd0yK7RF-COSfeXOAGxC8w/edit?usp=sharing SL21 Upgrades Generator] / [https://docs.google.com/spreadsheets/d/1WqcdoSzJ7Gursp5eSkMbuZMGgR9XOn5skkR7NAenj98/edit?usp=sharing SL Lights 21 Upgrades Generator]
  
Open both the base upgrades file and the generated upgrades file in a text editor such as Notepad. In the base upgrades file find the section at the end of the file labelled UpgradeType="Car Upgrades". Replace the section starting with //Upgrades Data Starts and ending with //Upgrades Data Ends with the text from the generated files and save the file (keeping the original filename).
+
Once opened you'll want to either create a copy or download the file in your preferred format. If making a copy please make sure to set the local settings for the spreadsheet to either US or UK in order to ensure the decimal points work correctly.
 +
 
 +
Next open the base upgrades file in a text editor such as Notepad. In the base upgrades file find the section at the end of the file labelled UpgradeType="Car Upgrades". Replace the section starting with //Upgrades Data Starts and ending with //Upgrades Data Ends with the text in the Output tab of the generator spreadsheet and save the file (keeping the original filename). When adding upgrades always try to ensure that the number of open and closed brackets in the upgrade section remain equal.  
  
 
[[File:Upgrades1.jpg|500px]]
 
[[File:Upgrades1.jpg|500px]]
Line 30: Line 32:
  
 
* Press the package button (highlighted in magenta in the image above) and then choose 'Create Single Cmp Package'.  
 
* Press the package button (highlighted in magenta in the image above) and then choose 'Create Single Cmp Package'.  
* Under select component, choose <Add new component> and name it '''GPVWC20_SL_Tcar'''. It is important that you keep the component name the same as the mod you are updating.
+
* Under select component, choose <Add new component> and name it '''GPVWC21_SL_Tcar'''. It is important that you keep the component name the same as the mod you are updating.
 
* Choose a name and location for the rfcmp package file output. The filename for the rfcmp file can be anything you wish and it is recommended to save it your rFactor2/Packages folder to allow quick installation.  
 
* Choose a name and location for the rfcmp package file output. The filename for the rfcmp file can be anything you wish and it is recommended to save it your rFactor2/Packages folder to allow quick installation.  
 
* In the version section enter your new mod version number (for example 1.01) and then tick the box for 'Update From' and enter 1.0 (the base mod version we are updating) in the box to its right. If you are creating multiple upgrade packages then use a different version number for each one ensuring to always update from the version 1.0 base mod.
 
* In the version section enter your new mod version number (for example 1.01) and then tick the box for 'Update From' and enter 1.0 (the base mod version we are updating) in the box to its right. If you are creating multiple upgrade packages then use a different version number for each one ensuring to always update from the version 1.0 base mod.

Revision as of 08:22, 18 February 2021

RFactor2.png

This is a basic guide on how to add settings from the GPVWC Upgrades Generator to a Superleague/Superleague Lights test mod.

Step 1

Download & install the 2021 Superleague/SL Lights Test Base Mod: GPVWC21_SL_TCar-v1.rfcmp

Also download the base upgrades files: SL21 Upgrades File / SLL21 Upgrades File


Optional: Download the vehicle description file if you want customise the vehicle name & class: SL21 veh file / SLL21 veh file

Step 2

Open the upgrades generator spreadsheet for the series you want to modify: SL21 Upgrades Generator / SL Lights 21 Upgrades Generator

Once opened you'll want to either create a copy or download the file in your preferred format. If making a copy please make sure to set the local settings for the spreadsheet to either US or UK in order to ensure the decimal points work correctly.

Next open the base upgrades file in a text editor such as Notepad. In the base upgrades file find the section at the end of the file labelled UpgradeType="Car Upgrades". Replace the section starting with //Upgrades Data Starts and ending with //Upgrades Data Ends with the text in the Output tab of the generator spreadsheet and save the file (keeping the original filename). When adding upgrades always try to ensure that the number of open and closed brackets in the upgrade section remain equal.

Upgrades1.jpg

Step 3

Open the rFactor2 MAS Utility (Program Files\Steam\steamapps\common\rFactor2\Support\Tools\Mas2.exe). Drag and Drop your new upgrades file into the window and a press the square button (highlighted in blue in the image below) to save as a .mas file. This mas file can be named however you wish.

Upgrades2.jpg

If you wish to customise vehicle names & class, edit the .veh in your text editor, save and include it alongside the upgrades ini file when creating the update .mas file above.

Step 4

  • Press the package button (highlighted in magenta in the image above) and then choose 'Create Single Cmp Package'.
  • Under select component, choose <Add new component> and name it GPVWC21_SL_Tcar. It is important that you keep the component name the same as the mod you are updating.
  • Choose a name and location for the rfcmp package file output. The filename for the rfcmp file can be anything you wish and it is recommended to save it your rFactor2/Packages folder to allow quick installation.
  • In the version section enter your new mod version number (for example 1.01) and then tick the box for 'Update From' and enter 1.0 (the base mod version we are updating) in the box to its right. If you are creating multiple upgrade packages then use a different version number for each one ensuring to always update from the version 1.0 base mod.
  • In the 'Type' box select Vehicle.
  • Click the filing cabinet icon in the Mas Files section and choose the .mas file you created in Step 3.
  • Click package button at the bottom of the window. If you saved the package file to rFactor2/Packages folder you can also install the package in rFactor2 by pressing the Install button. Press Done when you finished.

Upgrades3.jpg