How to duplicate car files in the \Installed\Vehicles\ directory?

I extracted the mas files of 2 vehicles because I wanted to make modifications to their .veh files and not cause any online mismatches:
  • C6R_2009
  • Nissan_370z_2012
I've also changed their "Description" and "Category" parameter to differentiate them in the game's main menu.

I went ahead and repacked their relative car.mas files, and duplicated their *.MFT and car-encrypted files into the following directory:
  • \Vir_3h_carpack\370z_gt4
  • \Vir_3h_carpack\c6r_gt2_09
I'd like the folder Vir_3h_carpack to appear in the directory, \rFactor 2\Installed\Vehicles

How would I go about to do this?

For the record I opened the Mas2.exe, click 'open box icon' → create single cfmp packacge →
  • It gives me the option to select all the respective .MAS files, but not the .MFT files
  • I.e. 4 files total
I click 'Package"
  • A message saying: Component packaging complete with no errors
I don't see any generated .rfcmp files. Assistance would be appreciated.
 
I wanted to make modifications to their .veh files and not cause any online mismatches:
This is not possible.
I do not recommend changing things manually in the rFactor2/installed folder. You can do this in the dev mode folder.

If you wish to create a car skin pack for a league without touching the original car package: you can create a the “virtual ride” skin pack. The new car “category”: you can add it manually in the .rcd file.

Or

Create an update package with the new skins.
This update package needs to be updated if the base component gets updated. This is not needed with the virtual ride


Or

Create a complete new car package with a new Team.mas based on the original car.
 
Last edited:
Thanks for the useful response. I did some additional research and have found out the "encrypted-mas" has made setting up custom car pack very different from GTR2 & rFactor 1.

I did a search fo, *.rcd, in the rFactor 2 installation folder, only the following came up:
  • \rFactor 2\ModDev\Talent\Skip_Barber.rcd
  • \rFactor 2\ModDev\Vehicles\SkipBarber\Skip_Barber.rcd
The content of the latter's vehicle file is as follows:
Code:
//[[gMb1.002f (c)2012    ]] [[            ]]
Skip_Barber
{
  default
  {
    StepDistance = 5.0
    StepSpeed1 = 25.0
    StepSpeed2 = 32.0
    StepSpeed3 = 40.0
    StepSpeed4 = 55.0
    StepSpeed5 = 75.0
    StepSpeed6 = 95.0
    StepSpeed7 = 115.0
    StepSpeed8 = 175.0
    DrivingLine = OW3_FAST, rTrainer_Fast // Fast driving line to use as racing line, first in list has priority (max of 3 can be specified).  Falls back to FASTEST if no specified paths exist
    CorneringCaution = 60
    UnderSteerEffectOnThrottleMulti = 125
    UnderSteerEffectOnLineMulti = 55
  }
  Eric Elliott
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 90.0
    Reputation = 100.0
    Courtesy = 95.0
    Composure = 97.0
    Speed = 100.0
    QualifySpeed = 90.0
    WetSpeed = 90.0
    StartSkill = 115.0
    Crash = 0.7
    Recovery = 100.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Richard Chmielewski
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 90.0
    Reputation = 100.0
    Courtesy = 95.0
    Composure = 95.0
    Speed = 99.0
    QualifySpeed = 93.0
    WetSpeed = 95.0
    StartSkill = 115.0
    Crash = 0.2
    Recovery = 98.0
    CompletedLaps = 100.0
    MinRacingSkill = 95.0
  }
  Richie Speed
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 95.0
    Composure = 93.0
    Speed = 98.0
    QualifySpeed = 95.0
    WetSpeed = 90.0
    StartSkill = 110.0
    Crash = 0.0
    Recovery = 98.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Kalle Kouri
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 100.0
    Composure = 90.0
    Speed = 96.0
    QualifySpeed = 99.0
    WetSpeed = 85.0
    StartSkill = 110.0
    Crash = 0.0
    Recovery = 95.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Sam Moss
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 95.0
    Reputation = 100.0
    Courtesy = 95.0
    Composure = 90.0
    Speed = 99.0
    QualifySpeed = 85.0
    WetSpeed = 80.0
    StartSkill = 117.0
    Crash = 0.0
    Recovery = 95.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Wojtek Kedzierski
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 90.0
    Composure = 88.0
    Speed = 99.0
    QualifySpeed = 80.0
    WetSpeed = 80.0
    StartSkill = 105.0
    Crash = 0.0
    Recovery = 94.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Adam Cleverley
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 90.0
    Composure = 88.0
    Speed = 98.0
    QualifySpeed = 78.0
    WetSpeed = 75.0
    StartSkill = 117.0
    Crash = 0.0
    Recovery = 93.0
    CompletedLaps = 100.0
    MinRacingSkill = 95.0
  }
  Masateru Suzuki
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 85.0
    Composure = 88.0
    Speed = 97.0
    QualifySpeed = 75.0
    WetSpeed = 70.0
    StartSkill = 110.0
    Crash = 0.1
    Recovery = 93.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Brett Finucane
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 85.0
    Composure = 85.0
    Speed = 95.0
    QualifySpeed = 95.0
    WetSpeed = 65.0
    StartSkill = 105.0
    Crash = 0.0
    Recovery = 90.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  David O'Reilly
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 95.0
    Composure = 85.0
    Speed = 96.0
    QualifySpeed = 72.0
    WetSpeed = 100.0
    StartSkill = 100.0
    Crash = 0.0
    Recovery = 85.0
    CompletedLaps = 100.0
    MinRacingSkill = 95.0
  }
  Terence Calder
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 90.0
    Composure = 85.0
    Speed = 95.0
    QualifySpeed = 70.0
    WetSpeed = 55.0
    StartSkill = 95.0
    Crash = 0.0
    Recovery = 82.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Christina Hartmann
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 85.0
    Composure = 85.0
    Speed = 91.0
    QualifySpeed = 65.0
    WetSpeed = 50.0
    StartSkill = 100.0
    Crash = 0.1
    Recovery = 80.0
    CompletedLaps = 100.0
    MinRacingSkill = 80.0
  }
  Craig Thomas
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 80.0
    Composure = 85.0
    Speed = 90.0
    QualifySpeed = 62.0
    WetSpeed = 45.0
    StartSkill = 105.0
    Crash = 0.0
    Recovery = 78.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Ade Allen
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 95.0
    Reputation = 100.0
    Courtesy = 80.0
    Composure = 85.0
    Speed = 88.0
    QualifySpeed = 60.0
    WetSpeed = 85.0
    StartSkill = 115.0
    Crash = 0.0
    Recovery = 100.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Eric Lebeau
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 80.0
    Composure = 85.0
    Speed = 85.0
    QualifySpeed = 58.0
    WetSpeed = 70.0
    StartSkill = 80.0
    Crash = 0.5
    Recovery = 77.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Luke Longnecker
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 95.0
    Reputation = 100.0
    Courtesy = 80.0
    Composure = 83.0
    Speed = 86.0
    QualifySpeed = 55.0
    WetSpeed = 100.0
    StartSkill = 105.0
    Crash = 0.0
    Recovery = 70.0
    CompletedLaps = 100.0
    MinRacingSkill = 95.0
  }
  Niels Tyge
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 90.0
    Reputation = 100.0
    Courtesy = 85.0
    Composure = 90.0
    Speed = 80.0
    QualifySpeed = 50.0
    WetSpeed = 50.0
    StartSkill = 100.0
    Crash = 0.0
    Recovery = 72.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Julián Campillo
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 80.0
    Composure = 95.0
    Speed = 89.0
    QualifySpeed = 45.0
    WetSpeed = 95.0
    StartSkill = 85.0
    Crash = 0.0
    Recovery = 68.0
    CompletedLaps = 100.0
    MinRacingSkill = 90.0
  }
  Nikita Prokopiev
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 75.0
    Composure = 76.0
    Speed = 82.0
    QualifySpeed = 40.0
    WetSpeed = 45.0
    StartSkill = 95.0
    Crash = 0.0
    Recovery = 66.0
    CompletedLaps = 98.0
    MinRacingSkill = 85.0
  }
  Nikos Theodorikos
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 80.0
    Composure = 70.0
    Speed = 81.0
    QualifySpeed = 35.0
    WetSpeed = 45.0
    StartSkill = 85.0
    Crash = 0.0
    Recovery = 70.0
    CompletedLaps = 95.0
    MinRacingSkill = 85.0
  }
  John Persson
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 75.0
    Composure = 70.0
    Speed = 80.0
    QualifySpeed = 40.0
    WetSpeed = 65.0
    StartSkill = 95.0
    Crash = 0.0
    Recovery = 65.0
    CompletedLaps = 95.0
    MinRacingSkill = 85.0
  }
  Noel Hibbard
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 90.0
    Composure = 70.0
    Speed = 77.0
    QualifySpeed = 60.0
    WetSpeed = 65.0
    StartSkill = 119.0
    Crash = 0.2
    Recovery = 75.0
    CompletedLaps = 90.0
    MinRacingSkill = 80.0
  }
  Steven Ciofalo
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 75.0
    Composure = 70.0
    Speed = 77.0
    QualifySpeed = 35.0
    WetSpeed = 50.0
    StartSkill = 100.0
    Crash = 1.3
    Recovery = 62.0
    CompletedLaps = 80.0
    MinRacingSkill = 70.0
  }
  Sérgio Galvão
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 75.0
    Composure = 70.0
    Speed = 76.0
    QualifySpeed = 30.0
    WetSpeed = 85.0
    StartSkill = 115.0
    Crash = 2.5
    Recovery = 61.0
    CompletedLaps = 70.0
    MinRacingSkill = 60.0
  }
  Alessio Romito
  {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 85.0
    Reputation = 100.0
    Courtesy = 75.0
    Composure = 70.0
    Speed = 75.0
    QualifySpeed = 22.0
    WetSpeed = 45.0
    StartSkill = 85.0
    Crash = 0.0
    Recovery = 60.0
    CompletedLaps = 60.0
    MinRacingSkill = 90.0
  }
}

I'm not sure how I would go about formatting the "Category" format for the vehicle.

My main objective now, is to duplicate all the .veh files, while at the same time, mostly 2 .veh files will share the same skin (.dds). I'd like to also adjust their "PitGroup=" parameter to better make sure only the cars in the same "team" or "pitgroup" share the same pitstop. For now I don't mind 2 or 3 drivers having identical names.

After reading your post, the 3rd option stated:
  • Create a complete new car package with a new Team.mas based on the original car.
  • Edit: It doesn't have to be named team.mas, you can name it whatever you want.
Seems like the best option for someone with experience with setting up a custom car grid in rFactor 1 & GTR2.

You stated:
I do not recommend changing things manually in the rFactor2/installed folder. You can do this in the dev mode folder.

Is there a guide that details this?

I extracted the files of the c6r 'car.mas' and pasted them into the following directories:
  • D:\Installations\Steam\steamapps\common\rFactor 2\ModDev\Vehicles\VIR_3h_CPk\c6r
  • D:\Installations\Steam\steamapps\common\rFactor 2\ModDev\Vehicles\VIR_3h_CPk\c6r\teams
Vehicle doesn't come up in dev mode.

It seems HDV files is encrypted, further making less sense for me to create my own events carpack.

As the following ERD image suggests, duplicating .veh files and maybe later creating my own "upgrades" file to take simulate performance ballasts (slowing down cars that are 'too fast') and such is the more rational approach.




The default car numbers of the C6R are: 00, 03, 06, 09, 11, 15, 23, 56
Since I wanted to modify parameters in all of these files, I'd like to duplicate these car team files numbers in a separate directory/folder, thus allowing me avoid causing an online mismatch and makes things less tedious, in setting up a custom grid of cars. I've taken into account the Description & Category parameters, and changed them accordingly.

Additionally I've created the following 10 car team numbers: 01, 04, 07, 10, 12, 13, 14, 16, 24, 57
To hopefully enable me to race 18 cars of this model in the race event, with 10 other cars of a different model.

The following table shows which .veh files will be utilizing which .dds file. I don't intend to modify the DDS files.
Code:
+------------+-----------------+
| Source DDS | Teams utilizing |
+------------+-----------------+
|         00 |          00, 01 |
|         03 |          03, 04 |
|         06 |          06, 07 |
|         09 |          09, 10 |
|         11 | 11, 12,  13, 14 |
|         15 |          15, 16 |
|         23 |          23, 24 |
|         56 |          56, 57 |
+------------+-----------------+

How would I go about creating this Team.mas file? Would the 18 different .veh (team files) be enough for it? Do I have to include some sort of text file, noting where the .hdv & other core files are located at?

Edit:


I gained some major ground, thanks in huge part to Gijs.

I was able to get the custom .veh files to display in car selection menu under their own sub-category name of, Corvette ALMS GT2 2009 custom, and was able to drive the car.



Unfortunately, the default/original car numbers of, 00, 03, 06, 09, 11, 15, 23, 56, refuse to appear in the sub-category. Also the car & skin preview model, refuses to appear in the selection menu as well.
  • Edit: It seems the *icon.dds & *SMicon.dds, files may need to be duplicated as well.

Here's a sample of one the 8 .veh refusing to appear in the custom category:
// The first section defines what maps to load for the vehicle skinning technology.
// The first line defines a "prefix" to be used for all generic maps.
// Currently, generic maps are used for the livery, wing, driver, driver arms, driver helmet, and pit crew.
// The second line will replace the default livery with the new specified, for the track specified.
// The format is as follows:
//
// DefaultLivery="PREFIX" // PREFIX is the base texture map name, assumed to be BMP unless specified
// PitCrewLivery="PREFIX" // This is only needed if it differs from the default livery PREFIX
// TrackLivery="TRACK, PREFIX" // TRACK is the track name as defined in the event GDB
// TrackLivery="TRACK, PREFIX" // For example, "2004_Toban"
// TrackLivery="TRACK, PREFIX" // You can have an infinite # of these lines

DefaultLivery="C6R_00.DDS"

HDVehicle=C6R_GT2_2009.hdv
Graphics=C6R.gen
Spinner=C6R_Spinner.gen
Upgrades=C6R_Upgrades.ini // Vehicle upgrades information
GenString= // Used to generate GMT names in *.gen file
Cameras=C6R.cam // Defaults to cams.cfg in UserData directory
Sounds=C6R.sfx
HeadPhysics=HeadPhysics_GT.ini // Affects driver eyepoint only
Cockpit=C6R_cockpitinfo.ini
AIUpgradeClass=GT2

//////////////////////////TEAM HISTORY AND INFORMATION///////////////////////////////////////////


Number=00
Team="Corvette Racing"
PitGroup="Group1"
Driver="Milos / Stokely"
Description="Corvette C6.R GT2_c #00"
Engine="Chevrolet V-8"
Manufacturer="Michelin"
Classes="GT2_C6R"

FullTeamName="Corvette Racing"
TeamFounded=2003
TeamHeadquarters="Sparta, Wisconsin"
TeamStarts=30
TeamPoles=5
TeamWins=5
TeamWorldChampionships=2


Category="Chevrolet, Corvette ALMS GT2 2009 custom"

Here’s a screenshot of it:



It seems Description=, and Category=, may be nothing more than symbolic link. If so, why does the game prioritize the files inside, car.mas? I'm assuming prioritization can't be changed like due to the encrypted .mas file, since I can't find any other file within car.mas that can be modified with a text editor.

I also changed category from:
  • Category="Chevrolet, Corvette ALMS GT2 2009 custom"
To (added extra t):
  • Category="Chevrolett, Corvette ALMS GT2 2009 custom"
A new manufacturer appeared with one of the "cloned" team numbers, but not with the default team numbers.

Also I did not modify anything in the, ...\Vehicles\C6R_2009\1.93\C6R_2009.mft
I'm assuming rfcmp package installer is responsible for that.

For those wondering how I made it this far, all 18 .veh file were compressed into a team.mas file, and then that file was placed in the directory \Installed\Vehicles\C6R_2009\1.93\

2nd edit:
It turns out the filename is the ultimate culprit. Solution, would be to put a '_c' at the end of all the .veh files (for consistency). "Number=" parameter can be left at the desired value, i.e. no suffix required. You would need to relabel one of the *Icon.dds files though, to see the vehicle model in the selection menu.

My main question regarding this matter now is:
If I placed these .veh files of 2 or more different models, in a directory such as:
  • \rFactor 2\Installed\Vehicles\Vir_3h_Team_Pack
How would refer to the absolute path, to let the game know where to find the "core files". Core files being HDV, gen, sfx, and such?

In rFactor you could do
  • HDVehicle="D:\Installations\Steam\steamapps\common\rFactor 2\Installed\Vehicles\C6R_2009\1.93\c6r.HDV"
Since these file are in the container file, "car.mas", I'm not sure what to do.

3rd edit:
Partial solution: Creating a racing event with 18 Corvette C6 GT2 and 10 GT4 370z
 
Last edited:

Latest News

Are you buying car setups?

  • Yes

  • No


Results are only viewable after voting.
Back
Top