├── test-project
├── scripts
│ ├── Game.gd
│ ├── Arena.gd
│ ├── Base.gd
│ ├── HUD.gd
│ ├── Player.gd
│ ├── Main.gd
│ ├── ColoredEntity.gd
│ ├── EnemyGenerator.gd
│ ├── GLOBAL.gd
│ ├── Cannon.gd
│ └── Projectile.gd
├── icon.png
├── resources
│ ├── gimp
│ │ ├── 1.xcf
│ │ ├── 2.xcf
│ │ └── cat0.xcf
│ └── img
│ │ ├── 1.png
│ │ ├── 2.png
│ │ ├── cat0.png
│ │ ├── coil.png
│ │ ├── bullet-placeholder.png
│ │ ├── missile-placeholder.png
│ │ ├── 1.png.import
│ │ ├── 2.png.import
│ │ ├── cat0.png.import
│ │ ├── coil.png.import
│ │ ├── bullet-placeholder.png.import
│ │ └── missile-placeholder.png.import
├── README.md
├── scenes
│ ├── ColoredEntity.tscn
│ ├── GLOBAL.tscn
│ ├── Arena.tscn
│ ├── Background.tscn
│ ├── Game.tscn
│ ├── Player.tscn
│ ├── Base.tscn
│ ├── EnemyGenerator.tscn
│ ├── Cannon.tscn
│ ├── Main.tscn
│ ├── Projectile.tscn
│ └── HUD.tscn
├── default_env.tres
├── icon.png.import
├── project.godot
├── .gitignore
├── LICENSE
└── export_presets.cfg
├── .gitattributes
├── action.yml
├── getbutler.sh
├── LICENSE
├── .github
└── workflows
│ ├── check-release.yml
│ ├── godot-ci.yml
│ ├── release.yml
│ └── manual_build.yml
├── Dockerfile
├── mono.Dockerfile
├── .gitlab-ci.yml
└── README.md
/test-project/scripts/Game.gd:
--------------------------------------------------------------------------------
1 | extends Node2D
2 |
3 | func _ready():
4 | pass
5 |
--------------------------------------------------------------------------------
/test-project/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abarichello/godot-ci/HEAD/test-project/icon.png
--------------------------------------------------------------------------------
/test-project/resources/gimp/1.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abarichello/godot-ci/HEAD/test-project/resources/gimp/1.xcf
--------------------------------------------------------------------------------
/test-project/resources/gimp/2.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abarichello/godot-ci/HEAD/test-project/resources/gimp/2.xcf
--------------------------------------------------------------------------------
/test-project/resources/img/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abarichello/godot-ci/HEAD/test-project/resources/img/1.png
--------------------------------------------------------------------------------
/test-project/resources/img/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abarichello/godot-ci/HEAD/test-project/resources/img/2.png
--------------------------------------------------------------------------------
/test-project/resources/gimp/cat0.xcf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abarichello/godot-ci/HEAD/test-project/resources/gimp/cat0.xcf
--------------------------------------------------------------------------------
/test-project/resources/img/cat0.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abarichello/godot-ci/HEAD/test-project/resources/img/cat0.png
--------------------------------------------------------------------------------
/test-project/resources/img/coil.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abarichello/godot-ci/HEAD/test-project/resources/img/coil.png
--------------------------------------------------------------------------------
/test-project/README.md:
--------------------------------------------------------------------------------
1 | # test-project
2 |
3 | Example project used for [godot-ci](https://github.com/aBARICHELLO/godot-ci).
4 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | # Ignore GDScript since it isn't really relevant to the project and only used as example
2 | *.gd linguist-detectable=false
--------------------------------------------------------------------------------
/test-project/resources/img/bullet-placeholder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abarichello/godot-ci/HEAD/test-project/resources/img/bullet-placeholder.png
--------------------------------------------------------------------------------
/test-project/resources/img/missile-placeholder.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/abarichello/godot-ci/HEAD/test-project/resources/img/missile-placeholder.png
--------------------------------------------------------------------------------
/test-project/scripts/Arena.gd:
--------------------------------------------------------------------------------
1 | extends Node2D
2 |
3 | func _ready():
4 | self.setup_arena()
5 |
6 | func setup_arena() -> void:
7 | $Background.lowlight()
8 |
--------------------------------------------------------------------------------
/test-project/scenes/ColoredEntity.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=2 format=2]
2 |
3 | [ext_resource path="res://scripts/ColoredEntity.gd" type="Script" id=1]
4 |
5 | [node name="ColoredEntity" type="Node2D"]
6 | script = ExtResource( 1 )
7 |
8 |
--------------------------------------------------------------------------------
/test-project/scenes/GLOBAL.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=2 format=3 uid="uid://cch0y3px40vrg"]
2 |
3 | [ext_resource type="Script" path="res://scripts/GLOBAL.gd" id="1"]
4 |
5 | [node name="GLOBAL" type="Node"]
6 | script = ExtResource("1")
7 |
--------------------------------------------------------------------------------
/test-project/default_env.tres:
--------------------------------------------------------------------------------
1 | [gd_resource type="Environment" load_steps=2 format=3 uid="uid://be7rgr1r6sv6d"]
2 |
3 | [sub_resource type="Sky" id="1"]
4 | radiance_size = 4
5 |
6 | [resource]
7 | background_mode = 2
8 | sky = SubResource("1")
9 | ssao_intensity = 1.0
10 |
--------------------------------------------------------------------------------
/action.yml:
--------------------------------------------------------------------------------
1 | name: godot-ci
2 | description: Docker image to export Godot Engine games. Templates for Gitlab CI/GitHub Actions deploy to GitLab/GitHub Pages or Itch.io
3 | author: aBarichello
4 | branding:
5 | color: gray-dark
6 | icon: git-merge
7 | runs:
8 | using: 'docker'
9 | image: 'docker://barichello/godot-ci'
10 |
--------------------------------------------------------------------------------
/getbutler.sh:
--------------------------------------------------------------------------------
1 | #!/usr/bin/bash
2 |
3 | mkdir -p /opt/butler/bin
4 | cd /opt/butler/bin
5 |
6 | wget -O butler.zip https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default
7 | unzip butler.zip
8 |
9 | # GNU unzip tends to not set the executable bit even though it's set in the .zip
10 | chmod +x butler
11 |
12 | export PATH=/opt/butler/bin/:$PATH
13 | cd ~
14 |
--------------------------------------------------------------------------------
/test-project/scenes/Arena.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=3 format=2]
2 |
3 | [ext_resource path="res://scripts/Arena.gd" type="Script" id=1]
4 | [ext_resource path="res://scenes/Background.tscn" type="PackedScene" id=2]
5 |
6 | [node name="Arena" type="Node2D"]
7 | script = ExtResource( 1 )
8 |
9 | [node name="Background" parent="." instance=ExtResource( 2 )]
10 |
11 |
--------------------------------------------------------------------------------
/test-project/scripts/Base.gd:
--------------------------------------------------------------------------------
1 | extends "res://scripts/ColoredEntity.gd"
2 |
3 | const FULL_HEALTH: int = 3
4 | var health: int = self.FULL_HEALTH
5 |
6 | func _ready():
7 | self.highlight()
8 |
9 | func hit() -> void:
10 | if health > 1:
11 | self.health -= 1
12 | else:
13 | self.dead()
14 |
15 | func dead() -> void:
16 | pass
17 |
18 | # --- Signals ---
19 |
20 | func _on_Body_body_entered(body: Node):
21 | body.queue_free()
22 | self.hit()
23 |
--------------------------------------------------------------------------------
/test-project/scripts/HUD.gd:
--------------------------------------------------------------------------------
1 | extends Control
2 |
3 | func _ready():
4 | pass
5 |
6 | # --- Signals ---
7 |
8 | func _on_Theme_Button_pressed(button_index: int) -> void:
9 | GLOBAL.update_global_theme(button_index)
10 |
11 | func _on_StartButton_pressed():
12 | get_node("/root/Main").emit_signal("start_zoom_out")
13 | get_node("/root/Main/Game/EnemyGenerator").emit_signal("start")
14 | get_node("/root/Main/Game/Player").emit_signal("unblock")
15 | self.hide()
16 |
--------------------------------------------------------------------------------
/test-project/scripts/Player.gd:
--------------------------------------------------------------------------------
1 | extends "res://scripts/ColoredEntity.gd"
2 |
3 | signal unblock
4 |
5 | var blocked_controls: bool = true
6 |
7 | func _ready():
8 | self.highlight()
9 |
10 | func _input(event):
11 | if blocked_controls:
12 | return
13 |
14 | if Input.is_action_just_pressed("swap"):
15 | GLOBAL.swap_nodes_color()
16 | if Input.is_action_pressed("fire"):
17 | self.shoot_bullet()
18 |
19 | func shoot_bullet() -> void:
20 | $Cannon.shoot()
21 |
22 | # --- Signals ---
23 |
24 | func _on_Player_unblock():
25 | self.blocked_controls = false
26 |
--------------------------------------------------------------------------------
/test-project/scripts/Main.gd:
--------------------------------------------------------------------------------
1 | extends Node2D
2 |
3 | signal start_zoom_out
4 |
5 | const ZOOM_DELTA: float = 0.2
6 | const MOVE_DELTA: float = 0.353
7 |
8 | @onready var camera: Camera2D = $Path2D/PathFollow2D/MenuCamera
9 | var camera_zooming: bool = false
10 |
11 | func _process(delta: float):
12 | if camera_zooming:
13 | self.zoom_out_proccess(delta)
14 |
15 | func zoom_out_proccess(delta: float) -> void:
16 | var delta_speed = delta * ZOOM_DELTA
17 | if camera.zoom < Vector2(1, 1):
18 | camera.zoom += Vector2(delta_speed, delta_speed)
19 | else:
20 | self.camera_zooming = false
21 |
22 | $Path2D/PathFollow2D.progress_ratio += delta * MOVE_DELTA
23 |
24 | func _on_Main_start_zoom_out():
25 | self.camera_zooming = true
26 |
--------------------------------------------------------------------------------
/test-project/scenes/Background.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=3 format=2]
2 |
3 | [ext_resource path="res://scripts/ColoredEntity.gd" type="Script" id=1]
4 | [ext_resource path="res://resources/img/2.png" type="Texture2D" id=2]
5 |
6 | [node name="Background" type="Node2D" groups=[
7 | "ColoredEntity",
8 | ]]
9 | script = ExtResource( 1 )
10 |
11 | [node name="NinePatchRect" type="TextureRect" parent="."]
12 | anchor_left = 0.0
13 | anchor_top = 0.0
14 | anchor_right = 0.0
15 | anchor_bottom = 0.0
16 | offset_left = -199.0
17 | offset_top = -157.0
18 | offset_right = 2097.0
19 | offset_bottom = 1217.0
20 | pivot_offset = Vector2( 0, 0 )
21 | clip_contents = false
22 | mouse_filter = 1
23 | mouse_default_cursor_shape = 0
24 | size_flags_horizontal = 1
25 | size_flags_vertical = 1
26 | texture = ExtResource( 2 )
27 | stretch_mode = 2
28 |
29 |
--------------------------------------------------------------------------------
/test-project/scenes/Game.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=6 format=2]
2 |
3 | [ext_resource path="res://scripts/Game.gd" type="Script" id=1]
4 | [ext_resource path="res://scenes/Arena.tscn" type="PackedScene" id=2]
5 | [ext_resource path="res://scenes/Player.tscn" type="PackedScene" id=3]
6 | [ext_resource path="res://scenes/Base.tscn" type="PackedScene" id=4]
7 | [ext_resource path="res://scenes/EnemyGenerator.tscn" type="PackedScene" id=5]
8 |
9 | [node name="Game" type="Node2D"]
10 | script = ExtResource( 1 )
11 |
12 | [node name="Arena" parent="." instance=ExtResource( 2 )]
13 |
14 | [node name="Player" parent="." instance=ExtResource( 3 )]
15 | position = Vector2( 456.975, 971.301 )
16 |
17 | [node name="Base" parent="." instance=ExtResource( 4 )]
18 | position = Vector2( 94.6306, 955.095 )
19 |
20 | [node name="EnemyGenerator" parent="." instance=ExtResource( 5 )]
21 |
22 |
--------------------------------------------------------------------------------
/test-project/icon.png.import:
--------------------------------------------------------------------------------
1 | [remap]
2 |
3 | importer="texture"
4 | type="CompressedTexture2D"
5 | uid="uid://pkdvktqcxe0v"
6 | path="res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"
7 | metadata={
8 | "vram_texture": false
9 | }
10 |
11 | [deps]
12 |
13 | source_file="res://icon.png"
14 | dest_files=["res://.godot/imported/icon.png-487276ed1e3a0c39cad0279d744ee560.ctex"]
15 |
16 | [params]
17 |
18 | compress/mode=0
19 | compress/high_quality=false
20 | compress/lossy_quality=0.7
21 | compress/hdr_compression=1
22 | compress/normal_map=0
23 | compress/channel_pack=0
24 | mipmaps/generate=false
25 | mipmaps/limit=-1
26 | roughness/mode=0
27 | roughness/src_normal=""
28 | process/fix_alpha_border=true
29 | process/premult_alpha=false
30 | process/normal_map_invert_y=false
31 | process/hdr_as_srgb=false
32 | process/hdr_clamp_exposure=false
33 | process/size_limit=0
34 | detect_3d/compress_to=1
35 |
--------------------------------------------------------------------------------
/test-project/resources/img/1.png.import:
--------------------------------------------------------------------------------
1 | [remap]
2 |
3 | importer="texture"
4 | type="CompressedTexture2D"
5 | uid="uid://c13lokwvlumq"
6 | path="res://.godot/imported/1.png-874a0dfc3e148ca5b5c7b731b459b9a9.ctex"
7 | metadata={
8 | "vram_texture": false
9 | }
10 |
11 | [deps]
12 |
13 | source_file="res://resources/img/1.png"
14 | dest_files=["res://.godot/imported/1.png-874a0dfc3e148ca5b5c7b731b459b9a9.ctex"]
15 |
16 | [params]
17 |
18 | compress/mode=0
19 | compress/high_quality=false
20 | compress/lossy_quality=0.7
21 | compress/hdr_compression=1
22 | compress/normal_map=0
23 | compress/channel_pack=0
24 | mipmaps/generate=false
25 | mipmaps/limit=-1
26 | roughness/mode=0
27 | roughness/src_normal=""
28 | process/fix_alpha_border=true
29 | process/premult_alpha=false
30 | process/normal_map_invert_y=false
31 | process/hdr_as_srgb=false
32 | process/hdr_clamp_exposure=false
33 | process/size_limit=0
34 | detect_3d/compress_to=1
35 |
--------------------------------------------------------------------------------
/test-project/resources/img/2.png.import:
--------------------------------------------------------------------------------
1 | [remap]
2 |
3 | importer="texture"
4 | type="CompressedTexture2D"
5 | uid="uid://sss8hj0itmbm"
6 | path="res://.godot/imported/2.png-a7dea376fea94ea1eb370fce6b063bfe.ctex"
7 | metadata={
8 | "vram_texture": false
9 | }
10 |
11 | [deps]
12 |
13 | source_file="res://resources/img/2.png"
14 | dest_files=["res://.godot/imported/2.png-a7dea376fea94ea1eb370fce6b063bfe.ctex"]
15 |
16 | [params]
17 |
18 | compress/mode=0
19 | compress/high_quality=false
20 | compress/lossy_quality=0.7
21 | compress/hdr_compression=1
22 | compress/normal_map=0
23 | compress/channel_pack=0
24 | mipmaps/generate=false
25 | mipmaps/limit=-1
26 | roughness/mode=0
27 | roughness/src_normal=""
28 | process/fix_alpha_border=true
29 | process/premult_alpha=false
30 | process/normal_map_invert_y=false
31 | process/hdr_as_srgb=false
32 | process/hdr_clamp_exposure=false
33 | process/size_limit=0
34 | detect_3d/compress_to=1
35 |
--------------------------------------------------------------------------------
/test-project/resources/img/cat0.png.import:
--------------------------------------------------------------------------------
1 | [remap]
2 |
3 | importer="texture"
4 | type="CompressedTexture2D"
5 | uid="uid://b6au28glxf586"
6 | path="res://.godot/imported/cat0.png-c2a0d2145a7b7ae5da0c2cedfce916ba.ctex"
7 | metadata={
8 | "vram_texture": false
9 | }
10 |
11 | [deps]
12 |
13 | source_file="res://resources/img/cat0.png"
14 | dest_files=["res://.godot/imported/cat0.png-c2a0d2145a7b7ae5da0c2cedfce916ba.ctex"]
15 |
16 | [params]
17 |
18 | compress/mode=0
19 | compress/high_quality=false
20 | compress/lossy_quality=0.7
21 | compress/hdr_compression=1
22 | compress/normal_map=0
23 | compress/channel_pack=0
24 | mipmaps/generate=false
25 | mipmaps/limit=-1
26 | roughness/mode=0
27 | roughness/src_normal=""
28 | process/fix_alpha_border=true
29 | process/premult_alpha=false
30 | process/normal_map_invert_y=false
31 | process/hdr_as_srgb=false
32 | process/hdr_clamp_exposure=false
33 | process/size_limit=0
34 | detect_3d/compress_to=1
35 |
--------------------------------------------------------------------------------
/test-project/resources/img/coil.png.import:
--------------------------------------------------------------------------------
1 | [remap]
2 |
3 | importer="texture"
4 | type="CompressedTexture2D"
5 | uid="uid://bkdumwaxj31xo"
6 | path="res://.godot/imported/coil.png-9a3ed0a2a28db47534112a3d0aada371.ctex"
7 | metadata={
8 | "vram_texture": false
9 | }
10 |
11 | [deps]
12 |
13 | source_file="res://resources/img/coil.png"
14 | dest_files=["res://.godot/imported/coil.png-9a3ed0a2a28db47534112a3d0aada371.ctex"]
15 |
16 | [params]
17 |
18 | compress/mode=0
19 | compress/high_quality=false
20 | compress/lossy_quality=0.7
21 | compress/hdr_compression=1
22 | compress/normal_map=0
23 | compress/channel_pack=0
24 | mipmaps/generate=false
25 | mipmaps/limit=-1
26 | roughness/mode=0
27 | roughness/src_normal=""
28 | process/fix_alpha_border=true
29 | process/premult_alpha=false
30 | process/normal_map_invert_y=false
31 | process/hdr_as_srgb=false
32 | process/hdr_clamp_exposure=false
33 | process/size_limit=0
34 | detect_3d/compress_to=1
35 |
--------------------------------------------------------------------------------
/test-project/resources/img/bullet-placeholder.png.import:
--------------------------------------------------------------------------------
1 | [remap]
2 |
3 | importer="texture"
4 | type="CompressedTexture2D"
5 | uid="uid://us5yc614v74l"
6 | path="res://.godot/imported/bullet-placeholder.png-eeaa4de234c0486ca1a9eb8dc6789c56.ctex"
7 | metadata={
8 | "vram_texture": false
9 | }
10 |
11 | [deps]
12 |
13 | source_file="res://resources/img/bullet-placeholder.png"
14 | dest_files=["res://.godot/imported/bullet-placeholder.png-eeaa4de234c0486ca1a9eb8dc6789c56.ctex"]
15 |
16 | [params]
17 |
18 | compress/mode=0
19 | compress/high_quality=false
20 | compress/lossy_quality=0.7
21 | compress/hdr_compression=1
22 | compress/normal_map=0
23 | compress/channel_pack=0
24 | mipmaps/generate=false
25 | mipmaps/limit=-1
26 | roughness/mode=0
27 | roughness/src_normal=""
28 | process/fix_alpha_border=true
29 | process/premult_alpha=false
30 | process/normal_map_invert_y=false
31 | process/hdr_as_srgb=false
32 | process/hdr_clamp_exposure=false
33 | process/size_limit=0
34 | detect_3d/compress_to=1
35 |
--------------------------------------------------------------------------------
/test-project/resources/img/missile-placeholder.png.import:
--------------------------------------------------------------------------------
1 | [remap]
2 |
3 | importer="texture"
4 | type="CompressedTexture2D"
5 | uid="uid://my3jd38hyc7k"
6 | path="res://.godot/imported/missile-placeholder.png-1d86beeaaa1c40b1fbc4c2a8d00be077.ctex"
7 | metadata={
8 | "vram_texture": false
9 | }
10 |
11 | [deps]
12 |
13 | source_file="res://resources/img/missile-placeholder.png"
14 | dest_files=["res://.godot/imported/missile-placeholder.png-1d86beeaaa1c40b1fbc4c2a8d00be077.ctex"]
15 |
16 | [params]
17 |
18 | compress/mode=0
19 | compress/high_quality=false
20 | compress/lossy_quality=0.7
21 | compress/hdr_compression=1
22 | compress/normal_map=0
23 | compress/channel_pack=0
24 | mipmaps/generate=false
25 | mipmaps/limit=-1
26 | roughness/mode=0
27 | roughness/src_normal=""
28 | process/fix_alpha_border=true
29 | process/premult_alpha=false
30 | process/normal_map_invert_y=false
31 | process/hdr_as_srgb=false
32 | process/hdr_clamp_exposure=false
33 | process/size_limit=0
34 | detect_3d/compress_to=1
35 |
--------------------------------------------------------------------------------
/test-project/scripts/ColoredEntity.gd:
--------------------------------------------------------------------------------
1 | # Class with common color switch operations.
2 | # Add to the group ColoredEntity if its color is not fixed and gets swapped with player input.
3 | extends Node2D
4 |
5 | var current_color: Color = GLOBAL.LOWLIGHT
6 | var highlighted: bool = false
7 |
8 | func _ready():
9 | self.update_color()
10 |
11 | func update_color() -> void:
12 | if highlighted:
13 | self.current_color = GLOBAL.HIGHLIGHT
14 | else:
15 | self.current_color = GLOBAL.LOWLIGHT
16 | self.modulate = self.current_color
17 |
18 | func swap_color() -> void:
19 | if current_color == GLOBAL.LOWLIGHT:
20 | self.highlight()
21 | else:
22 | self.lowlight()
23 |
24 | func highlight():
25 | current_color = GLOBAL.HIGHLIGHT
26 | highlighted = true
27 | self.update_color()
28 |
29 | func lowlight():
30 | current_color = GLOBAL.LOWLIGHT
31 | highlighted = false
32 | self.update_color()
33 |
34 | func set_random_color() -> void:
35 | randomize()
36 | if randi() % 2 == 0:
37 | self.swap_color()
38 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2018 BARICHELLO
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/test-project/scenes/Player.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=5 format=2]
2 |
3 | [ext_resource path="res://scripts/Player.gd" type="Script" id=1]
4 | [ext_resource path="res://scenes/Cannon.tscn" type="PackedScene" id=2]
5 | [ext_resource path="res://resources/img/cat0.png" type="Texture2D" id=3]
6 |
7 | [sub_resource type="CapsuleShape2D" id=1]
8 |
9 | custom_solver_bias = 0.0
10 | radius = 79.0755
11 | height = 89.5214
12 |
13 | [node name="Player" type="Node2D" groups=[
14 | "ColoredEntity",
15 | ]]
16 | script = ExtResource( 1 )
17 |
18 | [node name="Cannon" parent="." instance=ExtResource( 2 )]
19 | position = Vector2( -50.0759, 40.2842 )
20 |
21 | [node name="Sprite2D" type="Sprite2D" parent="."]
22 | scale = Vector2( 0.5, 0.5 )
23 | texture = ExtResource( 3 )
24 |
25 | [node name="Body" type="CharacterBody2D" parent="."]
26 | input_pickable = false
27 | collision_layer = 1
28 | collision_mask = 1
29 | collision/safe_margin = 0.08
30 | motion/sync_to_physics = false
31 |
32 | [node name="Collision" type="CollisionShape2D" parent="Body"]
33 | position = Vector2( -6.08298, -9.86302 )
34 | shape = SubResource( 1 )
35 |
36 | [connection signal="unblock" from="." to="." method="_on_Player_unblock"]
37 |
--------------------------------------------------------------------------------
/test-project/scripts/EnemyGenerator.gd:
--------------------------------------------------------------------------------
1 | extends Node2D
2 |
3 | @onready var EnemyScene: PackedScene = preload("res://scenes/Projectile.tscn")
4 | signal start
5 | signal stop
6 |
7 | var Enemy
8 |
9 | func _ready():
10 | self.setup_enemy()
11 | self.emit_signal("stop")
12 |
13 | func setup_enemy() -> void:
14 | self.Enemy = EnemyScene.instantiate()
15 | Enemy.setup(GLOBAL.SpriteType.MISSILE, GLOBAL.MISSILE_SPEED["max"])
16 |
17 | func spawn_and_shoot_enemy() -> void:
18 | var Duplicate = Enemy.duplicate(Node.DUPLICATE_USE_INSTANTIATION)
19 | Duplicate.set_random_color()
20 | Duplicate.update_collision_layer()
21 | $Enemies.add_child(Duplicate)
22 |
23 | $SpawnArea/SpawnLocation.set_h_offset(randi())
24 | Duplicate.global_position = $SpawnArea/SpawnLocation.position
25 |
26 | var direction: Vector2 = (Vector2(0, 1080) - Duplicate.global_position).normalized()
27 | var angle: float = Vector2(1, 0).angle_to(direction)
28 | Duplicate.rotation = angle
29 | Duplicate.shoot_missile(direction)
30 |
31 | # --- Signals ---
32 |
33 | func _on_SpawnTimer_timeout():
34 | self.spawn_and_shoot_enemy()
35 |
36 | func _on_EnemyGenerator_start():
37 | $SpawnTimer.start()
38 |
39 | func _on_EnemyGenerator_stop():
40 | $SpawnTimer.stop()
41 |
--------------------------------------------------------------------------------
/test-project/scenes/Base.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=3 format=2]
2 |
3 | [ext_resource path="res://scripts/Base.gd" type="Script" id=1]
4 |
5 | [sub_resource type="CircleShape2D" id=1]
6 |
7 | custom_solver_bias = 0.0
8 | radius = 68.9104
9 |
10 | [node name="Base" type="Node2D" groups=[
11 | "ColoredEntity",
12 | ]]
13 | script = ExtResource( 1 )
14 |
15 | [node name="ColorRect" type="ColorRect" parent="."]
16 | anchor_left = 0.5
17 | anchor_top = 0.5
18 | anchor_right = 0.5
19 | anchor_bottom = 0.5
20 | offset_left = -60.5
21 | offset_top = -33.0
22 | offset_right = 60.5
23 | offset_bottom = 33.0
24 | pivot_offset = Vector2( 0, 0 )
25 | clip_contents = false
26 | mouse_filter = 0
27 | mouse_default_cursor_shape = 0
28 | size_flags_horizontal = 1
29 | size_flags_vertical = 1
30 | color = Color( 1, 1, 1, 1 )
31 |
32 | [node name="Body" type="Area2D" parent="."]
33 | input_pickable = true
34 | gravity_direction = Vector2( 0, 1 )
35 | gravity = 98.0
36 | linear_damp = 0.1
37 | angular_damp = 1.0
38 | collision_layer = 12
39 | collision_mask = 12
40 | audio_bus_override = false
41 | audio_bus_name = "Master"
42 |
43 | [node name="CollisionMask" type="CollisionShape2D" parent="Body"]
44 | shape = SubResource( 1 )
45 |
46 | [connection signal="body_entered" from="Body" to="." method="_on_Body_body_entered"]
47 |
--------------------------------------------------------------------------------
/test-project/scenes/EnemyGenerator.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=3 format=3 uid="uid://b2fpxxnc2fq3o"]
2 |
3 | [ext_resource type="Script" path="res://scripts/EnemyGenerator.gd" id="1"]
4 |
5 | [sub_resource type="Curve2D" id="1"]
6 | _data = {
7 | "points": PackedVector2Array(0, 0, 0, 0, 802.371, -163.584, 0, 0, 0, 0, 959.909, -42.497, 0, 0, 0, 0, 1955.58, -35.2126, 0, 0, 0, 0, 1977.69, -34.257, 0, 0, 0, 0, 2072.89, -95.3282, 0, 0, 0, 0, 2171.96, -161.2, 0, 0, 0, 0, 1329.54, -162.398, 0, 0, 0, 0, 958.623, -161.461, 0, 0, 0, 0, 801.772, -163.584, 0, 0, 0, 0, 802.371, -163.584)
8 | }
9 | point_count = 10
10 |
11 | [node name="EnemyGenerator" type="Node2D"]
12 | script = ExtResource("1")
13 |
14 | [node name="Enemies" type="Node" parent="."]
15 |
16 | [node name="SpawnArea" type="Path2D" parent="."]
17 | self_modulate = Color(0.5, 0.6, 1, 0.7)
18 | curve = SubResource("1")
19 |
20 | [node name="SpawnLocation" type="PathFollow2D" parent="SpawnArea"]
21 | position = Vector2(802.371, -163.584)
22 | rotation = 0.655312
23 |
24 | [node name="SpawnTimer" type="Timer" parent="."]
25 | process_mode = 1
26 | wait_time = 1.5
27 | autostart = true
28 |
29 | [connection signal="start" from="." to="." method="_on_EnemyGenerator_start"]
30 | [connection signal="stop" from="." to="." method="_on_EnemyGenerator_stop"]
31 | [connection signal="timeout" from="SpawnTimer" to="." method="_on_SpawnTimer_timeout"]
32 |
--------------------------------------------------------------------------------
/test-project/scripts/GLOBAL.gd:
--------------------------------------------------------------------------------
1 | extends Node
2 |
3 | enum SpriteType { BULLET = 0, MISSILE = 1 }
4 |
5 | var theme_index: int = 0
6 | var current_theme: Dictionary
7 | var HIGHLIGHT: Color
8 | var LOWLIGHT: Color
9 |
10 | const COLORSET_PY: Dictionary = { "high": Color(1, 1, 0.25), "low": Color(0.50, 0, 1) }
11 | const COLORSET_OB: Dictionary = { "high": Color(1, 0.56, 0), "low": Color(0, 0.40, 1) }
12 | const COLORSET_PB: Dictionary = { "high": Color(1, 0.50, 1), "low": Color(0, 0.75, 1) }
13 | const COLORS: Array = [
14 | COLORSET_PY,
15 | COLORSET_OB,
16 | COLORSET_PB
17 | ]
18 |
19 | const DEF_SPEED: float = 5.0
20 | const MISSILE_SPEED: Dictionary = { "min": 30, "max": 60 }
21 | const BULLET_SPEED: float = 10.0
22 |
23 | const LOW_COLLISION: int = 2
24 | const HIGH_COLLISION: int = 3
25 |
26 | func _ready():
27 | self.update_global_theme(self.theme_index)
28 |
29 | func update_global_theme(index: int):
30 | self.theme_index = index
31 | self.current_theme = COLORS[theme_index]
32 | self.HIGHLIGHT = self.current_theme["high"]
33 | self.LOWLIGHT = self.current_theme["low"]
34 | self.update_colored_entities()
35 |
36 | func update_colored_entities() -> void:
37 | var nodes: Array = self.get_tree().get_nodes_in_group("ColoredEntity")
38 | for node in nodes:
39 | node.update_color()
40 |
41 | func swap_nodes_color() -> void:
42 | var nodes: Array = self.get_tree().get_nodes_in_group("ColoredEntity")
43 | for node in nodes:
44 | node.swap_color()
45 |
--------------------------------------------------------------------------------
/test-project/scripts/Cannon.gd:
--------------------------------------------------------------------------------
1 | extends "res://scripts/ColoredEntity.gd"
2 |
3 | @onready var Bullet: PackedScene = preload("res://scenes/Projectile.tscn")
4 | const RATE_OF_CHANGE: float = 0.9
5 | const UPPER_LIMIT: int = -89
6 | const LOWER_LIMIT: int = -5
7 |
8 | var angle: float = -45.0
9 |
10 | func _ready():
11 | self.highlight()
12 |
13 | func _process(delta):
14 | $Sprite2D.set_rotation(deg_to_rad(self.angle))
15 | $Sprite2D.size.y = 24
16 |
17 | func _input(event):
18 | if Input.is_action_pressed("ui_up"):
19 | if self.angle > UPPER_LIMIT:
20 | self.move_up()
21 | if Input.is_action_pressed("ui_down"):
22 | if self.angle < LOWER_LIMIT:
23 | self.move_down()
24 |
25 | func move_up() -> void:
26 | self.angle -= RATE_OF_CHANGE
27 |
28 | func move_down() -> void:
29 | self.angle += RATE_OF_CHANGE
30 |
31 | func shoot() -> void:
32 | if $FireCooldown.time_left == 0:
33 | var NewBullet = Bullet.instantiate()
34 | NewBullet.global_position = $Sprite2D/CannonTip.global_position
35 | NewBullet.rotation_degrees = self.angle
36 | var at: Vector2 = $Sprite2D/CannonTip.global_position - $Sprite2D/CannonBase.global_position
37 | NewBullet.shoot(at)
38 |
39 | var BulletSprite = NewBullet.get_node("Mask")
40 | if self.highlighted:
41 | BulletSprite.highlight()
42 | else:
43 | BulletSprite.lowlight()
44 |
45 | NewBullet.setup(GLOBAL.SpriteType.BULLET, GLOBAL.BULLET_SPEED)
46 | NewBullet.update_collision_layer()
47 | $Projectiles.add_child(NewBullet)
48 | $FireCooldown.start()
49 |
--------------------------------------------------------------------------------
/test-project/scenes/Cannon.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=3 format=2]
2 |
3 | [ext_resource path="res://scripts/Cannon.gd" type="Script" id=1]
4 | [ext_resource path="res://resources/img/1.png" type="Texture2D" id=2]
5 |
6 | [node name="Cannon" type="Node2D" groups=[
7 | "ColoredEntity",
8 | ]]
9 | script = ExtResource( 1 )
10 |
11 | [node name="Sprite2D" type="TextureRect" parent="."]
12 | anchor_left = 0.0
13 | anchor_top = 0.5
14 | anchor_right = 0.0
15 | anchor_bottom = 0.5
16 | offset_top = -10.0
17 | offset_right = 150.0
18 | offset_bottom = 38.0
19 | custom_minimum_size = Vector2( 150, 24 )
20 | pivot_offset = Vector2( 10, 10 )
21 | clip_contents = false
22 | mouse_filter = 1
23 | mouse_default_cursor_shape = 0
24 | size_flags_horizontal = 0
25 | size_flags_vertical = 0
26 | texture = ExtResource( 2 )
27 | stretch_mode = 2
28 |
29 | [node name="GuideLine" type="Line2D" parent="Sprite2D"]
30 | modulate = Color( 1, 1, 1, 0.1 )
31 | show_behind_parent = true
32 | position = Vector2( 0, 10 )
33 | points = PackedVector2Array( 135, 2, 2000, 2 )
34 | width = 5.0
35 | default_color = Color( 1, 1, 1, 1 )
36 | texture_mode = 1
37 | joint_mode = 2
38 | sharp_limit = 2.0
39 | round_precision = 10
40 |
41 | [node name="CannonTip" type="Marker2D" parent="Sprite2D"]
42 | position = Vector2( 120, 12 )
43 |
44 | [node name="CannonBase" type="Marker2D" parent="Sprite2D"]
45 | position = Vector2( 0, 12 )
46 |
47 | [node name="Projectiles" type="Node" parent="."]
48 |
49 | [node name="FireCooldown" type="Timer" parent="."]
50 | process_mode = 1
51 | wait_time = 1.0
52 | one_shot = true
53 | autostart = true
54 |
55 |
--------------------------------------------------------------------------------
/test-project/scenes/Main.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=5 format=3 uid="uid://bo3no7bm4rb0n"]
2 |
3 | [ext_resource type="Script" path="res://scripts/Main.gd" id="1"]
4 | [ext_resource type="PackedScene" path="res://scenes/Game.tscn" id="2"]
5 | [ext_resource type="PackedScene" path="res://scenes/HUD.tscn" id="3"]
6 |
7 | [sub_resource type="Curve2D" id="1"]
8 | _data = {
9 | "points": PackedVector2Array(0, 0, 0, 0, 18.8947, 55.4928, 0, 0, 0, 0, -269.905, -419.567)
10 | }
11 | point_count = 2
12 |
13 | [node name="Main" type="Node2D"]
14 | script = ExtResource("1")
15 |
16 | [node name="Game" parent="." instance=ExtResource("2")]
17 |
18 | [node name="Path2D" type="Path2D" parent="."]
19 | self_modulate = Color(0.5, 0.6, 1, 0.7)
20 | position = Vector2(460.871, 779.989)
21 | rotation = -3.14159
22 | scale = Vector2(2.52308, -0.891921)
23 | curve = SubResource("1")
24 |
25 | [node name="PathFollow2D" type="PathFollow2D" parent="Path2D"]
26 | position = Vector2(18.8947, 55.4928)
27 | rotation = -2.11702
28 | loop = false
29 |
30 | [node name="MenuCamera" type="Camera2D" parent="Path2D/PathFollow2D"]
31 | position = Vector2(21.2, 58.5266)
32 | zoom = Vector2(0.5, 0.5)
33 | drag_horizontal_enabled = true
34 | drag_vertical_enabled = true
35 | editor_draw_limits = true
36 | editor_draw_drag_margin = true
37 |
38 | [node name="HUD" parent="." instance=ExtResource("3")]
39 | layout_mode = 3
40 | anchors_preset = 15
41 | offset_left = 625.0
42 | offset_top = 820.0
43 | offset_right = 625.0
44 | offset_bottom = 820.0
45 |
46 | [connection signal="start_zoom_out" from="." to="." method="_on_Main_start_zoom_out"]
47 |
--------------------------------------------------------------------------------
/.github/workflows/check-release.yml:
--------------------------------------------------------------------------------
1 | name: "Check Releases"
2 | on:
3 | schedule:
4 | - cron: '27 23 * * *'
5 | push:
6 | branches:
7 | - master
8 | jobs:
9 | fetch:
10 | name: Fetch Latest Godot Engine Release
11 | runs-on: ubuntu-24.04
12 | outputs:
13 | release_tag: ${{ steps.parse.outputs.tag }}
14 | steps:
15 | - id: parse
16 | env:
17 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18 | run: |
19 | TAG=$(gh release view --repo godotengine/godot --json tagName --jq .tagName)
20 | echo "tag=$TAG" >> $GITHUB_OUTPUT
21 | current:
22 | name: Fetch Current Godot CI release
23 | runs-on: ubuntu-24.04
24 | outputs:
25 | release_tag: ${{ steps.parse.outputs.tag }}
26 | steps:
27 | - uses: actions/checkout@v3
28 | with:
29 | fetch-depth: 0
30 | - id: parse
31 | run: echo "tag=$(git tag --list --sort=-creatordate | head --lines 1)" >> $GITHUB_OUTPUT
32 | create:
33 | needs: [fetch, current]
34 | name: Create New Godot CI Release
35 | runs-on: ubuntu-24.04
36 | if: needs.fetch.outputs.release_tag != needs.current.outputs.release_tag
37 | steps:
38 | - uses: actions/checkout@v3
39 | - run: gh release view --repo godotengine/godot --json body --jq .body | sed 's/\\r\\n/\n/g' > body.txt
40 | env:
41 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
42 | - run: |
43 | git config user.name github-actions
44 | git config user.email github-actions@github.com
45 | git tag ${{ needs.fetch.outputs.release_tag }}
46 | git push
47 | - uses: softprops/action-gh-release@v0.1.14
48 | with:
49 | body_path: body.txt
50 | tag_name: ${{ needs.fetch.outputs.release_tag }}
51 | token: ${{ secrets.PAT }}
52 |
--------------------------------------------------------------------------------
/test-project/scenes/Projectile.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=7 format=3 uid="uid://dwr8aulhrbt85"]
2 |
3 | [ext_resource type="Script" path="res://scripts/Projectile.gd" id="1"]
4 | [ext_resource type="Script" path="res://scripts/ColoredEntity.gd" id="2"]
5 | [ext_resource type="Texture2D" uid="uid://my3jd38hyc7k" path="res://resources/img/missile-placeholder.png" id="3"]
6 |
7 | [sub_resource type="PhysicsMaterial" id="PhysicsMaterial_13bxk"]
8 |
9 | [sub_resource type="RectangleShape2D" id="1"]
10 | size = Vector2(48, 48)
11 |
12 | [sub_resource type="CircleShape2D" id="2"]
13 | radius = 143.093
14 |
15 | [node name="Projectile" type="RigidBody2D"]
16 | collision_layer = 0
17 | collision_mask = 0
18 | mass = 3.0
19 | physics_material_override = SubResource("PhysicsMaterial_13bxk")
20 | linear_damp = -1.0
21 | angular_damp = 100.0
22 | script = ExtResource("1")
23 |
24 | [node name="Mask" type="Node2D" parent="."]
25 | script = ExtResource("2")
26 |
27 | [node name="Sprite2D" type="Sprite2D" parent="Mask"]
28 | texture = ExtResource("3")
29 |
30 | [node name="Collision" type="CollisionShape2D" parent="."]
31 | shape = SubResource("1")
32 |
33 | [node name="VisibleOnScreenNotifier3D" type="VisibleOnScreenNotifier2D" parent="."]
34 | rect = Rect2(-12, -12, 22, 24)
35 |
36 | [node name="ExplosionArea" type="Area2D" parent="."]
37 | collision_layer = 0
38 | collision_mask = 0
39 | gravity = 98.0
40 |
41 | [node name="ExplosionShape" type="CollisionShape2D" parent="ExplosionArea"]
42 | shape = SubResource("2")
43 |
44 | [connection signal="body_entered" from="." to="." method="_on_Projectile_body_entered"]
45 | [connection signal="screen_exited" from="VisibleOnScreenNotifier3D" to="." method="_on_VisibilityNotifier2D_screen_exited"]
46 | [connection signal="body_entered" from="ExplosionArea" to="." method="_on_ExplosionArea_body_entered"]
47 | [connection signal="body_exited" from="ExplosionArea" to="." method="_on_ExplosionArea_body_exited"]
48 |
--------------------------------------------------------------------------------
/test-project/scripts/Projectile.gd:
--------------------------------------------------------------------------------
1 | extends RigidBody2D
2 |
3 | var MissileSprite: Texture2D = load("res://resources/img/missile-placeholder.png")
4 | var BulletSprite: Texture2D = load("res://resources/img/bullet-placeholder.png")
5 |
6 | var bodies_in_area: Array = []
7 | var sprite_type: int
8 | var speed: float = GLOBAL.DEF_SPEED
9 | var armed: bool = false
10 |
11 | func _ready():
12 | self.gravity_scale = 0.0
13 | self.physics_material_override.friction = 0.0
14 | self.contact_monitor = true
15 | self.max_contacts_reported = 1
16 |
17 | func setup(sprite_type: int, speed: float) -> void:
18 | self.sprite_type = sprite_type
19 | self.speed = speed
20 |
21 | if sprite_type == GLOBAL.SpriteType.BULLET:
22 | $Mask/Sprite2D.set_texture(self.BulletSprite)
23 | self.armed = true
24 | $ExplosionArea/ExplosionShape.disabled = false
25 | else:
26 | $Mask/Sprite2D.set_texture(self.MissileSprite)
27 |
28 | func shoot(at: Vector2) -> void:
29 | var direction = (at - self.global_position)
30 | self.linear_velocity = at * speed
31 |
32 | func shoot_missile(at: Vector2) -> void:
33 | var direction = (at - self.global_position)
34 | self.apply_central_force(at * GLOBAL.MISSILE_SPEED["max"])
35 |
36 | func set_random_color() -> void:
37 | $Mask.set_random_color()
38 |
39 | func update_collision_layer() -> void:
40 | if $Mask.highlighted:
41 | self.set_collision_layer_value(GLOBAL.HIGH_COLLISION, 1)
42 | self.set_collision_mask_value(GLOBAL.HIGH_COLLISION, 1)
43 | $ExplosionArea.set_collision_layer_value(GLOBAL.HIGH_COLLISION, 1)
44 | $ExplosionArea.set_collision_mask_value(GLOBAL.HIGH_COLLISION, 1)
45 | else:
46 | self.set_collision_layer_value(GLOBAL.LOW_COLLISION, 1)
47 | self.set_collision_mask_value(GLOBAL.LOW_COLLISION, 1)
48 | $ExplosionArea.set_collision_layer_value(GLOBAL.LOW_COLLISION, 1)
49 | $ExplosionArea.set_collision_mask_value(GLOBAL.LOW_COLLISION, 1)
50 |
51 | # --- Signals ---
52 |
53 | func _on_VisibilityNotifier2D_screen_exited():
54 | self.queue_free()
55 |
56 | func _on_Projectile_body_entered(body: PhysicsBody2D):
57 | if armed:
58 | for missile in bodies_in_area:
59 | missile.queue_free()
60 | self.queue_free()
61 |
62 | func _on_ExplosionArea_body_entered(body: PhysicsBody2D):
63 | if armed and body.get_node("Mask").highlighted == $Mask.highlighted:
64 | bodies_in_area.push_front(body)
65 |
66 | func _on_ExplosionArea_body_exited(body: PhysicsBody2D):
67 | if armed:
68 | bodies_in_area.erase(body)
69 |
--------------------------------------------------------------------------------
/test-project/project.godot:
--------------------------------------------------------------------------------
1 | ; Engine configuration file.
2 | ; It's best edited using the editor UI and not directly,
3 | ; since the parameters that go here are not all obvious.
4 | ;
5 | ; Format:
6 | ; [section] ; section goes between []
7 | ; param=value ; assign values to parameters
8 |
9 | config_version=5
10 |
11 | [application]
12 |
13 | config/name="gameoff"
14 | run/main_scene="res://scenes/Main.tscn"
15 | config/features=PackedStringArray("4.3")
16 | config/icon="res://icon.png"
17 |
18 | [autoload]
19 |
20 | GLOBAL="*res://scripts/GLOBAL.gd"
21 |
22 | [display]
23 |
24 | window/size/viewport_width=1920
25 | window/size/viewport_height=1080
26 | window/size/resizable=false
27 |
28 | [input]
29 |
30 | ui_up={
31 | "deadzone": 0.5,
32 | "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194320,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
33 | , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":11,"pressure":0.0,"pressed":false,"script":null)
34 | , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":87,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
35 | ]
36 | }
37 | ui_down={
38 | "deadzone": 0.5,
39 | "events": [Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":4194322,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
40 | , Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null)
41 | , Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"pressed":false,"keycode":83,"physical_keycode":0,"key_label":0,"unicode":0,"location":0,"echo":false,"script":null)
42 | ]
43 | }
44 | swap={
45 | "deadzone": 0.5,
46 | "events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":2,"canceled":false,"pressed":false,"double_click":false,"script":null)
47 | ]
48 | }
49 | fire={
50 | "deadzone": 0.5,
51 | "events": [Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"window_id":0,"alt_pressed":false,"shift_pressed":false,"ctrl_pressed":false,"meta_pressed":false,"button_mask":0,"position":Vector2(0, 0),"global_position":Vector2(0, 0),"factor":1.0,"button_index":1,"canceled":false,"pressed":false,"double_click":false,"script":null)
52 | ]
53 | }
54 |
55 | [rendering]
56 |
57 | textures/vram_compression/import_etc2_astc=true
58 | environment/defaults/default_environment="res://default_env.tres"
59 | quality/driver/driver_name="GLES2"
60 | vram_compression/import_etc=true
61 |
--------------------------------------------------------------------------------
/test-project/scenes/HUD.tscn:
--------------------------------------------------------------------------------
1 | [gd_scene load_steps=2 format=2]
2 |
3 | [ext_resource path="res://scripts/HUD.gd" type="Script" id=1]
4 |
5 | [node name="HUD" type="Control"]
6 | anchor_left = 0.0
7 | anchor_top = 0.0
8 | anchor_right = 1.0
9 | anchor_bottom = 1.0
10 | pivot_offset = Vector2( 0, 0 )
11 | clip_contents = false
12 | mouse_filter = 0
13 | mouse_default_cursor_shape = 0
14 | size_flags_horizontal = 1
15 | size_flags_vertical = 1
16 | script = ExtResource( 1 )
17 |
18 | [node name="ThemeButtons" type="HBoxContainer" parent="."]
19 | anchor_left = 0.0
20 | anchor_top = 0.0
21 | anchor_right = 0.0
22 | anchor_bottom = 0.0
23 | offset_left = 1.0
24 | offset_top = 84.0
25 | offset_right = 496.0
26 | offset_bottom = 196.0
27 | pivot_offset = Vector2( 0, 0 )
28 | clip_contents = false
29 | mouse_filter = 1
30 | mouse_default_cursor_shape = 0
31 | size_flags_horizontal = 1
32 | size_flags_vertical = 1
33 | alignment = 0
34 |
35 | [node name="Theme1" type="Button" parent="ThemeButtons"]
36 | anchor_left = 0.0
37 | anchor_top = 0.0
38 | anchor_right = 0.0
39 | anchor_bottom = 0.0
40 | offset_right = 63.0
41 | offset_bottom = 112.0
42 | pivot_offset = Vector2( 0, 0 )
43 | clip_contents = false
44 | focus_mode = 2
45 | mouse_filter = 0
46 | mouse_default_cursor_shape = 0
47 | size_flags_horizontal = 1
48 | size_flags_vertical = 1
49 | toggle_mode = false
50 | focus_mode = 2
51 | shortcut = null
52 | group = null
53 | text = "THEME1"
54 | flat = false
55 | align = 1
56 |
57 | [node name="Theme2" type="Button" parent="ThemeButtons"]
58 | anchor_left = 0.0
59 | anchor_top = 0.0
60 | anchor_right = 0.0
61 | anchor_bottom = 0.0
62 | offset_left = 67.0
63 | offset_right = 130.0
64 | offset_bottom = 112.0
65 | pivot_offset = Vector2( 0, 0 )
66 | clip_contents = false
67 | focus_mode = 2
68 | mouse_filter = 0
69 | mouse_default_cursor_shape = 0
70 | size_flags_horizontal = 1
71 | size_flags_vertical = 1
72 | toggle_mode = false
73 | focus_mode = 2
74 | shortcut = null
75 | group = null
76 | text = "THEME2"
77 | flat = false
78 | align = 1
79 |
80 | [node name="Theme3" type="Button" parent="ThemeButtons"]
81 | anchor_left = 0.0
82 | anchor_top = 0.0
83 | anchor_right = 0.0
84 | anchor_bottom = 0.0
85 | offset_left = 134.0
86 | offset_right = 197.0
87 | offset_bottom = 112.0
88 | pivot_offset = Vector2( 0, 0 )
89 | clip_contents = false
90 | focus_mode = 2
91 | mouse_filter = 0
92 | mouse_default_cursor_shape = 0
93 | size_flags_horizontal = 1
94 | size_flags_vertical = 1
95 | toggle_mode = false
96 | focus_mode = 2
97 | shortcut = null
98 | group = null
99 | text = "THEME3"
100 | flat = false
101 | align = 1
102 |
103 | [node name="StartButton" type="Button" parent="."]
104 | anchor_left = 0.0
105 | anchor_top = 0.0
106 | anchor_right = 0.0
107 | anchor_bottom = 0.0
108 | offset_right = 203.0
109 | offset_bottom = 78.0
110 | pivot_offset = Vector2( 0, 0 )
111 | clip_contents = false
112 | focus_mode = 2
113 | mouse_filter = 0
114 | mouse_default_cursor_shape = 0
115 | size_flags_horizontal = 1
116 | size_flags_vertical = 1
117 | toggle_mode = false
118 | focus_mode = 2
119 | shortcut = null
120 | group = null
121 | text = "START"
122 | flat = false
123 | align = 1
124 |
125 | [connection signal="pressed" from="ThemeButtons/Theme1" to="." method="_on_Theme_Button_pressed" binds= [ 0 ]]
126 | [connection signal="pressed" from="ThemeButtons/Theme2" to="." method="_on_Theme_Button_pressed" binds= [ 1 ]]
127 | [connection signal="pressed" from="ThemeButtons/Theme3" to="." method="_on_Theme_Button_pressed" binds= [ 2 ]]
128 | [connection signal="pressed" from="StartButton" to="." method="_on_StartButton_pressed"]
129 |
--------------------------------------------------------------------------------
/Dockerfile:
--------------------------------------------------------------------------------
1 | FROM ubuntu:noble
2 | LABEL author="https://github.com/aBARICHELLO/godot-ci/graphs/contributors"
3 |
4 | USER root
5 | SHELL ["/bin/bash", "-c"]
6 | ENV DEBIAN_FRONTEND=noninteractive
7 | RUN apt-get update && apt-get install -y --no-install-recommends \
8 | ca-certificates \
9 | git \
10 | git-lfs \
11 | unzip \
12 | wget \
13 | zip \
14 | adb \
15 | openjdk-17-jdk-headless \
16 | rsync \
17 | osslsigncode \
18 | && rm -rf /var/lib/apt/lists/*
19 |
20 | # When in doubt, see the downloads page: https://github.com/godotengine/godot-builds/releases/
21 | ARG GODOT_VERSION="4.5"
22 |
23 | # Example values: stable, beta3, rc1, dev2, etc.
24 | # Also change the `SUBDIR` argument below when NOT using stable.
25 | ARG RELEASE_NAME="stable"
26 |
27 | # This is only needed for non-stable builds (alpha, beta, RC)
28 | # e.g. SUBDIR "/beta3"
29 | # Use an empty string "" when the RELEASE_NAME is "stable".
30 | ARG SUBDIR=""
31 |
32 | ARG GODOT_TEST_ARGS=""
33 | ARG GODOT_PLATFORM="linux.x86_64"
34 |
35 | RUN wget https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION}-${RELEASE_NAME}/Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM}.zip \
36 | && wget https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION}-${RELEASE_NAME}/Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz \
37 | && mkdir -p ~/.cache \
38 | && mkdir -p ~/.config/godot \
39 | && mkdir -p ~/.local/share/godot/export_templates/${GODOT_VERSION}.${RELEASE_NAME} \
40 | && unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM}.zip \
41 | && mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM} /usr/local/bin/godot \
42 | && unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz \
43 | && mv templates/* ~/.local/share/godot/export_templates/${GODOT_VERSION}.${RELEASE_NAME} \
44 | && rm -f Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM}.zip
45 |
46 | ADD getbutler.sh /opt/butler/getbutler.sh
47 | RUN bash /opt/butler/getbutler.sh
48 | RUN /opt/butler/bin/butler -V
49 |
50 | ENV PATH="/opt/butler/bin:${PATH}"
51 |
52 | # Download and set up Android SDK to export to Android.
53 | ENV ANDROID_HOME="/usr/lib/android-sdk"
54 | RUN wget https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip \
55 | && unzip commandlinetools-linux-*_latest.zip -d cmdline-tools \
56 | && mv cmdline-tools $ANDROID_HOME/ \
57 | && rm -f commandlinetools-linux-*_latest.zip
58 |
59 | ENV PATH="${ANDROID_HOME}/cmdline-tools/cmdline-tools/bin:${PATH}"
60 |
61 | RUN yes | sdkmanager --licenses \
62 | && sdkmanager "platform-tools" "build-tools;33.0.2" "platforms;android-33" "cmdline-tools;latest" "cmake;3.22.1" "ndk;25.2.9519653"
63 |
64 | # Add Android keystore and settings.
65 | RUN keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 \
66 | && mv debug.keystore /root/debug.keystore
67 |
68 | RUN godot -v -e --quit --headless ${GODOT_TEST_ARGS}
69 | # Godot editor settings are stored per minor version since 4.3.
70 | # `${GODOT_VERSION:0:3}` transforms a string of the form `x.y.z` into `x.y`, even if it's already `x.y` (until Godot 4.9).
71 | RUN echo '[gd_resource type="EditorSettings" format=3]' > ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
72 | RUN echo '[resource]' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
73 | RUN echo 'export/android/java_sdk_path = "/usr/lib/jvm/java-17-openjdk-amd64"' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
74 | RUN echo 'export/android/android_sdk_path = "/usr/lib/android-sdk"' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
75 | RUN echo 'export/android/debug_keystore = "/root/debug.keystore"' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
76 | RUN echo 'export/android/debug_keystore_user = "androiddebugkey"' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
77 | RUN echo 'export/android/debug_keystore_pass = "android"' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
78 | RUN echo 'export/android/force_system_user = false' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
79 | RUN echo 'export/android/timestamping_authority_url = ""' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
80 | RUN echo 'export/android/shutdown_adb_on_exit = true' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
81 |
82 |
--------------------------------------------------------------------------------
/.github/workflows/godot-ci.yml:
--------------------------------------------------------------------------------
1 | name: "godot-ci export"
2 | on: push
3 |
4 | # NOTE: If your `project.godot` is at the repository root, set `PROJECT_PATH` below to ".".
5 |
6 | env:
7 | GODOT_VERSION: 4.3
8 | EXPORT_NAME: test-project
9 | PROJECT_PATH: test-project
10 |
11 | jobs:
12 | export-windows:
13 | name: Windows Export
14 | runs-on: ubuntu-24.04 # Use 24.04 with godot 4
15 | container:
16 | image: barichello/godot-ci:4.3
17 | steps:
18 | - name: Checkout
19 | uses: actions/checkout@v4
20 | with:
21 | lfs: true
22 | - name: Setup
23 | run: |
24 | mkdir -v -p ~/.local/share/godot/export_templates/
25 | mkdir -v -p ~/.config/
26 | mv /root/.config/godot ~/.config/godot
27 | mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
28 | - name: Windows Build
29 | run: |
30 | mkdir -v -p build/windows
31 | EXPORT_DIR="$(readlink -f build)"
32 | cd $PROJECT_PATH
33 | godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
34 | - name: Upload Artifact
35 | uses: actions/upload-artifact@v4
36 | with:
37 | name: windows
38 | path: build/windows
39 |
40 | export-linux:
41 | name: Linux Export
42 | runs-on: ubuntu-24.04 # Use 24.04 with godot 4
43 | container:
44 | image: barichello/godot-ci:4.3
45 | steps:
46 | - name: Checkout
47 | uses: actions/checkout@v4
48 | with:
49 | lfs: true
50 | - name: Setup
51 | run: |
52 | mkdir -v -p ~/.local/share/godot/export_templates/
53 | mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
54 | - name: Linux Build
55 | run: |
56 | mkdir -v -p build/linux
57 | EXPORT_DIR="$(readlink -f build)"
58 | cd $PROJECT_PATH
59 | godot --headless --verbose --export-release "Linux/X11" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
60 | - name: Upload Artifact
61 | uses: actions/upload-artifact@v4
62 | with:
63 | name: linux
64 | path: build/linux
65 |
66 | export-web:
67 | name: Web Export
68 | runs-on: ubuntu-24.04 # Use 24.04 with godot 4
69 | container:
70 | image: barichello/godot-ci:4.3
71 | steps:
72 | - name: Checkout
73 | uses: actions/checkout@v4
74 | with:
75 | lfs: true
76 | - name: Setup
77 | run: |
78 | mkdir -v -p ~/.local/share/godot/export_templates/
79 | mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
80 | - name: Web Build
81 | run: |
82 | mkdir -v -p build/web
83 | EXPORT_DIR="$(readlink -f build)"
84 | cd $PROJECT_PATH
85 | godot --headless --verbose --export-release "Web" "$EXPORT_DIR/web/index.html"
86 | - name: Upload Artifact
87 | uses: actions/upload-artifact@v4
88 | with:
89 | name: web
90 | path: build/web
91 | - name: Install rsync 📚
92 | run: |
93 | apt-get update && apt-get install -y rsync
94 | - name: Deploy to GitHub Pages 🚀
95 | uses: JamesIves/github-pages-deploy-action@releases/v4
96 | with:
97 | branch: gh-pages # The branch the action should deploy to.
98 | folder: build/web # The folder the action should deploy.
99 |
100 | export-mac:
101 | name: Mac Export
102 | runs-on: ubuntu-24.04 # Use 24.04 with godot 4
103 | container:
104 | image: barichello/godot-ci:4.3
105 | steps:
106 | - name: Checkout
107 | uses: actions/checkout@v4
108 | with:
109 | lfs: true
110 | - name: Setup
111 | run: |
112 | mkdir -v -p ~/.local/share/godot/export_templates/
113 | mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
114 | - name: Mac Build
115 | run: |
116 | mkdir -v -p build/mac
117 | EXPORT_DIR="$(readlink -f build)"
118 | cd $PROJECT_PATH
119 | godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME.zip"
120 | - name: Upload Artifact
121 | uses: actions/upload-artifact@v4
122 | with:
123 | name: mac
124 | path: build/mac
125 |
--------------------------------------------------------------------------------
/.github/workflows/release.yml:
--------------------------------------------------------------------------------
1 | name: Release
2 | on:
3 | release:
4 | types: [released]
5 | env:
6 | IMAGE_NAME: godot-ci
7 | jobs:
8 | version:
9 | name: Get Version
10 | runs-on: ubuntu-24.04
11 | outputs:
12 | version: ${{ steps.calculate.outputs.version }}
13 | release_name: ${{ steps.calculate.outputs.release_name }}
14 | dotnet_version: ${{ steps.calculate.outputs.dotnet_version }}
15 | steps:
16 | - id: calculate
17 | run: |
18 | REF_NAME=${{ github.ref_name }}
19 | echo "version=${REF_NAME%-*}" >> $GITHUB_OUTPUT
20 | echo "release_name=${REF_NAME#*-}" >> $GITHUB_OUTPUT
21 | MAJOR_VERSION=$(echo ${REF_NAME%-*} | cut -c -1)
22 | MINOR_VERSION=$(echo ${REF_NAME%-*} | cut -c -3)
23 | if [ "$MAJOR_VERSION" = "3" ]
24 | then
25 | echo "dotnet_version=mono:latest" >> $GITHUB_OUTPUT
26 | elif [ "$MINOR_VERSION" = "4.0" ] || [ "$MINOR_VERSION" = "4.1" ] || [ "$MINOR_VERSION" = "4.2" ] || [ "$MINOR_VERSION" = "4.3" ]
27 | then
28 | echo "dotnet_version=mcr.microsoft.com/dotnet/sdk:6.0-jammy" >> $GITHUB_OUTPUT
29 | else
30 | echo "dotnet_version=mcr.microsoft.com/dotnet/sdk:8.0-jammy" >> $GITHUB_OUTPUT
31 | fi
32 |
33 | build:
34 | name: Build Image
35 | runs-on: ubuntu-24.04
36 | needs: [version]
37 | steps:
38 | - uses: actions/checkout@v3
39 | - run: echo IMAGE_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
40 | - name: Login to GitHub Container Registry
41 | uses: docker/login-action@v1.14.1
42 | with:
43 | registry: ghcr.io
44 | username: ${{ github.repository_owner }}
45 | password: ${{ secrets.GITHUB_TOKEN }}
46 | - name: Login to DockerHub
47 | uses: docker/login-action@v1
48 | with:
49 | username: ${{ secrets.DOCKERHUB_USERNAME }}
50 | password: ${{ secrets.DOCKERHUB_TOKEN }}
51 | - name: Build and push Docker images
52 | uses: docker/build-push-action@v2.9.0
53 | with:
54 | context: .
55 | file: Dockerfile
56 | push: true
57 | tags: |
58 | ghcr.io/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:${{ needs.version.outputs.version }}
59 | ghcr.io/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:latest
60 | ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest
61 | ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ needs.version.outputs.version }}
62 | build-args: |
63 | GODOT_VERSION=${{ needs.version.outputs.version }}
64 | RELEASE_NAME=${{ needs.version.outputs.release_name }}
65 | GODOT_TEST_ARGS=${{ startsWith( needs.version.outputs.version, '3.' ) && '' || '--headless --quit' }}
66 | GODOT_PLATFORM=${{ startsWith( needs.version.outputs.version, '3.' ) && 'linux_headless.64' || 'linux.x86_64' }}
67 | build-mono:
68 | name: Build Mono Image
69 | runs-on: ubuntu-24.04
70 | needs: [version]
71 | steps:
72 | - uses: actions/checkout@v3
73 | - run: echo IMAGE_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
74 | - name: Login to GitHub Container Registry
75 | uses: docker/login-action@v1.14.1
76 | with:
77 | registry: ghcr.io
78 | username: ${{ github.repository_owner }}
79 | password: ${{ secrets.GITHUB_TOKEN }}
80 | - name: Login to DockerHub
81 | uses: docker/login-action@v1
82 | with:
83 | username: ${{ secrets.DOCKERHUB_USERNAME }}
84 | password: ${{ secrets.DOCKERHUB_TOKEN }}
85 | - name: Build and push Docker images
86 | uses: docker/build-push-action@v2.9.0
87 | with:
88 | context: .
89 | file: mono.Dockerfile
90 | push: true
91 | tags: |
92 | ghcr.io/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:mono-${{ needs.version.outputs.version }}
93 | ghcr.io/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:mono-latest
94 | ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:mono-latest
95 | ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:mono-${{ needs.version.outputs.version }}
96 | build-args: |
97 | IMAGE=${{ needs.version.outputs.dotnet_version }}
98 | GODOT_VERSION=${{ needs.version.outputs.version }}
99 | RELEASE_NAME=${{ needs.version.outputs.release_name }}
100 | ZIP_GODOT_PLATFORM=${{ startsWith( needs.version.outputs.version, '3.' ) && 'linux_headless_64' || 'linux_x86_64' }}
101 | FILENAME_GODOT_PLATFORM=${{ startsWith( needs.version.outputs.version, '3.' ) && 'linux_headless.64' || 'linux.x86_64' }}
102 |
--------------------------------------------------------------------------------
/mono.Dockerfile:
--------------------------------------------------------------------------------
1 | ARG IMAGE="mcr.microsoft.com/dotnet/sdk:9.0-noble"
2 | FROM $IMAGE
3 | LABEL author="https://github.com/aBARICHELLO/godot-ci/graphs/contributors"
4 |
5 | USER root
6 | SHELL ["/bin/bash", "-c"]
7 | ENV DEBIAN_FRONTEND=noninteractive
8 | RUN apt-get update && apt-get install -y --no-install-recommends \
9 | ca-certificates \
10 | git \
11 | git-lfs \
12 | unzip \
13 | wget \
14 | zip \
15 | openjdk-17-jdk-headless \
16 | adb \
17 | rsync \
18 | osslsigncode \
19 | && rm -rf /var/lib/apt/lists/*
20 |
21 | # When in doubt, see the downloads page: https://github.com/godotengine/godot-builds/releases/
22 | ARG GODOT_VERSION="4.5"
23 |
24 | # Example values: stable, beta3, rc1, dev2, etc.
25 | # Also change the `SUBDIR` argument below when NOT using stable.
26 | ARG RELEASE_NAME="stable"
27 |
28 | # This is only needed for non-stable builds (alpha, beta, RC)
29 | # e.g. SUBDIR "/beta3"
30 | # Use an empty string "" when the RELEASE_NAME is "stable".
31 | ARG SUBDIR=""
32 |
33 | ARG GODOT_TEST_ARGS=""
34 | ARG GODOT_PLATFORM="linux.x86_64"
35 |
36 | # NOTE: Mono downloads use an underscore instead of a dot between `linux` and `x86_64` in their URL
37 | # and folder name within the ZIP, but not in the binary file name within the ZIP.
38 | ARG GODOT_ZIP_PLATFORM="linux_x86_64"
39 |
40 | RUN wget https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION}-${RELEASE_NAME}/Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${GODOT_ZIP_PLATFORM}.zip \
41 | && wget https://github.com/godotengine/godot-builds/releases/download/${GODOT_VERSION}-${RELEASE_NAME}/Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_export_templates.tpz \
42 | && mkdir -p ~/.cache \
43 | && mkdir -p ~/.config/godot \
44 | && mkdir -p ~/.local/share/godot/export_templates/${GODOT_VERSION}.${RELEASE_NAME}.mono \
45 | && unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${GODOT_ZIP_PLATFORM}.zip \
46 | && mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${GODOT_ZIP_PLATFORM}/Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${GODOT_PLATFORM} /usr/local/bin/godot \
47 | && mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${GODOT_ZIP_PLATFORM}/GodotSharp /usr/local/bin/GodotSharp \
48 | && unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_export_templates.tpz \
49 | && mv templates/* ~/.local/share/godot/export_templates/${GODOT_VERSION}.${RELEASE_NAME}.mono \
50 | && rm -f Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_export_templates.tpz Godot_v${GODOT_VERSION}-${RELEASE_NAME}_mono_${GODOT_ZIP_PLATFORM}.zip
51 |
52 | ADD getbutler.sh /opt/butler/getbutler.sh
53 | RUN bash /opt/butler/getbutler.sh
54 | RUN /opt/butler/bin/butler -V
55 |
56 | ENV PATH="/opt/butler/bin:${PATH}"
57 |
58 | # Download and set up Android SDK to export to Android.
59 | ENV ANDROID_HOME="/usr/lib/android-sdk"
60 | RUN wget https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip \
61 | && unzip commandlinetools-linux-*_latest.zip -d cmdline-tools \
62 | && mv cmdline-tools $ANDROID_HOME/ \
63 | && rm -f commandlinetools-linux-*_latest.zip
64 |
65 | ENV PATH="${ANDROID_HOME}/cmdline-tools/cmdline-tools/bin:${PATH}"
66 |
67 | RUN yes | sdkmanager --licenses \
68 | && sdkmanager "platform-tools" "build-tools;33.0.2" "platforms;android-33" "cmdline-tools;latest" "cmake;3.22.1" "ndk;25.2.9519653"
69 |
70 | # Add Android keystore and settings.
71 | RUN keytool -keyalg RSA -genkeypair -alias androiddebugkey -keypass android -keystore debug.keystore -storepass android -dname "CN=Android Debug,O=Android,C=US" -validity 9999 \
72 | && mv debug.keystore /root/debug.keystore
73 |
74 | RUN godot -v -e --quit --headless ${GODOT_TEST_ARGS}
75 | # Godot editor settings are stored per minor version since 4.3.
76 | # `${GODOT_VERSION:0:3}` transforms a string of the form `x.y.z` into `x.y`, even if it's already `x.y` (until Godot 4.9).
77 | RUN echo '[gd_resource type="EditorSettings" format=3]' > ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
78 | RUN echo '[resource]' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
79 | RUN echo 'export/android/java_sdk_path = "/usr/lib/jvm/java-17-openjdk-amd64"' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
80 | RUN echo 'export/android/android_sdk_path = "/usr/lib/android-sdk"' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
81 | RUN echo 'export/android/debug_keystore = "/root/debug.keystore"' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
82 | RUN echo 'export/android/debug_keystore_user = "androiddebugkey"' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
83 | RUN echo 'export/android/debug_keystore_pass = "android"' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
84 | RUN echo 'export/android/force_system_user = false' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
85 | RUN echo 'export/android/timestamping_authority_url = ""' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
86 | RUN echo 'export/android/shutdown_adb_on_exit = true' >> ~/.config/godot/editor_settings-${GODOT_VERSION:0:3}.tres
87 |
--------------------------------------------------------------------------------
/.gitlab-ci.yml:
--------------------------------------------------------------------------------
1 | image: barichello/godot-ci:4.3
2 |
3 | # NOTE: If your `project.godot` is at the repository root, set `PROJECT_PATH` below to ".".
4 |
5 | # Cache imported assets between runs
6 | cache:
7 | key: import-assets
8 | paths:
9 | - .godot/imported/
10 |
11 | stages:
12 | - import-assets
13 | - export
14 | - deploy
15 |
16 | variables:
17 | EXPORT_NAME: test-project
18 | PROJECT_PATH: test-project
19 |
20 | # Open the editor to import assets in case the cache was empty or outdated
21 | import-assets:
22 | stage: import-assets
23 | script:
24 | - godot --headless --verbose --editor --quit
25 |
26 | linux:
27 | stage: export
28 | script:
29 | - mkdir -v -p build/linux
30 | - EXPORT_DIR="$(readlink -f build)"
31 | - cd $PROJECT_PATH
32 | - godot --headless --verbose --export-release "Linux" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
33 | artifacts:
34 | name: $EXPORT_NAME-$CI_JOB_NAME
35 | paths:
36 | - build/linux
37 |
38 | windows:
39 | stage: export
40 | script:
41 | - mkdir -v -p build/windows
42 | - EXPORT_DIR="$(readlink -f build)"
43 | - cd $PROJECT_PATH
44 | - godot --headless --verbose --export-release "Windows Desktop" "$EXPORT_DIR/windows/$EXPORT_NAME.exe"
45 | artifacts:
46 | name: $EXPORT_NAME-$CI_JOB_NAME
47 | paths:
48 | - build/windows
49 |
50 | mac:
51 | stage: export
52 | script:
53 | - mkdir -v -p build/mac
54 | - EXPORT_DIR="$(readlink -f build)"
55 | - cd $PROJECT_PATH
56 | - godot --headless --verbose --export-release "macOS" "$EXPORT_DIR/mac/$EXPORT_NAME.zip"
57 | artifacts:
58 | name: $EXPORT_NAME-$CI_JOB_NAME
59 | paths:
60 | - build/mac
61 |
62 | web:
63 | stage: export
64 | script:
65 | - mkdir -v -p build/web
66 | - EXPORT_DIR="$(readlink -f build)"
67 | - cd $PROJECT_PATH
68 | - godot --headless --verbose --export-release "Web" "$EXPORT_DIR/web/index.html"
69 | artifacts:
70 | name: $EXPORT_NAME-$CI_JOB_NAME
71 | paths:
72 | - build/web
73 |
74 | # Android Debug Job. It will use the generated debug.keystore.
75 | android_debug:
76 | stage: export
77 | script:
78 | - mkdir -v -p build/android
79 | - EXPORT_DIR="$(readlink -f build)"
80 | - cd $PROJECT_PATH
81 | - godot --headless --verbose --export-debug "Android Debug" "$EXPORT_DIR/android/$EXPORT_NAME-debug.apk"
82 | artifacts:
83 | name: $EXPORT_NAME-$CI_JOB_NAME
84 | paths:
85 | - build/android
86 |
87 | # Android Release Job. You will need to include keystore and password in the GitLab variable settings:
88 | # 1. Take your generated keystore and convert it to Base64:
89 | # Linux & macOS: `base64 release.keystore -w 0`
90 | # Windows: `certutil -encodehex -f release.keystore encoded.txt 0x40000001`
91 | # 2. Go to GitLab Project > Settings > CI/CD > Variables and copy the Base64-encoded keystore value in a new variable `SECRET_RELEASE_KEYSTORE_BASE64` as type variable.
92 | # 3. Create a second variable SECRET_RELEASE_KEYSTORE_USER as type variable with the alias of your keystore as value.
93 | # 4. Create a third variable SECRET_RELEASE_KEYSTORE_PASSWORD as type variable with the password of your keystore as value.
94 | android:
95 | stage: export
96 | rules:
97 | - if: $SECRET_RELEASE_KEYSTORE_BASE64
98 | - if: $SECRET_RELEASE_KEYSTORE_USER
99 | - if: $SECRET_RELEASE_KEYSTORE_PASSWORD
100 | script:
101 | - echo $SECRET_RELEASE_KEYSTORE_BASE64 | base64 --decode > /root/release.keystore
102 | - mkdir -v -p build/android
103 | - EXPORT_DIR="$(readlink -f build)"
104 | - cd $PROJECT_PATH
105 | - sed 's@keystore/release=".*"@keystore/release="'/root/release.keystore'"@g' -i export_presets.cfg
106 | - sed 's@keystore/release_user=".*"@keystore/release_user="'$SECRET_RELEASE_KEYSTORE_USER'"@g' -i export_presets.cfg
107 | - sed 's@keystore/release_password=".*"@keystore/release_password="'$SECRET_RELEASE_KEYSTORE_PASSWORD'"@g' -i export_presets.cfg
108 | - godot --headless --verbose --export-release "Android" $EXPORT_DIR/android/$EXPORT_NAME.apk
109 | artifacts:
110 | name: $EXPORT_NAME-$CI_JOB_NAME
111 | paths:
112 | - build/android
113 |
114 | # GitHub Pages Deploy
115 | deploy-github-pages:
116 | stage: deploy
117 | dependencies:
118 | - web
119 | script:
120 | # This ensures the `gh-pages` branch is available.
121 | - git fetch
122 | - git checkout gh-pages
123 | - rm -f *.md
124 | - mv build/web/** .
125 | - git config user.email $GIT_EMAIL
126 | - git config user.name $GIT_USERNAME
127 | - git remote add github $REMOTE_URL
128 | - git add -A
129 | - 'git commit -m "ci: Deploy GitHub Page | $EXPORT_NAME:$CI_JOB_NAME" -m "Deploy from GitLab pipeline #$CI_PIPELINE_ID" || true'
130 | - git push github gh-pages -f
131 |
132 | # GitLab Pages Deploy
133 | pages:
134 | stage: deploy
135 | dependencies:
136 | - web
137 | script:
138 | # This ensures the `pages` branch is available.
139 | - git fetch
140 | - git checkout pages
141 | - rm -f *.md
142 | - mv build/web/** ./public
143 | artifacts:
144 | paths:
145 | - public
146 |
147 | # Itch.io Deploy
148 | itchio:linux:
149 | stage: deploy
150 | script:
151 | - butler push ./build/linux $ITCHIO_USERNAME/$ITCHIO_GAME:linux
152 | dependencies:
153 | - linux
154 |
155 | itchio:windows:
156 | stage: deploy
157 | script:
158 | - butler push ./build/windows $ITCHIO_USERNAME/$ITCHIO_GAME:windows
159 | dependencies:
160 | - windows
161 |
162 | itchio:macosx:
163 | stage: deploy
164 | script:
165 | - butler push ./build/mac $ITCHIO_USERNAME/$ITCHIO_GAME:mac
166 | dependencies:
167 | - mac
168 |
--------------------------------------------------------------------------------
/test-project/.gitignore:
--------------------------------------------------------------------------------
1 | # Godot auto generated files
2 | *.gen.*
3 | **/.import/
4 |
5 | # Documentation generated by doxygen or from classes.xml
6 | doc/_build/
7 |
8 | # Javascript specific
9 | *.bc
10 |
11 | # Android specific
12 | platform/android/java/build.gradle
13 | platform/android/java/.gradle
14 | platform/android/java/.gradletasknamecache
15 | platform/android/java/local.properties
16 | platform/android/java/project.properties
17 | platform/android/java/build.gradle
18 | platform/android/java/AndroidManifest.xml
19 | platform/android/java/libs/*
20 | platform/android/java/assets
21 |
22 | # General c++ generated files
23 | *.lib
24 | *.o
25 | *.ox
26 | *.a
27 | *.ax
28 | *.d
29 | *.so
30 | # Include gdsqlite lib
31 | !*.64.so
32 | !*.32.so
33 | *.os
34 | *.Plo
35 | *.lo
36 |
37 | # Libs generated files
38 | .deps/*
39 | .dirstamp
40 |
41 | # Gprof output
42 | gmon.out
43 |
44 | # Vim temp files
45 | *.swo
46 | *.swp
47 |
48 | # QT project files
49 | *.config
50 | *.creator
51 | *.files
52 | *.includes
53 |
54 | # Eclipse CDT files
55 | .cproject
56 | .settings/
57 |
58 | # Misc
59 | .DS_Store
60 | logs/
61 |
62 | # for projects that use SCons for building: http://http://www.scons.org/
63 | .sconf_temp
64 | .sconsign.dblite
65 | *.pyc
66 |
67 |
68 | # https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
69 | ## Ignore Visual Studio temporary files, build results, and
70 | ## files generated by popular Visual Studio add-ons.
71 |
72 | # User-specific files
73 | *.suo
74 | *.user
75 | *.sln.docstates
76 | *.sln
77 | *.vcxproj*
78 |
79 | # Build results
80 | [Dd]ebug/
81 | [Dd]ebugPublic/
82 | [Rr]elease/
83 | x64/
84 | build/
85 | bld/
86 | [Bb]in/
87 | [Oo]bj/
88 | *.debug
89 | *.dSYM
90 |
91 | # MSTest test Results
92 | [Tt]est[Rr]esult*/
93 | [Bb]uild[Ll]og.*
94 |
95 | # Hints for improving IntelliSense, created together with VS project
96 | cpp.hint
97 |
98 | # Visualizers for the VS debugger
99 | *.natvis
100 |
101 | #NUNIT
102 | *.VisualState.xml
103 | TestResult.xml
104 |
105 | *.o
106 | *.a
107 | *_i.c
108 | *_p.c
109 | *_i.h
110 | *.ilk
111 | *.meta
112 | *.obj
113 | *.pch
114 | *.pdb
115 | *.pgc
116 | *.pgd
117 | *.rsp
118 | *.sbr
119 | *.tlb
120 | *.tli
121 | *.tlh
122 | *.tmp
123 | *.tmp_proj
124 | *.log
125 | *.vspscc
126 | *.vssscc
127 | .builds
128 | *.pidb
129 | *.svclog
130 | *.scc
131 |
132 | # Chutzpah Test files
133 | _Chutzpah*
134 |
135 | # Visual C++ cache files
136 | ipch/
137 | *.aps
138 | *.ncb
139 | *.opensdf
140 | *.sdf
141 | *.cachefile
142 | *.VC.db
143 | *.VC.opendb
144 | *.VC.VC.opendb
145 | enc_temp_folder/
146 |
147 | # Visual Studio profiler
148 | *.psess
149 | *.vsp
150 | *.vspx
151 |
152 | # CodeLite project files
153 | *.project
154 | *.workspace
155 | .codelite/
156 |
157 | # TFS 2012 Local Workspace
158 | $tf/
159 |
160 | # Guidance Automation Toolkit
161 | *.gpState
162 |
163 | # ReSharper is a .NET coding add-in
164 | _ReSharper*/
165 | *.[Rr]e[Ss]harper
166 | *.DotSettings.user
167 |
168 | # JustCode is a .NET coding addin-in
169 | .JustCode
170 |
171 | # TeamCity is a build add-in
172 | _TeamCity*
173 |
174 | # DotCover is a Code Coverage Tool
175 | *.dotCover
176 |
177 | # NCrunch
178 | *.ncrunch*
179 | _NCrunch_*
180 | .*crunch*.local.xml
181 |
182 | # MightyMoose
183 | *.mm.*
184 | AutoTest.Net/
185 |
186 | # Web workbench (sass)
187 | .sass-cache/
188 |
189 | # Installshield output folder
190 | [Ee]xpress/
191 |
192 | # DocProject is a documentation generator add-in
193 | DocProject/buildhelp/
194 | DocProject/Help/*.HxT
195 | DocProject/Help/*.HxC
196 | DocProject/Help/*.hhc
197 | DocProject/Help/*.hhk
198 | DocProject/Help/*.hhp
199 | DocProject/Help/Html2
200 | DocProject/Help/html
201 |
202 | # Click-Once directory
203 | publish/
204 |
205 | # Publish Web Output
206 | *.[Pp]ublish.xml
207 | *.azurePubxml
208 |
209 | # NuGet Packages Directory
210 | ## TODO: If you have NuGet Package Restore enabled, uncomment the next line
211 | #packages/*
212 | ## TODO: If the tool you use requires repositories.config, also uncomment the next line
213 | #!packages/repositories.config
214 |
215 | # Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
216 | # This line needs to be after the ignore of the build folder (and the packages folder if the line above has been uncommented)
217 | !packages/build/
218 |
219 | # Windows Azure Build Output
220 | csx/
221 | *.build.csdef
222 |
223 | # Windows Store app package directory
224 | AppPackages/
225 |
226 | # Others
227 | *.Cache
228 | ClientBin/
229 | [Ss]tyle[Cc]op.*
230 | ~$*
231 | *~
232 | *.dbmdl
233 | *.dbproj.schemaview
234 | *.pfx
235 | *.publishsettings
236 | node_modules/
237 |
238 | # KDE
239 | .directory
240 |
241 | #Kdevelop project files
242 | *.kdev4
243 |
244 | # xCode
245 | xcuserdata
246 |
247 | # RIA/Silverlight projects
248 | Generated_Code/
249 |
250 | # Backup & report files from converting an old project file to a newer
251 | # Visual Studio version. Backup files are not needed, because we have git ;-)
252 | _UpgradeReport_Files/
253 | Backup*/
254 | UpgradeLog*.XML
255 | UpgradeLog*.htm
256 |
257 | # SQL Server files
258 | App_Data/*.mdf
259 | App_Data/*.ldf
260 |
261 | # Business Intelligence projects
262 | *.rdl.data
263 | *.bim.layout
264 | *.bim_*.settings
265 |
266 | # Microsoft Fakes
267 | FakesAssemblies/
268 |
269 | # =========================
270 | # Windows detritus
271 | # =========================
272 |
273 | # Windows image file caches
274 | Thumbs.db
275 | ehthumbs.db
276 |
277 | # Folder config file
278 | Desktop.ini
279 |
280 | # Recycle Bin used on file shares
281 | $RECYCLE.BIN/
282 | logo.h
283 | *.autosave
284 |
285 | # https://github.com/github/gitignore/blob/master/Global/Tags.gitignore
286 | # Ignore tags created by etags, ctags, gtags (GNU global) and cscope
287 | TAGS
288 | !TAGS/
289 | tags
290 | !tags/
291 | gtags.files
292 | GTAGS
293 | GRTAGS
294 | GPATH
295 | cscope.files
296 | cscope.out
297 | cscope.in.out
298 | cscope.po.out
299 | godot.creator.*
300 |
301 | projects/
302 | platform/windows/godot_res.res
303 |
304 | # Visual Studio 2017 and Visual Studio Code workspace folder
305 | /.vs
306 | /.vscode
307 |
308 | # Scons progress indicator
309 | .scons_node_count
310 |
311 | # Godot 4.x
312 | .godot/
313 |
--------------------------------------------------------------------------------
/.github/workflows/manual_build.yml:
--------------------------------------------------------------------------------
1 | name: Manual Build
2 | on:
3 | workflow_dispatch:
4 | inputs:
5 | version:
6 | description: 'Version of engine to build e.g. "3.4.4", "3.5"'
7 | required: true
8 | type: string
9 | release_name:
10 | description: 'Release name, usually "stable", but can also be something like "rc3", "beta1"'
11 | type: string
12 | default: "stable"
13 | required: true
14 | set_latest:
15 | description: 'Tag as latest'
16 | type: boolean
17 | default: false
18 | env:
19 | IMAGE_NAME: godot-ci
20 | jobs:
21 | version:
22 | name: Get Version
23 | runs-on: ubuntu-24.04
24 | outputs:
25 | dotnet_version: ${{ steps.calculate.outputs.dotnet_version }}
26 | steps:
27 | - id: calculate
28 | run: |
29 | MAJOR_VERSION=$(echo ${{ github.event.inputs.version }} | cut -c -1)
30 | MINOR_VERSION=$(echo ${{ github.event.inputs.version }} | cut -c -3)
31 | if [ "$MAJOR_VERSION" = "3" ]
32 | then
33 | echo "dotnet_version=mono:latest" >> $GITHUB_OUTPUT
34 | elif [ "$MINOR_VERSION" = "4.0" ] || [ "$MINOR_VERSION" = "4.1" ] || [ "$MINOR_VERSION" = "4.2" ] || [ "$MINOR_VERSION" = "4.3" ]
35 | then
36 | echo "dotnet_version=mcr.microsoft.com/dotnet/sdk:6.0-jammy" >> $GITHUB_OUTPUT
37 | elif [ "$MINOR_VERSION" = "4.4" ]
38 | then
39 | echo "dotnet_version=mcr.microsoft.com/dotnet/sdk:8.0-jammy" >> $GITHUB_OUTPUT
40 | else
41 | echo "dotnet_version=mcr.microsoft.com/dotnet/sdk:9.0-noble" >> $GITHUB_OUTPUT
42 | fi
43 | get_tags:
44 | name: Get Tags
45 | runs-on: ubuntu-24.04
46 | outputs:
47 | tags: ${{steps.write_tags.outputs.tags}}
48 | tags_mono: ${{steps.write_tags_mono.outputs.tags}}
49 | steps:
50 | - run: echo IMAGE_OWNER=$(echo ${{ github.repository_owner }} | tr '[:upper:]' '[:lower:]') >> $GITHUB_ENV
51 | - run: echo IMAGE_TAG=$(echo ${{ github.event.inputs.release_name != 'stable' && format('.{0}', github.event.inputs.release_name) || '' }}) >> $GITHUB_ENV
52 | - name: Set tags
53 | run: |
54 | echo "ghcr.io/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.version }}${{ env.IMAGE_TAG }}" >> tags.txt
55 | echo "${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:${{ github.event.inputs.version }}${{ env.IMAGE_TAG }}" >> tags.txt
56 | - name: Set latest tags
57 | if: ${{inputs.set_latest}}
58 | run: |
59 | echo "ghcr.io/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:latest" >> tags.txt
60 | echo "${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest" >> tags.txt
61 | - name: Set Mono tags
62 | run: |
63 | echo "ghcr.io/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:mono-${{ github.event.inputs.version }}${{ env.IMAGE_TAG }}" >> tags_mono.txt
64 | echo "${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:mono-${{ github.event.inputs.version }}${{ env.IMAGE_TAG }}" >> tags_mono.txt
65 | - name: Set Mono latest tags
66 | if: ${{inputs.set_latest}}
67 | run: |
68 | echo "ghcr.io/${{ env.IMAGE_OWNER }}/${{ env.IMAGE_NAME }}:mono-latest" >> tags_mono.txt
69 | echo "${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:mono-latest" >> tags_mono.txt
70 | - uses: actions/upload-artifact@v4
71 | with:
72 | name: image_tags
73 | path: tags.txt
74 | retention-days: 1
75 | - uses: actions/upload-artifact@v4
76 | with:
77 | name: image_tags_mono
78 | path: tags_mono.txt
79 | retention-days: 1
80 | build:
81 | name: Build Image
82 | runs-on: ubuntu-24.04
83 | needs: get_tags
84 | steps:
85 | - uses: actions/download-artifact@v4
86 | with:
87 | name: image_tags
88 | - run: |
89 | {
90 | echo 'TAGS<> "$GITHUB_ENV"
94 | - uses: actions/checkout@v3
95 | - name: Login to GitHub Container Registry
96 | uses: docker/login-action@v1.14.1
97 | with:
98 | registry: ghcr.io
99 | username: ${{ github.repository_owner }}
100 | password: ${{ secrets.GITHUB_TOKEN }}
101 | - name: Login to DockerHub
102 | uses: docker/login-action@v1
103 | with:
104 | username: ${{ secrets.DOCKERHUB_USERNAME }}
105 | password: ${{ secrets.DOCKERHUB_TOKEN }}
106 | - name: Build and push Docker images
107 | uses: docker/build-push-action@v2.9.0
108 | with:
109 | context: .
110 | file: Dockerfile
111 | push: true
112 | tags: ${{ env.TAGS }}
113 | build-args: |
114 | GODOT_VERSION=${{ github.event.inputs.version }}
115 | RELEASE_NAME=${{ github.event.inputs.release_name }}
116 | SUBDIR=${{ github.event.inputs.release_name != 'stable' && format('/{0}', github.event.inputs.release_name) || '' }}
117 | GODOT_TEST_ARGS=${{ startsWith( github.event.inputs.version, '3.' ) && '' || '--headless --quit' }}
118 | GODOT_PLATFORM=${{ startsWith( github.event.inputs.version, '3.' ) && 'linux_headless.64' || 'linux.x86_64' }}
119 | build-mono:
120 | name: Build Mono Image
121 | runs-on: ubuntu-24.04
122 | needs: [version, get_tags]
123 | steps:
124 | - uses: actions/download-artifact@v4
125 | with:
126 | name: image_tags_mono
127 | - run: |
128 | {
129 | echo 'TAGS<> "$GITHUB_ENV"
133 | - uses: actions/checkout@v3
134 | - name: Login to GitHub Container Registry
135 | uses: docker/login-action@v1.14.1
136 | with:
137 | registry: ghcr.io
138 | username: ${{ github.repository_owner }}
139 | password: ${{ secrets.GITHUB_TOKEN }}
140 | - name: Login to DockerHub
141 | uses: docker/login-action@v1
142 | with:
143 | username: ${{ secrets.DOCKERHUB_USERNAME }}
144 | password: ${{ secrets.DOCKERHUB_TOKEN }}
145 | - name: Build and push Docker images
146 | uses: docker/build-push-action@v2.9.0
147 | with:
148 | context: .
149 | file: mono.Dockerfile
150 | push: true
151 | tags: ${{ env.TAGS }}
152 | build-args: |
153 | IMAGE=${{ needs.version.outputs.dotnet_version }}
154 | GODOT_VERSION=${{ github.event.inputs.version }}
155 | RELEASE_NAME=${{ github.event.inputs.release_name }}
156 | SUBDIR=${{ github.event.inputs.release_name != 'stable' && format('/{0}', github.event.inputs.release_name) || '' }}
157 | ZIP_GODOT_PLATFORM=${{ startsWith( github.event.inputs.version, '3.' ) && 'linux_headless_64' || 'linux_x86_64' }}
158 | FILENAME_GODOT_PLATFORM=${{ startsWith( github.event.inputs.version, '3.' ) && 'linux_headless.64' || 'linux.x86_64' }}
159 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # godot-ci
2 | Docker image to export Godot Engine games and deploy to GitLab/GitHub Pages and Itch.io using GitLab CI and GitHub Actions.
3 |
4 |
5 |
6 | ## Docker Hub
7 | https://hub.docker.com/r/barichello/godot-ci/
8 |
9 | ## How To Use
10 |
11 | `.gitlab-ci.yml` and `.github/workflows/godot-ci.yml` are included in this project as reference.
12 |
For live projects, examples and tutorials using this template check the list below:
13 |
14 | - [Video tutorial by Kyle Luce](https://www.youtube.com/watch?v=wbc1qut0vT4)
15 | - [Video tutorial series by David Snopek](https://www.youtube.com/watch?v=4oUs4IV_Mj4&list=PLCBLMvLIundAOAiCvluBNuEA0-ea7_EDp)
16 | - Repository examples: [test-project](https://github.com/aBARICHELLO/godot-ci/tree/master/test-project) | [game-off](https://gitlab.com/BARICHELLO/game-off).
17 | - Test deploys using this tool: [GitHub Pages](http://barichello.me/godot-ci/) | [GitLab Pages](https://barichello.gitlab.io/godot-ci/) | [Itch.io](https://barichello.itch.io/test-project).
18 |
19 | ### Mono/C#
20 |
21 | To build a Godot project with Mono (C#) enabled, you must do two things for each job:
22 | 1. Change the container's `image` tag from `barichello/godot-ci:VERSION` to `barichello/godot-ci:mono-VERSION` in `.gitlab-ci.yml` (Gitlab) or `godot-ci.yml` (Github). (e.g. `barichello/godot-ci:mono-3.2.1`).
23 | 2. You will also need to change your "Setup" step's run commands (looks like `run: mv /root/.local ...`) from ending with `...${GODOT_VERSION}.stable` to ending with `...${GODOT_VERSION}.stable.mono`. You will need to do this for both directories in the command.
24 | ```bash
25 | mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
26 | ```
27 | becomes:
28 | ```bash
29 | mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable.mono ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable.mono
30 | ```
31 |
32 | ### Android
33 |
34 | To build a debug release (debug.keystore), use the `android_debug` job example in the `gitlab-ci.yml` file.
35 |
36 | If you want to export for Android with your own keystore, you can do this with the following steps:
37 | 1. Take your generated keystore and convert it to Base64:
38 | Linux & macOS: `base64 release.keystore -w 0`
39 | Windows: `certutil -encodehex -f release.keystore encoded.txt 0x40000001`
40 | 2. Go to **GitLab Project > Settings > CI/CD > Variables** and copy the Base64-encoded keystore value in a new variable `SECRET_RELEASE_KEYSTORE_BASE64` as type variable.
41 | 3. Create a second variable SECRET_RELEASE_KEYSTORE_USER as type variable with the alias of your keystore as value.
42 | 4. Create a third variable SECRET_RELEASE_KEYSTORE_PASSWORD as type variable with the password of your keystore as value.
43 | 5. Use the `android` job example in the `gitlab-ci.yml` file.
44 |
45 | ### GDNative/C++
46 |
47 | See [this repository](https://github.com/2shady4u/godot-cpp-ci) for automating GDNative C++ compilation, which is based off this repository.
48 |
49 | ### Modules
50 |
51 | You have to compile Godot with the modules included first. See [this excellent repository](https://gitlab.com/Calinou/godot-builds-ci) by Calinou for automating Godot builds.
52 |
53 | After that, you would use the custom build to export your project as usual. See [this guide](https://gitlab.com/greenfox/godot-build-automation/-/blob/master/advanced_topics.md#using-a-custom-build-of-godot) by Greenfox on how to use a custom Godot build for automated exports.
54 |
55 | ### iOS
56 |
57 | Not available yet. Automating Xcode projects is doable but not trivial, and macOS runners only recently became available for GitHub actions, so it will happen eventually.
58 |
59 | ## Platforms
60 |
61 | Here's a mapping between each supported CI service, the template jobs and a live example.
62 |
63 | |CI|Template|Example
64 | |-|-|-|
65 | |GitLab CI|[Godot Exports](https://github.com/aBARICHELLO/godot-ci/blob/master/.gitlab-ci.yml#L16-L58) / [GitHub Pages](https://github.com/aBARICHELLO/godot-ci/blob/master/.gitlab-ci.yml#L60-L76) / [GitLab Pages](https://github.com/aBARICHELLO/godot-ci/blob/master/.gitlab-ci.yml#L78-L91) / [Itch.io](https://github.com/aBARICHELLO/godot-ci/blob/master/.gitlab-ci.yml#L147-L167)|[GitLab CI Pipelines](https://gitlab.com/BARICHELLO/godot-ci/pipelines)
66 | |GitHub Actions|[Godot Exports](https://github.com/aBARICHELLO/godot-ci/blob/master/.github/workflows/godot-ci.yml#L8-99) | [GitHub Actions running](https://github.com/aBARICHELLO/godot-ci/actions)
67 |
68 | ## Environment configuration
69 |
70 | First you need to remove unused jobs/stages from the `.yml` file you are using as a template(`.gitlab-ci.yml` or `.github/workflows/godot-ci.yml`).
71 | Then you have to add these environments to a configuration panel depending on the chosen CI and jobs:
72 | - **GitHub**: `https://github.com///settings/secrets`
73 | - **GitLab**: `https://gitlab.com///settings/ci_cd`
74 |
75 | ### GitHub Pages
76 |
77 | Secrets needed for a GitHub Pages deploy via GitLab CI:
78 |
79 | |Variable|Description|Example|
80 | |-|-|-|
81 | | REMOTE_URL | The `git remote` where the web export will be hosted (in this case GitHub), it should contain your [deploy/personal access token](https://github.com/settings/tokens)|`https://:@github.com//.git`
82 | | GIT_EMAIL | Git email of the account that will commit to the `gh-pages` branch. | `email@example.com`
83 | | GIT_USERNAME | Username of the account that will commit to the `gh-pages` branch. | `username`
84 |
85 | Others variables are set automatically by the `gitlab-runner`, see the documentation for [predefined variables](https://docs.gitlab.com/ee/ci/variables/predefined_variables.html).
86 |
87 | ### Itch.io
88 |
89 | Deployment to Itch.io is done via [Butler](https://itch.io/docs/butler/).
90 | Secrets needed for a Itch.io deploy via GitLab CI:
91 |
92 | |Variable|Description|Example|
93 | |-|-|-|
94 | | ITCHIO_USERNAME | Your username on Itch.io, as in your personal page will be at `https://.itch.io` |`username`
95 | | ITCHIO_GAME | the name of your game on Itchio, as in your game will be available at `https://.itch.io/` |`game`
96 | | BUTLER_API_KEY | An [Itch.io API key](https://itch.io/user/settings/api-keys) is necessary for Butler so that the CI can authenticate on Itch.io on your behalf. **Make that API key `Masked`(GitLab CI) to keep it secret** |`xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx`
97 |
98 | ## Troubleshoot
99 |
100 | #### Problems while exporting
101 |
102 | - **Check that the export presets file (`export_presets.cfg`) is committed to version control.** In other words, `export_presets.cfg` must *not* be in `.gitignore`.
103 | - Make sure you don't accidentally commit Android release keystore or Windows codesigning credentials. These credentials cannot be revoked if they are leaked!
104 | - Check that the export names on `export_presets.cfg` match the ones used in your CI script **(case-sensitive)**. Export preset names that contain spaces must be written within quotes (single or double).
105 | - Check the paths used in your CI script. Some commands may be running in the wrong place if you are keeping the project in a folder (like the `test-project` template) or not.
106 |
107 | #### Authentication errors with Butler
108 | - If using GitLab, check that the 'protected' tag is disabled in the [CI/CD variables panel](https://github.com/aBARICHELLO/godot-ci#environment-configuration).
109 |
--------------------------------------------------------------------------------
/test-project/LICENSE:
--------------------------------------------------------------------------------
1 | GNU GENERAL PUBLIC LICENSE
2 | Version 3, 29 June 2007
3 |
4 | Copyright (C) 2007 Free Software Foundation, Inc.
5 | Everyone is permitted to copy and distribute verbatim copies
6 | of this license document, but changing it is not allowed.
7 |
8 | Preamble
9 |
10 | The GNU General Public License is a free, copyleft license for
11 | software and other kinds of works.
12 |
13 | The licenses for most software and other practical works are designed
14 | to take away your freedom to share and change the works. By contrast,
15 | the GNU General Public License is intended to guarantee your freedom to
16 | share and change all versions of a program--to make sure it remains free
17 | software for all its users. We, the Free Software Foundation, use the
18 | GNU General Public License for most of our software; it applies also to
19 | any other work released this way by its authors. You can apply it to
20 | your programs, too.
21 |
22 | When we speak of free software, we are referring to freedom, not
23 | price. Our General Public Licenses are designed to make sure that you
24 | have the freedom to distribute copies of free software (and charge for
25 | them if you wish), that you receive source code or can get it if you
26 | want it, that you can change the software or use pieces of it in new
27 | free programs, and that you know you can do these things.
28 |
29 | To protect your rights, we need to prevent others from denying you
30 | these rights or asking you to surrender the rights. Therefore, you have
31 | certain responsibilities if you distribute copies of the software, or if
32 | you modify it: responsibilities to respect the freedom of others.
33 |
34 | For example, if you distribute copies of such a program, whether
35 | gratis or for a fee, you must pass on to the recipients the same
36 | freedoms that you received. You must make sure that they, too, receive
37 | or can get the source code. And you must show them these terms so they
38 | know their rights.
39 |
40 | Developers that use the GNU GPL protect your rights with two steps:
41 | (1) assert copyright on the software, and (2) offer you this License
42 | giving you legal permission to copy, distribute and/or modify it.
43 |
44 | For the developers' and authors' protection, the GPL clearly explains
45 | that there is no warranty for this free software. For both users' and
46 | authors' sake, the GPL requires that modified versions be marked as
47 | changed, so that their problems will not be attributed erroneously to
48 | authors of previous versions.
49 |
50 | Some devices are designed to deny users access to install or run
51 | modified versions of the software inside them, although the manufacturer
52 | can do so. This is fundamentally incompatible with the aim of
53 | protecting users' freedom to change the software. The systematic
54 | pattern of such abuse occurs in the area of products for individuals to
55 | use, which is precisely where it is most unacceptable. Therefore, we
56 | have designed this version of the GPL to prohibit the practice for those
57 | products. If such problems arise substantially in other domains, we
58 | stand ready to extend this provision to those domains in future versions
59 | of the GPL, as needed to protect the freedom of users.
60 |
61 | Finally, every program is threatened constantly by software patents.
62 | States should not allow patents to restrict development and use of
63 | software on general-purpose computers, but in those that do, we wish to
64 | avoid the special danger that patents applied to a free program could
65 | make it effectively proprietary. To prevent this, the GPL assures that
66 | patents cannot be used to render the program non-free.
67 |
68 | The precise terms and conditions for copying, distribution and
69 | modification follow.
70 |
71 | TERMS AND CONDITIONS
72 |
73 | 0. Definitions.
74 |
75 | "This License" refers to version 3 of the GNU General Public License.
76 |
77 | "Copyright" also means copyright-like laws that apply to other kinds of
78 | works, such as semiconductor masks.
79 |
80 | "The Program" refers to any copyrightable work licensed under this
81 | License. Each licensee is addressed as "you". "Licensees" and
82 | "recipients" may be individuals or organizations.
83 |
84 | To "modify" a work means to copy from or adapt all or part of the work
85 | in a fashion requiring copyright permission, other than the making of an
86 | exact copy. The resulting work is called a "modified version" of the
87 | earlier work or a work "based on" the earlier work.
88 |
89 | A "covered work" means either the unmodified Program or a work based
90 | on the Program.
91 |
92 | To "propagate" a work means to do anything with it that, without
93 | permission, would make you directly or secondarily liable for
94 | infringement under applicable copyright law, except executing it on a
95 | computer or modifying a private copy. Propagation includes copying,
96 | distribution (with or without modification), making available to the
97 | public, and in some countries other activities as well.
98 |
99 | To "convey" a work means any kind of propagation that enables other
100 | parties to make or receive copies. Mere interaction with a user through
101 | a computer network, with no transfer of a copy, is not conveying.
102 |
103 | An interactive user interface displays "Appropriate Legal Notices"
104 | to the extent that it includes a convenient and prominently visible
105 | feature that (1) displays an appropriate copyright notice, and (2)
106 | tells the user that there is no warranty for the work (except to the
107 | extent that warranties are provided), that licensees may convey the
108 | work under this License, and how to view a copy of this License. If
109 | the interface presents a list of user commands or options, such as a
110 | menu, a prominent item in the list meets this criterion.
111 |
112 | 1. Source Code.
113 |
114 | The "source code" for a work means the preferred form of the work
115 | for making modifications to it. "Object code" means any non-source
116 | form of a work.
117 |
118 | A "Standard Interface" means an interface that either is an official
119 | standard defined by a recognized standards body, or, in the case of
120 | interfaces specified for a particular programming language, one that
121 | is widely used among developers working in that language.
122 |
123 | The "System Libraries" of an executable work include anything, other
124 | than the work as a whole, that (a) is included in the normal form of
125 | packaging a Major Component, but which is not part of that Major
126 | Component, and (b) serves only to enable use of the work with that
127 | Major Component, or to implement a Standard Interface for which an
128 | implementation is available to the public in source code form. A
129 | "Major Component", in this context, means a major essential component
130 | (kernel, window system, and so on) of the specific operating system
131 | (if any) on which the executable work runs, or a compiler used to
132 | produce the work, or an object code interpreter used to run it.
133 |
134 | The "Corresponding Source" for a work in object code form means all
135 | the source code needed to generate, install, and (for an executable
136 | work) run the object code and to modify the work, including scripts to
137 | control those activities. However, it does not include the work's
138 | System Libraries, or general-purpose tools or generally available free
139 | programs which are used unmodified in performing those activities but
140 | which are not part of the work. For example, Corresponding Source
141 | includes interface definition files associated with source files for
142 | the work, and the source code for shared libraries and dynamically
143 | linked subprograms that the work is specifically designed to require,
144 | such as by intimate data communication or control flow between those
145 | subprograms and other parts of the work.
146 |
147 | The Corresponding Source need not include anything that users
148 | can regenerate automatically from other parts of the Corresponding
149 | Source.
150 |
151 | The Corresponding Source for a work in source code form is that
152 | same work.
153 |
154 | 2. Basic Permissions.
155 |
156 | All rights granted under this License are granted for the term of
157 | copyright on the Program, and are irrevocable provided the stated
158 | conditions are met. This License explicitly affirms your unlimited
159 | permission to run the unmodified Program. The output from running a
160 | covered work is covered by this License only if the output, given its
161 | content, constitutes a covered work. This License acknowledges your
162 | rights of fair use or other equivalent, as provided by copyright law.
163 |
164 | You may make, run and propagate covered works that you do not
165 | convey, without conditions so long as your license otherwise remains
166 | in force. You may convey covered works to others for the sole purpose
167 | of having them make modifications exclusively for you, or provide you
168 | with facilities for running those works, provided that you comply with
169 | the terms of this License in conveying all material for which you do
170 | not control copyright. Those thus making or running the covered works
171 | for you must do so exclusively on your behalf, under your direction
172 | and control, on terms that prohibit them from making any copies of
173 | your copyrighted material outside their relationship with you.
174 |
175 | Conveying under any other circumstances is permitted solely under
176 | the conditions stated below. Sublicensing is not allowed; section 10
177 | makes it unnecessary.
178 |
179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
180 |
181 | No covered work shall be deemed part of an effective technological
182 | measure under any applicable law fulfilling obligations under article
183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or
184 | similar laws prohibiting or restricting circumvention of such
185 | measures.
186 |
187 | When you convey a covered work, you waive any legal power to forbid
188 | circumvention of technological measures to the extent such circumvention
189 | is effected by exercising rights under this License with respect to
190 | the covered work, and you disclaim any intention to limit operation or
191 | modification of the work as a means of enforcing, against the work's
192 | users, your or third parties' legal rights to forbid circumvention of
193 | technological measures.
194 |
195 | 4. Conveying Verbatim Copies.
196 |
197 | You may convey verbatim copies of the Program's source code as you
198 | receive it, in any medium, provided that you conspicuously and
199 | appropriately publish on each copy an appropriate copyright notice;
200 | keep intact all notices stating that this License and any
201 | non-permissive terms added in accord with section 7 apply to the code;
202 | keep intact all notices of the absence of any warranty; and give all
203 | recipients a copy of this License along with the Program.
204 |
205 | You may charge any price or no price for each copy that you convey,
206 | and you may offer support or warranty protection for a fee.
207 |
208 | 5. Conveying Modified Source Versions.
209 |
210 | You may convey a work based on the Program, or the modifications to
211 | produce it from the Program, in the form of source code under the
212 | terms of section 4, provided that you also meet all of these conditions:
213 |
214 | a) The work must carry prominent notices stating that you modified
215 | it, and giving a relevant date.
216 |
217 | b) The work must carry prominent notices stating that it is
218 | released under this License and any conditions added under section
219 | 7. This requirement modifies the requirement in section 4 to
220 | "keep intact all notices".
221 |
222 | c) You must license the entire work, as a whole, under this
223 | License to anyone who comes into possession of a copy. This
224 | License will therefore apply, along with any applicable section 7
225 | additional terms, to the whole of the work, and all its parts,
226 | regardless of how they are packaged. This License gives no
227 | permission to license the work in any other way, but it does not
228 | invalidate such permission if you have separately received it.
229 |
230 | d) If the work has interactive user interfaces, each must display
231 | Appropriate Legal Notices; however, if the Program has interactive
232 | interfaces that do not display Appropriate Legal Notices, your
233 | work need not make them do so.
234 |
235 | A compilation of a covered work with other separate and independent
236 | works, which are not by their nature extensions of the covered work,
237 | and which are not combined with it such as to form a larger program,
238 | in or on a volume of a storage or distribution medium, is called an
239 | "aggregate" if the compilation and its resulting copyright are not
240 | used to limit the access or legal rights of the compilation's users
241 | beyond what the individual works permit. Inclusion of a covered work
242 | in an aggregate does not cause this License to apply to the other
243 | parts of the aggregate.
244 |
245 | 6. Conveying Non-Source Forms.
246 |
247 | You may convey a covered work in object code form under the terms
248 | of sections 4 and 5, provided that you also convey the
249 | machine-readable Corresponding Source under the terms of this License,
250 | in one of these ways:
251 |
252 | a) Convey the object code in, or embodied in, a physical product
253 | (including a physical distribution medium), accompanied by the
254 | Corresponding Source fixed on a durable physical medium
255 | customarily used for software interchange.
256 |
257 | b) Convey the object code in, or embodied in, a physical product
258 | (including a physical distribution medium), accompanied by a
259 | written offer, valid for at least three years and valid for as
260 | long as you offer spare parts or customer support for that product
261 | model, to give anyone who possesses the object code either (1) a
262 | copy of the Corresponding Source for all the software in the
263 | product that is covered by this License, on a durable physical
264 | medium customarily used for software interchange, for a price no
265 | more than your reasonable cost of physically performing this
266 | conveying of source, or (2) access to copy the
267 | Corresponding Source from a network server at no charge.
268 |
269 | c) Convey individual copies of the object code with a copy of the
270 | written offer to provide the Corresponding Source. This
271 | alternative is allowed only occasionally and noncommercially, and
272 | only if you received the object code with such an offer, in accord
273 | with subsection 6b.
274 |
275 | d) Convey the object code by offering access from a designated
276 | place (gratis or for a charge), and offer equivalent access to the
277 | Corresponding Source in the same way through the same place at no
278 | further charge. You need not require recipients to copy the
279 | Corresponding Source along with the object code. If the place to
280 | copy the object code is a network server, the Corresponding Source
281 | may be on a different server (operated by you or a third party)
282 | that supports equivalent copying facilities, provided you maintain
283 | clear directions next to the object code saying where to find the
284 | Corresponding Source. Regardless of what server hosts the
285 | Corresponding Source, you remain obligated to ensure that it is
286 | available for as long as needed to satisfy these requirements.
287 |
288 | e) Convey the object code using peer-to-peer transmission, provided
289 | you inform other peers where the object code and Corresponding
290 | Source of the work are being offered to the general public at no
291 | charge under subsection 6d.
292 |
293 | A separable portion of the object code, whose source code is excluded
294 | from the Corresponding Source as a System Library, need not be
295 | included in conveying the object code work.
296 |
297 | A "User Product" is either (1) a "consumer product", which means any
298 | tangible personal property which is normally used for personal, family,
299 | or household purposes, or (2) anything designed or sold for incorporation
300 | into a dwelling. In determining whether a product is a consumer product,
301 | doubtful cases shall be resolved in favor of coverage. For a particular
302 | product received by a particular user, "normally used" refers to a
303 | typical or common use of that class of product, regardless of the status
304 | of the particular user or of the way in which the particular user
305 | actually uses, or expects or is expected to use, the product. A product
306 | is a consumer product regardless of whether the product has substantial
307 | commercial, industrial or non-consumer uses, unless such uses represent
308 | the only significant mode of use of the product.
309 |
310 | "Installation Information" for a User Product means any methods,
311 | procedures, authorization keys, or other information required to install
312 | and execute modified versions of a covered work in that User Product from
313 | a modified version of its Corresponding Source. The information must
314 | suffice to ensure that the continued functioning of the modified object
315 | code is in no case prevented or interfered with solely because
316 | modification has been made.
317 |
318 | If you convey an object code work under this section in, or with, or
319 | specifically for use in, a User Product, and the conveying occurs as
320 | part of a transaction in which the right of possession and use of the
321 | User Product is transferred to the recipient in perpetuity or for a
322 | fixed term (regardless of how the transaction is characterized), the
323 | Corresponding Source conveyed under this section must be accompanied
324 | by the Installation Information. But this requirement does not apply
325 | if neither you nor any third party retains the ability to install
326 | modified object code on the User Product (for example, the work has
327 | been installed in ROM).
328 |
329 | The requirement to provide Installation Information does not include a
330 | requirement to continue to provide support service, warranty, or updates
331 | for a work that has been modified or installed by the recipient, or for
332 | the User Product in which it has been modified or installed. Access to a
333 | network may be denied when the modification itself materially and
334 | adversely affects the operation of the network or violates the rules and
335 | protocols for communication across the network.
336 |
337 | Corresponding Source conveyed, and Installation Information provided,
338 | in accord with this section must be in a format that is publicly
339 | documented (and with an implementation available to the public in
340 | source code form), and must require no special password or key for
341 | unpacking, reading or copying.
342 |
343 | 7. Additional Terms.
344 |
345 | "Additional permissions" are terms that supplement the terms of this
346 | License by making exceptions from one or more of its conditions.
347 | Additional permissions that are applicable to the entire Program shall
348 | be treated as though they were included in this License, to the extent
349 | that they are valid under applicable law. If additional permissions
350 | apply only to part of the Program, that part may be used separately
351 | under those permissions, but the entire Program remains governed by
352 | this License without regard to the additional permissions.
353 |
354 | When you convey a copy of a covered work, you may at your option
355 | remove any additional permissions from that copy, or from any part of
356 | it. (Additional permissions may be written to require their own
357 | removal in certain cases when you modify the work.) You may place
358 | additional permissions on material, added by you to a covered work,
359 | for which you have or can give appropriate copyright permission.
360 |
361 | Notwithstanding any other provision of this License, for material you
362 | add to a covered work, you may (if authorized by the copyright holders of
363 | that material) supplement the terms of this License with terms:
364 |
365 | a) Disclaiming warranty or limiting liability differently from the
366 | terms of sections 15 and 16 of this License; or
367 |
368 | b) Requiring preservation of specified reasonable legal notices or
369 | author attributions in that material or in the Appropriate Legal
370 | Notices displayed by works containing it; or
371 |
372 | c) Prohibiting misrepresentation of the origin of that material, or
373 | requiring that modified versions of such material be marked in
374 | reasonable ways as different from the original version; or
375 |
376 | d) Limiting the use for publicity purposes of names of licensors or
377 | authors of the material; or
378 |
379 | e) Declining to grant rights under trademark law for use of some
380 | trade names, trademarks, or service marks; or
381 |
382 | f) Requiring indemnification of licensors and authors of that
383 | material by anyone who conveys the material (or modified versions of
384 | it) with contractual assumptions of liability to the recipient, for
385 | any liability that these contractual assumptions directly impose on
386 | those licensors and authors.
387 |
388 | All other non-permissive additional terms are considered "further
389 | restrictions" within the meaning of section 10. If the Program as you
390 | received it, or any part of it, contains a notice stating that it is
391 | governed by this License along with a term that is a further
392 | restriction, you may remove that term. If a license document contains
393 | a further restriction but permits relicensing or conveying under this
394 | License, you may add to a covered work material governed by the terms
395 | of that license document, provided that the further restriction does
396 | not survive such relicensing or conveying.
397 |
398 | If you add terms to a covered work in accord with this section, you
399 | must place, in the relevant source files, a statement of the
400 | additional terms that apply to those files, or a notice indicating
401 | where to find the applicable terms.
402 |
403 | Additional terms, permissive or non-permissive, may be stated in the
404 | form of a separately written license, or stated as exceptions;
405 | the above requirements apply either way.
406 |
407 | 8. Termination.
408 |
409 | You may not propagate or modify a covered work except as expressly
410 | provided under this License. Any attempt otherwise to propagate or
411 | modify it is void, and will automatically terminate your rights under
412 | this License (including any patent licenses granted under the third
413 | paragraph of section 11).
414 |
415 | However, if you cease all violation of this License, then your
416 | license from a particular copyright holder is reinstated (a)
417 | provisionally, unless and until the copyright holder explicitly and
418 | finally terminates your license, and (b) permanently, if the copyright
419 | holder fails to notify you of the violation by some reasonable means
420 | prior to 60 days after the cessation.
421 |
422 | Moreover, your license from a particular copyright holder is
423 | reinstated permanently if the copyright holder notifies you of the
424 | violation by some reasonable means, this is the first time you have
425 | received notice of violation of this License (for any work) from that
426 | copyright holder, and you cure the violation prior to 30 days after
427 | your receipt of the notice.
428 |
429 | Termination of your rights under this section does not terminate the
430 | licenses of parties who have received copies or rights from you under
431 | this License. If your rights have been terminated and not permanently
432 | reinstated, you do not qualify to receive new licenses for the same
433 | material under section 10.
434 |
435 | 9. Acceptance Not Required for Having Copies.
436 |
437 | You are not required to accept this License in order to receive or
438 | run a copy of the Program. Ancillary propagation of a covered work
439 | occurring solely as a consequence of using peer-to-peer transmission
440 | to receive a copy likewise does not require acceptance. However,
441 | nothing other than this License grants you permission to propagate or
442 | modify any covered work. These actions infringe copyright if you do
443 | not accept this License. Therefore, by modifying or propagating a
444 | covered work, you indicate your acceptance of this License to do so.
445 |
446 | 10. Automatic Licensing of Downstream Recipients.
447 |
448 | Each time you convey a covered work, the recipient automatically
449 | receives a license from the original licensors, to run, modify and
450 | propagate that work, subject to this License. You are not responsible
451 | for enforcing compliance by third parties with this License.
452 |
453 | An "entity transaction" is a transaction transferring control of an
454 | organization, or substantially all assets of one, or subdividing an
455 | organization, or merging organizations. If propagation of a covered
456 | work results from an entity transaction, each party to that
457 | transaction who receives a copy of the work also receives whatever
458 | licenses to the work the party's predecessor in interest had or could
459 | give under the previous paragraph, plus a right to possession of the
460 | Corresponding Source of the work from the predecessor in interest, if
461 | the predecessor has it or can get it with reasonable efforts.
462 |
463 | You may not impose any further restrictions on the exercise of the
464 | rights granted or affirmed under this License. For example, you may
465 | not impose a license fee, royalty, or other charge for exercise of
466 | rights granted under this License, and you may not initiate litigation
467 | (including a cross-claim or counterclaim in a lawsuit) alleging that
468 | any patent claim is infringed by making, using, selling, offering for
469 | sale, or importing the Program or any portion of it.
470 |
471 | 11. Patents.
472 |
473 | A "contributor" is a copyright holder who authorizes use under this
474 | License of the Program or a work on which the Program is based. The
475 | work thus licensed is called the contributor's "contributor version".
476 |
477 | A contributor's "essential patent claims" are all patent claims
478 | owned or controlled by the contributor, whether already acquired or
479 | hereafter acquired, that would be infringed by some manner, permitted
480 | by this License, of making, using, or selling its contributor version,
481 | but do not include claims that would be infringed only as a
482 | consequence of further modification of the contributor version. For
483 | purposes of this definition, "control" includes the right to grant
484 | patent sublicenses in a manner consistent with the requirements of
485 | this License.
486 |
487 | Each contributor grants you a non-exclusive, worldwide, royalty-free
488 | patent license under the contributor's essential patent claims, to
489 | make, use, sell, offer for sale, import and otherwise run, modify and
490 | propagate the contents of its contributor version.
491 |
492 | In the following three paragraphs, a "patent license" is any express
493 | agreement or commitment, however denominated, not to enforce a patent
494 | (such as an express permission to practice a patent or covenant not to
495 | sue for patent infringement). To "grant" such a patent license to a
496 | party means to make such an agreement or commitment not to enforce a
497 | patent against the party.
498 |
499 | If you convey a covered work, knowingly relying on a patent license,
500 | and the Corresponding Source of the work is not available for anyone
501 | to copy, free of charge and under the terms of this License, through a
502 | publicly available network server or other readily accessible means,
503 | then you must either (1) cause the Corresponding Source to be so
504 | available, or (2) arrange to deprive yourself of the benefit of the
505 | patent license for this particular work, or (3) arrange, in a manner
506 | consistent with the requirements of this License, to extend the patent
507 | license to downstream recipients. "Knowingly relying" means you have
508 | actual knowledge that, but for the patent license, your conveying the
509 | covered work in a country, or your recipient's use of the covered work
510 | in a country, would infringe one or more identifiable patents in that
511 | country that you have reason to believe are valid.
512 |
513 | If, pursuant to or in connection with a single transaction or
514 | arrangement, you convey, or propagate by procuring conveyance of, a
515 | covered work, and grant a patent license to some of the parties
516 | receiving the covered work authorizing them to use, propagate, modify
517 | or convey a specific copy of the covered work, then the patent license
518 | you grant is automatically extended to all recipients of the covered
519 | work and works based on it.
520 |
521 | A patent license is "discriminatory" if it does not include within
522 | the scope of its coverage, prohibits the exercise of, or is
523 | conditioned on the non-exercise of one or more of the rights that are
524 | specifically granted under this License. You may not convey a covered
525 | work if you are a party to an arrangement with a third party that is
526 | in the business of distributing software, under which you make payment
527 | to the third party based on the extent of your activity of conveying
528 | the work, and under which the third party grants, to any of the
529 | parties who would receive the covered work from you, a discriminatory
530 | patent license (a) in connection with copies of the covered work
531 | conveyed by you (or copies made from those copies), or (b) primarily
532 | for and in connection with specific products or compilations that
533 | contain the covered work, unless you entered into that arrangement,
534 | or that patent license was granted, prior to 28 March 2007.
535 |
536 | Nothing in this License shall be construed as excluding or limiting
537 | any implied license or other defenses to infringement that may
538 | otherwise be available to you under applicable patent law.
539 |
540 | 12. No Surrender of Others' Freedom.
541 |
542 | If conditions are imposed on you (whether by court order, agreement or
543 | otherwise) that contradict the conditions of this License, they do not
544 | excuse you from the conditions of this License. If you cannot convey a
545 | covered work so as to satisfy simultaneously your obligations under this
546 | License and any other pertinent obligations, then as a consequence you may
547 | not convey it at all. For example, if you agree to terms that obligate you
548 | to collect a royalty for further conveying from those to whom you convey
549 | the Program, the only way you could satisfy both those terms and this
550 | License would be to refrain entirely from conveying the Program.
551 |
552 | 13. Use with the GNU Affero General Public License.
553 |
554 | Notwithstanding any other provision of this License, you have
555 | permission to link or combine any covered work with a work licensed
556 | under version 3 of the GNU Affero General Public License into a single
557 | combined work, and to convey the resulting work. The terms of this
558 | License will continue to apply to the part which is the covered work,
559 | but the special requirements of the GNU Affero General Public License,
560 | section 13, concerning interaction through a network will apply to the
561 | combination as such.
562 |
563 | 14. Revised Versions of this License.
564 |
565 | The Free Software Foundation may publish revised and/or new versions of
566 | the GNU General Public License from time to time. Such new versions will
567 | be similar in spirit to the present version, but may differ in detail to
568 | address new problems or concerns.
569 |
570 | Each version is given a distinguishing version number. If the
571 | Program specifies that a certain numbered version of the GNU General
572 | Public License "or any later version" applies to it, you have the
573 | option of following the terms and conditions either of that numbered
574 | version or of any later version published by the Free Software
575 | Foundation. If the Program does not specify a version number of the
576 | GNU General Public License, you may choose any version ever published
577 | by the Free Software Foundation.
578 |
579 | If the Program specifies that a proxy can decide which future
580 | versions of the GNU General Public License can be used, that proxy's
581 | public statement of acceptance of a version permanently authorizes you
582 | to choose that version for the Program.
583 |
584 | Later license versions may give you additional or different
585 | permissions. However, no additional obligations are imposed on any
586 | author or copyright holder as a result of your choosing to follow a
587 | later version.
588 |
589 | 15. Disclaimer of Warranty.
590 |
591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
599 |
600 | 16. Limitation of Liability.
601 |
602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
610 | SUCH DAMAGES.
611 |
612 | 17. Interpretation of Sections 15 and 16.
613 |
614 | If the disclaimer of warranty and limitation of liability provided
615 | above cannot be given local legal effect according to their terms,
616 | reviewing courts shall apply local law that most closely approximates
617 | an absolute waiver of all civil liability in connection with the
618 | Program, unless a warranty or assumption of liability accompanies a
619 | copy of the Program in return for a fee.
620 |
621 | END OF TERMS AND CONDITIONS
622 |
623 | How to Apply These Terms to Your New Programs
624 |
625 | If you develop a new program, and you want it to be of the greatest
626 | possible use to the public, the best way to achieve this is to make it
627 | free software which everyone can redistribute and change under these terms.
628 |
629 | To do so, attach the following notices to the program. It is safest
630 | to attach them to the start of each source file to most effectively
631 | state the exclusion of warranty; and each file should have at least
632 | the "copyright" line and a pointer to where the full notice is found.
633 |
634 |
635 | Copyright (C)
636 |
637 | This program is free software: you can redistribute it and/or modify
638 | it under the terms of the GNU General Public License as published by
639 | the Free Software Foundation, either version 3 of the License, or
640 | (at your option) any later version.
641 |
642 | This program is distributed in the hope that it will be useful,
643 | but WITHOUT ANY WARRANTY; without even the implied warranty of
644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
645 | GNU General Public License for more details.
646 |
647 | You should have received a copy of the GNU General Public License
648 | along with this program. If not, see .
649 |
650 | Also add information on how to contact you by electronic and paper mail.
651 |
652 | If the program does terminal interaction, make it output a short
653 | notice like this when it starts in an interactive mode:
654 |
655 | Copyright (C)
656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
657 | This is free software, and you are welcome to redistribute it
658 | under certain conditions; type `show c' for details.
659 |
660 | The hypothetical commands `show w' and `show c' should show the appropriate
661 | parts of the General Public License. Of course, your program's commands
662 | might be different; for a GUI interface, you would use an "about box".
663 |
664 | You should also get your employer (if you work as a programmer) or school,
665 | if any, to sign a "copyright disclaimer" for the program, if necessary.
666 | For more information on this, and how to apply and follow the GNU GPL, see
667 | .
668 |
669 | The GNU General Public License does not permit incorporating your program
670 | into proprietary programs. If your program is a subroutine library, you
671 | may consider it more useful to permit linking proprietary applications with
672 | the library. If this is what you want to do, use the GNU Lesser General
673 | Public License instead of this License. But first, please read
674 | .
675 |
--------------------------------------------------------------------------------
/test-project/export_presets.cfg:
--------------------------------------------------------------------------------
1 | [preset.0]
2 |
3 | name="Windows Desktop"
4 | platform="Windows Desktop"
5 | runnable=true
6 | advanced_options=false
7 | dedicated_server=false
8 | custom_features=""
9 | export_filter="all_resources"
10 | include_filter=""
11 | exclude_filter=""
12 | export_path=""
13 | encryption_include_filters=""
14 | encryption_exclude_filters=""
15 | encrypt_pck=false
16 | encrypt_directory=false
17 | script_export_mode=2
18 |
19 | [preset.0.options]
20 |
21 | custom_template/debug=""
22 | custom_template/release=""
23 | debug/export_console_wrapper=1
24 | binary_format/embed_pck=false
25 | texture_format/s3tc_bptc=true
26 | texture_format/etc2_astc=false
27 | binary_format/architecture="x86_64"
28 | codesign/enable=false
29 | codesign/timestamp=true
30 | codesign/timestamp_server_url=""
31 | codesign/digest_algorithm=1
32 | codesign/description=""
33 | codesign/custom_options=PackedStringArray()
34 | application/modify_resources=true
35 | application/icon=""
36 | application/console_wrapper_icon=""
37 | application/icon_interpolation=4
38 | application/file_version=""
39 | application/product_version=""
40 | application/company_name=""
41 | application/product_name=""
42 | application/file_description=""
43 | application/copyright=""
44 | application/trademarks=""
45 | application/export_angle=0
46 | application/export_d3d12=0
47 | application/d3d12_agility_sdk_multiarch=true
48 | ssh_remote_deploy/enabled=false
49 | ssh_remote_deploy/host="user@host_ip"
50 | ssh_remote_deploy/port="22"
51 | ssh_remote_deploy/extra_args_ssh=""
52 | ssh_remote_deploy/extra_args_scp=""
53 | ssh_remote_deploy/run_script="Expand-Archive -LiteralPath '{temp_dir}\\{archive_name}' -DestinationPath '{temp_dir}'
54 | $action = New-ScheduledTaskAction -Execute '{temp_dir}\\{exe_name}' -Argument '{cmd_args}'
55 | $trigger = New-ScheduledTaskTrigger -Once -At 00:00
56 | $settings = New-ScheduledTaskSettingsSet
57 | $task = New-ScheduledTask -Action $action -Trigger $trigger -Settings $settings
58 | Register-ScheduledTask godot_remote_debug -InputObject $task -Force:$true
59 | Start-ScheduledTask -TaskName godot_remote_debug
60 | while (Get-ScheduledTask -TaskName godot_remote_debug | ? State -eq running) { Start-Sleep -Milliseconds 100 }
61 | Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue"
62 | ssh_remote_deploy/cleanup_script="Stop-ScheduledTask -TaskName godot_remote_debug -ErrorAction:SilentlyContinue
63 | Unregister-ScheduledTask -TaskName godot_remote_debug -Confirm:$false -ErrorAction:SilentlyContinue
64 | Remove-Item -Recurse -Force '{temp_dir}'"
65 | texture_format/bptc=true
66 | texture_format/s3tc=true
67 | texture_format/etc=true
68 | texture_format/etc2=true
69 | texture_format/no_bptc_fallbacks=true
70 | binary_format/64_bits=true
71 |
72 | [preset.1]
73 |
74 | name="macOS"
75 | platform="macOS"
76 | runnable=true
77 | advanced_options=false
78 | dedicated_server=false
79 | custom_features=""
80 | export_filter="all_resources"
81 | include_filter=""
82 | exclude_filter=""
83 | export_path=""
84 | encryption_include_filters=""
85 | encryption_exclude_filters=""
86 | encrypt_pck=false
87 | encrypt_directory=false
88 | script_export_mode=2
89 |
90 | [preset.1.options]
91 |
92 | export/distribution_type=1
93 | binary_format/architecture="universal"
94 | custom_template/debug=""
95 | custom_template/release=""
96 | debug/export_console_wrapper=1
97 | application/icon=""
98 | application/icon_interpolation=4
99 | application/bundle_identifier="org.godotengine.godot-ci"
100 | application/signature=""
101 | application/app_category="Games"
102 | application/short_version=""
103 | application/version=""
104 | application/copyright=""
105 | application/copyright_localized={}
106 | application/min_macos_version="10.12"
107 | application/export_angle=0
108 | display/high_res=true
109 | application/additional_plist_content=""
110 | xcode/platform_build="14C18"
111 | xcode/sdk_version="13.1"
112 | xcode/sdk_build="22C55"
113 | xcode/sdk_name="macosx13.1"
114 | xcode/xcode_version="1420"
115 | xcode/xcode_build="14C18"
116 | codesign/codesign=1
117 | codesign/installer_identity=""
118 | codesign/apple_team_id=""
119 | codesign/identity=""
120 | codesign/entitlements/custom_file=""
121 | codesign/entitlements/allow_jit_code_execution=false
122 | codesign/entitlements/allow_unsigned_executable_memory=false
123 | codesign/entitlements/allow_dyld_environment_variables=false
124 | codesign/entitlements/disable_library_validation=false
125 | codesign/entitlements/audio_input=false
126 | codesign/entitlements/camera=false
127 | codesign/entitlements/location=false
128 | codesign/entitlements/address_book=false
129 | codesign/entitlements/calendars=false
130 | codesign/entitlements/photos_library=false
131 | codesign/entitlements/apple_events=false
132 | codesign/entitlements/debugging=false
133 | codesign/entitlements/app_sandbox/enabled=false
134 | codesign/entitlements/app_sandbox/network_server=false
135 | codesign/entitlements/app_sandbox/network_client=false
136 | codesign/entitlements/app_sandbox/device_usb=false
137 | codesign/entitlements/app_sandbox/device_bluetooth=false
138 | codesign/entitlements/app_sandbox/files_downloads=0
139 | codesign/entitlements/app_sandbox/files_pictures=0
140 | codesign/entitlements/app_sandbox/files_music=0
141 | codesign/entitlements/app_sandbox/files_movies=0
142 | codesign/entitlements/app_sandbox/files_user_selected=0
143 | codesign/entitlements/app_sandbox/helper_executables=[]
144 | codesign/custom_options=PackedStringArray()
145 | notarization/notarization=0
146 | privacy/microphone_usage_description=""
147 | privacy/microphone_usage_description_localized={}
148 | privacy/camera_usage_description=""
149 | privacy/camera_usage_description_localized={}
150 | privacy/location_usage_description=""
151 | privacy/location_usage_description_localized={}
152 | privacy/address_book_usage_description=""
153 | privacy/address_book_usage_description_localized={}
154 | privacy/calendar_usage_description=""
155 | privacy/calendar_usage_description_localized={}
156 | privacy/photos_library_usage_description=""
157 | privacy/photos_library_usage_description_localized={}
158 | privacy/desktop_folder_usage_description=""
159 | privacy/desktop_folder_usage_description_localized={}
160 | privacy/documents_folder_usage_description=""
161 | privacy/documents_folder_usage_description_localized={}
162 | privacy/downloads_folder_usage_description=""
163 | privacy/downloads_folder_usage_description_localized={}
164 | privacy/network_volumes_usage_description=""
165 | privacy/network_volumes_usage_description_localized={}
166 | privacy/removable_volumes_usage_description=""
167 | privacy/removable_volumes_usage_description_localized={}
168 | privacy/tracking_enabled=false
169 | privacy/tracking_domains=PackedStringArray()
170 | privacy/collected_data/name/collected=false
171 | privacy/collected_data/name/linked_to_user=false
172 | privacy/collected_data/name/used_for_tracking=false
173 | privacy/collected_data/name/collection_purposes=0
174 | privacy/collected_data/email_address/collected=false
175 | privacy/collected_data/email_address/linked_to_user=false
176 | privacy/collected_data/email_address/used_for_tracking=false
177 | privacy/collected_data/email_address/collection_purposes=0
178 | privacy/collected_data/phone_number/collected=false
179 | privacy/collected_data/phone_number/linked_to_user=false
180 | privacy/collected_data/phone_number/used_for_tracking=false
181 | privacy/collected_data/phone_number/collection_purposes=0
182 | privacy/collected_data/physical_address/collected=false
183 | privacy/collected_data/physical_address/linked_to_user=false
184 | privacy/collected_data/physical_address/used_for_tracking=false
185 | privacy/collected_data/physical_address/collection_purposes=0
186 | privacy/collected_data/other_contact_info/collected=false
187 | privacy/collected_data/other_contact_info/linked_to_user=false
188 | privacy/collected_data/other_contact_info/used_for_tracking=false
189 | privacy/collected_data/other_contact_info/collection_purposes=0
190 | privacy/collected_data/health/collected=false
191 | privacy/collected_data/health/linked_to_user=false
192 | privacy/collected_data/health/used_for_tracking=false
193 | privacy/collected_data/health/collection_purposes=0
194 | privacy/collected_data/fitness/collected=false
195 | privacy/collected_data/fitness/linked_to_user=false
196 | privacy/collected_data/fitness/used_for_tracking=false
197 | privacy/collected_data/fitness/collection_purposes=0
198 | privacy/collected_data/payment_info/collected=false
199 | privacy/collected_data/payment_info/linked_to_user=false
200 | privacy/collected_data/payment_info/used_for_tracking=false
201 | privacy/collected_data/payment_info/collection_purposes=0
202 | privacy/collected_data/credit_info/collected=false
203 | privacy/collected_data/credit_info/linked_to_user=false
204 | privacy/collected_data/credit_info/used_for_tracking=false
205 | privacy/collected_data/credit_info/collection_purposes=0
206 | privacy/collected_data/other_financial_info/collected=false
207 | privacy/collected_data/other_financial_info/linked_to_user=false
208 | privacy/collected_data/other_financial_info/used_for_tracking=false
209 | privacy/collected_data/other_financial_info/collection_purposes=0
210 | privacy/collected_data/precise_location/collected=false
211 | privacy/collected_data/precise_location/linked_to_user=false
212 | privacy/collected_data/precise_location/used_for_tracking=false
213 | privacy/collected_data/precise_location/collection_purposes=0
214 | privacy/collected_data/coarse_location/collected=false
215 | privacy/collected_data/coarse_location/linked_to_user=false
216 | privacy/collected_data/coarse_location/used_for_tracking=false
217 | privacy/collected_data/coarse_location/collection_purposes=0
218 | privacy/collected_data/sensitive_info/collected=false
219 | privacy/collected_data/sensitive_info/linked_to_user=false
220 | privacy/collected_data/sensitive_info/used_for_tracking=false
221 | privacy/collected_data/sensitive_info/collection_purposes=0
222 | privacy/collected_data/contacts/collected=false
223 | privacy/collected_data/contacts/linked_to_user=false
224 | privacy/collected_data/contacts/used_for_tracking=false
225 | privacy/collected_data/contacts/collection_purposes=0
226 | privacy/collected_data/emails_or_text_messages/collected=false
227 | privacy/collected_data/emails_or_text_messages/linked_to_user=false
228 | privacy/collected_data/emails_or_text_messages/used_for_tracking=false
229 | privacy/collected_data/emails_or_text_messages/collection_purposes=0
230 | privacy/collected_data/photos_or_videos/collected=false
231 | privacy/collected_data/photos_or_videos/linked_to_user=false
232 | privacy/collected_data/photos_or_videos/used_for_tracking=false
233 | privacy/collected_data/photos_or_videos/collection_purposes=0
234 | privacy/collected_data/audio_data/collected=false
235 | privacy/collected_data/audio_data/linked_to_user=false
236 | privacy/collected_data/audio_data/used_for_tracking=false
237 | privacy/collected_data/audio_data/collection_purposes=0
238 | privacy/collected_data/gameplay_content/collected=false
239 | privacy/collected_data/gameplay_content/linked_to_user=false
240 | privacy/collected_data/gameplay_content/used_for_tracking=false
241 | privacy/collected_data/gameplay_content/collection_purposes=0
242 | privacy/collected_data/customer_support/collected=false
243 | privacy/collected_data/customer_support/linked_to_user=false
244 | privacy/collected_data/customer_support/used_for_tracking=false
245 | privacy/collected_data/customer_support/collection_purposes=0
246 | privacy/collected_data/other_user_content/collected=false
247 | privacy/collected_data/other_user_content/linked_to_user=false
248 | privacy/collected_data/other_user_content/used_for_tracking=false
249 | privacy/collected_data/other_user_content/collection_purposes=0
250 | privacy/collected_data/browsing_history/collected=false
251 | privacy/collected_data/browsing_history/linked_to_user=false
252 | privacy/collected_data/browsing_history/used_for_tracking=false
253 | privacy/collected_data/browsing_history/collection_purposes=0
254 | privacy/collected_data/search_hhistory/collected=false
255 | privacy/collected_data/search_hhistory/linked_to_user=false
256 | privacy/collected_data/search_hhistory/used_for_tracking=false
257 | privacy/collected_data/search_hhistory/collection_purposes=0
258 | privacy/collected_data/user_id/collected=false
259 | privacy/collected_data/user_id/linked_to_user=false
260 | privacy/collected_data/user_id/used_for_tracking=false
261 | privacy/collected_data/user_id/collection_purposes=0
262 | privacy/collected_data/device_id/collected=false
263 | privacy/collected_data/device_id/linked_to_user=false
264 | privacy/collected_data/device_id/used_for_tracking=false
265 | privacy/collected_data/device_id/collection_purposes=0
266 | privacy/collected_data/purchase_history/collected=false
267 | privacy/collected_data/purchase_history/linked_to_user=false
268 | privacy/collected_data/purchase_history/used_for_tracking=false
269 | privacy/collected_data/purchase_history/collection_purposes=0
270 | privacy/collected_data/product_interaction/collected=false
271 | privacy/collected_data/product_interaction/linked_to_user=false
272 | privacy/collected_data/product_interaction/used_for_tracking=false
273 | privacy/collected_data/product_interaction/collection_purposes=0
274 | privacy/collected_data/advertising_data/collected=false
275 | privacy/collected_data/advertising_data/linked_to_user=false
276 | privacy/collected_data/advertising_data/used_for_tracking=false
277 | privacy/collected_data/advertising_data/collection_purposes=0
278 | privacy/collected_data/other_usage_data/collected=false
279 | privacy/collected_data/other_usage_data/linked_to_user=false
280 | privacy/collected_data/other_usage_data/used_for_tracking=false
281 | privacy/collected_data/other_usage_data/collection_purposes=0
282 | privacy/collected_data/crash_data/collected=false
283 | privacy/collected_data/crash_data/linked_to_user=false
284 | privacy/collected_data/crash_data/used_for_tracking=false
285 | privacy/collected_data/crash_data/collection_purposes=0
286 | privacy/collected_data/performance_data/collected=false
287 | privacy/collected_data/performance_data/linked_to_user=false
288 | privacy/collected_data/performance_data/used_for_tracking=false
289 | privacy/collected_data/performance_data/collection_purposes=0
290 | privacy/collected_data/other_diagnostic_data/collected=false
291 | privacy/collected_data/other_diagnostic_data/linked_to_user=false
292 | privacy/collected_data/other_diagnostic_data/used_for_tracking=false
293 | privacy/collected_data/other_diagnostic_data/collection_purposes=0
294 | privacy/collected_data/environment_scanning/collected=false
295 | privacy/collected_data/environment_scanning/linked_to_user=false
296 | privacy/collected_data/environment_scanning/used_for_tracking=false
297 | privacy/collected_data/environment_scanning/collection_purposes=0
298 | privacy/collected_data/hands/collected=false
299 | privacy/collected_data/hands/linked_to_user=false
300 | privacy/collected_data/hands/used_for_tracking=false
301 | privacy/collected_data/hands/collection_purposes=0
302 | privacy/collected_data/head/collected=false
303 | privacy/collected_data/head/linked_to_user=false
304 | privacy/collected_data/head/used_for_tracking=false
305 | privacy/collected_data/head/collection_purposes=0
306 | privacy/collected_data/other_data_types/collected=false
307 | privacy/collected_data/other_data_types/linked_to_user=false
308 | privacy/collected_data/other_data_types/used_for_tracking=false
309 | privacy/collected_data/other_data_types/collection_purposes=0
310 | ssh_remote_deploy/enabled=false
311 | ssh_remote_deploy/host="user@host_ip"
312 | ssh_remote_deploy/port="22"
313 | ssh_remote_deploy/extra_args_ssh=""
314 | ssh_remote_deploy/extra_args_scp=""
315 | ssh_remote_deploy/run_script="#!/usr/bin/env bash
316 | unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
317 | open \"{temp_dir}/{exe_name}.app\" --args {cmd_args}"
318 | ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
319 | kill $(pgrep -x -f \"{temp_dir}/{exe_name}.app/Contents/MacOS/{exe_name} {cmd_args}\")
320 | rm -rf \"{temp_dir}\""
321 | graphics/32_bits_framebuffer=true
322 | xr_features/xr_mode=0
323 | xr_features/degrees_of_freedom=0
324 | xr_features/hand_tracking=0
325 | xr_features/focus_awareness=false
326 | one_click_deploy/clear_previous_install=false
327 | custom_template/use_custom_build=false
328 | command_line/extra_args=""
329 | version/code=1
330 | version/name="1.0"
331 | package/unique_name="org.godotengine.$genname"
332 | package/name=""
333 | package/signed=true
334 | screen/immersive_mode=true
335 | screen/orientation=0
336 | screen/support_small=true
337 | screen/support_normal=true
338 | screen/support_large=true
339 | screen/support_xlarge=true
340 | screen/opengl_debug=false
341 | launcher_icons/main_192x192=""
342 | launcher_icons/adaptive_foreground_432x432=""
343 | launcher_icons/adaptive_background_432x432=""
344 | keystore/debug=""
345 | keystore/debug_user=""
346 | keystore/debug_password=""
347 | keystore/release=""
348 | keystore/release_user=""
349 | keystore/release_password=""
350 | apk_expansion/enable=false
351 | apk_expansion/SALT=""
352 | apk_expansion/public_key=""
353 | architectures/armeabi-v7a=true
354 | architectures/arm64-v8a=true
355 | architectures/x86=false
356 | architectures/x86_64=false
357 | permissions/custom_permissions=PackedStringArray()
358 | permissions/access_checkin_properties=false
359 | permissions/access_coarse_location=false
360 | permissions/access_fine_location=false
361 | permissions/access_location_extra_commands=false
362 | permissions/access_mock_location=false
363 | permissions/access_network_state=false
364 | permissions/access_surface_flinger=false
365 | permissions/access_wifi_state=false
366 | permissions/account_manager=false
367 | permissions/add_voicemail=false
368 | permissions/authenticate_accounts=false
369 | permissions/battery_stats=false
370 | permissions/bind_accessibility_service=false
371 | permissions/bind_appwidget=false
372 | permissions/bind_device_admin=false
373 | permissions/bind_input_method=false
374 | permissions/bind_nfc_service=false
375 | permissions/bind_notification_listener_service=false
376 | permissions/bind_print_service=false
377 | permissions/bind_remoteviews=false
378 | permissions/bind_text_service=false
379 | permissions/bind_vpn_service=false
380 | permissions/bind_wallpaper=false
381 | permissions/bluetooth=false
382 | permissions/bluetooth_admin=false
383 | permissions/bluetooth_privileged=false
384 | permissions/brick=false
385 | permissions/broadcast_package_removed=false
386 | permissions/broadcast_sms=false
387 | permissions/broadcast_sticky=false
388 | permissions/broadcast_wap_push=false
389 | permissions/call_phone=false
390 | permissions/call_privileged=false
391 | permissions/camera=false
392 | permissions/capture_audio_output=false
393 | permissions/capture_secure_video_output=false
394 | permissions/capture_video_output=false
395 | permissions/change_component_enabled_state=false
396 | permissions/change_configuration=false
397 | permissions/change_network_state=false
398 | permissions/change_wifi_multicast_state=false
399 | permissions/change_wifi_state=false
400 | permissions/clear_app_cache=false
401 | permissions/clear_app_user_data=false
402 | permissions/control_location_updates=false
403 | permissions/delete_cache_files=false
404 | permissions/delete_packages=false
405 | permissions/device_power=false
406 | permissions/diagnostic=false
407 | permissions/disable_keyguard=false
408 | permissions/dump=false
409 | permissions/expand_status_bar=false
410 | permissions/factory_test=false
411 | permissions/flashlight=false
412 | permissions/force_back=false
413 | permissions/get_accounts=false
414 | permissions/get_package_size=false
415 | permissions/get_tasks=false
416 | permissions/get_top_activity_info=false
417 | permissions/global_search=false
418 | permissions/hardware_test=false
419 | permissions/inject_events=false
420 | permissions/install_location_provider=false
421 | permissions/install_packages=false
422 | permissions/install_shortcut=false
423 | permissions/internal_system_window=false
424 | permissions/internet=false
425 | permissions/kill_background_processes=false
426 | permissions/location_hardware=false
427 | permissions/manage_accounts=false
428 | permissions/manage_app_tokens=false
429 | permissions/manage_documents=false
430 | permissions/master_clear=false
431 | permissions/media_content_control=false
432 | permissions/modify_audio_settings=false
433 | permissions/modify_phone_state=false
434 | permissions/mount_format_filesystems=false
435 | permissions/mount_unmount_filesystems=false
436 | permissions/nfc=false
437 | permissions/persistent_activity=false
438 | permissions/process_outgoing_calls=false
439 | permissions/read_calendar=false
440 | permissions/read_call_log=false
441 | permissions/read_contacts=false
442 | permissions/read_external_storage=false
443 | permissions/read_frame_buffer=false
444 | permissions/read_history_bookmarks=false
445 | permissions/read_input_state=false
446 | permissions/read_logs=false
447 | permissions/read_phone_state=false
448 | permissions/read_profile=false
449 | permissions/read_sms=false
450 | permissions/read_social_stream=false
451 | permissions/read_sync_settings=false
452 | permissions/read_sync_stats=false
453 | permissions/read_user_dictionary=false
454 | permissions/reboot=false
455 | permissions/receive_boot_completed=false
456 | permissions/receive_mms=false
457 | permissions/receive_sms=false
458 | permissions/receive_wap_push=false
459 | permissions/record_audio=false
460 | permissions/reorder_tasks=false
461 | permissions/restart_packages=false
462 | permissions/send_respond_via_message=false
463 | permissions/send_sms=false
464 | permissions/set_activity_watcher=false
465 | permissions/set_alarm=false
466 | permissions/set_always_finish=false
467 | permissions/set_animation_scale=false
468 | permissions/set_debug_app=false
469 | permissions/set_orientation=false
470 | permissions/set_pointer_speed=false
471 | permissions/set_preferred_applications=false
472 | permissions/set_process_limit=false
473 | permissions/set_time=false
474 | permissions/set_time_zone=false
475 | permissions/set_wallpaper=false
476 | permissions/set_wallpaper_hints=false
477 | permissions/signal_persistent_processes=false
478 | permissions/status_bar=false
479 | permissions/subscribed_feeds_read=false
480 | permissions/subscribed_feeds_write=false
481 | permissions/system_alert_window=false
482 | permissions/transmit_ir=false
483 | permissions/uninstall_shortcut=false
484 | permissions/update_device_stats=false
485 | permissions/use_credentials=false
486 | permissions/use_sip=false
487 | permissions/vibrate=false
488 | permissions/wake_lock=false
489 | permissions/write_apn_settings=false
490 | permissions/write_calendar=false
491 | permissions/write_call_log=false
492 | permissions/write_contacts=false
493 | permissions/write_external_storage=false
494 | permissions/write_gservices=false
495 | permissions/write_history_bookmarks=false
496 | permissions/write_profile=false
497 | permissions/write_secure_settings=false
498 | permissions/write_settings=false
499 | permissions/write_sms=false
500 | permissions/write_social_stream=false
501 | permissions/write_sync_settings=false
502 | permissions/write_user_dictionary=false
503 |
504 | [preset.2]
505 |
506 | name="Linux/X11"
507 | platform="Linux"
508 | runnable=true
509 | advanced_options=false
510 | dedicated_server=false
511 | custom_features=""
512 | export_filter="all_resources"
513 | include_filter=""
514 | exclude_filter=""
515 | export_path=""
516 | encryption_include_filters=""
517 | encryption_exclude_filters=""
518 | encrypt_pck=false
519 | encrypt_directory=false
520 | script_export_mode=2
521 |
522 | [preset.2.options]
523 |
524 | custom_template/debug=""
525 | custom_template/release=""
526 | debug/export_console_wrapper=1
527 | binary_format/embed_pck=false
528 | texture_format/s3tc_bptc=true
529 | texture_format/etc2_astc=false
530 | binary_format/architecture="x86_64"
531 | ssh_remote_deploy/enabled=false
532 | ssh_remote_deploy/host="user@host_ip"
533 | ssh_remote_deploy/port="22"
534 | ssh_remote_deploy/extra_args_ssh=""
535 | ssh_remote_deploy/extra_args_scp=""
536 | ssh_remote_deploy/run_script="#!/usr/bin/env bash
537 | export DISPLAY=:0
538 | unzip -o -q \"{temp_dir}/{archive_name}\" -d \"{temp_dir}\"
539 | \"{temp_dir}/{exe_name}\" {cmd_args}"
540 | ssh_remote_deploy/cleanup_script="#!/usr/bin/env bash
541 | kill $(pgrep -x -f \"{temp_dir}/{exe_name} {cmd_args}\")
542 | rm -rf \"{temp_dir}\""
543 | texture_format/bptc=true
544 | texture_format/s3tc=true
545 | texture_format/etc=true
546 | texture_format/etc2=true
547 | texture_format/no_bptc_fallbacks=true
548 | binary_format/64_bits=true
549 |
550 | [preset.3]
551 |
552 | name="Web"
553 | platform="Web"
554 | runnable=true
555 | advanced_options=false
556 | dedicated_server=false
557 | custom_features=""
558 | export_filter="all_resources"
559 | include_filter=""
560 | exclude_filter=""
561 | export_path=""
562 | encryption_include_filters=""
563 | encryption_exclude_filters=""
564 | encrypt_pck=false
565 | encrypt_directory=false
566 | script_export_mode=2
567 |
568 | [preset.3.options]
569 |
570 | custom_template/debug=""
571 | custom_template/release=""
572 | variant/extensions_support=false
573 | variant/thread_support=false
574 | vram_texture_compression/for_desktop=true
575 | vram_texture_compression/for_mobile=false
576 | html/export_icon=true
577 | html/custom_html_shell=""
578 | html/head_include=""
579 | html/canvas_resize_policy=2
580 | html/focus_canvas_on_start=true
581 | html/experimental_virtual_keyboard=false
582 | progressive_web_app/enabled=false
583 | progressive_web_app/ensure_cross_origin_isolation_headers=true
584 | progressive_web_app/offline_page=""
585 | progressive_web_app/display=1
586 | progressive_web_app/orientation=0
587 | progressive_web_app/icon_144x144=""
588 | progressive_web_app/icon_180x180=""
589 | progressive_web_app/icon_512x512=""
590 | progressive_web_app/background_color=Color(0, 0, 0, 1)
591 | graphics/32_bits_framebuffer=true
592 | xr_features/xr_mode=0
593 | xr_features/degrees_of_freedom=0
594 | xr_features/hand_tracking=0
595 | xr_features/focus_awareness=false
596 | one_click_deploy/clear_previous_install=false
597 | custom_template/use_custom_build=false
598 | command_line/extra_args=""
599 | version/code=1
600 | version/name="1.0"
601 | package/unique_name="org.godotengine.$genname"
602 | package/name=""
603 | package/signed=true
604 | screen/immersive_mode=true
605 | screen/orientation=0
606 | screen/support_small=true
607 | screen/support_normal=true
608 | screen/support_large=true
609 | screen/support_xlarge=true
610 | screen/opengl_debug=false
611 | launcher_icons/main_192x192=""
612 | launcher_icons/adaptive_foreground_432x432=""
613 | launcher_icons/adaptive_background_432x432=""
614 | keystore/debug=""
615 | keystore/debug_user=""
616 | keystore/debug_password=""
617 | keystore/release=""
618 | keystore/release_user=""
619 | keystore/release_password=""
620 | apk_expansion/enable=false
621 | apk_expansion/SALT=""
622 | apk_expansion/public_key=""
623 | architectures/armeabi-v7a=true
624 | architectures/arm64-v8a=true
625 | architectures/x86=false
626 | architectures/x86_64=false
627 | permissions/custom_permissions=PackedStringArray()
628 | permissions/access_checkin_properties=false
629 | permissions/access_coarse_location=false
630 | permissions/access_fine_location=false
631 | permissions/access_location_extra_commands=false
632 | permissions/access_mock_location=false
633 | permissions/access_network_state=false
634 | permissions/access_surface_flinger=false
635 | permissions/access_wifi_state=false
636 | permissions/account_manager=false
637 | permissions/add_voicemail=false
638 | permissions/authenticate_accounts=false
639 | permissions/battery_stats=false
640 | permissions/bind_accessibility_service=false
641 | permissions/bind_appwidget=false
642 | permissions/bind_device_admin=false
643 | permissions/bind_input_method=false
644 | permissions/bind_nfc_service=false
645 | permissions/bind_notification_listener_service=false
646 | permissions/bind_print_service=false
647 | permissions/bind_remoteviews=false
648 | permissions/bind_text_service=false
649 | permissions/bind_vpn_service=false
650 | permissions/bind_wallpaper=false
651 | permissions/bluetooth=false
652 | permissions/bluetooth_admin=false
653 | permissions/bluetooth_privileged=false
654 | permissions/brick=false
655 | permissions/broadcast_package_removed=false
656 | permissions/broadcast_sms=false
657 | permissions/broadcast_sticky=false
658 | permissions/broadcast_wap_push=false
659 | permissions/call_phone=false
660 | permissions/call_privileged=false
661 | permissions/camera=false
662 | permissions/capture_audio_output=false
663 | permissions/capture_secure_video_output=false
664 | permissions/capture_video_output=false
665 | permissions/change_component_enabled_state=false
666 | permissions/change_configuration=false
667 | permissions/change_network_state=false
668 | permissions/change_wifi_multicast_state=false
669 | permissions/change_wifi_state=false
670 | permissions/clear_app_cache=false
671 | permissions/clear_app_user_data=false
672 | permissions/control_location_updates=false
673 | permissions/delete_cache_files=false
674 | permissions/delete_packages=false
675 | permissions/device_power=false
676 | permissions/diagnostic=false
677 | permissions/disable_keyguard=false
678 | permissions/dump=false
679 | permissions/expand_status_bar=false
680 | permissions/factory_test=false
681 | permissions/flashlight=false
682 | permissions/force_back=false
683 | permissions/get_accounts=false
684 | permissions/get_package_size=false
685 | permissions/get_tasks=false
686 | permissions/get_top_activity_info=false
687 | permissions/global_search=false
688 | permissions/hardware_test=false
689 | permissions/inject_events=false
690 | permissions/install_location_provider=false
691 | permissions/install_packages=false
692 | permissions/install_shortcut=false
693 | permissions/internal_system_window=false
694 | permissions/internet=false
695 | permissions/kill_background_processes=false
696 | permissions/location_hardware=false
697 | permissions/manage_accounts=false
698 | permissions/manage_app_tokens=false
699 | permissions/manage_documents=false
700 | permissions/master_clear=false
701 | permissions/media_content_control=false
702 | permissions/modify_audio_settings=false
703 | permissions/modify_phone_state=false
704 | permissions/mount_format_filesystems=false
705 | permissions/mount_unmount_filesystems=false
706 | permissions/nfc=false
707 | permissions/persistent_activity=false
708 | permissions/process_outgoing_calls=false
709 | permissions/read_calendar=false
710 | permissions/read_call_log=false
711 | permissions/read_contacts=false
712 | permissions/read_external_storage=false
713 | permissions/read_frame_buffer=false
714 | permissions/read_history_bookmarks=false
715 | permissions/read_input_state=false
716 | permissions/read_logs=false
717 | permissions/read_phone_state=false
718 | permissions/read_profile=false
719 | permissions/read_sms=false
720 | permissions/read_social_stream=false
721 | permissions/read_sync_settings=false
722 | permissions/read_sync_stats=false
723 | permissions/read_user_dictionary=false
724 | permissions/reboot=false
725 | permissions/receive_boot_completed=false
726 | permissions/receive_mms=false
727 | permissions/receive_sms=false
728 | permissions/receive_wap_push=false
729 | permissions/record_audio=false
730 | permissions/reorder_tasks=false
731 | permissions/restart_packages=false
732 | permissions/send_respond_via_message=false
733 | permissions/send_sms=false
734 | permissions/set_activity_watcher=false
735 | permissions/set_alarm=false
736 | permissions/set_always_finish=false
737 | permissions/set_animation_scale=false
738 | permissions/set_debug_app=false
739 | permissions/set_orientation=false
740 | permissions/set_pointer_speed=false
741 | permissions/set_preferred_applications=false
742 | permissions/set_process_limit=false
743 | permissions/set_time=false
744 | permissions/set_time_zone=false
745 | permissions/set_wallpaper=false
746 | permissions/set_wallpaper_hints=false
747 | permissions/signal_persistent_processes=false
748 | permissions/status_bar=false
749 | permissions/subscribed_feeds_read=false
750 | permissions/subscribed_feeds_write=false
751 | permissions/system_alert_window=false
752 | permissions/transmit_ir=false
753 | permissions/uninstall_shortcut=false
754 | permissions/update_device_stats=false
755 | permissions/use_credentials=false
756 | permissions/use_sip=false
757 | permissions/vibrate=false
758 | permissions/wake_lock=false
759 | permissions/write_apn_settings=false
760 | permissions/write_calendar=false
761 | permissions/write_call_log=false
762 | permissions/write_contacts=false
763 | permissions/write_external_storage=false
764 | permissions/write_gservices=false
765 | permissions/write_history_bookmarks=false
766 | permissions/write_profile=false
767 | permissions/write_secure_settings=false
768 | permissions/write_settings=false
769 | permissions/write_sms=false
770 | permissions/write_social_stream=false
771 | permissions/write_sync_settings=false
772 | permissions/write_user_dictionary=false
773 |
774 | [preset.4]
775 |
776 | name="Android"
777 | platform="Android"
778 | runnable=true
779 | advanced_options=false
780 | dedicated_server=false
781 | custom_features=""
782 | export_filter="all_resources"
783 | include_filter=""
784 | exclude_filter=""
785 | export_path=""
786 | encryption_include_filters=""
787 | encryption_exclude_filters=""
788 | encrypt_pck=false
789 | encrypt_directory=false
790 | script_export_mode=2
791 |
792 | [preset.4.options]
793 |
794 | custom_template/debug=""
795 | custom_template/release=""
796 | gradle_build/use_gradle_build=false
797 | gradle_build/gradle_build_directory=""
798 | gradle_build/android_source_template=""
799 | gradle_build/compress_native_libraries=false
800 | gradle_build/export_format=0
801 | gradle_build/min_sdk=""
802 | gradle_build/target_sdk=""
803 | architectures/armeabi-v7a=false
804 | architectures/arm64-v8a=true
805 | architectures/x86=false
806 | architectures/x86_64=false
807 | version/code=1
808 | version/name=""
809 | package/unique_name="com.example.$genname"
810 | package/name=""
811 | package/signed=true
812 | package/app_category=2
813 | package/retain_data_on_uninstall=false
814 | package/exclude_from_recents=false
815 | package/show_in_android_tv=false
816 | package/show_in_app_library=true
817 | package/show_as_launcher_app=false
818 | launcher_icons/main_192x192=""
819 | launcher_icons/adaptive_foreground_432x432=""
820 | launcher_icons/adaptive_background_432x432=""
821 | graphics/opengl_debug=false
822 | xr_features/xr_mode=0
823 | screen/immersive_mode=true
824 | screen/support_small=true
825 | screen/support_normal=true
826 | screen/support_large=true
827 | screen/support_xlarge=true
828 | user_data_backup/allow=false
829 | command_line/extra_args=""
830 | apk_expansion/enable=false
831 | apk_expansion/SALT=""
832 | apk_expansion/public_key=""
833 | permissions/custom_permissions=PackedStringArray()
834 | permissions/access_checkin_properties=false
835 | permissions/access_coarse_location=false
836 | permissions/access_fine_location=false
837 | permissions/access_location_extra_commands=false
838 | permissions/access_mock_location=false
839 | permissions/access_network_state=false
840 | permissions/access_surface_flinger=false
841 | permissions/access_wifi_state=false
842 | permissions/account_manager=false
843 | permissions/add_voicemail=false
844 | permissions/authenticate_accounts=false
845 | permissions/battery_stats=false
846 | permissions/bind_accessibility_service=false
847 | permissions/bind_appwidget=false
848 | permissions/bind_device_admin=false
849 | permissions/bind_input_method=false
850 | permissions/bind_nfc_service=false
851 | permissions/bind_notification_listener_service=false
852 | permissions/bind_print_service=false
853 | permissions/bind_remoteviews=false
854 | permissions/bind_text_service=false
855 | permissions/bind_vpn_service=false
856 | permissions/bind_wallpaper=false
857 | permissions/bluetooth=false
858 | permissions/bluetooth_admin=false
859 | permissions/bluetooth_privileged=false
860 | permissions/brick=false
861 | permissions/broadcast_package_removed=false
862 | permissions/broadcast_sms=false
863 | permissions/broadcast_sticky=false
864 | permissions/broadcast_wap_push=false
865 | permissions/call_phone=false
866 | permissions/call_privileged=false
867 | permissions/camera=false
868 | permissions/capture_audio_output=false
869 | permissions/capture_secure_video_output=false
870 | permissions/capture_video_output=false
871 | permissions/change_component_enabled_state=false
872 | permissions/change_configuration=false
873 | permissions/change_network_state=false
874 | permissions/change_wifi_multicast_state=false
875 | permissions/change_wifi_state=false
876 | permissions/clear_app_cache=false
877 | permissions/clear_app_user_data=false
878 | permissions/control_location_updates=false
879 | permissions/delete_cache_files=false
880 | permissions/delete_packages=false
881 | permissions/device_power=false
882 | permissions/diagnostic=false
883 | permissions/disable_keyguard=false
884 | permissions/dump=false
885 | permissions/expand_status_bar=false
886 | permissions/factory_test=false
887 | permissions/flashlight=false
888 | permissions/force_back=false
889 | permissions/get_accounts=false
890 | permissions/get_package_size=false
891 | permissions/get_tasks=false
892 | permissions/get_top_activity_info=false
893 | permissions/global_search=false
894 | permissions/hardware_test=false
895 | permissions/inject_events=false
896 | permissions/install_location_provider=false
897 | permissions/install_packages=false
898 | permissions/install_shortcut=false
899 | permissions/internal_system_window=false
900 | permissions/internet=false
901 | permissions/kill_background_processes=false
902 | permissions/location_hardware=false
903 | permissions/manage_accounts=false
904 | permissions/manage_app_tokens=false
905 | permissions/manage_documents=false
906 | permissions/manage_external_storage=false
907 | permissions/master_clear=false
908 | permissions/media_content_control=false
909 | permissions/modify_audio_settings=false
910 | permissions/modify_phone_state=false
911 | permissions/mount_format_filesystems=false
912 | permissions/mount_unmount_filesystems=false
913 | permissions/nfc=false
914 | permissions/persistent_activity=false
915 | permissions/post_notifications=false
916 | permissions/process_outgoing_calls=false
917 | permissions/read_calendar=false
918 | permissions/read_call_log=false
919 | permissions/read_contacts=false
920 | permissions/read_external_storage=false
921 | permissions/read_frame_buffer=false
922 | permissions/read_history_bookmarks=false
923 | permissions/read_input_state=false
924 | permissions/read_logs=false
925 | permissions/read_phone_state=false
926 | permissions/read_profile=false
927 | permissions/read_sms=false
928 | permissions/read_social_stream=false
929 | permissions/read_sync_settings=false
930 | permissions/read_sync_stats=false
931 | permissions/read_user_dictionary=false
932 | permissions/reboot=false
933 | permissions/receive_boot_completed=false
934 | permissions/receive_mms=false
935 | permissions/receive_sms=false
936 | permissions/receive_wap_push=false
937 | permissions/record_audio=false
938 | permissions/reorder_tasks=false
939 | permissions/restart_packages=false
940 | permissions/send_respond_via_message=false
941 | permissions/send_sms=false
942 | permissions/set_activity_watcher=false
943 | permissions/set_alarm=false
944 | permissions/set_always_finish=false
945 | permissions/set_animation_scale=false
946 | permissions/set_debug_app=false
947 | permissions/set_orientation=false
948 | permissions/set_pointer_speed=false
949 | permissions/set_preferred_applications=false
950 | permissions/set_process_limit=false
951 | permissions/set_time=false
952 | permissions/set_time_zone=false
953 | permissions/set_wallpaper=false
954 | permissions/set_wallpaper_hints=false
955 | permissions/signal_persistent_processes=false
956 | permissions/status_bar=false
957 | permissions/subscribed_feeds_read=false
958 | permissions/subscribed_feeds_write=false
959 | permissions/system_alert_window=false
960 | permissions/transmit_ir=false
961 | permissions/uninstall_shortcut=false
962 | permissions/update_device_stats=false
963 | permissions/use_credentials=false
964 | permissions/use_sip=false
965 | permissions/vibrate=false
966 | permissions/wake_lock=false
967 | permissions/write_apn_settings=false
968 | permissions/write_calendar=false
969 | permissions/write_call_log=false
970 | permissions/write_contacts=false
971 | permissions/write_external_storage=false
972 | permissions/write_gservices=false
973 | permissions/write_history_bookmarks=false
974 | permissions/write_profile=false
975 | permissions/write_secure_settings=false
976 | permissions/write_settings=false
977 | permissions/write_sms=false
978 | permissions/write_social_stream=false
979 | permissions/write_sync_settings=false
980 | permissions/write_user_dictionary=false
981 |
--------------------------------------------------------------------------------