Structs§
Enums§
Functions§
- get_
character_ texture_ path - Resolves the texture path for a specific material category.
- get_
ghost_ character - Returns the name of the folder of the current ghost character (the first one in
player_types.txt). - get_
grouped_ characters - Returns a list of base characters, each with its associated skins.
- get_
valid_ character_ directories - Returns a list of valid character directories. A directory is valid if it contains plrmshcnf.txt AND that config specifies at least one material for each category: face, body, jacket, pants.
- identify_
active_ skin - Helper to identify which skin is currently active in a base character’s directory. Returns the name of the matching skin, or “(Custom)” if no match found.
- set_
character_ skin - Updates the base character’s
plrmshcnf.txtwith materials from a skin. This will create atexture_basebackup for each material if it doesn’t already exist. This version use AST patching to preserve unknown fields and comments. - set_
ghost_ character - Sets the ghost character by reordering
player_types.txtso that all entries for the given character name are moved to the top of the list. This implementation uses AST manipulation to preserve comments and unknown fields.