EZClothPlugin

Plugins + Scripts EZClothPlugin

Download [<1 MB]

Version 4 🎉

✨ What's new​

  • 🔄 Changing an item's plugins now updates its .clothingplugins preset as well. Can be switched off in the settings panel.
  • 📦 With the optional add-on installed, clothing and hair inside .var packages can be edited too. Without it, nothing changes.
  • 🐛 Fixed: an item just saved from the Clothing Creator could keep reporting "no writable .vaj" when its button was clicked.

📦 EZClothPluginBridge add-on (optional)​

With this installed, plugins on clothing and hair inside .var packages can be edited. Without it, EZClothPlugin behaves exactly as before — package items simply get no button, and nothing else is affected.

🔧 Requirement​

BepInEx must already be installed. This module does nothing without it.

📥 Install​

Drop EZClothPluginBridge.dll into:

<VAM root>\BepInEx\plugins\

Restart VAM.

✅ Checking it worked​

Open a Person's Clothing or Hair page. Items from .var packages now have a button too — previously only local custom items did. They work exactly like local items: add, remove, swap plugins.

brige.png


Two items from inside a .var package — the package icon and the v1 version tag on each card are the giveaway. The top one already has a plugin (purple P, expanded to remove / swap); the bottom one does not (green +).

🚫 Turning it off​

Rename EZClothPluginBridge.dll to EZClothPluginBridge.dll.disabled and restart VAM. EZClothPlugin falls back to its "no module" behaviour on its own; no settings to change.

🔍 How it edits a package​

It rewrites only the one .vaj file inside the package — the archive is not rebuilt. On a real 539 MB package, one edit added a few dozen bytes. After every write it re-checks the package's full file listing and aborts with an error if a single entry fails to match.

⚠️ Do not redistribute a package you have edited​

This modifies the .var file on your own disk. Afterwards your Creator.Package.3 no longer matches the identically-named, identically-versioned package everyone else downloaded.

That is fine for your own use, but do not pass an edited package on to anyone or upload it — same name, different contents is the kind of problem that takes days to track down.

Back up any package before editing it.


版本 3 🎉

✨ 这次更新了什么​

  • 🔄 更换注入插件时,.clothingplugins 存档也会同步修改。 可在设置面板中开关。
  • 📦 装上附加模块后,.var 包内的服装和头发也能改插件了。 不装则和以前完全一样。
  • 🐛 修复:刚用服装创作器保存出来的物品,点按钮可能一直提示「没有可写的 .vaj」。

📦 附加模块 EZClothPluginBridge(可选)​

装了它,就能改 .var 包内的服装和头发插件。 不装,插件一切照旧——包内物品不显示按钮,别的功能不受任何影响。

🔧 前提​

需要先装 BepInEx。没装 BepInEx 就用不了这个模块。

📥 安装​

把 EZClothPluginBridge.dll 放进:

VAM根目录\BepInEx\plugins\

重启 VAM。

✅ 确认装好了​

打开人物的服装页或头发页。.var 包里的物品现在也有按钮了——以前只有本地自定义物品才有。 用法和本地物品完全一样:加插件、删插件、换插件。

brige.png


两件来自 .var 包的物品——卡片上的包裹图标和 v1 版本号就是记号。上面那件已经装了插件(紫 P,展开是删除和更换),下面那件还没有(绿 +)。

🚫 关掉​

把 EZClothPluginBridge.dll 改名成 EZClothPluginBridge.dll.disabled,重启 VAM。 插件会自动退回「没装模块」的状态,不用改任何设置。

🔍 它是怎么改包的​

只改包里那一个 .vaj 文件,不会重新打包。实测一个 539 MB 的包,改一次只多了几十字节。 每次改完都会核对包内文件清单,只要有一项对不上就中止并报错。

⚠️ 改过的包不要再分发​

它改的是你硬盘上那个 .var 文件本身。改完之后,你的 作者.包名.3 和别人下载到的 同名同版本包,内容就不一样了。

自己用没问题,但别再把改过的包发给别人或传上去——同名不同内容会造成非常难查的问题。

动手之前建议先备份要改的包。
  • Version 2
    • Swapping an item's plugins now updates its .clothingplugins preset as well.
    • Clothing and hair items are force-reloaded automatically after a change.
    • Both can be switched on and off individually in the settings panel.

  • 版本 2
    • 更换注入插件时,.clothingplugins 也会同步修改。
    • 修改完成后会自动强制重载服装和头发。
    • 以上功能均可以在设置面板中单独开关。
Back
Top Bottom