Quote:
Originally Posted by ST-A
I did not convert the rom or xml to metric values, i'm still using the xml that comes with the oft 2.063 package (2.07 ZA1J700G)
how do i convert it to metric? adjust the whole XML file?
|
I converted my own A00G OFT XML to the metric system.
It is quite simple (thanks to Kodename47 XMLs and info)
Just open it with Notepad++ and find:
Code:
<scaling units="Vehicle Speed (MPH)" expression="x*.621" to_byte="x/.621"
And replace it with:
Code:
<scaling units="Vehicle Speed (Km/h)" expression="x" to_byte="x"
Then press the 'replace all' button and done, everthing is km/h
Then find the string:
Code:
scaling units="psi" expression="x*.01933677" to_byte="x/.01933677"
and replace them all with:
Code:
scaling units="bar" expression="x*.001333223" to_byte="x/.001333223"
Finally convert F to C
Find
Code:
<scaling units="Degrees F" expression="(x*1.8)+32" to_byte="(x-32)/1.8"
replace all with
Code:
<scaling units="Degrees C" expression="x" to_byte="x"
But I don't know if you can switch from an OFT XML with LC and FFS inside the Rom to a normal Rom XML without those tables. Maybe @
Kodename47 or @
steve99 kan answer this?
Because otherwise it's just editing Kodename47's XML to work with a 700G rom.