[Feature] Risky Functions Options
Hi again!
This update contains a couple of bug fixes and our new "Risky Functions" feature. As always, please keep the valuable feedback coming, be it in the discord or the issues tab!
Bug Fixes
- Fixed an issue where legacy modules would load twice
- Fixed an issue where float parameters were sent on load to 0, which would override any avatar defaults. Now we just send binaries on load
- Fixed an issue where we weren't properly tearing down modules on exit
- Fixed an issue where modules could never be properly uninstalled
- Fixed some await async issues in the logger and teardown procedure
Features
And a new feature in the settings tab:: Risky Functions! Risky functions allows you to perform certain diagnostics and utility functions. So far, we have four functions available to use:
Force Relevancy
Force relevancy essentially forces every parameter to be relevant regardless of your currently equipped avatar (excluding binary params as we don't know how many bits to use). This is potentially useful to test if VRChat is even receiving the parameters as it works independently of the avatar loaded.
This means you can finally use VRCFT on test avatars as this mode doesn't require a config file to be present!
Force Re-Initialize
This is a reimplementation of an old feature from VRCFT 4.0, it allows you to force VRCFT to re-initialize all modules in case an issue has occured at runtime. You'll get mixed results as most modules and tracking runtimes don't particularly want you doing this, but better than nothing!
Reset VRCFT
This button will create a file named "reset" in the VRCFT persistent data directory which, upon reload, will cause VRCFT to wipe it's data directory and start fresh. This will wipe modules, settings, configs, and any other data in that folder. Use wisely
Reset VRChat Configs
This is a quick way of clearing out your VRChat avatar osc config directory if (for whatever reason) the in-game reset config button doesn't work. This isn't a particularly destructive action as the files are regenerated on avatar load, though could be a pain if you've made manual modifications to files in that directory.
Notes
Please remember, this a free and open-source project run by volunteers. When asking for help, please be courteous as we stand nothing to gain by helping in the first place. Being rude and demanding help will get you nowhere.
As always, thanks again for using VRCFT, we're looking forward to hearing what you have to think about this new update! If you have any problems, don't hesitate to shout at us in the Discord server.