Talk:Manual: Compatible Playback

From OpenMPT Wiki
Jump to navigation Jump to search

How is the Impulse Tracker file format saved to indicate using ModPlug Tracker (in case it is necessary that a file will be played back using ModPlug Tracker)? --184.71.188.206 19:15, 5 July 2012 (UTC)

Check for the "made with" tracker ID in the file header. If the "reserved" field is empty (four null bytes), compatible mode is always assumed to be enabled. If the "reserved" field reads "OMPT", the extended song properties are present in the file (see LoadExtendedSongProperties() in load_it.cpp). If the extended sound property 'MSF.' (written backwards to the file due to endianness) has the lowest bit set, compatible playback is enabled. The extended song properties can also be found in older files which didn't use the "made with" tracker ID.