/* * This configuration file was generated by ProffieConfig, created by Ryryog25. * ProffieConfig is an All-In-One utility for managing your Proffieboard. * https://proffieconfig.kafrenetrading.com/ * * Version: 1.8.4, Generator Version: 1.0.1 #define VOLUME 1800 */ #ifdef CONFIG_TOP //PROFFIECONFIG ENABLE_WEBUSB //PROFFIECONFIG OS_VERSION 7.15 #include "proffieboard_v2_config.h" const unsigned int maxLedsPerStrip = 144; #define ENABLE_AUDIO #define ENABLE_MOTION #define ENABLE_WS2811 #define ENABLE_SD #define SHARED_POWER_PINS #define NUM_BLADES 1 #define NUM_BUTTONS 1 #define VOLUME 900 #define CLASH_THRESHOLD_G 3 #define PLI_OFF_TIME 10000 #define IDLE_OFF_TIME 600 * 1000 #define MOTION_TIMEOUT 900 * 1000 #define DISABLE_BASIC_PARSER_STYLES #define DISABLE_DIAGNOSTIC_COMMANDS // DON'T #define SAVE_STATE #define SAVE_STATE #define ENABLE_SERIAL #define COLOR_CHANGE_DIRECT #define SPEAK_BLADE_ID #define FETT263_SAY_BATTERY_VOLTS #define FETT263_SAY_BATTERY_PERCENT #define FETT263_SPECIAL_ABILITIES #endif #ifdef CONFIG_PROP #include "../props/saber_fett263_buttons.h" #endif #ifdef CONFIG_PRESETS /* copyright Fett263 RainbowBlade (Primary Blade) OS7 Style https://www.fett263.com/fett263-proffieOS7-style-library.html#RainbowBlade OS7.15 v3.212p This Style Contains 4 Unique Combinations Style Options: Default (0): Running Rainbow (Slow) 1: Running Rainbow Fire (Slow) 2: Static Rainbow Fire (Slow) 3: OmniColor Base Color: BaseColorArg (0) --Effects Included-- Ignition Effect: Standard Ignition [Color: IgnitionColorArg] Retraction Effect: Standard Retraction [Color: RetractionColorArg] 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] */ using RainbowBlade = Layers>>>,Black>>; /* KRossguard unsable */ using KRossguard = Layers,InOutTrL,TrWipeIn<500>,Black>>; /* NyanCat rainbow */ using NyanCat = Layers,Scale>,Int<0>,Int<7500>>>>; /* FinalStepYellowRey Rey's Yellow */ using FinalStepYellowRey = Layers,Int<1>>>,TrDelay<25>,AlphaL,Int<1>>>,TrDelay<30>>,EFFECT_PREON>>; /* Empress Palpatine */ using Empress = Layers*********RECATED*********reen>,Bump,Int<6000>>>,TrFade<3000>>,EFFECT_NEWFONT>,AlphaL>,Int<0>,Int<7500>>>>; /*--------------------------------- FireAndIce ------------------------- copyright Fett263 CustomBlade (Primary Blade) OS7 Style https://fett263library.com/early-access/#CustomBlade OS7.15 v4.228 Single Style Change State (Special Abilities*) Default: Fire Blade Fast (Normal) [BaseColorArg (Gradient Color Up = Gradient: 1200) ] Transition State: Rotoscope (Subtle) [AltColorArg (Color Shift (Rotating) = Shift: 1000, Speed: 20) ] Change State blade will transition from Style 0 (Default) to Style 1 using Transition State style in between. Requires Alt Font and 'Change State' Special Ability. NOTE:This style includes Control Layer. Only one Control Layer should be used per preset. *This style REQUIRES Alt Fonts alt000/ to alt002/ to be set up. Uses altchng.wav on change. See https://pod.hubbe.net/sound/alt_sounds.html for more information. --Effects Included-- Ignition Effect: Standard Ignition [Color: IgnitionColorArg] Retraction Effect: Standard Retraction [Color: RetractionColorArg] 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] Special Ability 1: Change State (Transition State: Rotoscope (Subtle) - Transition: SparkTipWipe (Decel) (8000ms) Uses alt001/ sounds during Transition State, when transition completes will use alt002/ sounds until State Reverts. */ using FireAndIce = Layers,Int<98304>>>>,TrWipeInX,Mult,Int<98304>>>>,Black>>; /* Add to preset as StylePtr() --------------------------------------------------------------------------*/ /*--------------------------------- Doom ------------------------- copyright Fett263 CustomBlade (Primary Blade) OS7 Style https://fett263library.com/early-access/#CustomBlade OS7.15 v4.228 Single Style Change State (Special Abilities*) Default: Rotoscope (Subtle) [BaseColorArg] Transition State: Crucible Flame (Normal) [AltColorArg] Change State blade will transition from Style 0 (Default) to Style 1 using Transition State style in between. Requires Alt Font and 'Change State' Special Ability. NOTE:This style includes Control Layer. Only one Control Layer should be used per preset. *This style REQUIRES Alt Fonts alt000/ to alt002/ to be set up. Uses altchng.wav on change. See https://pod.hubbe.net/sound/alt_sounds.html for more information. --Effects Included-- Ignition Effect: Standard Ignition [Color: IgnitionColorArg] Retraction Effect: Standard Retraction [Color: RetractionColorArg] 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] Special Ability 1: Change State (Transition State: Crucible Flame (Normal) - Transition: SparkTipWipeIn (Accel) (4000ms) Uses alt001/ sounds during Transition State, when transition completes will use alt002/ sounds until State Reverts. */ using Doom = Layers,Int<32768>,Int*********RECATED*********98304>>>>,TrWipeInX,Mult,Int<98304>>>>,Black>>; /* Add to preset as StylePtr() --------------------------------------------------------------------------*/ /*--------------------------------- Party2 ------------------------- copyright Fett263 CustomBlade (Primary Blade) OS7 Style https://fett263library.com/early-access/#CustomBlade OS7.15 v4.228 Single Style Multi Phase (Special Abilities*) Transition: Instant, Time: 1000 Default: Cal Kestis Survivor Blue [BaseColorArg] undefined 1: Cal Kestis Survivor Cyan [AltColorArg]undefined Multi Phase Control: use Special Abilities controls to change Phase. Requires Alt Font. NOTE:This style includes Control Layer. Only one Control Layer should be used per preset. *This style REQUIRES Alt Fonts alt000/ to alt008/ to be set up. Uses altchng.wav on change. See https://pod.hubbe.net/sound/alt_sounds.html for more information. --Effects Included-- Ignition Effect: Standard Ignition [Color: IgnitionColorArg] Retraction Effect: Standard Retraction [Color: RetractionColorArg] 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] Special Ability 1: Next Phase Special Ability 2: Previous Phase Special Ability 3: Select Random Phase Special Ability 4: Toggle Swing Change (Random / Party Mode) Uses tr00.wav or tr/000/000.wav on toggle (mechanical or menu sound) */ using Party2 = Layers>,100>,SmoothStep,IntArg,Int<30000>>,Int<3000>>>,TrFade<4000>>,TrWipe<200>,SaberBase::LOCKUP_MELT,Int<1>>,InOutTrL,Mult,Int<98304>>>>,TrWipeInX,Mult,Int<98304>>>>,Black>>; /* Add to preset as StylePtr() --------------------------------------------------------------------------*/ /*--------------------------------- KyberPhonicsOshaPullDarkness ------------------------- copyright Fett263 CustomBlade (Primary Blade) OS7 Style https://fett263library.com/early-access/#CustomBlade OS7.15 v4.228 Single Style Multi Phase (Special Abilities*) Transition: Wipe, Time: 500 Default: Master Sol [BaseColorArg] undefined 1: Osha (Dark Side) [AltColorArg]undefined Multi Phase Control: use Special Abilities controls to change Phase. Requires Alt Font. NOTE:This style includes Control Layer. Only one Control Layer should be used per preset. *This style REQUIRES Alt Fonts alt000/ to alt001/ to be set up. Uses altchng.wav on change. See https://pod.hubbe.net/sound/alt_sounds.html for more information. --Effects Included-- Ignition Effect: Standard Ignition [Color: IgnitionColorArg] Retraction Effect: Standard Retraction [Color: RetractionColorArg] 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] Special Ability 1: Change Phase (Corruption: Rotoscope - Time: 10000 ms) Uses tr00.wav or or tr/000/000.wav (blade corruption sound) Special Ability 2: Next Phase Special Ability 5: Ignite + Change Phase (Corruption: Rotoscope - Delay: 1000 ms - Time: 10000 ms) Uses tr01.wav or or tr/001/000.wav (blade corruption sound) */ using KyberPhonicsOshaPullDarkness = Layers,Int<0>>*********RECATED*********>,Int<2>>,Int<-1>>>,EFFECT_USER5>>; /* Add to preset as StylePtr() --------------------------------------------------------------------------*/ /*--------------------------------- JuanSithPathDarkside ------------------------- copyright Fett263 CustomBlade (Primary Blade) OS7 Style https://fett263library.com/early-access/#CustomBlade OS7.15 v4.228 Single Style Multi Phase (Special Abilities*) Transition: Wipe, Time: 500 Default: Master Sol [BaseColorArg] undefined 1: Osha (Dark Side) [AltColorArg]undefined Multi Phase Control: use Special Abilities controls to change Phase. Requires Alt Font. NOTE:This style includes Control Layer. Only one Control Layer should be used per preset. *This style REQUIRES Alt Fonts alt000/ to alt001/ to be set up. Uses altchng.wav on change. See https://pod.hubbe.net/sound/alt_sounds.html for more information. --Effects Included-- Ignition Effect: Standard Ignition [Color: IgnitionColorArg] Retraction Effect: Standard Retraction [Color: RetractionColorArg] 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] Special Ability 1: Change Phase (Corruption: Rotoscope - Time: 14000 ms) Uses tr00.wav or or tr/000/000.wav (blade corruption sound) Special Ability 2: Toggle Cortosis Clash V2 mode, if blade Clashes within 3000 ms, blade will be shorted out and sparking and will not be able to reignite when pressing the Power Button for 7500 ms. (Spark Size: 1000). Saber will automatically re-ignite with a partial 'flame up' followed by a full ignition after shorted out period completes. Uses tr01.wav or tr/001/000.wav for toggle, tr02.wav or tr/002/000.wav for cortosis (metallic sound on clash), tr03.wav or tr/003/000.wav for shorted out / disabled period (sparking sound)(7500 ms) and tr04.wav or tr/004/000.wav for partial 'flame' ignition Special Ability 3: Next Phase Special Ability 5: Ignite + Change Phase (Corruption: Rotoscope - Delay: 1000 ms - Time: 14000 ms) Uses tr05.wav or or tr/005/000.wav (blade corruption sound) */ using JuanSithPathDarkside = Layers>,Int<2>>,Int<-1>>>,EFFECT_USER5>>; /* Add to preset as StylePtr() --------------------------------------------------------------------------*/ Preset presets[] = { { "KRossguard;common", "tracks/TFA_Battle.wav", StylePtr(), "KRossguard" }, { "FinalStepYellowRey;common", "tracks/FinalSteps.wav", StylePtr(), "FinalStepYellowRey" }, { "darksaber;common", "tracks/LvsV.wav", StylePtr>,Int<0>,Int<7500>>>>>(), "darksaber" }, { "Acension;common", "tracks/Ascension.wav", StylePtr(), "Acension" }, { "maul;common", "tracks/DOF.wav", StylePtr(), "maul" }, { "Malicos;common", "tracks/Traveler.wav", StylePtr(), "Malicos" }, { "bensolo;common", "tracks/General.wav", StylePtr(), "bensolo" }, { "Empress;common", "tracks/DarkSide.wav", StylePtr(), "Empress" }, { "duke;common", "tracks/Duke.wav", StylePtr(), "duke" }, { "TheBoldOne;common", "tracks/TheBoldOne.wav", StylePtr(), "TheBoldOne" }, { "rougecommander;common", "tracks/LvsV.wav", StylePtr(), "rougecommander" }, { "Darkness;common", "tracks/JFO5.wav", StylePtr(), "Darkness" }, { "LukeA;common", "tracks/TheBoldOne.wav", StylePtr(), "LukeA" }, { "CalKestis;common", "tracks/JFO1.wav", StylePtr(), "CalKestis" }, { "General;common", "tracks/LvsV.wav", StylePtr(), "General" }, { "DarkRaven;common", "tracks/MSV.wav", StylePtr(), "DarkRaven" }, { "starkiller;common", "tracks/DarkSide.wav", StylePtr(), "starkiller" }, { "NyanCat;common", "tracks/NyanCat.wav", StylePtr(), "NyanCat" }, { "Defiance;common", "tracks/mars.wav", StylePtr(), "Defiance" }, { "Batt00", "tracks/TFA_Duel.wav", &style_charging, "Batt00" }, // MOR FONTS { "Shocker", "common", StylePtr(), "Shocker" }, { "Skrim", "common", StylePtr(), "Skrim" }, { "Terra", "common", StylePtr(), "Terra" }, { "TheThing", "common", StylePtr(), "TheThing" }, { "Thunder", "common", StylePtr(), "Thunder" }, { "AstralProjection", "common", StylePtr(), "AstralProjection" }, { "Celsius", "common", StylePtr(), "Celsius" }, { "CursedSaber", "common", StylePtr(), "CursedSaber" }, { "Deadlink", "common", StylePtr(), "Deadlink" }, { "Decay", "common", StylePtr(), "Decay" }, { "High_Voltage", "common", StylePtr(), "High_Voltage" }, { "Jaws", "common", StylePtr(), "Jaws" }, { "LawnmowerMan", "common", StylePtr(), "LawnmowerMan" }, { "NewYear", "common", StylePtr(), "NewYear" }, { "Poison", "common", StylePtr(), "Poison" }, { "Proffie", "common", StylePtr(), "Proffie" }, { "Proffie2", "common", StylePtr(), "Proffie2" }, { "Proffie4", "common", StylePtr(), "Proffie4" }, { "Proffie5", "common", StylePtr(), "Proffie5" }, { "Proffie6", "common", StylePtr(), "Proffie6" }, { "Proffie7", "common", StylePtr(), "Proffie7" }, { "Proffie8", "common", StylePtr(), "Proffie8" }, { "Proffie9", "common", StylePtr(), "Proffie9" }, { "Proffie10", "common", StylePtr(), "Proffie10" }, { "xmass", "common", StylePtr(), "xmass" }, // MOR FONTS }; BladeConfig blades[] = { { 0, WS281XBladePtr<132, bladePin, Color8::GRB, PowerPINS>(), CONFIGARRAY(presets) }, }; #endif #ifdef CONFIG_BUTTONS Button PowerButton(BUTTON_POWER, powerButtonPin, "pow"); #endif