TextureSwap
运行时替换已加载的立绘贴图 / Replaces loaded character textures at runtime.InFalsusTextureSwap
更换游戏的看板立绘,运行时替换,不改游戏文件。
Replaces the game's character illustrations at runtime without modifying game files.
安装(r2modman / Gale)
-
启动游戏,让 BepInEx 生成插件目录。
-
在 r2modman / Gale 里用 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
注意 Iris 多一个下划线:Iris_UI_characterillust。
- 数据文件后缀决定格式:
.dxt5、.bc7、.rgba(RGBA32)。 - 数据必须和目标贴图的格式、尺寸一致。
压图
使用仓库下 TextureSwap/ 目录里的脚本或 release 里的 TextureSwap-Tools:
Nia / Mei(DXT5,2048×2048)
png_to_dxt5.exe 我的图.png
Ayame / Iris / Story(BC7,4096×4096)
png_to_bc7.exe 我的图.png
exe 版不需要 Python;用仓库里的 .py 版才需要 Python + Pillow。BC7 需要同目录的 texconv.exe
制作立绘
使用该仓库或在社交平台找我获取原立绘:
- 把要改的立绘原图拉伸成 4:5。
- 在绘图软件里把原图放下层做参考,上层放你的立绘并调整。
- 导出后再压成 1:1。
详细步骤见仓库的 TextureSwap/README.md。
说明
- r2 / Thunderstore 包只包含 BepInEx 版。MelonLoader 版在 GitHub Release 的
melonloader/里,放进Mods/。 - 只支持
DXT5、BC7、RGBA32目标;CopyTexture要求源和目标在同一格式组。
