
You are viewing a potentially older version of this package. View Latest Version
TextureSwap
运行时替换已加载的立绘贴图 / Replaces loaded character textures at runtime.InFalsusTextureSwap
更换游戏的看板立绘,运行时替换,不改游戏文件。
English: Replaces the game's character illustrations at runtime without modifying game files.
安装
-
让 BepInEx 生成插件目录。
-
用 Browse profile folder / 打开配置目录 打开当前 profile。
-
进入:
BepInEx/plugins/InFalsusTextureSwap/ -
把
InFalsusTextureSwap.txt和你的.dxt5/.bc7数据文件放进这个目录,和 DLL 同级 -
重启游戏
手动安装同理: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 张原立绘:
- 把要改的立绘原图拉伸成 4:5。
- 在绘图软件里把原图放下层做参考,上层放你的立绘并调整。
- 导出后再压成 1:1。
详细步骤见仓库的 TextureSwap/README.md。