A definition file tells an editor where calibration objects sit in an ECU memory image and how to interpret them: address, size, data type, byte order, scaling formula, units and axes. It contains no calibration of its own; the values are in the binary. A definition is valid only for the software it was written for. Applied to a neighbouring software version, it can display smooth, plausible-looking tables that are the wrong bytes. Selecting a definition therefore starts from the file's software identifier, not from the ECU family or vehicle model, and finishes with checks that the displayed tables are what they claim to be.
Formats
| Format | Origin and typical use | What it describes | Read by |
|---|---|---|---|
| XDF | TunerPro's definition format; widely used for community-written definitions | A base offset, default data size and sign, byte order (lsbfirst), the image region size, and per item the address, element size, row and column stride, a scaling equation (for example x/1000) and axes. Some files also mark checksum locations. | TunerPro; WinOLS through EVC's XDF importer option |
| A2L (ASAM MCD-2 MC, also called ASAP2) | Industry standard published by ASAM for measurement and calibration systems; produced by the ECU supplier alongside the software | Calibration objects (CHARACTERISTIC: values, curves, maps up to five dimensions), measurement variables with ECU addresses, conversion methods (COMPU_METHOD), memory layout (RECORD_LAYOUT), shared axes (AXIS_PTS), byte order, memory segments, and an identifier string and its address (EPK, ADDR_EPK) | Calibration tools; WinOLS through EVC's DAMOS and ASAP2 import option |
| DAMOS | Name associated with Bosch and ETAS supplier description files; in tuning use often loosely applied to any leaked supplier description | Equivalent content to an A2L for the software it belongs to | WinOLS (same import option as A2L) |
WinOLS map pack (commonly .kp) | Exported from a WinOLS project | Map definitions from one project, imported into another with an optional address offset; WinOLS can also attempt automatic recognition of the maps in the new file | WinOLS |
| RomRaider and EcuFlash XML | Community definitions, mainly Subaru and Mitsubishi | Tables plus a ROM identity block: identifier address and string, file size, memory model and endianness, offsets and checksum method | RomRaider, EcuFlash |
The formats differ in coverage. A supplier A2L or DAMOS for the exact software typically names thousands of objects; EVC describes typical files as containing 2,000 to 10,000 maps and provides filters because of that. Community XDFs usually cover the tables their authors have identified, and may leave flags, switches and limits undefined. Leaked supplier files are not guaranteed complete either (S4wiki). EVC states that it does not supply A2L or DAMOS files and does not know where to obtain them; their provenance and licence are the user's responsibility.
Matching a definition to a file
A definition has to match the operating system, the software version, the ECU family and, sometimes, the file structure of the image; a mismatched XDF can point to the wrong location, with results that HP Academy describes as misleading or dangerous. Community projects document their scope in the same terms: the MSS52 XDF names the specific software versions it applies to, and the MS4X wiki lists definitions by ECU and software identity.
- Read the identifier from the file itself. Use the software number and any calibration identifier stored in the image, not only the label or the vehicle. Formats with a built-in check make this explicit: an A2L carries the EPK identifier string and the address where the image should contain it, and RomRaider definitions specify an internal identifier address and string that must be present. No equivalent identity check is documented for XDF, so with an XDF the comparison is manual.
- Confirm the image type and size. A definition written for a full flash does not address a calibration-only or partial read the same way, and vice versa. RomRaider definitions record the expected file size; the MSS52 XDF declares a 0x8000-byte region. A size mismatch is a reason to stop before looking at tables.
- Resolve the base offset. A2L addresses are ECU memory addresses, not offsets into a file, so the editor needs the difference between the two. XDF holds a base offset in its header. EVC's guidance for A2L and DAMOS import is to try the default settings, then stored offsets, then to locate the address of a large map; if no offset can be found, the files may not match, and there may be no single offset that imports every map. An owner report on an ME7.2 A2L describes subtracting a ROM base of 0x800000 or 0x810000 to reach file offsets, with results that were not all exact (single forum source).
- Treat neighbouring software as unmatched. Revisions of the same strategy can move objects. EVC's guidance on importing map packs and scripts from older projects is to verify the transferred result on the destination software.
Verifying axes and scaling
Each field in a definition can be wrong independently, and a wrong field usually still produces a table. Checks are made against the stock file before anything is edited:
| Field | Check | Typical symptom when wrong |
|---|---|---|
| Address or offset | Neighbouring tables line up, and known scalars read sensible stock values | Noise, or a table that is part of its neighbour; everything shifted by a constant |
| Element size (8, 16, 32 bit, float) | Values are smooth and in a physically sensible range | Alternating high and low values; halved or doubled dimensions |
| Byte order | 16-bit values change smoothly between adjacent cells | Large jumps every cell; values clustered at multiples of 256 |
| Signed or unsigned | Values that should be negative (retard, trims) read as such | Small negatives shown as values near the type maximum |
| Scaling equation and units | Known values match: idle speed, a stock boost limit, a documented injector constant, a logged value at a known operating point | Correct shape at the wrong magnitude |
| Axes | Breakpoints are monotonic, use the right variable (rpm, load, pressure, temperature) and the right axis is attached to the right dimension | Correct values plotted against the wrong breakpoints; rows and columns transposed |
| Dimensions and stride | The table ends where the next object begins | Diagonal banding, or a table that wraps |
A smooth surface is not evidence of correct identification: an axis, a neighbouring table or a different variable can also be smooth. Comparing with a second, independently written definition for the same software, or with a log that shows the ECU using the value at a known operating point, is stronger evidence than appearance.
Failure cases
- Right family, wrong software. The most common failure. Tables display normally but are shifted, so edits land in a different object.
- Offset error. An A2L or DAMOS loaded without the correct base offset either finds nothing or, worse, finds plausible data at the wrong place.
- Partial read against a full-flash definition (or the reverse). Every address is out by the start of the calibration region.
- Byte-order error. Common when a definition is moved between processor families or editors.
- Incomplete definition. Objects that are not defined are not visible, so a limit that caps output can remain unexamined. See the limit that wins.
- Checksum locations ignored. Some definitions mark checksum words; the definition still does not correct them. Correction is a separate tool function (checksums).
- Encrypted or converted files. EVC's XDF importer processes only unencrypted files and does not guarantee full format coverage.
What to record
| Record | What to preserve |
|---|---|
| ECU identity | Manufacturer label, hardware number and complete software identifier, as read from the image |
| Image provenance | Original read, read method, size, format and hash |
| Definition provenance | Author, original URL, filename, revision and licence |
| Representation | Base offset, units, scaling, axes and byte order as verified |
| Coverage limits | Undefined objects, translations and observed mismatches |
Findings are recorded beside the relevant software variant, citing the actual definition rather than a family name. Editors are compared on tuning software, map and hex editors; the surrounding workflow is on how an ECU is remapped.
Not established
No primary documentation was found for the XDF scaling-equation syntax or for an identity check within XDF. Whether WinOLS map packs carry map values as well as structure is described inconsistently in EVC's FAQ text.
Sources
- ASAM MCD-2 MC and ASAM MCD-2 MC wiki. ASAM e.V.; version 1.7.1, 30 January 2018. A2L scope, CHARACTERISTIC, COMPU_METHOD, RECORD_LAYOUT, AXIS_PTS, BYTE_ORDER, EPK. Standards body. Accessed 2026-11-19.
- EVC, DAMOS and ASAP2 import (OLS521), TunerPro XDF importer (OLS526), How do I find the offset for my Damos/A2L file? and How can I import data from older projects? Tool-vendor documentation. Accessed 2026-11-19.
- TunerPro help, Editing bin files. A bin is loaded with its corresponding definition. Tool-vendor documentation. Accessed 2026-11-19.
- HP Academy, What is an XDF file? Taz Quinn-Walshe. XDF holds layout and scaling, not the tune; mismatched XDFs point to wrong locations. Tuning school. Accessed 2026-11-19.
- RomRaider, DOMRomUnmarshaller.java. ROM identity fields in RomRaider definitions. Open-source code. Accessed 2026-11-19.
- MSS52-XDF. Ken Malinich and credited contributors; MIT licence. Source revision a04c0d24fe63; XDF header, data defaults, region size and checksum locations read from
mss52.xdf. Open-source community definition. Accessed 2026-11-10 and 2026-11-19. - MS4X Wiki: Definition Files. MS4X Wiki contributors. Source revision oldid 23632. Community wiki. Accessed 2026-11-10.
- S4wiki, Definition file, last edited 7 December 2022. A2L and DAMOS terminology; incompleteness of leaked files. Community wiki. Accessed 2026-11-19.
- TunerPro forum, ME7.2 A2L addresses, 28 January 2019. Owner report of subtracting a ROM base address. Forum, single source. Accessed 2026-11-19.