From d1024fef1b216af5d3d991228c6b83311a71bb42 Mon Sep 17 00:00:00 2001 From: yum Date: Fri, 30 Dec 2022 01:10:32 -0800 Subject: Bugfix: regenerated FX layers now work on uploaded avatars VRChat won't update the FX layer associated with an avatar unless its GUID changes. Delete the GUID file when overwriting our generated FX layer to work around this. * Change paging behavior: when a region is updated, we re-page everything that comes after it. This fixes the issue where we go back to update something, then jump back to the current screen, leaving some random chunk of text somewhere on the board. * Reduce transcription time from 28s to 10s. I'm going to expose this to the user since there's a fundamental latency/stability tradeoff here. --- Scripts/libtastt.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Scripts/libtastt.py') diff --git a/Scripts/libtastt.py b/Scripts/libtastt.py index 18de922..6881d89 100644 --- a/Scripts/libtastt.py +++ b/Scripts/libtastt.py @@ -620,3 +620,8 @@ if __name__ == "__main__": with open(args.guid_map, 'wb') as f: pickle.dump(guid_map, f) + # If we don't do this, then VRChat will fail to update the animator + # when users update their avatars. + if os.path.exists(args.fx_dest + ".meta"): + os.remove(args.fx_dest + ".meta") + -- cgit v1.2.3