StubbedShaderConverter

版本 v1.0.0·更新於 2021-10-20

An externally referenced tool for using Hopoo shaders in mods. Contains pre-stubbed shaders.

模組介紹 作者原文

Stubbed Shader Converter

This is a ThunderKit created external tool for converting stubbed shaders into Hopoo equivelents, and is primarily a tool for other mod developers.

Using StubbedShaderConverter within your mod will require a Soft/HardDependency, as StubbedShaderConverter must load before your mod loads.

Information on how to use this as a mod developer can be found within the Github.

Credits

  • KomradeSpectre: For providing the stubbed shaders and MaterialControllerComponent and massive help with setting this project up and debugging.
  • Kevin: For providing the CloudFix component, which is a variant on KomradeSpectre's MaterialControllerComponent.
  • PassivePicasso (Twiner): For ThunderKit related support and creation of ThunderKit.
  • Nebby: For inspiring me to create this project, and helping out with setting up.

Changelog

0.1.0

  • __StubbedShaderConverter's ShaderConverter has been reworked.__
  • The namespace has been renamed from ShaderConvert to ShaderConverter.
  • ShaderConvert is kept in this release for compatibility, but will be removed in the future. Please update to use ShaderConverter instead!
  • The cloud remap issues, which most of the methods in this tool were used to solve, has been figured out! All of StubbedShaderConverter's main converter methods have been removed.
  • The new primary method is ShaderConverter.ConvertStubbedShaders() which accepts AssetBundles, GameObjects, Renderers and Materials as input. This can be called in awake and correctly handles cloud remap shaders.
  • Please check out the Github for information on cloud remap materials.
  • __Added a new AddMaterialController component.__
  • Used for adding KomradeSpectre's Material Controller to any prefab contained within your asset bundle on start.
  • __KomradeSpectre's Material Controller has been updated.__
  • Now supports all Renderer types.
  • Now supports HGSnowTopped shaders.

0.0.2

  • ConvertAssetBundleShaders now returns an AssetBundle.

0.0.1

  • Initial Release.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

bbepis-BepInExPack

檔案與校驗

檔案名稱
StubbedShaderConverter-1.0.0.zip
檔案大小
103.6 KiB