RedDragon-TextureSwap icon

TextureSwap

运行时替换已加载的立绘贴图 / Replaces loaded character textures at runtime.

Last updated an hour ago
Total downloads 2
Total rating 0 
Categories Mods Tools
Dependency string RedDragon-TextureSwap-1.1.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_IL2CPP-6.0.788 icon
BepInEx-BepInExPack_IL2CPP

BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.

Preferred version: 6.0.788

README

InFalsusTextureSwap

更换游戏的看板立绘,运行时替换,不改游戏文件。

English: Replaces the game's character illustrations at runtime without modifying game files.

安装

  1. 让 BepInEx 生成插件目录。

  2. 用 Browse profile folder / 打开配置目录 打开当前 profile。

  3. 进入:

    BepInEx/plugins/InFalsusTextureSwap/
    
  4. 把 InFalsusTextureSwap.txt 和你的 .dxt5 / .bc7 数据文件放进这个目录,和 DLL 同级

  5. 重启游戏

手动安装同理:DLL、配置和数据文件都放 BepInEx/plugins/InFalsusTextureSwap/

写配置

InFalsusTextureSwap.txt,一行一条 贴图名 = 数据文件:

Nia_UIcharacterillust = aaa.dxt5

贴图名字:

Nia_UIcharacterillust
Mei_UIcharacterillust
Ayame_UIcharacterillust
Iris_UI_characterillust
Story_UIcharacterillust

压图

用仓库 TextureSwap/ 目录里的脚本(本包不包含):

Nia / Mei(DXT5,2048×2048)

python png_to_dxt5.py 我的图.png

Ayame / Iris / Story(BC7,4096×4096)

python png_to_bc7.py 我的图.png

运行需要 Python + Pillow。BC7 需要同目录的 texconv.exe

制作立绘

仓库原图 文件夹里有 5 张原立绘:

  1. 把要改的立绘原图拉伸成 4:5。
  2. 在绘图软件里把原图放下层做参考,上层放你的立绘并调整。
  3. 导出后再压成 1:1。

详细步骤见仓库的 TextureSwap/README.md。