ProffieOS 7.x Documentation

Since we have a new documentation site, I want to make sure that all the new stuff we’re adding in ProffieOS 7.x gets documented.

Unlike the alpha testing thread, where I go and update the top post as needed, I’m making this a wiki post, which should mean that anybody can update it.

Some things might not have an easy way to document it, but for now I will make space in the table for everything.

For props, I’ve limited the features to just the defines. Feel free to add additional entries as needed.

feeature documentaton url
new ini file format ProffieOS Documentation: Save File Format
teensy4 support Not needed
alt sounds ProffieOS Documentation: Alt Sounds
sub-sub sounds ProffieOS Documentation: Sub-sub sounds
updated clash detection ProffieOS Documentation: The CONFIG_TOP section
StylePtr default arguments ProffieOS Documentation: Style Arguments
Bendable time in transitions ProffieOS/base.h at b43dd3dee95d79b8c950b1ab33fb0a398b068669 · profezzorn/ProffieOS · GitHub
sorted track/font menus ProffieOS/command_parser.h at c7b79051e2e667b00cf77bf23bce2e5c2a1ab406 · profezzorn/ProffieOS · GitHub
OLED error messages Not needed
low-power OLED mode Not needed
OLED wavlen synchronization ProffieOS Documentation: Sound Font config.ini configuration
Dynamic mixer bugfix Not needed
CONFIG_STYLES ProffieOS Documentation: The CONFIG_STYLES section
config.ini search path ProffieOS Documentation: Sound Font config.ini configuration
saber_caiwyn_buttons.h ProffieOS/saber_caiwyn_buttons.h at master · profezzorn/ProffieOS · GitHub
TrConcat updates ProffieOS/concat.h at 5a9a8bf09f73620762b0aba6349e8e4b881a1449 · profezzorn/ProffieOS · GitHub
ProffieOSHumDelay ProffieOS Documentation: Sound Font config.ini configuration
ProffieOSSmoothSwingHumstart ProffieOS Documentation: Sound Font config.ini configuration
BOOT_VOLUME ProffieOS Documentation: The CONFIG_TOP section
AUDIO_CLASH_SUPPRESSION_LEVEL ProffieOS Documentation: The CONFIG_TOP section
DISABLE_TALKIE ProffieOS Documentation: The CONFIG_TOP section
BLADE_ID_SCAN_MILLIS ProffieOS Documentation: The CONFIG_TOP section
KILL_OLD_PLAYERS ProffieOS Documentation: The CONFIG_TOP section
POV_INCLUDE_FILE ProffieOS Documentation: The CONFIG_TOP section
BLADE_ID_TIMES ProffieOS Documentation: The CONFIG_TOP section
altchng ProffieOS Documentation: Alt Sounds
OLED preon ProffieOS Documentation: OLED images and animations
OLED in ProffieOS Documentation: OLED images and animations
OLED out ProffieOS Documentation: OLED images and animations
OLED pstoff ProffieOS Documentation: OLED images and animations
OLED lock ProffieOS Documentation: OLED images and animations
SubBladeZZ ProffieOS Documentation: SubBlade
EFFECT_VOLUME_LEVEL ProffieOS Documentation: Blade Style EFFECTs
EFFECT_ON ProffieOS Documentation: Blade Style EFFECTs
EFFECT_QUOTE ProffieOS Documentation: Blade Style EFFECTs
EFFECT_SECONDARY_IGNITION ProffieOS Documentation: Blade Style EFFECTs
EFFECT_SECONDARY_RETRACTION ProffieOS Documentation: Blade Style EFFECTs
EFFECT_OFF ProffieOS Documentation: Blade Style EFFECTs
EFFECT_FAST_OFF ProffieOS Documentation: Blade Style EFFECTs
EFFECT_OFF_CLASH ProffieOS Documentation: Blade Style EFFECTs
EFFECT_NEXT_QUOTE ProffieOS Documentation: Blade Style EFFECTs
EFFECT_INTERACTIVE_PREON ProffieOS Documentation: Blade Style EFFECTs
EFFECT_INTERACTIVE_BLAST ProffieOS Documentation: Blade Style EFFECTs
EFFECT_TRACK ProffieOS Documentation: Blade Style EFFECTs
EFFECT_BEGIN_BATTLE_MODE ProffieOS Documentation: Blade Style EFFECTs
EFFECT_END_BATTLE_MODE ProffieOS Documentation: Blade Style EFFECTs
EFFECT_BEGIN_AUTO_BLAST ProffieOS Documentation: Blade Style EFFECTs
EFFECT_END_AUTO_BLAST ProffieOS Documentation: Blade Style EFFECTs
EFFECT_ALT_SOUND ProffieOS Documentation: Blade Style EFFECTs
EFFECT_TRANSITION_SOUND ProffieOS Documentation: Blade Style EFFECTs
EFFECT_SOUND_LOOP ProffieOS Documentation: Blade Style EFFECTs
EFFECT_GAME_START ProffieOS Documentation: Blade Style EFFECTs
EFFECT_GAME_ACTION1 ProffieOS Documentation: Blade Style EFFECTs
EFFECT_GAME_ACTION2 ProffieOS Documentation: Blade Style EFFECTs
EFFECT_GAME_CHOICE https://pod.hubbe.net/config/styles/blade-effects.html#effectgamechoice
EFFECT_GAME_RESPONSE1 https://pod.hubbe.net/config/styles/blade-effects.html#effectgameresponse1
EFFECT_GAME_RESPONSE2 https://pod.hubbe.net/config/styles/blade-effects.html#effectgameresponse2
EFFECT_GAME_RESULT1 https://pod.hubbe.net/config/styles/blade-effects.html#effectgameresult1
EFFECT_GAME_RESULT2 https://pod.hubbe.net/config/styles/blade-effects.html#effectgameresult2
EFFECT_GAME_WIN https://pod.hubbe.net/config/styles/blade-effects.html#effectgamewin
EFFECT_GAME_LOSE https://pod.hubbe.net/config/styles/blade-effects.html#effectgamelose
EFFECT_USER6 https://pod.hubbe.net/config/styles/blade-effects.html#effectuser6
EFFECT_USER7 https://pod.hubbe.net/config/styles/blade-effects.html#effectuser7
EFFECT_USER8 https://pod.hubbe.net/config/styles/blade-effects.html#effectuser8
EFFECT_SD_CARD_NOT_FOUND https://pod.hubbe.net/config/styles/blade-effects.html#effectsdcardnotfound
EFFECT_FONT_DIRECTORY_NOT_FOUND https://pod.hubbe.net/config/styles/blade-effects.html#effectfontdirectorynotfound
EFFECT_ERROR_IN_FONT_DIRECTORY https://pod.hubbe.net/config/styles/blade-effects.html#effecterrorinfontdirectory
EFFECT_ERROR_IN_BLADE_ARRAY https://pod.hubbe.net/config/styles/blade-effects.html#effecterrorinbladearray
LockupTrL https://github.com/profezzorn/ProffieOS/blob/bb7f0622f4742ee2d4735fc97053a528e94022e4/styles/lockup.h#L101
StylePOV https://github.com/profezzorn/ProffieOS/blob/9274e30f32a9103ed5c1f02506dd5eda430abfb6/styles/pov.h#L14
ContinuousPOV https://github.com/profezzorn/ProffieOS/blob/9274e30f32a9103ed5c1f02506dd5eda430abfb6/styles/pov.h#L28
ChargingStylePtr https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/styles/style_ptr.h#L128
TransitionPulseL https://github.com/profezzorn/ProffieOS/blob/c83bb20fa3904f4794775fbfc6b507766feed3c6/styles/transition_pulse.h#L7
ClampF / ClampFX https://github.com/profezzorn/ProffieOS/blob/6c14524a74736178b1f3d597e90cbc27a158d597/functions/clamp.h#L7
Divide https://github.com/profezzorn/ProffieOS/blob/2cec52a0e5e5777517c62bdf22dcbea788e680bf/functions/divide.h#L4
IsBetween https://github.com/profezzorn/ProffieOS/blob/2cec52a0e5e5777517c62bdf22dcbea788e680bf/functions/isbetween.h#L4
Subtract https://github.com/profezzorn/ProffieOS/blob/2cec52a0e5e5777517c62bdf22dcbea788e680bf/functions/subtract.h#L4
TwistAcceleration https://github.com/profezzorn/ProffieOS/blob/2cec52a0e5e5777517c62bdf22dcbea788e680bf/functions/twist_angle.h#L27
AltF https://github.com/profezzorn/ProffieOS/blob/8d05db621cee41a809839ff9e0df5cd718acf51d/functions/alt.h#L7
SyncAltToVarianceF https://github.com/profezzorn/ProffieOS/blob/8d05db621cee41a809839ff9e0df5cd718acf51d/functions/alt.h#L25
LockupPulseF https://github.com/profezzorn/ProffieOS/blob/bc66978c24563c04b1b0a968bd6e171894c25356/functions/effect_increment.h#L24
ModF https://github.com/profezzorn/ProffieOS/blob/8d05db621cee41a809839ff9e0df5cd718acf51d/functions/mod.h#L28
VolumeLevel https://github.com/profezzorn/ProffieOS/blob/8d05db621cee41a809839ff9e0df5cd718acf51d/functions/volume_level.h#L8
HumpFlickerFX https://github.com/profezzorn/ProffieOS/blob/ee3ab9fc320975142ac1fa87ad6cbb96a7e1f1e8/functions/bump.h#L50
TrBlink(X) https://github.com/profezzorn/ProffieOS/blob/8d05db621cee41a809839ff9e0df5cd718acf51d/transitions/blink.h#L6
TrDoEffect(X) https://github.com/profezzorn/ProffieOS/blob/8d05db621cee41a809839ff9e0df5cd718acf51d/transitions/doeffect.h#L7
TrLoop https://github.com/profezzorn/ProffieOS/blob/8d05db621cee41a809839ff9e0df5cd718acf51d/transitions/loop.h#L4
TrLoopN(X) https://github.com/profezzorn/ProffieOS/blob/8d05db621cee41a809839ff9e0df5cd718acf51d/transitions/loop.h#L19
TrLoopUntil https://github.com/profezzorn/ProffieOS/blob/8d05db621cee41a809839ff9e0df5cd718acf51d/transitions/loop.h#L51
moffopt.wav https://github.com/profezzorn/ProffieOS/blob/be7f8f82554a7673ccb57076b86372f0fc1bb629/sound/sound_library.h#L221
ALT_COLOR2_ARG ProffieOS Documentation: Style Arguments
ALT_COLOR3_ARG ProffieOS Documentation: Style Arguments
STYLE_OPTION2_ARG ProffieOS Documentation: Style Arguments
STYLE_OPTION3_ARG ProffieOS Documentation: Style Arguments
IGNITION_OPTION2_ARG ProffieOS Documentation: Style Arguments
RETRACTION_OPTION2_ARG ProffieOS Documentation: Style Arguments
lock → endlock https://pod.hubbe.net/sound/pairing-sequential-effect-sounds.html
armhum → endarm https://pod.hubbe.net/sound/pairing-sequential-effect-sounds.html
auto → endauto https://pod.hubbe.net/sound/pairing-sequential-effect-sounds.html
lb → endlb https://pod.hubbe.net/sound/pairing-sequential-effect-sounds.html
melt → endmelt https://pod.hubbe.net/sound/pairing-sequential-effect-sounds.html
drag → enddrag https://pod.hubbe.net/sound/pairing-sequential-effect-sounds.html
FETT263_DISABLE_CHANGE_FONT https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L648
FETT263_DISABLE_CHANGE_STYLE https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L650
FETT263_DISABLE_COPY_PRESET https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L652
FETT263_DISABLE_MULTI_BLAST https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L658
FETT263_TRACK_PLAYER_NO_PROMPTS https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L660
FETT263_RANDOMIZE_QUOTE_PLAYER https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L636
FETT263_QUICK_SELECT_ON_BOOT https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L496
FETT263_EDIT_SETTINGS_MENU https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L475
FETT263_DISABLE_QUOTE_PLAYER https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L662
FETT263_QUOTE_PLAYER_START_ON https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L633
FETT263_SPECIAL_ABILITIES https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L611
FETT263_SPIN_MODE https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L617
FETT263_USE_BC_MELT_STAB https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L675
FETT263_BC_SAY_BATTERY_VOLTS_PERCENT https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_fett263_buttons.h#L678
BC_NO_BM https://github.com/profezzorn/ProffieOS/blob/7af2a071cd5fafa1767396d1b3a0ddc47317af98/props/saber_BC_buttons.h#L80
CAIWYN_BUTTON_CLASH https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_caiwyn_buttons.h#L83
CAIWYN_BUTTON_LOCKUP https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_caiwyn_buttons.h#L91
CAIWYN_SAVE_TRACKS https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_caiwyn_buttons.h#L102
CAIWYN_SAVE_TRACK_MODE https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_caiwyn_buttons.h#L115
DISABLE_COLOR_CHANGE https://github.com/profezzorn/ProffieOS/blob/78a2338e912e5f85e0fa6c25a28e72b20806436b/props/saber_caiwyn_buttons.h#L122
2 Likes

I made a new page in config/styles for all of the blade EFFECT options to go on one page.
Needs editing.

Maybe we should make each enum value a heading so we can link directly to it?

Yes, I meant to do that. I think I lready know the answer, but more of a question, doo we want to have the OS7 and later stuff together? What about OS6?

One way or another we need to spell out which enum values are new in OS7.
It’s probably easiest to do it sort of like we do with the defines, where new ones are just added at the bottom. I wouldn’t worry about spelling out what’s new in OS6, unless you really want to for some reason.

I’m back from vacations and have a free Saturday. I tried to make a changeset to add an index, but I can’t make the markdown-style reference-style links to work. I’ve read the documentation in the markdown site, but I can’t make a single variation of what I assume a link would be to work.

- [Movement](#movement_effects)
- [State] [id_state]
- [Mini game] (./blade-effects.md#mini-game-effects)
- [Miscelaneous] [id_misc]
- [User Definable] [id_user_definable]


## Movement Effects

### EFFECT_CLASH  

### EFFECT_BLAST 

[id_state]: ## State Effect

## Mini-Game Effects

## Miscelaneous Effects

## User Definable Effects

Any help? I would love to order that page, even put a (7.0+) besides those new effects, but if I can’t make the internal links work, I’m not sure it would be much help.

I just open other working pages and gather how the formatting works from there :person_shrugging:

I haven’t found a single page with local links. Did you see any?

First of all, do we need an index?
We have a glossary, a list of all pages, and a search function already. The “list of all pages” and the search page are automatically generated, so they require no extra work.

Second, because of some of the auto-generating stuff, all links needs to be site-relative, so linking should look like this:

 [Preset](/config/the-config_presets-section.html)

Unfortunately, wikiwords-like links do not work.
Also, because the links go to the html, not the md file, it’s not really possible to see if the links work in the preview on github.

I missed that you were doing local links.
Local links would look like:

[link text](#anchor)

Still not sure we need an index though.

The idea is that pages with lot’s of functions should have an ordered index on the top, like the Wikipedia pages. It makes navigating the long page faster. In this particular case, each effect has so little text that it’s not worth to put in a single page. But the sheer amount is so much that navigating the page is cumbersome. So I think there are only two reasonable options:
a) You separate the effects into groups (a grouping that would help with option (b) anyways), or
b) You separate in groups in the page with a index that allows you to easily navigate.

If it’s not possible, it’s not and then things should not change much.

I agree in principle, but I disagree about this page has so much content that it is hard to navigate.

if/when we add descriptions to all the effects, this might become enough of an issue that we need something like that.

I’m working on a change pull. You can evaluate and, if you like it, comment or push.

edit --nevermind.

mispost? mispaste?

Possibly a better way to add an index like this is to build a “leftnav”.
This would be automated and generate an index for all headers in the page.
The extra nice part is that it can be automated, so that it’s available for all pages and doesn’t require any extra work to maintain.

The leftnav would have to be in a pop-up or something on mobile though, otherwise it would steal too much screen real estate.

1 Like

There I sent it so you can see what I meant.

@profezzorn I moved the OS 7 labels below in my lastest pull request. But I’ve never used GitHub so I don’t know if you are watching that change or I have to make a new pull request.

I get emails when pull requests are updated.
If I fail to notice, or forget, please send me a PM.
Generally there should be no need to create new pull requests.

Thanks! I’m learning to use Github with this.