CustomPalettes

版本 v1.2.0·更新於 2026-07-23

Add custom palettes to the game using json files and pngs!

模組介紹 作者原文

Custom Palettes

A GTFO mod that lets you add custom color palettes using json files, no Unity or DataBlock fiddling required!

Custom Palettes go into the BepInEx/Assets/CustomPalettes/ folder (created upon starting the game once with the mod installed).

Additionally a template json file will be generated inside of that folder.

Make sure to copy and rename this template to something else, the template won't be loaded itself.

MTFO Hot-Reloading is supported for palettes and texture files, just place them in the folder and hit reload.

Either AllVanity or DeviousLick is required for the Palettes to show up in game!

custom rundown developers look here

Custom Palettes json file

Textures and colors are applied multiplicative, that means if you want your image texture to properly show make sure to set your color to white / #FFF

If you set your color to green (#00FF00) and choose a rainbow texture examples/rainbow.png, then only the parts that are green are gonna show up in game, which results in a stripped pattern alternating green and black.

Also because of this you can treat textures like patterns, where white equals full color and black no color.

Check the examples folder in this repo to see a few different patterns.

Things to be aware of

To avoid conflicts with other palettes I'd recommend making sure your custom palette json files have a unique name;

Maybe include your name, something like AuriRex_MyCoolPalette1.json should do the trick.

The same thing goes for textures, I'd recommend creating a folder with the same name as your json file and putting all your textures in there.

Don't forget to include the folder in your TextureFile field: AuriRex_MyCoolPalette1/custom_texture1.png.

Tone Reference

Fields

  • Name: The name displayed in game in the palettes selection menu.
  • Author: The palette author, your name most likely (not shown in game atm).
  • SortingName: A string used in the palette sorting process, you can change this to move your palette up and down (alphabetically sorted)
  • VanityGroupID: Allows rundown developers to automatically insert this palette into a specific group.

This property is ignored if a block with the identifier of this CustomPalette already exists.

(Note: Leave this set to 0 for palettes that aren't tied to your own rundown.)

  • Data: Contains all the important things:
  • TextureTiling: How often the texture should tile. (Bigger number = smaller pattern)
  • Tone: The five different parts of a palette
  • HexColor: A HEX string denoting this tones color.

Supported Formats:

  • #RRGGBB
  • #RRGGBBAA
  • #RGB
  • #RGBA
  • The literal strings: red, cyan, blue, darkblue, lightblue, purple, yellow, lime, fuchsia, white, silver, grey, black, orange, brown, maroon, green, olive, navy, teal, aqua, magenta.
  • TextureFile: The (relative) path to an image file (.png or.jpg)
  • MaterialOverride: Used to override the material used on this tone, leave as -1 if unsure.

(Check out the Material Reference Sheet!!)

A few example palettes:

Colors only

{

"Name": "My Cool Palette",

"Author": "AuriRex",

"SortingName": "SomethingHere",

"VanityGroupID": 0,

"Data": {

"PrimaryTone": {

"HexColor": "#FF0000",

"TextureFile": "",

"MaterialOverride": -1

},

"SecondaryTone": {

"HexColor": "#007700",

"TextureFile": "",

"MaterialOverride": 1

},

"TertiaryTone": {

"HexColor": "#1c0000",

"TextureFile": "",

"MaterialOverride": -1

},

"QuaternaryTone": {

"HexColor": "#010101",

"TextureFile": "",

"MaterialOverride": -1

},

"QuinaryTone": {

"HexColor": "#810093",

"TextureFile": "",

"MaterialOverride": 2

},

"TextureTiling": 1

}

}

With Images

In this example, the icon.png file has been placed into the folder AuriRex_MyCoolPalette, next to our palette json file.

{

"Name": "My Cool Textured Palette",

"Author": "AuriRex",

"SortingName": "SomethingHere",

"Data": {

"PrimaryTone": {

"HexColor": "#FFFFFF",

"TextureFile": "AuriRex_MyCoolPalette/icon.png",

"MaterialOverride": -1

},

"SecondaryTone": {

"HexCol

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

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

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

前置依賴

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

AuriRex-Clonesoft_JsonBepInEx-BepInExPack_GTFO

檔案與校驗

檔案名稱
CustomPalettes-1.2.0.zip
檔案大小
42.9 KiB