This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

Архиватор

Archiver is a tool for data archiving, which handles UNG files. It implements encrypting to avoid unauthorized data access.
UNG files are transparent to the engine, and their content is handled as not packed. For more details about file packing, see File System.
Archiver - это инструмент для архивирования данных, который обрабатывает файлы UNG. Он реализует шифрование, чтобы избежать несанкционированного доступа к данным.
Файлы UNG прозрачны для движка, и их содержимое обрабатывается как незапакованное. Для получения дополнительных сведений о упаковке файлов см. Файловая система .

Примечание
The maximum size for a file inside a UNG archive is limited to 2 GB. Максимальный размер файла внутри архива UNG ограничен 2 GB.

To invoke Archiver, run <UnigineSDK>/bin/ung_x64.exe (in Windows) or <UnigineSDK>/bin/ung_x64 (in Linux) from a command-line console. Чтобы вызвать Archiver, запустите <UnigineSDK>/bin/ung_x64.exe (в Windows) или <UnigineSDK>/bin/ung_x64 (в Linux) из консоли командной строки.

Command Line OptionsПараметры командной строки#

Archiver recognizes the following command-line options: Архиватор распознает следующие параметры командной строки:

  • -p PASSWORD — set a password. It should be the same password as passed on engine initialization on the C++ side.
    Примечание
    You can skip password setting if it is not required. The engine supports loading UNG packages without password protection even if the password was specified on its initialization.You can skip password setting if it is not required. The engine supports loading UNG packages without password protection even if the password was specified on its initialization.
    You can skip password setting if it is not required. The engine supports loading UNG packages without password protection even if the password was specified on its initialization.
    -p PASSWORD - установить пароль. Это должен быть тот же пароль, который был передан при инициализации движка на стороне C ++.
    Примечание
    You can skip password setting if it is not required. The engine supports loading UNG packages without password protection even if the password was specified on its initialization. Вы можете пропустить установку пароля, если она не требуется. Движок поддерживает загрузку пакетов UNG без защиты паролем, даже если пароль был указан при его инициализации.
  • -x FILE — exclude the specified files from packaging into the archive. -x FILE - исключить указанные файлы из упаковки в архив.
  • -o NAME — name the output archive. -o NAME - имя выходного архива.
  • -e NAME — extract files from the archive. -e NAME - извлечь файлы из архива.
  • -i NAME — print archive statistics. -i NAME — print archive statistics.
  • -c COMPRESSION_TYPE — set compression type. The following compression types are available:
    • none - no compression.none - no compression.
    • speed - fast performance (LZ4).speed - fast performance (LZ4).
    • size - best compression (ZLIB). This option is used by default.size - best compression (ZLIB). This option is used by default.
    none - no compression.speed - fast performance (LZ4).size - best compression (ZLIB). This option is used by default.
    -c COMPRESSION_TYPE - установить тип сжатия. Доступны следующие типы сжатия:
    • none - no compression. none - no compression.
    • speed - fast performance (LZ4). speed - fast performance (LZ4).
    • size - best compression (ZLIB). This option is used by default. size - наилучшее сжатие (ZLIB). Эта опция используется по умолчанию.
Примечание
For maximum runtime performance your archives should be packed without compression and without password protection! Для максимальной производительности во время работы ваши архивы должны быть упакованы без сжатия и без защиты паролем!

Usage ExamplesПримеры использования#

The following creates an archive named files.ung that contains files file.txt and file.tga using LZ4 compression: Следующее создает архив с именем files.ung, который содержит файлы file.txt и file.tga с использованием сжатия LZ4:

Shell-команды
ung_x64 -c speed -o files.ung file.txt file.tga

The following extracts all files from the archive created above: Следующее извлекает все файлы из архива, созданного выше:

Shell-команды
ung_x64 -e files.ung

The following prints statistics related to the archive: Ниже приводится статистика, относящаяся к архиву:

Shell-команды
ung_x64 -i files.ung

The following creates an archive named files.ung that contains files file.txt and file.tga protected with a password "12345": Следующее создает архив с именем files.ung, содержащий файлы file.txt и file.tga, защищенные паролем " 12345 ":

Shell-команды
ung_x64 -p 12345 -o files.ung file.txt file.tga
Последнее обновление: 11.11.2020
Build: ()