Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Golden Harvest V3 notes
- Last Updated: 10/12/2021
- Update History: 09/12/2021
- SD Card is made up of several folders / files
- Root: general.txt << core config file for the saber and defines:
- Button layout (1 / 2)
- Pixel / blade type / count
- Gestures in general
- Timings for buttons
- Sleep timings etc
- override-general.txt << this contains values that have been amended in the saber - pixel count done using editor option. Gesture Control overrides
- update.dat << Firmware updates come as a single file which goes onto the SD and then is erased when complete
- Folders:
- UserInterfaceSounds << Basically all the sound effects for menus, voice prompts etc. Comes as part of the "Default Package" from Sabertec. You should update with new firmware version default files as they're delivered
- SoundFonts << This is where all the actual fonts live that either include with default package or installed from 3rd party font makers. Can be either GH3 custom or CFX clones
- Sound Fonts are installed in here in the format "soundx - name" where x is a number in sequence and the name can be anything. Eg: sound1 - ANH_Training
- Inside each font are the files + 1 settings file:
- settings.txt << This contains parameters such as ignition speed, retraction speed (0 meaning follow the sound effect playtime). This file gets amended sometimes with firmware versions so occasionally you'll have to update all the settings.txt in your fonts with updated parameters
- common << there's a folder inside the SoundFonts directory and has common pre-on and post-off sounds along with some tracks. These are updated with the default package and should be updated on your SD when delivered.
- EffectFonts << This is where the default blade and color profiles are delivered. In here are 9 "slots", 1-6 are for baselit / RGB sabers and 7-9 are for Neopixel.
- The slot is chosen inside the general.txt file which instructs the board to look in the relevent slot.
- This is also where associations between colour, blade styles and soundfonts lives. For example, I'm using "slot9 - Neopixel Extended" which contains 36 different base blade profiles.
- This is also where things get more messy.
- In the root of EffectFonts are a series of prefs<x>.txt (x being a number such as prefs1.txt)
- This number corresponds to the sound<x> folder of the soundfont. This is where the primary mapping of Sound to Effect is made.
- It will contain 5 values, the 2 accents can be ignored if you do not have accent pixels on your hilts:
- blade_profile=1
- color_profile=6
- on_top_effect=1
- standby_accent_profile=1
- ignited_accent_profile=1
- blade_profile=1 <<< this means that inside slot9, it'll use blade1 - Classic1 for it's base, effect and colour wheels
- Inside each blade<x> folder are 4 sets of files:
- background.txt << this defines the core blade "look" such as a flicker, wave, pulse, flow, sauron etc
- colou<1-12>.txt << these contain the individual colour palettes including base colour, flash, lockup, melt, drag, blast etc
- ontop<1-28>.txt << these contain additioal "looks" that overlay the base blade style -- will include things like unstable, scrolling pulses, flickers, flashes etc
- So in the above example, it's using "blade1 -Classic1" as it's source of effects and then ontop1.txt and colour6.txt for the colour pallete
- In essence all the 36 blade folders contain identical ontop and color files (meaning each blade style can have the same colour wheels and effects)
- Liekly you'll want to keep all these aligned for simplicity.
- However, there's "override" files inside the blades folders, if you amend a colour of a accent in the saber editor you're not amending the base colorx.txt file, you're creating an override for that colour slot.
- So if you changed a blaster colour from red to green for example and this was inside color1.txt, that file will now have a corresponding override-color1.txt
- Any time you then pick blade1 and color1 for any other soundfont you'll start from the same override starting point, if you then change those colors you'll affect ANY other blade using the same blade & color combination.
- This is why sometimes people choose to copy the styles/colors they want to amend into a whole other slot, such as slot10 - Custom to house any changes they've made
- =======================================================================================================================================
- 10/12/2021 - Update 1
- =======================================================================================================================================
- Update based on playing around with the board more and getting my head around the file structures which are complex but also repetative.
- For reference, in my general.txt it's using slot9 - Neopixel Extended effects folder
- In that slot9 folder there's 7 sets of effect fonts:
- Blades 1 - 6: Classic << these are generally canon gentle flickers.
- Blades 7 - 13: Frozen << these are generally repeating patterns of small blocks moving around the blade
- Blades 14 - 22: Wave << These are generally blocks of patterns scrolling down the blade in repeating patterns
- Blades 23 - 26: Colour Flow << These are generally rainbow blades
- Blades 27 - 31: Flame << Simulating fire along the blade
- Blades 32 - 33: Sauron << A focussed black-spot in the centre of the blades ripping outwards
- Blades 34 - 35: Gradient << Gradual colour change along the blade
- Blade 36 : Dark << Dark Saber effect (ripples gently)
- Inside each of these "blade" folders are a set of files:
- background.txt - This is the main base effect definition of the blade. Including all phases of the blade. Ignition, main effect, clash, block, blaster etc etc. Each section has a bunch of parameters which tell GH how to behave on that base level.
- blade.wav - This is the voice announce of the blade such as "Classic One"
- color1-12.txt - These are the colour profiles. Each phase of the blade (ignition, base, clash, blaster etc) has a colour defined for it
- ontop1-28.txt - These are the enhancements that add a second layer of effects over the base style. This inludes things like white pulses, different colour flickers, flashes, unstable blade effects. This is how GH3 makes it's myriad of combinations since you essentially have 36 "blades" and each has 28 ontop overlays meaning out of the box you have 1008 combinations of base blades & ontop effects.
- Example - You could have a classic1 base blade which is just solid colour "background" and then one of the unstable "ontop" effects to get a reasonable unstable blade. But if you choose something like Wave and an unstable you get a more agressive end result of unstable.
- override-color1.txt (number depends on which is edited). This is where one of the complexities arise.
- When you pick a blade profile that then dictates that you're using the color files inside that blade directory. When you pick the colour profile you're picking from the color1-12.txt files inside the blade directory. Essentially the ontop and color files are (by default) repeated in all the blades
- For this example, lets say you're using blade1 - classic and color1 profile inside.
- If you then change (in saber editor) a part of the colour profile (say it's a shade of red but you change it to more pink or purple), the result is a new file inside the blade1-classic folder called override-color1.txt - this contains all color definitions for all the different effects but with the new value(s) that you might have picked in saber editor.
- So now, anytime, for any soundfont, you pick that same blade (1 - classic) and color profile combination you'll be using the override colors from that new file. Conversely, if you then amended that color again in this new font, you're then essentially affecting any other soundfont setup to use that same blade/color combo.
- So that's the blade folders and their content.
- Inside the slot9 folder there's then a set of pref<X>.txt, the files are numbered to reflect with the soundfont folders in the Soundfonts main folder. This is where the link between soundfont & effectfont live.
- The prefs file is short, just 6 lines, each associating the blade, color, ontop and accent effects (accent being additional LED strips, accent pixels or potentially shtok connector depending on how it's been wired)
- blade_profile=1 << This is the blade<x> folder that the soundfont will get it's effect from
- color_profile=8 << This is the color profile from inside the blade folder that the soundfont will use
- on_top_effect=1 << This is the overlay/ontop effect that modifies the base blade
- standby_accent_profile=1
- ignited_accent_profile=1
Add Comment
Please, Sign In to add comment