Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bigibas123/ndmfvrcfreorder
Tries to remove VRCFury from the preprocessAvatarCallbacks list and re-executes it as a ndmf plugin very near the end
https://github.com/bigibas123/ndmfvrcfreorder
avatar-tools ndmf nondestructive vrcfury vrchat-avatars vrchat-sdk3
Last synced: about 1 month ago
JSON representation
Tries to remove VRCFury from the preprocessAvatarCallbacks list and re-executes it as a ndmf plugin very near the end
- Host: GitHub
- URL: https://github.com/bigibas123/ndmfvrcfreorder
- Owner: bigibas123
- License: epl-2.0
- Created: 2023-12-06T18:36:30.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-30T16:05:30.000Z (9 months ago)
- Last Synced: 2024-03-30T17:24:14.271Z (9 months ago)
- Topics: avatar-tools, ndmf, nondestructive, vrcfury, vrchat-avatars, vrchat-sdk3
- Language: C#
- Homepage:
- Size: 101 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NDMF VRCF Reorderer
# Installing this package will make your VRCFury install unsupported, if you encounter any bugs try uninstalling this, restarting unity and checking if your still run into it.
# The original functionality provided by this package has been incorporated into VRCFury version 1.648.0 onwards and NDMF version 1.3.0 onwards. It is still usable for running vrcfury at a different time in NDMF's build process.
# This package is currently unmaintained[VCC Repo](https://bigibas123.github.io/VCC/)
Tries to make running [VRCFury](https://vrcfury.com/) with [NDMF](https://github.com/bdunderscore/ndmf.git) and [AvatarOptimizer](https://github.com/anatawa12/AvatarOptimizer.git) a bit more predictable.
It does this by removing the main vrcfury from the avatar building hooks and calling VRCFury at the end of the optimization step of NDMF instead.
This is done with reflection so I don't expect it to remain stable for longer periods of time.If you have any sugestions about how to do it better I'm all ears or submit a pull request if you're able to.
## Background
I wrote this because VRCFury creates a seperate material for each skinned mesh, which makes AvatarOptimizers's mesh join tool unable to merge the materials. Reversing the VRCFury AvatarOptimizer order allows AvatarOptimizer to do it's thing and then have VRCFury clobber the avatar
A [github issue](https://github.com/VRCFury/VRCFury/issues/265) has been opened for this issue but as of yet there isn't a fix.
I might make a proper solution that isn't jank but that's on hold till at least after I've finished uni (hopefully around summer 2024).
(maybe a something that runs after vrcf but before aao, looks for materials with the same properties that are animated the same, creates a copy and puts that on the avi so aao can merge them when it joins the meshes)