Log in

View Full Version : XDF to CAX Converter



Omega_5
September 19th, 2024, 03:06 AM
Over the past few months, I have been building a converter to convert definitions from TunerPro XDF format in to the EFILive CAX format.
I have now published it, and is free for use.

converter.twinrivertuning.ca

I'm always trying to update this and add new support.
If you run in to issues or find something that could be added, please post it here.

Omega_5
September 19th, 2024, 03:08 AM
Change Notes
v0.6
Fixed issue where app would crash when 'Math' was missing.

v0.5
Bug fixes.

v0.4
XDF min / max now supported. Hard min / max will override soft limits if exceeded.
Fixed issue with column first tables transferring as unsigned.
TunerPro units are now supported.

v0.3
Another fix for the issue with 32 bit floats being converted to 32 bit unsigned.

v0.2
Fixed 32 bit floats being converted to 32 bit unsigned.
Spaces in table labels now convert with an underscore, fixing a bug in how tables are displayed.

v0.1
Initial release


Known Bugs
Factor and offset are in beta testing. -> Decimals and basic functions work as intended. Scientific notation can be buggy.
'X' as the divisor will currently crash the converter. Workaround is to use 'X' and manipulate the equation once converted
EFILive populates tables by Row / Column based on controller. TunerPro is not this intelligent, as it has no controller reference. If your tables do not transfer properly, the XDF may need to be changed between Row / Column.
XDFs converted from WinOLS may internally reference the axis with the same address as the table. This currently causes a converter error and crash. Fix: Change the axis to external.

Lennydmaxguy
September 20th, 2024, 01:31 PM
Thanks a lot for this tool. It works great for the most part.

One little issue I noticed was when converting a floating point definition, the converter sets it to UNM in the CAX rather than FLT.

Omega_5
September 20th, 2024, 02:32 PM
Thanks a lot for this tool. It works great for the most part.

One little issue I noticed was when converting a floating point definition, the converter sets it to UNM in the CAX rather than FLT.


Thanks for the feedback. I found the culprit, so I'll get it fixed on the next release.

I was also informed of a bug on table labels. I neglected to take in to account that spaces are treated like commas in a CAX file. This will be fixed on the next release as well.

Omega_5
September 21st, 2024, 04:51 AM
v0.3 released. Both bugs should now be fixed.

Omega_5
October 22nd, 2024, 05:56 AM
v0.4 released.
Bug fix, TunerPro units supported, XDF limits supported.

Omega_5
February 12th, 2025, 02:50 PM
v0.5 released.
Bug fixes.

Thank you to those that reported bugs.
I'm still working on getting WinOLS translated XDFs to convert properly. WinOLS does some very interesting things with tables that I'm trying to sort out.

bobo
April 20th, 2025, 08:39 PM
http://converter.twinrivertuning.ca/ link down?

Omega_5
April 21st, 2025, 03:42 AM
http://converter.twinrivertuning.ca/ link down?

It's still active.
Your browser may be blocking the http url. Try using; https://converter.twinrivertuning.ca/

Phoenix
April 22nd, 2025, 05:52 AM
First of all thank you for taking the time to create the tool. Unfortunately I'm running into an error when trying to upload the XDF to your site:
24834

I tried both Chrome and Firefox.

Thanks!

Omega_5
April 22nd, 2025, 06:41 AM
First of all thank you for taking the time to create the tool. Unfortunately I'm running into an error when trying to upload the XDF to your site:
24834

I tried both Chrome and Firefox.

Thanks!

Thanks for posting feedback.
Normally it would post an error string with it. But in this case, it looks like it threw an error outside of one of the catches.

Would you be able to share the XDF you're trying to convert? You can obscure or mix the addresses if it's something sensitive or proprietary.

bobo
April 22nd, 2025, 03:38 PM
It's still active.
Your browser may be blocking the http url. Try using; https://converter.twinrivertuning.ca/

Anyone know the E41 CAX8 definition for the v7tov8 segments file? It should look something like:

[E35]
;V7 V8 Description
;-- -- -----------------------
0= 99 EFILive Custom Calibrations
8= 0 Boot Software
x= 1 Operating System (was used in V7 for custom cals)
7= 2 Speedometer
6= 3 System
5= 4 Fuel System
2= 5 Engine Diagnostics
1= 6 Engine Operation
3= 7 Engine
9= 8 Slave Operating System

Thank you for making this tool!!!

bobo
April 22nd, 2025, 04:04 PM
I used:
[E41]
;V7 V8 Segment
;-- -- -----------------------
0= 99 EFILive Custom Calibrations
x= 0 Operating System (was used in V7 for custom cals)
1= 1 Internal Flash

Now I have this error to figure out:
[A****] SI_SLOT: Invalid floating point value: "C"



Anyone know the E41 CAX8 definition for the v7tov8 segments file? It should look something like:

[E35]
;V7 V8 Description
;-- -- -----------------------
0= 99 EFILive Custom Calibrations
8= 0 Boot Software
x= 1 Operating System (was used in V7 for custom cals)
7= 2 Speedometer
6= 3 System
5= 4 Fuel System
2= 5 Engine Diagnostics
1= 6 Engine Operation
3= 7 Engine
9= 8 Slave Operating System

Thank you for making this tool!!!

bobo
April 22nd, 2025, 04:27 PM
Got that fixed too. The SI_SLOT units can only be one character. Mine was "deg C" and I had to change those to "C". All set!!! Thanks again.

*****EDIT***** The value can be more than one charcter, just no spaces. degC works fine.

I used:
[E41]
;V7 V8 Segment
;-- -- -----------------------
0= 99 EFILive Custom Calibrations
x= 0 Operating System (was used in V7 for custom cals)
1= 1 Internal Flash

Now I have this error to figure out:
[A****] SI_SLOT: Invalid floating point value: "C"

Phoenix
April 23rd, 2025, 07:39 AM
Thanks for posting feedback.
Normally it would post an error string with it. But in this case, it looks like it threw an error outside of one of the catches.

Would you be able to share the XDF you're trying to convert? You can obscure or mix the addresses if it's something sensitive or proprietary.
You can email me a [email protected]

Just sent you an email, thanks!

Omega_5
April 23rd, 2025, 08:57 AM
Thanks to Phoenix for helping identify a new bug.
'X' as the divisor will currently crash the converter. Workaround is to use 'X' and manipulate the equation once converted.



Got that fixed too. The SI_SLOT units can only be one character. Mine was "deg C" and I had to change those to "C". All set!!! Thanks again.

*****EDIT***** The value can be more than one charcter, just no spaces. degC works fine.

Thanks for sharing! I've never really looked in to the v7tov8 file. I'm sure this will help others.

Omega_5
December 7th, 2025, 06:59 AM
v0.6 Released.
OLS526 seems to miss the 'Math' section on tables. Probably more.
I'll poke around with how it converts to XDF, once I get the inverse working properly.

6cummins
December 12th, 2025, 04:47 PM
v0.6 Released.
OLS526 seems to miss the 'Math' section on tables. Probably more.
I'll poke around with how it converts to XDF, once I get the inverse working properly.

Super cool! Thanks!