ANSI Mod

版本 v2.0.1·更新於 2026-06-25

This mod simply enables ANSI and UTF-8 for Windows Terminals e.g. the BepInEx Console, this relies on the Cecil.ANSI_Utils functionality.

模組介紹 作者原文

ANSI Mod

This mod simply enables ANSI and UTF-8 for Windows Terminals e.g. the BepInEx Console, this relies on the Cecil.ANSI_Utils functionality.

This is released as Open-Source subject to the terms found within SML-1.0.0

What does this do?

If not answered clear enough already, this enables Virtual Terminal Processing for Windows OS Terminals that don't have it enabled by default, for example, BepInEx. This mod also on runtime enables UTF8 for both Input and Output encoding.

This is ran during the Patchers phase meaning it runs prior to both MonoMod and Plugins. e.g. You don't need to depend on it in your code to use ANSI anymore you just need this package in your Dependencies and Cecil.ANSI_Utils in your NuGet.

How do I utilize ANSI?

Our friends at the Cecil Libraries Organization made a library exactly for this purpose. It took Chaosyr's original code and turned it into something much more usable at larger scale. It may still have some subtle bugs, but it works a lot better than this mod ever did as a Library in usage.

While yes its 1 more dependency you need to keep track of, this mod in technicality is Optional. You don't need it to do ANSI unless your on Windows in a Terminal that doesn't natively support it.

Cecil Libraries Organization plans to put together a Dependency resolver, working that way users don't need to install as many dependencies themselves, with direct to NuGet support. For more details you can contact them at Contact&Support@stoatgames.icu or via Cecil.Libraries@gmail.com.

If it helps Cecil.ANSI_Utils is automatically attached to this Mod because of the fact it depends on it for the test logo, so you don't even necessarily list the Cecil Libraries package just this one. It's attached via dependency to the Cecil Libraries Package.

Setup

Installing the Package

Manager

  • Open the Application, Navigate to the Game, Navigate to the Profile.
  • Press Browse or the Manager's equivalent
  • Install Stoat_Games - ANSI Mod.
  • When you launch ANSI Mod is now installed.

Manual

  • Press Download
  • Extract the Zip to a new folder.
  • Take the files and folders under BepInEx/patchers of the zip and move them up a folder.
  • Delete the BepInEx folder from the Extracted directory.
  • Now navigate to the location of your BepInEx install from your earlier setup for the API.
  • Navigate to patchers and add a folder entitled Stoat_Games-ANSI_Mod, if there's a previous version of ANSI Mod installed it should be fine, but I'd advise removing it to keep storage down.
  • Move the setup from steps 2-4 into the folder you created in step 7.
  • Now if all went well you should see a new print message adjacent to the following near the top of your log, and it should be in color (A Neon Green):

┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐

│ │

│ ┌─────┬─────┐ ┌ ┐ ┌─────────┐ ┌────────────┐ ┌ ┐ ┌───────────┐ ┌──────────┐ ┌─────┬─────┐ │

│ │ │ │ │ │ │ │ │ │ │ │ │

│ │ │ │ │ │ │ │ │ │ │ │ │

│ │ │ │ │ │ │ │ │ │ │ │ │

│ │ ├─────────┤ ├────────── │ ┌────┐ ├─────────┤ │ │ └──────────┐ │ │

│ │ │ │ │ │ │ │ │ │ │ │ │ │

│ │ │ │ │ │ │ │ │ │ │ │ │ │

│ │ │ │ │ │ │ │ │ │ │ │ │ │

│ └ └ ┘ └─────────┘ └────────────┘ └ ┘ └───────────┘ └──────────┘ └ │

│ │

│ ┌─────┬─────┐ ┌┐ ┐ ┌─────┬─────┐ ┌ ┐ ┌─────────┐ │

│ │ │ ╎ │ │ │ │ │ │

│ │ │ ╎ │ │ │ │ │ │

│ │ │ ╎ │ │ │ │ │ │

│ │ │ ╎ │ │ ├─────────┤ ├────────── │

│ │ │ ╎ │ │ │ │ │ │

│ │ │ ╎ │ │ │ │ │ │

│ │ │ ╎ │ │ │ │ │ │

│ └─────┴─────┘ └ └┘ └ └ ┘ └─────────┘ │

│ │

│ ┌───────────┐ ┌───────────┐ ┌─────────┐ ┌─────────┐ │

│ │ │ │ │ ╎ │ │

│ │ │ │ │ ╎ │ │

│ │ │ │ │ │ │ │ │ │

│ │ │ ─│─ │ │ ─│─ │ ├────────── │

│ │ │ │ │ │ │ │ │ │

│ │ │ │ │ ╎ │ │

│ │ │ │ │ ╎ │ │

│ └───────────┘ └───────────┘ └─────────┘ └─────────┘ │

│ │

└────────────────────────────────────────────────────────────────────────────────────────────────────────────

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

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

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

前置依賴

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

Cecil_Libraries_Organization-Cecil_Libraries_Package

檔案與校驗

檔案名稱
ANSI_Mod-2.0.1.zip
檔案大小
52.2 KiB