Project CARS Modding Questions & WIP

Hey guys, I've got a small hex-related problem. I need to create a chassis file that has a flat-shift sequential gearbox rather than the lift and shift that it's currently equipped with. I'm 99% certain that I have the string that I need to change, but the byte to change isn't there. I want to add that byte and I have the ability to insert it, but I don't have the knowledge of how to make the file actually work after inserting a byte, it just crashes the game. Is there anyone that knows how to add a byte to a hex file without crashing the game?
This may be a stupid question, but are you inserting the byte by adding new, or inserting by overwriting an existing byte? Inserting by adding new will throw off any pointers in the file, as there are usually sections that reference specific addresses that will not go to the right place if you shift everything by a byte.
 
Here's a translation of VDFM file in my typical format...
Code:
Translation for mitsubishi_lancer_evo_x_fq400.vdfm
By JDougNY
Version 1.0 - Feb. 12, 2016

NOTE: address locations are typical for almost all VDFM files.  Use this translation as a
guide to editing VDFM files.

NOTE: The format of some VDFM files vary starting at address 0x0D8 thru 0x0E7, which
is just after the last tyre height entry.

0x018-0x01B = 6C000000 = 108 // (Decimal) Total Byte length of String data Section.
If additional bytes are inserted into the string data section, this register
is incremented accordingly.

ADDRESS      Little End.  Value   Description
------------|-----------|------|----------------
0x0050-0x053 = XX000000 = 0 // (Decimal) Location in string data for Chassis filename (*.CDFBIN)
0x0058-0x05B = XX000000 = 0 // (Decimal) Location in string data for Engine filename (*.EDFBIN)

0x0060-0x063 = 1E000000 = 30 // (Decimal) Location in string data for Gearbox filename (*.GDFBIN)
0x0068-0x06B = 3D000000 = 61 // (Decimal) Location in string data for Suspension filename (*.SDFBIN)

0x0070-0x073 = 55000000 = 85 // (Decimal) Location in string data for Collision filenames (*.XML)
0x0078-0x07B = 55000000 = 85 // (Decimal) Location in string data for Tyre filename (*.HDTBIN)

0x080-0x083 = XX000000 = // ??Not Tested?? - (Decimal) Location in string data for turbo filename (*.TBFBIN)

0x088-0x08B = CBA1453F = 0.772 // (Float) FL Wheel/Tyre lateral offset in Meters
0x08C-0x08F = 54E3A53E = 0.324 // (Float) FL Wheel/Tyre vertical offset in Meters
0x090-0x093 = 9A99A9BF = -1.325 // (Float) FL Wheel/Tyre fore/aft offset in Meters

0x094-0x097 = CBA145BF = -0.772 // (Float) FR Wheel/Tyre lateral offset in Meters
0x098-0x09B = 54E3A53E = 0.324 // (Float) FR Wheel/Tyre vertical offset in Meters
0x09C-0x09F = 9A99A9BF = -1.325 // (Float) FR Wheel/Tyre fore/aft offset in Meters

0x0A0-0x0A3 = CBA1453F = 0.772 // (Float) RL Wheel/Tyre lateral offset in Meters
0x0A4-0x0A7 = 54E3A53E = 0.324 // (Float) RL Wheel/Tyre vertical offset in Meters
0x0A8-0x0AB = 9A99A93F = 1.325 // (Float) RL Wheel/Tyre fore/aft offset in Meters

0x0AC-0x0AF = CBA145BF = -0.772 // (Float) RR Wheel/Tyre lateral offset in Meters
0x0B0-0x0B3 = 54E3A53E = 0.324 // (Float) RR Wheel/Tyre vertical offset in Meters
0x0B4-0x0B7 = 9A99A93F = 1.325 // (Float) RR Wheel/Tyre fore/aft offset in Meters

0x0B8-0x0BB = 23DB793E = 0.244 // (Float) FL Tyre width in Meters
0x0BC-0x0BF = 54E3253F = 0.648 // (Float) FL Tyre height in Meters

0x0C0-0x0C3 = 23DB793E = 0.244 // (Float) FR Tyre width in Meters
0x0C4-0x0C7 = 54E3253F = 0.648 // (Float) FR Tyre height in Meters

0x0C8-0x0CB = 23DB793E = 0.244 // (Float) RL Tyre width in Meters
0x0CC-0x0CF = 54E3253F = 0.648 // (Float) RL Tyre height in Meters

0x0D0-0x0D3 = 23DB793E = 0.244 // (Float) RR Tyre width in Meters
0x0D4-0x0D7 = 54E3253F = 0.648 // (Float) RR Tyre height in Meters

0x0D8-0x0E7 // (All floats) Some VDFM files have data in this section.  Use unknown.

0x0E8-0x0EB = XX000000 = // (Decimal) Location in string data for KERS filename (*.BBFBIN)

0x128-0x12B = XX000000 = // (Decimal) Location in string data for DRS filename (Drag_1.UDFBIN)

0x130-0x0133 = 00001144 = 580.0 // (Float) Brake Disc Glow Min
0x134-0x0137 = 00808944 = 1100.0 // (Float) Brake Disc Glow Max
0x138-0x013B = 0000803F = 1.0 // (Float)
0x13C-0x013F = 0000803F = 1.0 // (Float)
The Shiimis translation wasn't very clear, if one wants to manually edit the file.
 
Last edited:
JDougNY,
I have a quick question for you about Nissan GTR by gvse.
In The Career Mode I can't tweak the car setup - it's not allowing me to change the default settings.
Would you know why?
 
If the hex string reads like this in CDFbin...
[28 1D EA 4C 3D]
Then change to read
[20 1D EA 4C 3D]
Then insert the new byte after the hex string

You need to increment 3 registers at the top of the file, when adding new bytes to the file..
[0x08-0x0B], [0x14-0x17], and [0x24-0x27]
Those registers are decimal and entered in Little Endian.
For instance, let's say you added one byte to the file and register [0x08-0x0B]=CB 10 00 00
New value would be CC 10 00 00

Thanks! I can add values now without the game crashing. Turns out the value I was changing wasn't the value I wanted, but baby steps :p

Does anyone know how to change a lift-shift gearbox into a flat shift?
 
JDougNY,
I have a quick question for you about Nissan GTR by gvse.
In The Career Mode I can't tweak the car setup - it's not allowing me to change the default settings.
Would you know why?
Road cars are not used in Career mode. I don't play the career mode, but I don't see an option for Road cars. Perhaps it's something you edited to make the car appear in Career mode?

@Hobbnob
Normally the sequential flag is set in the chassis file, along with adjusting the upshift/downshift time delays. Also, there's a change to driver animation and gear stick type in the driver files, etc.
 
For those interested....
In my public files here ... https://www.mediafire.com/folder/cy3jl6679k7i1/Public_for_PCARS
The following items are now available....
- Modding unlocker for patch 9.0 (both 32 and 64 bit in one package)
- Common Textures from Pcars as of Patch 9.0 (use for addon cars)
- Common Textures from Prior SMS games. This is a combination of NFS Shift, S2U and TDFRL common textures. To prevent issues with original pCars textures, place textures in "Vehicles\Textures\Other\" folder, then edit material files to correct folder path. You'll have many more color options for alcantara, leather, carpet, plastics, etc.
- MTX materials for addon cars V1.0. A collection of easy to edit XML style materials for addon cars.
- Translation for gearbox GDFBIN V1.1
- Translation for suspension SDFBIN V1.0 (front and rear independent style only)
- Translation for Turbo TBFBIN V1.0 (single and twin versions)
- Translation for Statistics MRDF V1.1
- Translation for Physicstweaker MRDF V1.0 (partial decode)
- Translation for Vehicle VDFM V1.1

NOTES: to edit physics and/or RCF files of original cars, the combination of my unlocker and unpacked/renamed/sorted/dummied exterior vehicle BFF are required. Due to SMS still supporting the game with updates, I've held off on supplying exterior/cockpit BFFs (I want to avoid doing things over and over with each update).

Bootfiles by Autoprophet are not useful, if one wants to rework the physics of original cars.
The manner in which Bootfiles by Autoprophet unlocks the game, leaves many original physics files resident in memory, which conflicts with any modified unpacked files. My unlocker does not have those issues. Should anyone want to rework physics of original cars, they should switch to using my unlocker. All mods should work with my unlocker.
Also, my unlocker allows one to modify more game content (cameras, AI, physicstweaker, drive wrong way, change cut track, etc)
 
Last edited:
JDougNY,
thank you for the terrific resource!

SLR-722_Black Series,
thank you for the installer. Ill bundle it with an update of the car.
 
OK thanks
How Has he succeeds in putting Hankook ?

hankook-jpg.121022
 
@gvse, i've done it already for every modded currently available car in Racedepartments downloadsection, i've installed them all with my "modification of the bats" on the first try ;) everything works fine...but i've divided the bats for the rufs into two...cause im not 100% into writing bats...but if you'll need any further advises...or maybe a helping hand or a tester :D etc contact me ;)
 
to view the Audi R8 LMS mod 2015 does not bring even the original variants, I modified a few:

Michelin tires 2015 for GT3 with one two logos
Pirelli tires GT3
llatas continrntal 2015 imsa used rolex
logo in the cabin "banner" for Blancpain and audi logo 2016
last yellow headlights and amber glass.

could you please explain to me how to change tires
thank you
 
Back
Top