Cargo Features
[dependencies]
physis = { version = "0.3.0", default-features = false, features = ["game_install", "visual_data", "retail_game_testing", "patch_testing"] }
- default = visual_data
-
The
visual_data
feature is set by default wheneverphysis
is added without
somewhere in the dependency tree.default-features = false - game_install patch_testing?
-
enables game installation support using unshield (only supported on Linux and macOS)
Affects
physis::installer
… - visual_data default
-
enables support for extracting visual data, such as models, textures, materials, etc.
this enables a bunch of dependencies!
tip: can be safely turned off for launchers and other tools that simply need to extract the bare minimum of dataEnables bitflags ^1.3
needed for c-style bitflags used in some formats (such as tex files) cannot upgrade to 2.0.0, breaking changes that aren't recoverable: https://github.com/bitflags/bitflags/issues/314
and half
needed for half-float support which FFXIV uses in its model data
needed for dxt/bc decompression
Affects
physis::model
,physis::skeleton
,physis::tex
,physis::mtrl
,physis::shpk
,physis::pbd
,physis::lgb
,physis::tera
… - retail_game_testing
-
testing only features
- patch_testing = game_install