Skip to content

bigibas123/NdmfVRCFReorder

Repository files navigation

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.

VCC Repo

Tries to make running VRCFury with NDMF and AvatarOptimizer 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.

About

Tries to remove VRCFury from the preprocessAvatarCallbacks list and re-executes it as a ndmf plugin very near the end

Topics

Resources

License

EPL-2.0, Unknown licenses found

Licenses found

EPL-2.0
LICENSE
Unknown
LICENSE.meta

Stars

Watchers

Forks

Languages