Showcase: character model export with runtime-composed skin textures #28
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
research
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/nineforge0--forge9#28
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@nineforge0 on GitHub · 2026-11-28 02:19 UTC · original
First open-source character export with face textures from RPF9
forge9 v0.2.0 can now export character models with skin textures that the game composes at runtime, using the new
--bindflag to manually resolve texture bindings that aren't stored in the archive's drawable records.The problem
Character heads in the RAGE engine bind zero textures in their drawable data. The face skin is composed at runtime from a face library (entries tagged with
baseSkinTonevaluesskin_00..skin_04) in the ped texture catalog. No file in the readable archives maps a head to its face — the binding happens in code.The solution
forge9 model --bind diffuse=HEXKEY --bind bump=HEXKEYforce-attaches texture keys to every material that lacks that parameter. Combined with the ped texture catalog analysis, this lets us identify candidate face textures and bind them manually:Results
What we learned
baseSkinTonetag with valuesskin_00..skin_04Open research
See docs/head_composite.md and docs/psin_format.md for the full technical references.