Page 2 of 4

Re: $76A VS LPG input pin

Posted: Mon May 07, 2012 10:05 pm
by gibbo
Im sure I disabled it, maybe I double pressed the button

Re: $76A VS LPG input pin

Posted: Mon May 07, 2012 10:47 pm
by VL400
I have it at 381C bit 3 to disable VATS, which XDF are you using? The $51 XDF will have the wrong offset.

Re: $76A VS LPG input pin

Posted: Mon May 07, 2012 11:13 pm
by gibbo
Oh yeah I was using the $51e, Is there a $76 xdf?
How do I get to 381C bit 3? Do you do this through hex editor or something like that?

Re: $76A VS LPG input pin

Posted: Tue May 08, 2012 8:12 am
by VL400
You can hex edit it or edit the TP XDF to do it for you - press F2 on the item and change 0x3818 to 0x381C. I would also start on a fresh bin as you had some other changes that are most likely not correct either - the fan settings are most def not correct!

Re: $76A VS LPG input pin

Posted: Tue May 08, 2012 1:13 pm
by gibbo
I did notice the fans didn't come on. I was not game to go for a drive.....

Re: $76A VS LPG input pin

Posted: Tue May 08, 2012 1:28 pm
by VL400
The low speed fan is BCM controlled so will need some trickery to get the high speed fan working correctly too .. https://pcmhacking.net/forums/viewtopi ... +fan#p9878

Re: $76A VS LPG input pin

Posted: Tue May 08, 2012 2:09 pm
by gibbo
I have done the fan trickery in a $51 tune and it worked fine. The problem is the definition for $76 is not available is it? If there was one it would be no problem. How do I go about setting up a xdf file for the $76. I would like a good definition file so I can play around with various settings later.

Re: $76A VS LPG input pin

Posted: Tue May 08, 2012 2:36 pm
by VL400
Would need to use a hex editor looking at both bin files and comparing them to each other. Using the $51 XDF as your address guide, find the item in a $51 bin and then look for the same data in the $76 bin - thats all I did to work out the VATS flag. Its time consuming!

Re: $76A VS LPG input pin

Posted: Tue May 08, 2012 3:27 pm
by yoda69
Attached is an excel file with an extract (from $2000 to $6000) of a number of $51 and $76 files side by side. I find this method easiest to use when comparing similar files rather than a Hex Editor.
$76 & $51.zip
(915.16 KiB) Downloaded 233 times
As a guide, I've started with the following to give you an idea.
1. Program ID Code at $2008
2. Option Flags for $51 are at $3818/9, and for $76 at $381B/C
3. Malfunction Flags appear the same starting at $35E2 for both $51 and $76
4. Main Spark High Octane, $51 Variants A-E start at $382E, Variant F at $382F, and $76 at $3832

Typically if the values look the same, or majority are the same it is too much of a coincidence to be different. Doing this all relies on the $51 xdf you are using being correct, which being done by The1 is a fairly good chance.
I would suggest initially look through the $51 xdf and identify the scalars/flags/tables you want to change and find these first in $76, as this is a very time consuming process, so good luck, and make sure you post the XDF up when you're finished for others.

yoda69

Re: $76A VS LPG input pin

Posted: Tue May 08, 2012 3:43 pm
by gibbo
Thanks yoda, I can see you guys are keen for someone else to create another xdf! I can see it is very time consuming and it's not something you want to be doing all the time.
So how do you know if you have got it right when you have finished?