Since OS6, the Presets.ini file, combined with complex styles and Edit Mode/ProffieOS Workbench, allow for ease of sound font addition and blade style configuration.
A hallmark benefit of this setup is users can add a new sound font and configure a unique blade style for it all without uploading a new config to the board.
For example, some blade styles many options that can be selected via Edit Mode/ProffieOS Workbench after dropping a sound font file on the SD Card and copying a preset. This is done by writing to the presets.ini file, as we all know.
As OS7 is on the horizon, is the presets.ini functionality going to change in the foreseeable future? I thought there was some discussion a while back about adjusting its functionality.
Neither Edit Mode, nor the Workbench write directly to presets.ini, they just use internal commands or functions to make a change. ProffieOS itself is responsible for saving those changes, and it will use the new format when doing so. The new format is the same as the old format, but with a 512 byte header which contains checksums and such, and a footer which contains zeroes, or junk. Editing the file manually is still possible, you just have to remove the header and footer before saving. ProffieOS will put the headers and footers back next time it saves something though. AFAIK, not a lot of people actually edit these files manually though, it is far more common for people to use edit mode or the workbench to change these files.
tl;dr; yes, ProffieOS will always write in the new format, it can still read the old format though.
Will the header and footer data have any implication on the preset changes done via Edit Mode or Workbench, i.e., will all the preset’s settings be found in the same 5 lines it is today on the Presets.ini file?
I’ll revisit the Save State thread now to learn more about what exactly will go in the header and footer. Thanks.
The existing arguments are unchanged, although we are adding new arguments in OS7 so the exact argument list will now be longer. Visit pre-alpha thread for new arguments: ProffieOS 7.x pre-alpha discussion
Thanks Fett. So, essentially, in the future, if one wanted to copy a preset, they can still copy/paste the 5 lines for that preset in presets.ini and it will contain all of the settings for that preset, i.e., the header and footer data will not implicate the presets?