Skip to content

Commit

Permalink
fix: reimport control box
Browse files Browse the repository at this point in the history
  • Loading branch information
florianvazelle committed Jan 14, 2024
1 parent b0fcc5b commit b112bb7
Show file tree
Hide file tree
Showing 11 changed files with 182 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -192,28 +192,31 @@ butler *ARGS: check-butler
touch override.cfg
echo -e '[build_info]\npackage/version="{{ game_version }}"\npackage/build_date="{{ build_date }}"\nsource/commit="{{ commit_hash }}"' > override.cfg

[private]
pre-export: clean-addons makedirs bump-version install-addons import-resources

# Export game on Windows
export-windows: makedirs bump-version install-addons import-resources
export-windows: pre-export
mkdir -p {{ build_dir }}/windows
just godot --headless --export-release '"Windows Desktop"' {{ build_dir }}/windows/{{ game_name }}.exe
(cd {{ build_dir }}/windows && zip {{ game_name }}-windows-v{{ game_version }}.zip -r .)
mv {{ build_dir }}/windows/{{ game_name }}-windows-v{{ game_version }}.zip {{ dist_dir }}/{{ game_name }}-windows-v{{ game_version }}.zip
rm -rf {{ build_dir }}/windows

# Export game on MacOS
export-mac: makedirs bump-version install-addons import-resources
export-mac: pre-export
just godot --headless --export-release "macOS" {{ dist_dir }}/{{ game_name }}-mac-v{{ game_version }}.zip

# Export game on Linux
export-linux: makedirs bump-version install-addons import-resources
export-linux: pre-export
mkdir -p {{ build_dir }}/linux
just godot --headless --export-release "Linux/X11" {{ build_dir }}/linux/{{ game_name }}.x86_64
(cd {{ build_dir }}/linux && zip {{ game_name }}-linux-v{{ game_version }}.zip -r .)
mv {{ build_dir }}/linux/{{ game_name }}-linux-v{{ game_version }}.zip {{ dist_dir }}/{{ game_name }}-linux-v{{ game_version }}.zip
rm -rf {{ build_dir }}/linux

# Export game for the web
export-web: makedirs bump-version install-addons import-resources
export-web: pre-export
mkdir -p {{ build_dir }}/web
just godot --headless --export-release "Web" {{ build_dir }}/web/index.html

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://jxh5xbmhfk0q"
path="res://.godot/imported/control_box_street_lamp_albedo000.png-5cbb543138142ece3ed16170b0eb1a83.ctex"
metadata={
"vram_texture": false
}
generator_parameters={}

[deps]

source_file="res://assets/models/lamp_post_bench_trashcan/control_box_street_lamp_albedo000.png"
dest_files=["res://.godot/imported/control_box_street_lamp_albedo000.png-5cbb543138142ece3ed16170b0eb1a83.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://buqva1pid3i7s"
path="res://.godot/imported/control_box_street_lamp_albedo002.png-cfe7ad10bc8499f18d9bbec2d94078b4.ctex"
metadata={
"vram_texture": false
}
generator_parameters={}

[deps]

source_file="res://assets/models/lamp_post_bench_trashcan/control_box_street_lamp_albedo002.png"
dest_files=["res://.godot/imported/control_box_street_lamp_albedo002.png-cfe7ad10bc8499f18d9bbec2d94078b4.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://d2kxeymba7kk7"
path="res://.godot/imported/control_box_street_lamp_emission000.png-db4537906f5e241ff86fff7e24a48743.ctex"
metadata={
"vram_texture": false
}
generator_parameters={}

[deps]

source_file="res://assets/models/lamp_post_bench_trashcan/control_box_street_lamp_emission000.png"
dest_files=["res://.godot/imported/control_box_street_lamp_emission000.png-db4537906f5e241ff86fff7e24a48743.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://bftph3x1pgrd7"
path="res://.godot/imported/control_box_street_lamp_normal000.png-783e35e7656ebd6ab22568618a8f6738.ctex"
metadata={
"vram_texture": false
}
generator_parameters={}

[deps]

source_file="res://assets/models/lamp_post_bench_trashcan/control_box_street_lamp_normal000.png"
dest_files=["res://.godot/imported/control_box_street_lamp_normal000.png-783e35e7656ebd6ab22568618a8f6738.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[remap]

importer="texture"
type="CompressedTexture2D"
uid="uid://dn76m2nbbqoob"
path="res://.godot/imported/control_box_street_lamp_orm000.png-b5647570894759eee0f3b26332b4108e.ctex"
metadata={
"vram_texture": false
}
generator_parameters={}

[deps]

source_file="res://assets/models/lamp_post_bench_trashcan/control_box_street_lamp_orm000.png"
dest_files=["res://.godot/imported/control_box_street_lamp_orm000.png-b5647570894759eee0f3b26332b4108e.ctex"]

[params]

compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

0 comments on commit b112bb7

Please sign in to comment.