Need help with my setup

so i was messing with my board and when it should have ben good i am getting a error saying that Font Directory Not Found but it should work cus everything is is set and i was wondering if it was my config, here is code (my saber is the kestice v1)

#ifdef CONFIG_TOP
#include "proffieboard_v2_config.h"
#define NUM_BLADES 1
#define NUM_BUTTONS 2
#define VOLUME 1000
const unsigned int maxLedsPerStrip = 144;
#define CLASH_THRESHOLD_G 3.0
#define ENABLE_AUDIO
#define ENABLE_MOTION
#define ENABLE_WS2811
#define ENABLE_SD
#endif

#ifdef CONFIG_PRESETS
Preset presets[] = {
   { "TeensySF", "tracks/venus.wav",
    StyleNormalPtr<CYAN, WHITE, 300, 800>(), "cyan"},
   { "SmthJedi", "tracks/mars.wav",
    StylePtr<InOutSparkTip<EASYBLADE(BLUE, WHITE), 300, 800> >(), "blue"},
   { "SmthGrey", "tracks/mercury.wav",
    StyleFirePtr<RED, YELLOW>(), "fire"},
   { "SmthFuzz", "tracks/uranus.wav",
    StyleNormalPtr<RED, WHITE, 300, 800>(), "red"},
   { "RgueCmdr", "tracks/venus.wav",
    StyleFirePtr<BLUE, CYAN>(), "blue fire"},
   { "TthCrstl", "tracks/mars.wav",
    StylePtr<InOutHelper<EASYBLADE(OnSpark<GREEN>, WHITE), 300, 800> >(), "green"},
   { "TeensySF", "tracks/mercury.wav",
    StyleNormalPtr<WHITE, RED, 300, 800, RED>(), "white"},
   { "SmthJedi", "tracks/uranus.wav",
    StyleNormalPtr<AudioFlicker<YELLOW, WHITE>, BLUE, 300, 800>(), "yellow"},
   { "SmthGrey", "tracks/venus.wav",
    StylePtr<InOutSparkTip<EASYBLADE(MAGENTA, WHITE), 300, 800> >(), "magenta"},
   { "SmthFuzz", "tracks/mars.wav",
    StyleNormalPtr<Gradient<RED, BLUE>, Gradient<CYAN, YELLOW>, 300, 800>(), "gradient"},
   { "RgueCmdr", "tracks/mercury.wav",
    StyleRainbowPtr<300, 800>(), "rainbow"},
   { "TthCrstl", "tracks/uranus.wav",
    StyleStrobePtr<WHITE, Rainbow, 15, 300, 800>(), "strobe"},
   { "TeensySF", "tracks/venus.wav",
    &style_pov, "POV"},
   { "SmthJedi", "tracks/mars.wav",
    &style_charging, "Battery\nLevel"}
};
BladeConfig blades[] = {
 { 0, WS281XBladePtr<144, bladePin, Color8::GRB, PowerPINS<bladePowerPin2, bladePowerPin3> >(), CONFIGARRAY(presets) },
};
#endif

#ifdef CONFIG_BUTTONS
Button PowerButton(BUTTON_POWER, powerButtonPin, "pow");
Button AuxButton(BUTTON_AUX, auxPin, "aux");
#endif

Do you have this (and the other listed) fonts on the SD card?

i have fonts on the sd card but is there anything i need to do with them?

Do you have these folders on your SD:

TeensySF
SmthJedi
SmthGrey
SmthFuzz
RgueCmdr
TthCrstl

They are the 6 sound font folders programmed in your config above.

Or do you have other folders on your SD ?

i have others on my sd card what do i have to do with them

What exactly do you have on your sd. Please type a list of folders, no photo of text allowed on The Crucible as per forum rules.

basically the folder names needs to be “programmed” (typed in) the right way in the right place(s). It will be a lot easier to explain if we knew what folders you have.

Folders

  1. apocalypse
  2. Ascension
  3. BreathOfTheWild
  4. CalJFO
  5. Castle
  6. common
  7. Crimson_Menace
  8. CyberBlade
  9. Dagan_Dark
  10. Dagan_HighRepublic
  11. Default
  12. Dolby
  13. Duke
  14. Excalibur
  15. Final_Steps
  16. Guardian
  17. Halflex
  18. Huyang
  19. Krossguard_TROS
  20. Loth_Hero
  21. Mace
  22. Malak
  23. Nichirin
  24. Organ
  25. Proto
  26. PurgeTrooper
  27. Qui_Gone
  28. Rainbow
  29. seethe
  30. Shan
  31. Shock_Baton_Profile
  32. Son_Of_Corellia
  33. SorcererV2
  34. Sun_Skoll
  35. TearsOfTheKingdom
  36. The_Lost_One
  37. The_ReturnV2
  38. tracks
  39. VTS

Files

  1. curstate.tmp – TMP File (256 KB)
  2. gesture.tmp – TMP File (256 KB)
  3. presets.tmp – TMP File (1.46 KB)
  4. curstate.ini – Configuration settings (256 KB)
  5. gesture.ini – Configuration settings (256 KB)
  6. presets.ini – Configuration settings (1.46 KB)

You would change your font in the presets to use the ones on the SD card.
so change
{ "TeensySF", "tracks/venus.wav",
to
{ "apocalypse", "tracks/venus.wav",
and so on.

1 Like

thank you so much

But you also have a lot more folders than the defaults. Do not use common or tracks as your font folders, those are used for other things.

If you want to add more to your config, just copy the lines like:

   { "TeensySF", "tracks/venus.wav",
    StyleNormalPtr<CYAN, WHITE, 300, 800>(), "cyan"},

and change TeensySF with the next folder name.
“tracks/venus.wav” points to file venus.wav in your folder tracks, if you don’t have venus.wav, change the file name to one that you have. Respect the folders/tracks names spelling to avoid errors.

If you want to try the default ProffieOS sound fonts/tracks, you can find them here:
https://fredrik.hubbe.net/lightsaber/sound/

You can also choose to use no file at all by just leaving empty quotes "" :slight_smile:

I figure Olivier already knows this, just adding.

But newbie me would not have wanted to give up on some bells and whistle. Current me wants all the bells and whistles I can possibly conquer and cramfu them in ProffieBoard. So that is the kind of information that would never cross my mind. :stuck_out_tongue_winking_eye:

1 Like

… and nothing breaks if that track doesn’t exist (like no error message or upload issues).
It just won’t play anything for a track.

1 Like

That, I didn’t know. But it would count as a missing “bell” in my book.