Skip to main content

set_character_skin

Function set_character_skin 

Source
pub fn set_character_skin(
    base_dir: &Path,
    skin_dir: &Path,
) -> Result<(), Box<dyn Error>>
Expand description

Updates the base character’s plrmshcnf.txt with materials from a skin. This will create a texture_base backup for each material if it doesn’t already exist. This version use AST patching to preserve unknown fields and comments.