exporting_for_windows.rst 1.2 KB

1234567891011121314151617181920212223242526272829
  1. .. _doc_exporting_for_windows:
  2. Exporting for Windows
  3. =====================
  4. The simplest way to distribute a game for PC is to copy the executable
  5. (``godot.exe``), compress the folder and send it to someone else. However, this
  6. is often not desired.
  7. Godot offers a more elegant approach for PC distribution when using the export
  8. system. When exporting for Windows, the exporter takes all the project files and
  9. creates a ``data.pck`` file. This file is bundled with a specially optimized
  10. binary that is smaller, faster and does not contain the editor and debugger.
  11. Requirements
  12. ------------
  13. - To enable code signing, you must have the ``Windows 10 SDK`` (on Windows) or `osslsigncode <https://github.com/mtrojnar/osslsigncode>`__ (on any other OS) installed.
  14. - Download the Godot export templates. Use the Godot menu: ``Editor > Manage Export Templates``.
  15. .. warning::
  16. If you export for Windows with embedded PCK files, you will not be able to
  17. sign the program as it will break.
  18. On Windows, PCK embedding is also known to cause false positives in
  19. antivirus programs. Therefore, it's recommended to avoid using it unless
  20. you're distributing your project via Steam as it bypasses code signing and
  21. antivirus checks.