Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Windows로 내보내기
더 보기
이 페이지는 Godot 프로젝트를 Windows로 내보내는 방법을 설명합니다. 소스로부터 편집기나 내보내기 템플릿 바이너리를 컴파일하고자 한다면, 대신 Windows용 컴파일를 읽으세요.
게임을 PC로 배포하는 가장 쉬운 방법은 실행 파일을 복사하는 것입니다 (Windows에서는 godot.exe, 그 외로는 godot), 폴더를 압축하고 다른 이에게 보내는 것입니다. 하지만 때로는 생각같지 않습니다.
Godot는 내보내기 시스템을 사용할 때 PC 배포에 있어 더 우아한 접근법을 제공합니다. PC로 내보낼 때 (Linux, Windows, macOS), 내보내기는 모든 프로젝트 파일을 가지고 data.pck 파일을 만듭니다. 이 파일은 특별히 최적화된 이진으로 묶여있어, 더 작고 빠르며, 편집기와 디버거를 포함하지 않습니다.
텍스처
There are 3 different processor architectures that exported Godot projects can run on in Windows:
x86_64
x86_32
arm64
The default is x86_64, this is the most common architecture of PC processors today. All modern Intel and AMD processors as of writing this are x86_64.
x86_32 will give you a 32bit executable that can run on 32bit-only versions of Windows as well as modern versions which are 64bit. It is not recommended to use this option unless you are trying to get your project to run on an old 32bit version of Windows. And it should be noted that no 32bit versions of Windows receive Microsoft support anymore.
arm64 processors are modern but less common than x86_64, and run Windows on ARM. Snapdragon X Elite is an example of a modern Windows ARM processor. Using this export option will allow your project to run natively on arm processors without Microsoft's Prism emulator. Executables made using this option will not run on regular Windows with an x86_64 processor. If you're uploading your project to a platform that allows multiple executables, such as itch.io, and are confident a Snapdragon X Elite processor is powerful enough to run it, we would recommend providing an ARM version. Prism emulation is far from perfect, and Godot does not require you to build or design your game in any special way to run on ARM.
파일 아이콘 바꾸기
Godot는 프로젝트 설정에서 프로젝트 아이콘으로 설정된 이미지를 자동으로 사용하고 내보낸 프로젝트의 ICO 파일로 변환합니다. 아이콘이 다양한 해상도에서 어떻게 보이는지 더 효과적으로 제어하기 위해 ICO 파일을 수동으로 생성하려면 Windows에 응용 프로그램 아이콘 바꾸기 페이지를 참조하세요.
PCK embedding
PCK embedding is only supported on executables up to ~3.89 GB in size. This metric includes both the executable and embedded PCK size, so in practice, the PCK file may only weigh up to ~3.75 GB. This can also vary depending on build options when using a custom export template.
코드 서명하기
Godot는 내보내기 시 자동 코드 서명이 가능합니다. 이렇게 하려면 ``Windows SDK``(Windows의 경우) 또는 `osslsigncode <https://github.com/mtrojnar/osslsigncode>`__(다른 OS의 경우)이 설치되어 있어야 합니다. 패키지 서명 인증서도 필요합니다. 인증서 생성에 대한 정보는 `여기 <https://learn.microsoft.com/en-us/windows/msix/package/create-certificate-package-signing>`__에서 확인할 수 있습니다.
설정
두 곳에서 설정을 변경해야 합니다. 먼저, 편집기 설정에서 내보내기 > Windows 아래에 있습니다. Sign Tool 설정 옆에 있는 폴더를 클릭하고, Windows를 사용하는 경우 ``SignTool.exe``로 이동하여 선택하고, 다른 OS를 사용하는 경우 ``osslsigncode``를 선택합니다.
두 번째 위치는 **프로젝트 > 내보내기...**에서 찾을 수 있는 Windows 내보내기 사전 설정입니다. 아직 추가하지 않았다면 Windows 바탕 화면 사전 설정을 추가하세요. 옵션 아래에 코드 서명 카테고리가 있습니다.
``Enabled``는 true로 설정되어야 하며, ``Identity``는 서명 인증서로 설정되어야 합니다. 다른 설정은 필요에 따라 조정할 수 있습니다. 이것이 완료되면 Godot는 내보내기 시 프로젝트에 서명할 것입니다.
환경변수
다음 환경 변수를 사용하여 편집기 외부에서 내보내기 옵션을 설정할 수 있습니다. 내보내기 프로세스 중에 이는 내보내기 메뉴에서 설정한 값보다 우선 적용됩니다.
내보내기 옵션 |
환경 변수 |
|---|---|
암호화 / 암호화 키 |
|
옵션 / 공동 설계 / 신원 유형 |
|
옵션 / 공동설계 / 아이덴티티 |
|
옵션 / 공동설계 / 비밀번호 |
|
내보내기 옵션
EditorExportPlatformWindows 클래스 참조에서 사용 가능한 내보내기 옵션의 전체 목록을 찾을 수 있습니다.