浏览代码

Merge pull request #4006 from Calinou/exporting-pck-vs-zip

Document the upsides and downsides of PCK and ZIP pack formats
Rémi Verschelde 4 年之前
父节点
当前提交
47cda4b528
共有 1 个文件被更改,包括 21 次插入0 次删除
  1. 21 0
      getting_started/workflow/export/exporting_projects.rst

+ 21 - 0
getting_started/workflow/export/exporting_projects.rst

@@ -147,3 +147,24 @@ flag, and to create a dedicated export preset for automated export:
 .. code-block:: shell
 
     godot --path path/to/project --export "pck" game_name.pck
+
+PCK versus ZIP pack file formats
+--------------------------------
+
+Each format has its upsides and downsides. PCK is the default and recommended
+format for most use cases, but you may want to use a ZIP archive instead
+depending on your needs.
+
+**PCK format:**
+
+- Uncompressed format. Larger file size, but faster to read/write.
+- Not readable and writable using tools normally present on the user's
+  operating system, even though there are
+  `third-party tools <https://github.com/hhyyrylainen/GodotPckTool>`__
+  to extract and create PCK files.
+
+**ZIP format:**
+
+- Compressed format. Smaller file size, but slower to read/write.
+- Readable and writable using tools normally present on the user's operating system.
+  This can be useful to make modding easier (see also :ref:`doc_exporting_pcks`).