Fett Saber Blaster Prop?

Hey guys,

I recently got an Ezra staple gun saber with a proffie install. It has a functioning blaster with a switch that changes from blaster to saber mode. It functions okay as is, but I would really like to change it to Fett controls with edit mode enabled and custom voice menu, etc.

I’m worried about messing up the blaster function, though, as I’ve never worked with one before. This uses “SA22c SaberBlasterProp”? Is there a Fett Blaster prop?

Thanks. Here’s the config:

It’s not using “SA22c SaberBlasterProp”, just the saber prop. It’s using the default blaster prop.
You can just edit the saber prop.
change this

#ifdef CONFIG_PROP
#include "../props/dual_prop.h"
#include "../props/saber_sa22C_buttons.h"
#undef PROP_TYPE
#include "../props/blaster.h"
#undef PROP_TYPE
#define PROP_TYPE SaberBlasterProp<Blaster,SaberSA22CButtons>
 
#endif

to this instead

#ifdef CONFIG_PROP
#include "../props/dual_prop.h"
#include "../props/saber_fett263_buttons.h"
#undef PROP_TYPE
#include "../props/blaster.h"
#undef PROP_TYPE
#define PROP_TYPE SaberBlasterProp<Blaster,SaberFett263Buttons>
 
#endif

Whoa! That was quick! Awesome. Thank you very much. Can’t wait to plug it in.

I haven’t uploaded anything yet, but I made your adjustments and my customizations, and everything seems to check out. thanks again.

can you explain the blades on this, though? it has a main blade, a blaster, and a crystal chamber in the core. I’m guessing those are the three blades. There are only two blade styles written out under each blade style? is that because the blaster a blade, and does that not change with each blade preset? also I noticed that the two blade styles aren’t identical under each preset. do they just have the crystal coded to do something different than the main blade?

edit: It does appear as though the crystal acts slightly different than the blade on most presets. they are all the same color, but some don’t flicker when the blade does and vice versa. that’s the only difference I see.

add again: I just tried to add several of my own blade styles, just doubled, and it rejected several of secondary blade styles? seems like several that came preloaded on another saber. I copied and pasted the blade styles from another saber that works fine. here’s an example of the error code. it popped up for a number the secondary blade types:

/Users/andrewdavenport/Desktop/ProffieOS/config/TheEzraV1Config2.h:81:1593: error: cannot convert 'const char*' to 'StyleFactory*' in initialization 81 | StylePtr<Layers<Stripes<16000,-1000,RotateColorsX<Variation,Blue>,Pulsing<RotateColorsX<Variation,Rgb<0,0,90>>,RotateColorsX<Variation,Blue>,800>,RotateColorsX<Variation,Blue>>,TransitionEffectL<TrConcat<TrFade<600>,RandomFlicker<RotateColorsX<Variation,Blue>,RotateColorsX<Variation,Rgb<0,0,160>>>,TrDelay<30000>,RotateColorsX<Variation,Blue>,TrFade<800>>,EFFECT_FORCE>,AlphaL<StrobeL<Black,Int<20>,Int<1>>,Scale<IsLessThan<SwingSpeed<600>,Int<13600>>,Scale<SwingSpeed<600>,Int<-19300>,Int<32768>>,Int<0>>>,LockupTrL<Layers<AlphaL<AudioFlickerL<White>,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Scale<SwingSpeed<100>,Int<14000>,Int<18000>>>>,AlphaL<White,Bump<Scale<BladeAngle<>,Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>>,Int<10000>>>>,TrConcat<TrInstant,White,TrFade<400>>,TrConcat<TrInstant,White,TrFade<400>>,SaberBase::LOCKUP_NORMAL>,ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,TrSmoothFade<600>>>,ResponsiveStabL<Red,TrWipeIn<600>,TrWipe<600>>,ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>,Int<400>>,SimpleClashL<White>,LockupTrL<AlphaL<BrownNoiseFlickerL<White,Int<300>>,SmoothStep<Int<30000>,Int<5000>>>,TrWipeIn<400>,TrFade<300>,SaberBase::LOCKUP_DRAG>,LockupTrL<AlphaL<Mix<TwistAngle<>,Red,Orange>,SmoothStep<Int<28000>,Int<5000>>>,TrWipeIn<600>,TrFade<300>,SaberBase::LOCKUP_MELT>,InOutTrL<TrWipe<300>,TrWipeIn<500>,Black>>>(), "0"}, | ^~~ | | |

update yet again: I just deleted all of the blade styles that weren’t working correctly and replaced them with other ones, and everything appears to be checking out now. it’d be helpful to know why those weren’t working, though. about to upload. wish me luck. :sweat_smile:

well, I bricked it. not sure how. while uploading, it failed at about 35% and now I can’t get arduino to recognize the board. any tips?

I leaned this my first time trying to program a saber. I thought I fried the board. Luckily it was pretty easy if you can get to the two buttons on the board with toothpicks. Just put the old config back on. I noticed that arduino said it was not reading a connection, but I pushed it anyways, and it worked.

Thanks, I just got it to read the board and uploaded the new config. it loads up with the correct font, but nothing else on it works. button, lights, nothing. I’m about to try to upload the original config to make sure that works.

Original config didn’t work either. Not sure if they sent me the incorrect one or if there is another error. It appears as though the button is not indicated correctly. I can use gestures to turn it on, but the button does nothing. It does, however work when I am in blaster mode. So, it’s not disconnected. Any thoughts?

you have NUM_BLADES 3. That means you you need 3 blade style in each preset.
For a saber / blaster setup, typically the blaster blade is just StylePtr<Black>() when there’s a blade in, and vice versa when in blaster mode.
The error you got is a complicated way of saying there’s a mismatch in the NUM_BLADES line, the number of styles per preset, and the number of Blade array definitions.
They all need to be the same matching value.

Usually, the first thing to do when buttons don’t work is to check the serial monitor to see if says anything when you press the button(s).

If it does say something, then the problem is a configuration or user error.

If it doesn’t say anything, then the configuration isn’t matching the wiring, or the wiring is broken.

it’s definitely something with the config. I’ve been working with NoSloppy for a couple hrs trying to figure it out. I’ve gotten everything to work in different configurations. I just can’t get it all to work in sync. I’ll get the blaster to work, but then the blade stops. I get the blade to work, but the button won’t work, etc.

This whole thing has migrated to here now, no further replies in this thread are needed.