Does anyone know a good way to reliably extract the track code from a RAF file?
As far as I can see, the RAF format only contains a human-readable track name and config name, sometimes shortened to fit in the allotted space (e.g. "Westhill" and "Internation_REV").
For the program I want to write I need to convert that into a track code ("WE1R"), so I can read the appropriate PTH file. It's possible with a lookup table, of course, but that is ugly and fragile. Anyone know a better way?
As far as I can see, the RAF format only contains a human-readable track name and config name, sometimes shortened to fit in the allotted space (e.g. "Westhill" and "Internation_REV").
For the program I want to write I need to convert that into a track code ("WE1R"), so I can read the appropriate PTH file. It's possible with a lookup table, of course, but that is ugly and fragile. Anyone know a better way?