pub fn write_texture( file: &Path, texture: &str, png: Vec<u8>, ) -> Result<PathBuf, String>
Writes png as the picture of the mod’s texture texture; the .yres written.
png
texture
.yres