Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

1. Building the Godot Fork

Timothy Yuen edited this page Oct 11, 2022 · 1 revision

Prerequesites

Building

  1. Clone the following utility repositories:
    1. godot
    2. godot-module-applier
    3. godot-build-scripts
  2. Your directory structure should look like
    • ./
      • godot/
      • godot-module-applier/
      • godot-build-scripts/
  3. Inside of the godot/ directory, run cp ../godot-module-applier/applier.py . to copy the applier.py script into the godot/ directory. Do the same for modules_file.txt
  4. Inside of the godot/ directory, run python3 applier.py apply. This will pull in and apply all modules, third-party sources, and patches to Godot
  5. Inside of the godot/ directory, run cp ../godot-build-scripts/build-* . to copy all build scripts into the godot/ directory
  6. Inside of the godot/ directory, to build various versions of the editor do:
    • Editor: ./build-editor.sh
    • Release template: ./build-normal-template.sh
  7. The compiled Godot binary will be available in the godot/ directory under the bin/ directory
Clone this wiki locally