Disabling F1, F3 and F4 assists on all difficulty levels?

Posted by AUS_Doug 
Hi all,
Just wondering if anyone knows of a way to disable (not just turn off) certain assists - namely auto-brake, auto-spin and indestructible - on lower difficulties?
I know that you can enable them for higher difficulties with the [Aids] section of a performance file.
I like using the in-car setup options (BB and Diff) provided by the GPxLap module of GPxPatch, but, as the documentation notes, it won't work on lower difficulties where F1, F3 & F4 toggle the above assists.

Cheers.



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
You can use a hex editor to edit the exe. For GP4 1.02 the offset is 3A8DC0 (hex). Here are 5 WORD (2 bytes) values, one for each difficulty. Change these 6 bytes: from "7F 03 7E 03 7E 02" to "72 02 72 02 72 02". That will make the driving aids mask for the Rookie, Amateur and Semi-Pro the same as Pro.

René Smit, Independent Software Developer.
Download my GPx tools here.



Edited 1 time(s). Last edit at 01/23/2019 03:09PM by SDI.
would not it be easier with the use of the driving aids editor tool? :-)

=> [www.mediafire.com]

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..
Thank you Rene.
From this, I was able to see that a value of '626' in the [Aids] section will give the same assists masking as Pro.

@phantaman, thanks for the link, but I was hoping for a solution that didn't modify the .exe to keep CSM available.

Thanks again.



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
How do you figure out the translation from the mask to a value that goes in the perf file?

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Start Windows Calculator, select programmer mode, then BIN mode. Type 100, then a 1 or 0 for F7 through F1 (edit: for correct mapping see my next post). Then read out the DEC or HEX value. E.g. 626 decimal is 1001110010 binary. This has F1 (right most digit), F3, and F4 disabled.

René Smit, Independent Software Developer.
Download my GPx tools here.



Edited 1 time(s). Last edit at 01/25/2019 09:40AM by SDI.
Nice one René, thanks.

I've always used 895 to enable everything, which translates to 1101111111. Does it matter that my first 3 digits are 110 and not 100 like you have above?

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
I went about it slightly differently than the above.
In my hex editor (XVI32), I went to the hex address Rene provided (3A8DC0) and saw the 2-byte WORD values he talked about.
The five pairs there read, in order, 7F 03 (Rookie), 7E 03 (Amateur), 7E 02 (Semi-Pro), 72 02 (Pro), 72 00 (Ace).
Selecting the first byte (7F) of the first pair (Rookie), and opening XVI32's 'Data Inspector' window showed that this WORD converts to a value of 895.....which, from your 1993 mod's Performance file I knew to be the value for enabling the assists.
Following from that, and with Rene telling me that '72 02' was the value for Pro, I selected the first byte (72) of the Pro value and saw that 626 was the conversion for the Pro value.



F1 Graphics Swapper --- Lensdump - Renders and Screenshots --- GP4 Performance Generator
No, and it looks like I made a mistake with which digit is which help function. The correct mapping is:

F1=0000000001 (auto brakes)
F2=0000000010 (auto gears)
F3=0000000100 (auto right the car)
F4=0000001000 (indestructible)
F5=0100000000 (show best line)
F6=1000000000 (suggested gear)
F7=0000010000 (traction control)
F8=0000100000 (steering help)
F9=0001000000 (launch control)

Note that 0010000000 is missing.

Sorted by digit left to right:
1000000000=F6 (suggested gear)
0100000000=F5 (show best line)
0010000000=XX (not used)
0001000000=F9 (launch control)
0000100000=F8 (steering help)
0000010000=F7 (traction control)
0000001000=F4 (indestructible)
0000000100=F3 (auto right the car)
0000000010=F2 (auto gears)
0000000001=F1 (auto brakes)

So your 110 means F6 and F5 enabled. The third digit is ignored and can always be 0.

René Smit, Independent Software Developer.
Download my GPx tools here.



Edited 2 time(s). Last edit at 01/25/2019 09:59AM by SDI.
I just saw that GPxPatch itself patches the driving aids mask when reading the AidX (X=difficulty, 1 through 5)values from the [Aids] section in the performance file :)

René Smit, Independent Software Developer.
Download my GPx tools here.
Awesome - thanks for the explanation.

Could all this be added to the GPxSet help webpage please? :)

=====================================================


Intel NUC 8i3, 8GB RAM, MS Sidewinder Wheel
Sure, but I might as well put it simpler:

F1=1 (auto brakes)
F2=2 (auto gears)
F3=4 (auto right the car)
F4=8 (indestructible)
F5=256 (show best line)
F6=512 (suggested gear)
F7=16 (traction control)
F8=32 (steering help)
F9=64 (launch control)

Add all the numbers of the aids you want to be allowed and use this sum as the value in the performance file.

René Smit, Independent Software Developer.
Download my GPx tools here.
Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy