Wasn’t sure what you meant by root, so I just screenshotted this folder list haha. The alt folders all the same amount of files, all named the exact same, and all in sequence numerically.
That all looks right, let’s see if the OS sees the folders.
Remove DISABLE_DIAGNOSTIC_COMMANDS define from your config.
Then upload.
Keep your saber connected to Arduino and go to Tools > Serial Monitor
If this isn’t your first preset type ‘n’ in the Serial Monitor until you get to this preset.
Then type ‘effects’ and copy the Serial Monitor output and post here.
Is this what you mean?
done
Scanning sound font: common done
Activating polyphonic font.
Activating SmoothSwing V2
Accent Swings Enabled.
Polyphonic swings: 16
Monophonic swings: 0
Accent Slashes NOT Detected:
unit = 0 vol = 0.50, Playing Graflex/boot/boot5.wav
channeWelcome to ProffieOS v7.15
For available serial commands, see:
https://pod.hubbe.net/tools/serial-monitor-commands.html
Battery voltage: 3.58
Battery voltage: 3.61
Found mnum files: 1-20 in subdirs in common
Found medit files: one unnumbered file in common
Found tr files: 0-4 using 2 digits in Graflex
Found vmend files: one unnumbered file in common
Found vmbegin files: one unnumbered file in common
Found lowbatt files: one unnumbered file in subdirs in Graflex
Found ccchange files: one unnumbered file in Graflex
Found ccend files: one unnumbered file in Graflex
Found ccbegin files: one unnumbered file in Graflex
Found color files: one unnumbered file in subdirs in Graflex
Found endlb files: 1-1 in subdirs in Graflex
Found lb files: one unnumbered file in subdirs in Graflex
Found bgnlb files: 1-2 in subdirs in Graflex
Found endmelt files: one unnumbered file in subdirs in Graflex
Found melt files: one unnumbered file in subdirs in Graflex
Found bgnmelt files: one unnumbered file in subdirs in Graflex
Found enddrag files: 1-3 in subdirs in Graflex
Found drag files: 1-1 in subdirs in Graflex
Found bgndrag files: 1-1 in subdirs in Graflex
Found swingh files: 1-4 using 2 digits in subdirs in Graflex
Found swingl files: 1-4 using 2 digits in subdirs in Graflex
Found swng files: 1-16 in subdirs in Graflex
Found lock files: 1-1 in subdirs in Graflex
Found out files: 1-14 in subdirs in Graflex
Found in files: 1-4 in subdirs in Graflex
Found clsh files: 1-18 in subdirs in Graflex
Found blst files: 1-13 in subdirs in Graflex
Found endlock files: 1-4 in subdirs in Graflex
Found bgnlock files: 1-4 in subdirs in Graflex
Found font files: 2-3 + one unnumbered file in Graflex
Found stab files: 1-4 in subdirs in Graflex
Found force files: 1-4 in subdirs in Graflex
Found hum files: 1-3 using 2 digits in subdirs in Graflex
Found boot files: 1-7 in subdirs in Graflex
Done listing effects.
Battery voltage: 3.61
Battery voltage: 3.59
Battery voltage: 3.58
Battery voltage: 3.60
Motion disable.
I2C sleeping..
Went to test the blade style before doing what you suggested before last night with DISABLE_DIAGNOSTIC_COMMANDS and then the serial moniter thing, and the saber still didnt keep the right color. It also wasnt playing any sounds except for the outs, ins, and all the stuff not in the alt folders.
It seems to see the files, I forgot ‘effects’ doesn’t list alt folders, we only see alt folders if there’s an error.
Are you sure the font on your SD card has the altNNN folders? Maybe backup the fonts on the SD card, reformat the SD and then put the fonts back and make sure that Graflex on the SD card has the altNNN folders and they contain sound files.
Do you mean the alt000-alt003 named files in regards to the altNNN? I do have those on the sd in my Graflex font. I got the swings to work again, had to rename some of the alt files.
Only problem I seem to have still is the fact that it will start corruption as the altcolor1 red, then skip red and go right into altcolor2 which is yellow. Same deal from there if I do it again, except it corrupts as my altcolor 3 (green) then flips back to the base color which is blue. In short. the corruption animation works great, I just can’t seem to figure out how to make the colors/altfont sounds stay once that specific color/altfont the animation is done.
Do you have more than one blade?
I have 1 blade that I use for my saber, but in the config files it says #define NUM_BLADES 2 which hasn’t been a problem so far. I can add blade styles normally with it, just not sure how this corruption thing is supposed to work… I’m relatively new to proffie, only had my saber for about just under a month, haha.
Ok, so you probably have an accent or a crystal or some other led. Make sure you didn’t paste the same style twice.
Per the style code
NOTE:This style includes Control Layer. Only one Control Layer should be used per preset.
If you have two Control Layers in one preset you’ll get all kinds of odd errors when trying to use Special Abilities.
If you need the same style for a 2nd blade, just choose the Accent or Crystal code version or uncheck the Control Layer in the library before generating the 2nd style code.
Hmmm, that makes sense. I was wondering what the control layer term was haha! I’ll give the single one a shot.
So I have to put every style in twice in the same preset. I got rid of one of them thinking that was what you meant, and it came out with this:
Compilation error: cannot convert ‘const char*’ to ‘StyleFactory*’ in initialization
Not sure what to do here. All the font configs I have are using two of the same blade style codes, and only using one makes this happen.
Generate a 2nd style (without a control layer) in the library or as a placeholder you can paste this for the 2nd style.
StylePtr<Black>()
It should append “/alt” if it’s found alt directories:
(At least in OS8)
Hmm, gotcha. Should this go on the top or bottom of where the style code goes?
That is style code, replace the second style in this preset with it.
He’s on OS7.
Put it in the second style, it works perfectly now! How do I go about doing the same style code without the control layer so I can keep the accent lights on my internal core?
Generate the Crystal Chamber version of the same style in the library. The library automatically excludes Control Layers on Accents, Crystal or Side Blade styles.
For future reference, if you build a Main Blade style, right after you get Style Code from the library you can close the Enhancements screen and click the Crystal button for the same style and library will create a matching Crystal style, you can then add things like Off Behavior, etc but have everything match the Main Blade.
I will do that. The options are main blade, secondary/quillions, crystal chamber, and accent LEDs. Which one should I choose since my 89sabers core has 2 little LEDs near the top?
Accent or crystal, they’re pretty interchangeable depending on how you want them to act.