Skip to content
This repository was archived by the owner on Jun 13, 2024. It is now read-only.
/ NdmfVRCFReorder Public archive

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

License

EPL-2.0, Unknown licenses found

Licenses found

EPL-2.0
LICENSE
Unknown
LICENSE.meta
Notifications You must be signed in to change notification settings

bigibas123/NdmfVRCFReorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1f236ac · May 29, 2024

History

79 Commits
Feb 29, 2024
Mar 30, 2024
Dec 28, 2023
Dec 6, 2023
Dec 29, 2023
Dec 16, 2023
May 29, 2024
Dec 16, 2023
May 29, 2024
Dec 6, 2023

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.

This package is currently unmaintained

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

A github issue 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)

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