1.20.77.13 Released (Patreon)
Published:
2022-11-30 15:28:31
Imported:
Content
This release was primarily created in order to support the Steam release of Virt-A-Mate + vamX announced here: https://www.patreon.com/posts/virt-mate-1-x-on-75307423
Since we had to make changes to VaM, we decided to take this opportunity to also include some other minor features and tweaks, including a nice speed boost to json file save and loading. Full release notes below:
Features:
- Added Package Downloader - a new system that allows copy/paste of a resource URL from external browser or entering a specific var package name into an input box to find and download that resource or package and all its dependencies in an easy manner. Can be used as alternative to in-game Hub browser for getting Hub content. There is a new toolbar item to open this system.
- Plugins - added new Alert system with callbacks which allows plugin to prompt user for OK or OK/Cancel style popup with a message. public void Alert(string alertMessage, UnityAction okAlertCallback, DisplayUIChoice displayUIChoice = DisplayUIChoice.Auto); public void Alert(string alertMessage, UnityAction okAlertCallback, UnityAction cancelAlertCallback, DisplayUIChoice displayUIChoice = DisplayUIChoice.Auto);
Tweaks:
- Improved load and save performance with large json files. An example 5-minute long mocap scene improved save and load times by 40%. This fix will enable saving and restoring very long data fields in an efficient manner which will allow plugins to encode binary data into json files without a huge performance hit. Thank you to community legend and superstar AcidBubbles for the suggestion and sample code for the fix!
- Improved Hub opt-in agreement system
- Changes to meet requirements from Valve for release of vamX + VaM product on Steam - Steam version removes all promotional links since they are not allowed. Paid category type also had to be removed from Hub browser. Reddit and other specific web site links that promoted paid content in any way also had to be removed. Basically Valve doesn’t want any paid content in an application unless that paid content is on Steam so they can get their (large) cut of the proceeds.
- Plugins - added two new public methods to FileManagerSecure to allow plugins to check if packages exist: public static bool PackageExists(string packageUid); public static int GetPackageVersion(string packageUid);
- Plugins - added two new public methods to MVRPluginManager to allow reloading or removing other plugins: public void ReloadPluginWithUID(string uid); public void RemovePluginWithUID(string uid);
- Minor security enhancements