New here and looking for Config error help!

Hello there everyone. New here and getting an error code when copy and pasting bladestyles over to my config.
Error Message:
Compilation error: cannot convert ‘StyleFactory*’ to ‘const char*’ in initialization

Here is a link to the config. Any and all insight would be most helpful. If I did any of this wrong (creating the post) please let me know so I can get better using this platform.

Pastebin link Custom Seeker Config - Pastebin.com

This might help:

If not, please just let us know, and we’ll update the docs and/or help you with fixing it.

Thank you! I am going to go over this and see if I can figure some of it out on my own.

I will report back :sweat_smile:

Got a new error that I don’t see explained in the link you sent me. The original issue was me pasting Styles as if I had 1 blade rather than 3. That got corrected but now I get this.

Compilation error: ‘Violet’ was not declared in this scope

That is because Violet doesn’t exist as a named color in OS8.10

You can take a look at the file styles/colors.h for the named colors that do exist and replace all instances of Violet in your config with:

  • another named color
  • or replace Violet with the RGB value that you want, for example Rgb<150,0,255>
  • or add Violet in the list of named colors in your styles/colors.h
  • or add Violet in your config, like this:
    • add to the bottom of your config:
#ifdef CONFIG_STYLES
using Violet = Rgb<150,0,255>
#endif // CONFIG_STYLES

Adjust the 150 till you get the desired shade of violet. (150 is probably way too much for violet)

These are the purple and violet that do exist:

typedef Rgb<127,  0,255> ElectricPurple;
typedef Rgb< 71,  0,255> ElectricViolet;
typedef Rgb< 90,  0,255> VividViolet;
typedef Rgb<186,  0,255> PsychedelicPurple;
typedef Rgb< 55,  0,255> ViolentViolet;

Edit: for more info on the CONFIG_STYLES section of your config, see

Heck yeah this was super insightful. I figured that it had something to do with Violet not being known.

Solution was I went with another blade style that did not use the name violet but now I can try the original one in the future and test this out.

I can’t thank y’all enough.

Current solution, picked another blade style

1 Like

Okay so its counts down and then I get a FAIL at the end.

What does this mean?

ProffieOS Documentation: Is it uploading?

Did you select the right port in arduino->tools->port?

That was it! but now the volume is crazy loud and makes the speakers sound blown. Hopefully they are not.
Is this something that happens? I did not change anything on the config as far as volume.

EDIT: I loaded another config and it’s the same. So speaker is blown. Thank you EVERYONE!!

1 Like

Now that I went back to my profile v2 and attempted to update those styles I came across a new error.

Compilation error: expected ‘}’ before ‘;’ token

I read up on the docs you linked me to and unable to find the error it is referring to. Could you take a look and then give me some insight on what to look for. Arduino mentioned Line 44 and 788 in the error but not sure if that is where it is at. Thank you again y’all.

can you provide the full error, it will show the line that is having issues, what that error is indicating is that there’s a missing comma or an additional one but arduino has a feature to copy error, click on that and post it here.

{ "S_L_VII_Proffie;common", "common/tracks/slvii.wav",     /* copyright Fett263 KyloRen (Primary Blade) OS7 Style  https://www.fett263.com/fett263-proffieOS7-style-library.html#KyloRen`
OS7.15 v3.218p
Single Style
Base Style: Kylo Ren Unstable (Supreme Leader)

Base Color: BaseColorArg (0)

–Effects Included–
Preon Effect: Sparking [Color: PreonColorArg]
Ignition Effect: SparkTip Ignition [Color: IgnitionColorArg]
PowerUp Effect: Power Flash [Color: IgnitionColorArg]
Retraction Effect: SparkTip Retraction [Color: RetractionColorArg]
CoolDown Effect: AudioFlicker Cool Down [Color: RetractionColorArg]
PostOff Effect: Emitter Spark (Preon Size) [Color: PostOffColorArg]
Lockup Effect:
0: mainLockMulti0Shape - Begin: Real Clash - Style: Intensity AudioFlicker - End: Full Blade Absorb
[Color: LockupColorArg]
Lightning Block Effect:
0: mainLBMulti0Shape - Begin: Responsive Impact - Style: Strobing AudioFlicker - End: Full Blade Absorb
[Color: LBColorArg]
Drag Effect:
0: mainDragMulti0Shape - Begin: Wipe In - Style: Intensity Sparking Drag - End: Wipe Out
[Color: DragColorArg]
Melt Effect:
0: mainMeltMulti0Shape - Begin: Wipe In - Style: Intensity Melt - End: Wipe Out
[Color: StabColorArg]
Blast Effect: Blast Wave (Random) [Color: BlastColorArg]
Clash Effect: Real Clash V1 [Color: ClashColorArg]
*/
StylePtr<Layers<StripesX<Int<1500>,Scale<SlowNoise<Int<2500>>,Int<-3000>,Int<-5000>>,RgbArg<BASE_COLOR_ARG,Rgb<255,0,0>>,Mix<Int<10280>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,0,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<255,0,0>>,Mix<Int<2570>,Black,RgbArg<BASE_COLOR_ARG,Rgb<255,0,0>>>,RgbArg<BASE_COLOR_ARG,Rgb<255,0,0>>>,TransitionEffectL<TrConcat<TrJoin<TrDelayX<IgnitionTime<500>>,TrInstant>,RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>,TrFade<1000>>,EFFECT_IGNITION>,TransitionEffectL<TrConcat<TrExtendX<RetractionTime<0>,TrInstant>,AudioFlicker<RgbArg<RETRACTION_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<12000>,Black,RgbArg<RETRACTION_COLOR_ARG,Rgb<255,255,255>>>>,TrFade<1200>>,EFFECT_RETRACTION>,TransitionEffectL<TrWaveX<RgbArg<BLAST_COLOR_ARG,Rgb<255,255,255>>,Scale<EffectRandomF<EFFECT_BLAST>,Int<100>,Int<400>>,Int<100>,Scale<EffectPosition<EFFECT_BLAST>,Int<100>,Int<400>>,Scale<EffectPosition<EFFECT_BLAST>,Int<28000>,Int<8000>>>,EFFECT_BLAST>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,TransitionEffectL<TrConcat<TrInstant,AlphaL<RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<ClashImpactF<>,Int<12000>,Int<60000>>>>,TrFadeX<Scale<ClashImpactF<>,Int<200>,Int<400>>>>,EFFECT_CLASH>,TransitionEffectL<TrWaveX<RgbArg<CLASH_COLOR_ARG,Rgb<255,255,255>>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Int<100>,Scale<ClashImpactF<>,Int<100>,Int<400>>,Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>>,EFFECT_CLASH>>,LockupTrL<TransitionEffect<AlphaL<AlphaMixL<Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<22000>>>,AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<12000>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>>,BrownNoiseFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<12000>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>,300>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<22000>>>>,AlphaL<AudioFlicker<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Mix<Int<20000>,Black,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,TrExtend<5000,TrInstant>,TrFade<5000>,EFFECT_LOCKUP_BEGIN>,TrConcat<TrJoin<TrDelay<50>,TrInstant>,Mix<IsLessThan<ClashImpactF<>,Int<26000>>,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,AlphaL<RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-12000>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<10000>>>,Sum<IntArg<LOCKUP_POSITION_ARG,16000>,Int<-10000>>>,Scale<ClashImpactF<>,Int<20000>,Int<60000>>>>>,TrFade<300>>,TrConcat<TrInstant,RgbArg<LOCKUP_COLOR_ARG,Rgb<255,255,255>>,TrFade<400>>,SaberBase::LOCKUP_NORMAL,Int<1>>,ResponsiveLightningBlockL<Strobe<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,AudioFlicker<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Blue>,50,1>,TrConcat<TrExtend<200,TrInstant>,AlphaL<RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,Bump<Scale<BladeAngle<>,Int<10000>,Int<21000>>,Int<10000>>>,TrFade<200>>,TrConcat<TrInstant,RgbArg<LB_COLOR_ARG,Rgb<255,255,255>>,TrFade<400>>,Int<1>>,LockupTrL<AlphaL<TransitionEffect<RandomPerLEDFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,255,255>>>,BrownNoiseFlickerL<RgbArg<DRAG_COLOR_ARG,Rgb<255,255,255>>,Int<300>>,TrExtend<4000,TrInstant>,TrFade<4000>,EFFECT_DRAG_BEGIN>,SmoothStep<Scale<TwistAngle<>,IntArg<DRAG_SIZE_ARG,28000>,Int<30000>>,Int<3000>>>,TrWipeIn<200>,TrWipe<200>,SaberBase::LOCKUP_DRAG,Int<1>>,LockupTrL<AlphaL<Stripes<2000,4000,Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>,Mix<Sin<Int<50>>,Black,Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>>,Mix<Int<4096>,Black,Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>>>,SmoothStep<Scale<TwistAngle<>,IntArg<MELT_SIZE_ARG,28000>,Int<30000>>,Int<3000>>>,TrConcat<TrExtend<4000,TrWipeIn<200>>,AlphaL<HumpFlicker<Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>,RotateColorsX<Int<3000>,Mix<TwistAngle<>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>,RotateColorsX<Int<3000>,RgbArg<STAB_COLOR_ARG,Rgb<255,68,0>>>>>,100>,SmoothStep<Scale<TwistAngle<>,IntArg<MELT_SIZE_ARG,28000>,Int<30000>>,Int<3000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT,Int<1>>,InOutTrL<TrWipeSparkTipX<RgbArg<IGNITION_COLOR_ARG,Rgb<255,255,255>>,BendTimePowInvX<IgnitionTime<500>,Mult<IntArg<IGNITION_OPTION2_ARG,10992>,Int<98304>>>>,TrWipeInSparkTipX<RotateColorsX<Int<4096>,RgbArg<RETRACTION_COLOR_ARG,Rgb<255,255,255>>>,BendTimePowX<RetractionTime<0>,Mult<IntArg<RETRACTION_OPTION2_ARG,10992>,Int<98304>>>>,Black>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BrownNoiseFlickerL<RgbArg<PREON_COLOR_ARG,Rgb<255,255,255>>,Int<30>>,SmoothStep<Scale<SlowNoise<Int<2000>>,IntArg<PREON_SIZE_ARG,2000>,Sum<IntArg<PREON_SIZE_ARG,2000>,Int<4000>>>,Int<-2000>>>,TrDelayX<WavLen<EFFECT_PREON>>>,EFFECT_PREON>,TransitionEffectL<TrConcat<TrInstant,AlphaL<BrownNoiseFlickerL<RgbArg<POSTOFF_COLOR_ARG,Rgb<255,255,255>>,Int<30>>,SmoothStep<Scale<SlowNoise<Int<2000>>,IntArg<PREON_SIZE_ARG,2000>,Sum<IntArg<PREON_SIZE_ARG,2000>,Int<3000>>>,Int<-4000>>>,TrDelayX<Scale<IsLessThan<WavLen<EFFECT_POSTOFF>,Int<200>>,WavLen<EFFECT_POSTOFF>,Int<4000>>>>,EFFECT_POSTOFF>>>(),

the above is missing }, at the end.

Thanks for finding that! That eliminated that error and got a compilation one that I think my BladeStyles are too complex/big for my board. Gonna edit it and report back.

there’s a lot of lines, I would remove 2 or 3 of those blade styles and then compile if you are having FLASH ‘’ then the issue is the size. have you considered using the configurator at fett263?

Some of these are from Fett263 and some are from Nate the Grit. I definitely am considering going with shorter styles. Trying that out.

So I decided to go back to the original config that the installer did for me. It gives me the FLASH error that I am over 82920 Bytes. Not sure how if this is the original config and I did not change anything.

Any ideas?

Here is the config:

This is on my Proffie v2 btw. Y’all helped me resolve my v3 issues, so thank you for that.

Most probably, the original OS was not 8.10 but OS5.x or OS6.x. Each iteration of ProffieOS is often a bit bigger than the previous version. More functionality/bug fixes = more lines of code/longer lines of code = bigger OS.

That makes sense as this config was made like 3 years ago.

So Im guessing the only fix is to remove some blade styles to make it actually fit. When I tried that earlier, by just deleting the presets, I got the font directory not found. Because of that I reverted it back to this.

ProffieOS doesn’t care if you have extra folders on your SD-Card. To delete a preset, you need to delete it from the config.

Also, you might want to take a look at:

1 Like

Yeah sorry if I didn’t make it seem as I do understand that it’s all about what’s in the config not the SD card.

So here is the update: I was able to get a config that used 98%. Previously I had to reformat the SD card and I pasted the old setup as I made a copy. Now it gives me font directory not found error AND it does not ignite but will play some of the fonts. There also is a HUGE delay from when it recognizes the battery is inserted now. This is TRULY strange. I appreciate everyone being patient and helping.

Should I just make a whole new config at this point?

EDIT: I think it may be due to the Folders being out of order now and the board going into safety mode. According to Gemini but that does not seem right to me.

The names of your font folders on your SD-card must match the names of your presets.

For example if your preset look like this:

Preset presets[] = {
   { "TeensySF;common", "tracks/venus.wav",
    StyleNormalPtr<CYAN, WHITE, 300, 800>(),
   "cyan"},
   { "SmthJedi;common", "tracks/mars.wav",
    StylePtr<InOutSparkTip<EASYBLADE(BLUE, WHITE), 300, 800> >(),
    "blue"},
   { "SmthGrey;common", "tracks/mercury.wav",
    StyleFirePtr<RED, YELLOW, 0>(),
    "fire"},
...
};

Then you need these folders on your SD-Card:

common
TeensySF
SmthJedi
SmthGrey
tracks
...

If a folder is missing or miss-spelled, then you will get font directory not found error.

You just need to make sure the names matches between your config and your folders.

That is AI BS. ProffieOS doesn’t care about folder “order”, just folder naming (and spelling). Avoid special characters and spaces (" ") in the folder names.

2 Likes