-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.py
More file actions
42 lines (35 loc) · 1.54 KB
/
custom.py
File metadata and controls
42 lines (35 loc) · 1.54 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# custom.py — minimal export template build flags
# Godot 4.5
# Size optimization
optimize = "size" # -Os compiler flag (smaller binary)
lto = "full" # Link-time optimization (slower build, smaller output)
deprecated = "no" # Strip deprecated API wrappers
# Strip gaming stuffs
disable_3d = "yes"
disable_navigation_2d="yes"
disable_navigation_3d="yes"
disable_xr="yes"
# Keep app stuff
accesskit="yes"
# Renderer — GL Compatibility, not Vulkan
vulkan = "no"
use_volk = "no"
# Disable unused features
openxr = "no" # No VR/AR support needed
minizip = "yes" # ZIP support (updater)
# Aggressive stripping: disable all modules by default, enable only what's needed
modules_enabled_by_default = "no"
# Enabled modules
module_gdscript_enabled = "yes" # Scripting language
module_freetype_enabled = "yes" # Font rendering
module_svg_enabled = "yes" # SVG icon support (theme/icons/)
module_webp_enabled = "yes" # WebP image support
module_websocket_enabled = "yes" # WebSocket gateway
module_mbedtls_enabled = "yes" # TLS for HTTPS/WSS
module_regex_enabled = "yes" # Regex (used in markdown parsing)
module_text_server_fb_enabled = "yes"
module_zip_enabled = "yes" # ZIPReader/ZIPPacker classes
module_jpg_enabled = "yes" # JPEG image loading
module_ogg_enabled = "yes" # OGG container (audio)
module_vorbis_enabled = "yes" # OGG Vorbis audio
module_minimp3_enabled = "yes" # MP3 audio