A Sybaris plugin for COM3D2 1.48 and later that supports exporting your custom Maids as MikuMikuDance (MMD) or Wavefront (OBJ) models. This project was reverse engineered from the older CM3D2 ModelExportMMD plugin originally authored by 伊丽丝喵 and then heavily revised and reworked to fix a number of bugs and deficiences.
Things that have been changed or improved from the original plugin to tailor it for COM3D2:
- Updated user interface and introduction of a file browser dialog
- Packaged the window background image as an embedded resource instead of Base64 text, reducing the plugin file size by half
- Export preferences are now persisted across multiple sessions, saved to the plugin's configuration file
- Disabled the Maid's head and eye tracking when the T-pose transformation is applied
- Export the specular power to MMD PMX materials instead of leaving it fixed at a value of zero
- Utilize instance textures instead of shared textures when exporting, capturing instance-specific modifications
- Restore the prior active RenderTexture when transforming RenderTexture objects to Texture2D objects
- Workaround for blank face textures being exported due to the Multiply blending mode of certain composite layers being incompatible with Texture2D.ReadPixels
- More robust parent-child bone mapping of armature, fixing a crash when processing COM3D2 meshes
- Updated the embedded PmxLib to the latest version at 2.57 with support for PMX 2.1 file format features
- Improved logging and error recovery
Download the latest version here: COM3D2.ModelExportMMD
Once you have downloaded the above archive, extract its contents and place the COM3D2.ModelExportMMD.Plugin.dll file into your Sybaris UnityInjector folder (typically COM3D2\Sybaris\UnityInjector).
Once you're in game and have made it to the initial Maid customization screen, press the F8
key on your keyboard to activate the Model Export MMD window.
From the export window you may select your export folder on the filesystem, the model file base name and your desired export format (either MMD or OBJ). You can manually enter in the export folder file path and model base name using your keyboard or use the file browser dialog by pressing the Browse
button. Before you export, ensure that you press the Apply T-Pose
button to force your Maid into a fixed T-pose. Finally, click the Export
button to export your Maid to the filesystem, or click Close
to cancel the export process and close the window.