I'm writing this because I think people are confused about how to use texture_replacer.
The explanation is a bit rough, the usage is a bit complicated, and there are bugs.
Sorry.
About the "Select" function
If you're simply replacing texture A with texture B, "Select" isn't necessary. This applies to cases where you need to change multiple textures, such as multiple eye colors.
For example, if you want to use a
Drago928's
mod texture, simply download it and place it appropriately under "ModImages". don't needed "Select".
About MD5
downloaded file has
- otinpov3_normal_682d0122e092b9d729f0968dda052b0d.png
- otinpov3_texture1_729a68a8c866640d85c7aa08f7d559b8.png
value of
green is "
MD5"
I dumped these files. it's like below.
- otinpov3_normal_682d0122e092b9d729f0968dda052b0d.png
- otinpov3_texture1_53e2102d70ae2db5b7046f844c12dd83.png
compare, "otinpov3_normal"'s value of MD5 is same. but "otinpov3_texture1" is different.
my GPU is AMD. MD5 values may vary depending on your GPU.
why use an MD5? This is
to distinguish cases where textrure names are duplicated.
but it seems "otinpov3_texture1"'s name is not duplicated. then remove an MD5's value.
- otinpov3_normal_,png
- otinpov3_texture1_.png
now those textures are working on ANY GPU.
More about the "Select" function
if "another man" made a another mod for orinpov3, file names are same as Drago928's.
if you want to switching 2 texture's set on run-time, use a "Select" function. folder id like below.
- BepInEx
- plugins
- ModImages
- Select
- mod of another man
- otinpov3_normal_.png
- otinpov3_texture1_.png
- mod of Drago928
- otinpov3_normal_.png
- otinpov3_texture1_.png
- another mod textures files
- another mod for UI
- some mod files
- hand_icon_.png
texture_replacer will changes all texture below "ModImages" foider except "Select".
change "Select\mod of another man" first. (It is processed in sorted name order. If you want a special order, you can also put a number in front)
if you press F12, all texture of otinpov3_normal & otinpov3_texture1 are changed with "mod of Drago928" folder. press agasin ? changed all with "mod of another man" folder. you can switch.
realtime apply
you can edit a texture with image editor(windows paint & so on).
if you run a game & edit "BepInEx\plugins\ModImages\another mod for UI\hand_icon_.png". when you save the file, it will be applied to the game in real time.
Color bug on dump
many game's dumpped image are bit darker. so I recommend that use another dump apps. (AssetStudio, AssetRipper)