Skip to content

A tool that scribe model to binary file (perm.bin)

License

Notifications You must be signed in to change notification settings

SDmodding/ModelScriber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Model Scriber

  • This tool is experimental and should be used with caution.
  • If you encounter any issues, please first consider whether the problem may be related to the tool itself, rather than a potential user error.
  • If the issue you are encountering is related to the tool itself, please consider opening an issue. Include a step-by-step explanation of the problem and attach the corresponding files you are using.
  • This tool wasn't designed for editing pre-existing game models, but rather for creating new ones. Therefore, if you attempt to replace existing models, it is essential to understand the game's file structure.

Command-line Options

Option Description Example
-fbx <file> [required] FBX input file that will be used for model scriber. -fbx "model.fbx"
-outfile <file> [optional] Output file where model scriber will be written. -outfile "C:\model.perm.bin"
-vertexdecl <name> [required] Specify the vertex declaration type, check list below. -vertexdecl Skinned
-bonepalette <file> [optional] Bone palette file, the file must be just chunk of the actual bone palette! -bonepalette "BonePalette.perm.bin"
-name <model_name> [optional] Name of the model, otherwise uses filename of FBX input file. -name "ALEX_SKIN_BODY"
-texturescriber [optional] Enables writing config file that can be used with TextureScriber. -texturescriber

Vertex Declarations

Name Elements
UVN Position, TexCoord0, Normal
UVNTC Position, TexCoord0, Normal, Tangent, Color0
Skinned Position, Normal, Tangent, Blend Index, Blend Weight, TexCoord0