XDF files
for LS tuning.
A .bin is just bytes. The XDF is what turns those bytes into tables you can read and edit.
What is an XDF file?
An XDF is a definition file that tells a tuning program where each table lives inside a .bin and how to read it. It lists the address, size and layout of every table, its axes and units, and the formula that turns raw bytes into real numbers. Without one, a calibration is an unreadable block of data.
How an XDF maps a .bin
A calibration .bin is a long run of bytes. The XDF says things like: this table starts at this address, it has this many rows and columns, each cell is this many bytes, and the displayed value is the raw value run through a formula. Axes come from other entries, and each one carries its own units and scaling. The program reads the bytes at those addresses and shows a grid. When you edit a cell, it converts your value back and writes the bytes.
This is why a definition must match the calibration. Two operating systems can place the same table at different addresses, and the wrong XDF will show wrong values or write to the wrong place.
TunerPro format and community definitions
The XDF format comes from the free TunerPro tuning program, and it became a common way to share definitions. For GM Gen III LS, the community has published many definitions for common operating systems of the P01 and P59 controllers. They are usually matched to one operating system ID, and quality varies, so check that yours matches your calibration.
Match the operating system
Each GM calibration carries an 8 digit operating system ID. Your definition has to match it. TuneBench reads the OS ID when it reads your PCM, and you can see it in the tune. If you are unsure which controller you have, see P01 vs P59. The same rule applies to a Gen IV E38 definition, which is explained in tuning an E38 on Windows.
How TuneBench gets you a definition
TuneBench opens raw .bin files and TunerPro XDF definitions. For a tune, you have three ways to get a definition:
- Open your own XDF. Load a .xdf you already have.
- Find one in the library. TuneBench looks for a definition that matches your operating system and loads it.
- Generate one for your OS. If there is none, it can build a definition for your operating system from the bin.
Whichever route you take, the result is the same: named tables with axes and units, ready to edit, plot in 3D, compare to stock and correct from a datalog. Your definition stays on your device. When you use the AI Tuner, the model sees parameter names, units and values only, never the definition file itself.
You can switch a tune's definition at any time from File, Change definition.
Why one XDF cannot fit everything
GM changed its operating systems from year to year and from one vehicle line to another. A definition for one OS can have tables that are missing or placed differently in another. That is why a definition search starts from the OS ID and not from the model year, and why a definition from a different but similar vehicle should not be trusted just because it opens. When no community definition exists for your OS, generating one from the bin is the practical answer.
Check the definition before you trust it
- Read your PCM yourself, so the OS ID is known: read and back up your PCM.
- Look at the main tables. VE, spark and the rev limiter should show sensible values for your engine.
- Compare against a log. If the VE table looks nothing like your driving, something is mismatched.
- Treat a definition you did not make as unverified until the values make sense.
- Keep a copy of your stock read, so you can compare tables between the original and your edits.
Cost
Definitions are part of the free app. Reading, editing, logging and exporting cost nothing. Writing a Gen III LS vehicle is 2 credits, $50, once per vehicle. See pricing and supported vehicles. For what to do with the tables once they open, see how to tune an LS with your phone.
Open a tune with the right definition.
Free to read, edit and log. License a Gen III LS for $50 when you're ready to write.
Free. A demo vehicle is built in, so you can try everything with no vehicle and no adapter.