Документация
Docs/ru/reference/packages/cli.md
Командная строка упаковщика
Сгенерированный справочник. Не редактируйте эту страницу напрямую. Обновите
BuildTools/PackageInterface.jsonилиBuildTools/package.py, затем выполнитеpython BuildTools/docs_package.py --write.
| Индекс | Объявление | Матрица | Содержимое | CLI | Канонический JSON |
Обычно CMake вызывает этот внутренний CLI один раз для каждого предложения BINARY. Прямые вызовы должны передавать тот же хеш сборки, конфигурацию и контекст входных и выходных данных.
usage: package.py [-h] -maincfg MAINCFG -buildhash BUILDHASH -devname DEVNAME -nicename NICENAME -target {Server,Client,Mapper,Baker,AnimationViewer,ParticleViewer} -platform {Windows,Linux,Android,macOS,iOS,Web} -arch ARCH
[-expect-client-runtime EXPECT_CLIENT_RUNTIME] -pack PACK -config CONFIG -input INPUT [-binary-output-postfix BINARY_OUTPUT_POSTFIX] -output OUTPUT [-resource-pack-compress-level {0,1,2,3,4,5,6,7,8,9}]
[-resource-pack-jobs RESOURCE_PACK_JOBS] [-resource-pack-hash-library RESOURCE_PACK_HASH_LIBRARY] [-bundle-compress-level {0,1,2,3,4,5,6,7,8,9}] [-linux-portable-tools LINUX_PORTABLE_TOOLS]
[-linux-extra-library LINUX_EXTRA_LIBRARY] [-linux-ca-setting LINUX_CA_SETTING] [-linux-ca-bundle LINUX_CA_BUNDLE]
FOnline packager
options:
-h, --help show this help message and exit
-maincfg MAINCFG Main config path
-buildhash BUILDHASH build hash
-devname DEVNAME Dev game name
-nicename NICENAME Representable game name
-target {Server,Client,Mapper,Baker,AnimationViewer,ParticleViewer}
package target type
-platform {Windows,Linux,Android,macOS,iOS,Web}
platform type
-arch ARCH architectures to include (divided by +)
-expect-client-runtime EXPECT_CLIENT_RUNTIME
Client variant whose runtime payload this server package must distribute, as Platform:arch[:postfix]. Repeatable
-pack PACK package type
-config CONFIG config name
-input INPUT input dir (from FO_OUTPUT_PATH)
-binary-output-postfix BINARY_OUTPUT_POSTFIX
suffix appended to binary output dir names
-output OUTPUT output dir
-resource-pack-compress-level {0,1,2,3,4,5,6,7,8,9}
override the resource pack compression level (zlib scale: 0 stores, 9 is the strongest)
-resource-pack-jobs RESOURCE_PACK_JOBS
maximum concurrent resource archives (default: FO_RESOURCE_PACK_JOBS or 1)
-resource-pack-hash-library RESOURCE_PACK_HASH_LIBRARY
explicit host FNV-1a library; otherwise discover it under input Binaries/BuildTools-*
-bundle-compress-level {0,1,2,3,4,5,6,7,8,9}
override the bundle compression level (zlib scale: 0 stores, 9 is the strongest)
-linux-portable-tools LINUX_PORTABLE_TOOLS
SHA256-verified Portable/AppImage tool cache (default: user cache directory)
-linux-extra-library LINUX_EXTRA_LIBRARY
Explicit Linux dlopen library path or SONAME to bundle; repeatable
-linux-ca-setting LINUX_CA_SETTING
Optional application setting that receives the bundled CA path, for native TLS consumers
-linux-ca-bundle LINUX_CA_BUNDLE
CA certificate bundle to include (default: packaging environment system trust bundle)