DescriptionOverride

版本 v1.0.2·更新於 2025-10-18

This is a mod utility to allow me to use the description field within the upgrade asset file.

模組介紹 作者原文

DescriptionOverride

A BepInEx mod utility for MycoPunk that allows using raw description text from upgrade asset files instead of processed TextBlocks.

Description

This client-side utility mod modifies how upgrade descriptions are displayed in MycoPunk by bypassing the game's TextBlock processing system and using the raw text from the serialized _description field in upgrade asset files. This is particularly useful for modders who want complete control over upgrade descriptions without GameObjects interfering with text formatting.

The mod patches the Upgrade.Description getter to return the raw serialized description when enabled, supporting both GearUpgrade and PlayerUpgrade types. It also includes configurable options for Hashetty font toggles and can be completely disabled if needed.

Getting Started

Dependencies

  • MycoPunk (base game)
  • BepInEx - Version 5.4.2403 or compatible

*.NET Framework 4.8

Building/Compiling

  • Clone this repository
  • Open the solution file in Visual Studio, Rider, or your preferred C# IDE
  • Build the project in Release mode

Alternatively, use dotnet CLI:

dotnet build --configuration Release

Installing

Option 1: (Recommended)

  • Download and install Mod Manager
  • Search for "DescriptionOverride" under MycoPunk community
  • Install and enable the mod

Option 2: Manual Installation

  • Ensure BepInEx is installed for MycoPunk
  • Copy DescriptionOverride.dll from the build folder
  • Place it in /BepInEx/plugins/
  • Launch the game

Executing program

Once installed, the mod works automatically. Upgrade descriptions will use raw text from asset files instead of processed TextBlocks.

Configuration

The mod can be configured through BepInEx Configuration Manager or by editing the config file:

General Settings:

  • EnableDescriptionOverride: (Default: true) If enabled, uses the serialized _description field instead of TextBlocks
  • EnableHashettyOverride: (Default: true) If enabled, applies Hashetty font toggles in descriptions

Usage

For Modders/Customizers:

  • Modify the _description field in your upgrade asset files directly
  • Raw text will be displayed as-is, preserving your formatting
  • Use Hashetty font toggle codes if EnableHashettyOverride is enabled

For Players:

  • The mod has no direct player-facing features
  • It's a utility that affects how upgrade descriptions are rendered in the game

Help

  • Descriptions look different? This mod intentionally changes how descriptions are processed - raw text from assets is used instead of TextBlocks
  • Configuration not working? Changes require a game restart to take effect
  • Conflicts with other mods? This mod patches Upgrade.Description getter. Other mods modifying text processing may interfere
  • For modders: TextBlocks not working? The mod bypasses TextBlocks entirely when enabled - use raw text in _description field
  • Performance impact? Minimal - only patches one getter method and doesn't run during gameplay
  • Hashetty fonts not working? Ensure EnableHashettyOverride is enabled and your text contains proper Hashetty toggle codes

Authors

  • Sparroh
  • funlennysub (original mod template)
  • @DomPizzie (README template)

License

  • This project is licensed under the MIT License - see the LICENSE.md file for details

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

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

BepInEx-BepInExPack_Mycopunk

檔案與校驗

檔案名稱
DescriptionOverride-1.0.2.zip
檔案大小
22.1 KiB