Goal
Help users link their OGG audio files to the corresponding REZ files -- painlessly.
What to do
To minimize the user's need to navigate the file Explorer
[ ] automatically identify user's directory path for "included files"
[ ] specifically, do the same for OGG files
Identify the filename and path for the user's currently open REZ file, and
[ ] generate the corresponding (expected) OGG filename
[ ] force lowercase
[ ] Ignore case, if necessary (e.g. SBC vs. sbc, and OGG vs. ogg)
When the user clicks on the "Media" icon (speaker icon), prepopulate the media filename with the corresponding OGG filename (using the relevant path). For example, clicking the media button should:
if current REZ file is "sbc043.rez", automatically link to "sbc043.ogg"
if current REZ file is "sbc007.rez", automatically link to "sbc007.ogg"
For the 2 included REZ files (sbc001.rez & sbc002.rez)
[x] automatically link to the corresponding OGG file (sbc001.ogg & sbc002.ogg)
Fancy
Ignore case: If the current REZ file is "SBC007.rez" or "sbc007.rez", automatically link to "SBC007.ogg" or "sbc007.ogg", whichever is available.
If the user is on files "sbc001.rez" or "sbc002.rez", do not bother looking at the previous audio directory, and instead look in the SBCorpus/Data/OGG directory.
Goal Help users link their OGG audio files to the corresponding REZ files -- painlessly.
What to do
Fancy Ignore case: If the current REZ file is "SBC007.rez" or "sbc007.rez", automatically link to "SBC007.ogg" or "sbc007.ogg", whichever is available.