Divine CLI

Divine CLI

Usage

Required Arguments

Short Long Allowed Values Description
-s --source (absolute file/folder path) Set source file path or directory
-a --action
  • create-package
  • list-package
  • extract-package (default)
  • convert-model
  • convert-resource
Batch Actions:
  • extract-packages
  • convert-models
  • convert-resources
Set action to execute

Optional Arguments

Short Long Allowed Values Description
-l --loglevel
  • off
  • fatal
  • error
  • warn
  • info (default)
  • debug
  • trace
  • all
Set verbosity level of log output
-g --game
  • dos
  • dosee
  • dos2 (default)
  • dos2de
Set target game when generating output
-d --destination (absolute file/folder path) Set destination file path or directory
-i --input-format
  • dae
  • gr2
  • lsv
  • pak
  • lsj
  • lsx
  • lsb
  • lsf
Set input format for batch actions
-o --output-format
  • dae
  • gr2
  • lsv
  • pak
  • lsj
  • lsx
  • lsb
  • lsf
Set output format for batch actions
-p --package-version
  • v7
  • v9
  • v10
  • v13 (default)
Set package version
-c --compression-method
  • zlib
  • zlibfast
  • lz4
  • lz4hc (default)
  • none
Set compression method
-e --gr2-options
  • export-normals
  • export-tangents
  • export-uvs
  • export-colors
  • deduplicate-vertices
  • deduplicate-uvs
  • recalculate-normals
  • recalculate-tangents
  • recalculate-iwt
  • flip-uvs
  • ignore-uv-nan
  • y-up-skeletons
  • force-legacy-version
  • compact-tris
  • build-dummy-skeleton
  • apply-basis-transforms
  • x-flip-skeletons
  • x-flip-meshes
  • conform
  • conform-copy
Set extra options for GR2/DAE conversion
-x --expression (string) Set glob expression for extract and list actions

Optional Switch Arguments

Long Description
--conform-path Set conform to original path
--use-package-name Use package name for destination folder
--use-regex Use Regular Expressions for expression type