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.

Linux로 내보내기

더 보기

이 페이지는 Godot 프로젝트를 Linux로 내보내는 방법을 설명합니다. 소스로부터 편집기나 내보내기 템플릿 바이너리를 컴파일하고자 한다면, 대신 iOS로 내보내기를 읽으세요.

게임을 PC로 배포하는 가장 쉬운 방법은 실행 파일을 복사하는 것입니다 (Windows에서는 godot.exe, 그 외로는 godot), 폴더를 압축하고 다른 이에게 보내는 것입니다. 하지만 때로는 생각같지 않습니다.

Godot는 내보내기 시스템을 사용할 때 PC 배포에 있어 더 우아한 접근법을 제공합니다. PC로 내보낼 때 (Linux, Windows, macOS), 내보내기는 모든 프로젝트 파일을 가지고 data.pck 파일을 만듭니다. 이 파일은 특별히 최적화된 이진으로 묶여있어, 더 작고 빠르며, 편집기와 디버거를 포함하지 않습니다.

텍스처

There are 7 different processor architectures that exported Godot projects can run on in Linux:

  • x86_64

  • x86_32

  • arm64

  • arm32

  • rv64

  • ppc64

  • loongarch64

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 distributions of Linux as well as some modern distributions that are 64bit. It is NOT recommended to use this option unless you are trying to get your project to run on an old 32bit distribution and processor. It should also be noted that several prominent distributions, such as Fedora, have been discussing removing their 32bit libraries which would prevent executables made this way from running on future versions of that distribution.

arm64 executables can run on 64bit ARM processors. If you're familiar with the Raspberry Pi, those have utilized 64bit ARM processors since the Pi 3 (older versions used 32bit ARM processors). If you're uploading to a platform that supports multiple executables, such as itch.io, and you're confident your game could run on a common ARM computer, such as the Pi 5, then we'd recommend exporting this version and providing it as an option.

arm32 executables are for older 32bit arm processors, such as what the Raspberry Pi 1 and 2 used. Given that they're not common at all these days we do not recommend exporting for this unless you have a computer with one of these processors you know you can, and want to have your game running on.

rv64 is for RISC-V processors, ppc64 is for 64bit PowerPC processors, and loongarch64 is for 64bit LoongArch processors. All of these architectures are substantially more niche when it comes to running videogames on them. And we only recommend exporting for them if you have a reason to, such as if you're an enthusiast who owns hardware. Official export templates are not provided by Godot, you will have to create them on your own. Instructions for compiling the engine for RISC-V and creating export templates can be found on the iOS로 내보내기 page.

환경변수

다음 환경 변수를 사용하여 편집기 외부에서 내보내기 옵션을 설정할 수 있습니다. 내보내기 프로세스 중에 이는 내보내기 메뉴에서 설정한 값보다 우선 적용됩니다.

Linux 내보내기 환경 변수

내보내기 옵션

환경 변수

암호화 / 암호화 키

GODOT_SCRIPT_ENCRYPTION_KEY

내보내기 옵션

EditorExportPlatformLinuxBSD 클래스 참조에서 사용 가능한 내보내기 옵션의 전체 목록을 찾을 수 있습니다.