Saved settings priority

Started by raina,

raina

Use case: I want some (.it) files in a certain path to be played with a set of MOD settings that override my defaults for the .it type.

That seems to be impossible according to the saved settings lookup order in the manual. Why does the more generic "type" have precedence over the more specific "path"? Could/should there be a another settings category added combining type and path, which would outrank both?

Ian @ un4seen

"path" settings do indeed currently have lowest priority (the order is: file, tags, type, path). The reason "path" settings have lowest priority is because they can apply to sub-directories, eg. "C:\" would cover the entire C: drive. So other settings types might not get a look in if "path" settings had higher priority. Perhaps an exact path match could be given higher priority though, eg. 2nd after a file match? Here's an update that should do that...

   www.un4seen.com/stuff/xmplay.exe

guest

Would it be possible to have multiple saved settings defined for the same path (especially for empty path) with only one selected active for "Automatically load saved settings" option?

guest


Ian @ un4seen

Do you mean instead of looking for track-specific settings, XMPlay would always reload the same preset for every track?

guest

Yes, the same currently selected preset for every track.

Ian @ un4seen

OK, here's something for you to try:

   www.un4seen.com/stuff/xmplay.exe

It adds an "AutoPreset" XMPLAY.INI option to set the name of the preset that should be used when auto-loading is enabled. If that preset doesn't exist then the auto-loading will work as usual. If you ever want to change the preset that's used, you can either edit "AutoPreset" and restart XMPlay, or just rename the new preset to the "AutoPreset" value.