I have my AltFonts setup for Cal Kestis’s saber colors.
I can get it to change phases, and make the AltChng.wav sound (correction It also doesn’t make an altchng sound)
but the first Font.wav always plays “crossguard blue” despite all the other “AltNNN” folders having a different Font.Wav for each color.
anytime I switch preset, it saves the phase it was in, but upon booting, doesn’t play the right Font.wav for that Alt font, only the First font.wav (in this case crossguard blue)
Edit2: Turns out, the Altchng files were in 32bit.
But the all the other Font files still won’t play, only the one in the first alt directory, so even if I’m on red, the Blue wav file plays anyways.
It’s just refusing to play either wav file, I’m about to do some testing in serial monitor.
Edit: serial monitor tests showed this:
"WARNING: This font seems to be missing some files!!
Found altchng.wav files: 1-1 using 3 digits + one unnumbered file in efficient subdirs SOME FILES ARE MISSING! 18 != 9 in KalKestis"
"unit = 4 vol = 0.50, Playing KalKestis/alt005/altchng/.wav
File KalKestis/alt005/altchng/.wav not found."
edit: figured it out, it was the audio’s bitrate, aswell as a few files being corrupt.
Now I still have the issue with Font.wav only playing from the first directory, meaning it doesn’t play the correct font.wav when I switch to the Cal preset.
I think this might be the problem.
Basically, when presets are changed, the alt number is always restored to zero. The variance is restored from presets.ini.
Then the font sound is played.
Then the styles run, which detects that the variance has changed and changes the alt number to match. It also has logic that changes the alt number silently on startup, which is why altchng doesn’t play.
So as it is, this doesn’t work.
The only fix I can think of would be to make sure that the styles get a chance to run before playing the font sound, which might be a bit tricky.
Thanks, that was what I figured was happening. Appreciate the clarification.
@TitanBeats currently font.wav won’t work with saved Alts, since I believe yours were stating colors and not matching you may just want to use a different prompt to help identify the preset.
Alright, Yea I ended up setting it to a general “Cal Kestis” And “Cal Kestis Crossguard” Prompts for each preset, and then each color prompt for each respective altchng