You are viewing a potentially older version of this package. View all versions.
RedDragon-TextureSwap-1.3.0 icon

TextureSwap

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

Date uploaded a week ago
Version 1.3.0
Download link RedDragon-TextureSwap-1.3.0.zip
Downloads 59
Dependency string RedDragon-TextureSwap-1.3.0

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

运行时替换游戏的看板立绘

Replace the game's character standees at runtime

装

把 DLL、配置文件和压好的数据文件放同一个目录:

  • MelonLoader:游戏目录的 Mods/
  • BepInEx:BepInEx/plugins/InFalsusTextureSwap/(r2modman / Gale 里用「打开配置目录」进这个文件夹)

制作立绘

使用该仓库或在社交平台找我获取原立绘,把要改的立绘拉伸成6500×8186

到绘图软件中把拉伸过的原图放在下层做参考,上层导入你的立绘并调整

导出后再把图压成1:1比例

压立绘文件

使用仓库源码里的 Python 脚本或者 TextureSwap-Tools 里同名的 .exe

bc7 需要用到同目录的 texconv.exe ,不要删掉它

Nia / Mei(DXT5,2048×2048)

python png_to_dxt5.py 我的图.png

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

python png_to_bc7.py 我的图.png

写配置

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

Nia_UIcharacterillust = aaa.dxt5

贴图名字:

Nia_UIcharacterillust
Mei_UIcharacterillust
Ayame_UIcharacterillust
Iris_UI_characterillust
Story_UIcharacterillust

对我也不知道为什么iris多一个下划线

CHANGELOG

更新记录 / Changelog

1.3.0

  • 支持热重载
  • 优化替换逻辑:场景载入 / 文件变化时替换材质 _MainTex
  • 修复问题
  • Supports hot reload
  • Optimized replacement logic: replace material _MainTex when scene loads / file changes
  • Fixed issues

1.2.0

  • 修复bc7没关掉发光层的问题
  • Fix the issue where bc7 didn't turn off the glow layer.

1.1.0

  • 增加 BepInEx 6 IL2CPP 构建。
  • Added a BepInEx 6 IL2CPP build.