Compare commits

...

48 Commits

Author SHA1 Message Date
e41644621d Action Demo v3
All checks were successful
godot-ci export / Prepare Build Assets (push) Successful in 1m23s
godot-ci export / Linux Export (push) Successful in 43s
godot-ci export / Windows Export (push) Successful in 53s
godot-ci export / Steam Publish (push) Successful in 1m0s
2025-07-07 08:18:54 -07:00
59f149f76e Action Demo v2
All checks were successful
godot-ci export / Prepare Build Assets (push) Successful in 1m17s
godot-ci export / Linux Export (push) Successful in 43s
godot-ci export / Windows Export (push) Successful in 55s
godot-ci export / Steam Publish (push) Successful in 1m2s
2025-07-07 08:13:34 -07:00
5a2bf1628b Actions Demo
Some checks failed
godot-ci export / Prepare Build Assets (push) Successful in 1m18s
godot-ci export / Linux Export (push) Successful in 43s
godot-ci export / Windows Export (push) Successful in 50s
godot-ci export / Steam Publish (push) Failing after 55s
2025-07-07 08:08:34 -07:00
174a12d7cb Updating action to check for varibles,
All checks were successful
godot-ci export / Prepare Build Assets (push) Successful in 1m21s
godot-ci export / Linux Export (push) Successful in 45s
godot-ci export / Windows Export (push) Successful in 50s
godot-ci export / Steam Publish (push) Successful in 1m1s
renamed version_text to version_label, removed undded files from repo that are made on build
2025-07-07 06:20:35 -07:00
ea15cd45d8 Changing export presets to just be wrong
All checks were successful
godot-ci export / Prepare Build Assets (push) Successful in 1m22s
godot-ci export / Windows Export (push) Successful in 44s
godot-ci export / Linux Export (push) Successful in 43s
godot-ci export / Steam Publish (push) Successful in 1m4s
2025-07-07 05:21:51 -07:00
1be247f66e Testing removing bin dir from git
All checks were successful
godot-ci export / Prepare Build Assets (push) Successful in 1m20s
godot-ci export / Windows Export (push) Successful in 43s
godot-ci export / Linux Export (push) Successful in 43s
godot-ci export / Steam Publish (push) Successful in 1m2s
2025-07-07 05:15:59 -07:00
409ddd3edb Testing removal of uneeded paths
All checks were successful
godot-ci export / Prepare Build Assets (push) Successful in 1m24s
godot-ci export / Windows Export (push) Successful in 50s
godot-ci export / Linux Export (push) Successful in 48s
godot-ci export / Steam Publish (push) Successful in 1m5s
2025-07-07 05:05:13 -07:00
61e937e1f5 Full test w/ dl link and prep assets step
All checks were successful
godot-ci export / Prepare Build Assets (push) Successful in 1m20s
godot-ci export / Windows Export (push) Successful in 43s
godot-ci export / Linux Export (push) Successful in 43s
godot-ci export / Steam Publish (push) Successful in 59s
2025-07-07 04:52:01 -07:00
1d4548d74c Testing w/o containter for prep step
Some checks failed
godot-ci export / Prepare Build Assets (push) Successful in 1m18s
godot-ci export / Steam Publish (push) Has been cancelled
godot-ci export / Windows Export (push) Has been cancelled
godot-ci export / Linux Export (push) Has been cancelled
2025-07-07 04:45:10 -07:00
147d6b2d04 Test with preparing build assets
Some checks failed
godot-ci export / Linux Export (push) Failing after 29s
godot-ci export / Prepare Build Assets (push) Successful in 1m9s
godot-ci export / Windows Export (push) Successful in 44s
godot-ci export / Steam Publish (push) Has been skipped
2025-07-07 04:38:55 -07:00
44b0323b8a Test with downloading export packages
Some checks failed
godot-ci export / Linux Export (push) Has been cancelled
godot-ci export / Steam Publish (push) Has been cancelled
godot-ci export / Windows Export (push) Has been cancelled
2025-07-07 04:31:45 -07:00
e717678b82 Added export tempaltes to gitignore 2025-07-07 04:29:56 -07:00
bebb1b1cf2 Updating gitignore 2025-07-07 04:29:03 -07:00
a8fbf041de Test downloading export templates
All checks were successful
godot-ci export / Windows Export (push) Successful in 39s
2025-07-07 04:26:10 -07:00
84f533b45d Full working test of actions
All checks were successful
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m15s
godot-ci export / Steam Publish (push) Successful in 1m28s
2025-07-06 16:50:51 -07:00
3f854c292c Sanityc check changing version name
Some checks failed
godot-ci export / Steam Publish (push) Has been cancelled
godot-ci export / Windows Export (push) Has been cancelled
godot-ci export / Linux Export (push) Has been cancelled
2025-07-06 16:46:28 -07:00
8b8087c7d1 Adding to linux version
Some checks failed
godot-ci export / Steam Publish (push) Has been cancelled
godot-ci export / Linux Export (push) Has been cancelled
godot-ci export / Windows Export (push) Has been cancelled
2025-07-06 16:44:33 -07:00
8f0b7b6e27 added chekc for verison file
Some checks failed
godot-ci export / Linux Export (push) Has been cancelled
godot-ci export / Windows Export (push) Successful in 1m14s
godot-ci export / Steam Publish (push) Has been skipped
2025-07-06 16:42:17 -07:00
8400a04293 Removing the first echo i s2g if this works
Some checks failed
godot-ci export / Steam Publish (push) Has been cancelled
godot-ci export / Linux Export (push) Has been cancelled
godot-ci export / Windows Export (push) Has been cancelled
2025-07-06 16:38:29 -07:00
e02e621f8b insane
Some checks failed
godot-ci export / Linux Export (push) Has been cancelled
godot-ci export / Windows Export (push) Successful in 1m14s
godot-ci export / Steam Publish (push) Has been skipped
2025-07-06 16:35:33 -07:00
fe6ebc9e0f uncomenting more
Some checks failed
godot-ci export / Steam Publish (push) Has been cancelled
godot-ci export / Linux Export (push) Has been cancelled
godot-ci export / Windows Export (push) Has been cancelled
2025-07-06 16:35:04 -07:00
3dd698eab7 start
Some checks failed
godot-ci export / Steam Publish (push) Has been cancelled
godot-ci export / Linux Export (push) Has been cancelled
godot-ci export / Windows Export (push) Has been cancelled
2025-07-06 16:34:26 -07:00
b9d165204d ahioefiaosfioeasoimfoiaes
Some checks failed
godot-ci export / Steam Publish (push) Has been cancelled
godot-ci export / Linux Export (push) Has been cancelled
godot-ci export / Windows Export (push) Has been cancelled
2025-07-06 16:34:02 -07:00
068b2b731d aaaaaaaaaaaaaaaaaaaa 2025-07-06 16:33:06 -07:00
247a04d2bd sanity chekc last versions
Some checks failed
godot-ci export / Windows Export (push) Successful in 1m17s
godot-ci export / Linux Export (push) Successful in 1m17s
godot-ci export / Steam Publish (push) Has been cancelled
2025-07-06 16:31:36 -07:00
d533fa3b45 Sanity check 2025-07-06 16:30:49 -07:00
5f1164b0b3 uncomenting out of fear 2025-07-06 16:27:42 -07:00
7bc3de6012 Test version text 2025-07-06 16:26:38 -07:00
f9411e8474 Tesing restarting docker deamon
All checks were successful
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m17s
godot-ci export / Steam Publish (push) Successful in 1m20s
2025-07-06 15:34:51 -07:00
dfa0f7d795 Swithcing back to manual steamcmd creation, added comments and more descriptive debug steps
All checks were successful
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m18s
godot-ci export / Steam Publish (push) Successful in 1m47s
2025-07-06 15:24:35 -07:00
1fdb54c601 more debugging yippiepiepipieeeee
All checks were successful
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m16s
godot-ci export / Steam Publish (push) Successful in 1m15s
2025-07-06 15:04:07 -07:00
80481fbf73 added output if config file doesn't exist
Some checks failed
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m15s
godot-ci export / Steam Publish (push) Failing after 1m3s
2025-07-06 14:59:23 -07:00
38db6486fc Trying to orginal steam docker image with cache debugs
Some checks failed
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m16s
godot-ci export / Steam Publish (push) Failing after 1m2s
2025-07-06 14:53:56 -07:00
ba43e870cd test with changes
All checks were successful
godot-ci export / Windows Export (push) Successful in 1m22s
godot-ci export / Linux Export (push) Successful in 1m14s
godot-ci export / Steam Publish (push) Successful in 1m28s
2025-07-06 14:41:27 -07:00
6dab4d84de test with caching properlye
All checks were successful
godot-ci export / Windows Export (push) Successful in 1m15s
godot-ci export / Linux Export (push) Successful in 1m15s
godot-ci export / Steam Publish (push) Successful in 1m28s
2025-07-06 13:07:18 -07:00
4700770a24 please time out don't kill my ass please please please
All checks were successful
godot-ci export / Windows Export (push) Successful in 1m15s
godot-ci export / Linux Export (push) Successful in 1m15s
godot-ci export / Steam Publish (push) Successful in 1m20s
2025-07-06 12:54:02 -07:00
a374eabc49 reading out this whole folder now
All checks were successful
godot-ci export / Steam Publish (push) Successful in 39s
2025-07-06 12:43:40 -07:00
f0e4c617f5 is it fucking case senstaive oh my god
All checks were successful
godot-ci export / Steam Publish (push) Successful in 38s
2025-07-06 12:39:58 -07:00
bcf84f8646 check the steam folder
Some checks failed
godot-ci export / Steam Publish (push) Failing after 35s
2025-07-06 12:38:30 -07:00
43cf662c97 remov vdgf aaaaaaaaaa
All checks were successful
godot-ci export / Steam Publish (push) Successful in 36s
2025-07-06 12:33:10 -07:00
ba1abede23 remove donwload
Some checks failed
godot-ci export / Steam Publish (push) Failing after 42s
2025-07-06 12:31:08 -07:00
78c3da1f3b cache test
Some checks failed
godot-ci export / Steam Publish (push) Failing after 1m17s
2025-07-06 12:28:15 -07:00
b9b9cf27d1 Trying restore and save method
Some checks failed
godot-ci export / Windows Export (push) Successful in 1m17s
godot-ci export / Linux Export (push) Successful in 1m16s
godot-ci export / Steam Publish (push) Failing after 1m24s
2025-07-06 12:18:55 -07:00
beaad933ba check what files are actualy in the directory
All checks were successful
godot-ci export / Windows Export (push) Successful in 1m15s
godot-ci export / Linux Export (push) Successful in 1m16s
godot-ci export / Steam Publish (push) Successful in 1m29s
2025-07-06 12:10:51 -07:00
f9d6bac522 reading cache
Some checks failed
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m15s
godot-ci export / Steam Publish (push) Failing after 1m15s
2025-07-06 11:58:49 -07:00
0093e53e15 Only one try now, with steam gaurd code
Some checks failed
godot-ci export / Windows Export (push) Successful in 1m18s
godot-ci export / Linux Export (push) Successful in 1m17s
godot-ci export / Steam Publish (push) Failing after 1m17s
2025-07-06 10:49:48 -07:00
b297984dc2 No write out cache step
Some checks failed
godot-ci export / Windows Export (push) Successful in 1m17s
godot-ci export / Linux Export (push) Successful in 1m18s
godot-ci export / Steam Publish (push) Failing after 1m18s
2025-07-06 10:39:05 -07:00
ddd24e87bf Updating cache key
Some checks failed
godot-ci export / Windows Export (push) Successful in 1m16s
godot-ci export / Linux Export (push) Successful in 1m17s
godot-ci export / Steam Publish (push) Failing after 1m19s
2025-07-06 10:34:29 -07:00
13 changed files with 237 additions and 61 deletions

View File

@ -14,9 +14,85 @@ env:
ACTIONS_STEP_DEBUG: true
jobs:
prepare-build:
name: Prepare Build Assets
runs-on: ubuntu-22.04
steps:
# Ensure dl link is provided before starting build process
- name: Check Gitea Variables
run: |
if [ -z "${{ secrets.EXPORT_TEMPLATE_DOWNLOAD_LINK }}" ]; then
echo "No export template download link provided, cancelling build"
echo "Please set the EXPORT_TEMPLATE_DOWNLOAD_LINK secret in Gitea"
exit 1
else
echo "Found EXPORT_TEMPLATE_DOWNLOAD_LINK"
fi
# By default ubuntu-22.04 has nodejs 12, but we need a more modern version for the actions/checkout@v4
# Should make my docker image for this step in the future
- name: Install Dependencies
run: |
apt-get update
apt-get install -y curl
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
apt-get install -y nodejs unzip git git-lfs
git lfs install
- name: Checkout
uses: https://gitea.com/actions/checkout@v4
with:
lfs: true
# Update the version_info.gd file with info about this build.
# If it isn't in the expected spot of game/scripts/version_info.gd skip it
- name: Populate Version Text
run: |
VERSION_FILE="${PROJECT_PATH}/game/scripts/version_info.gd"
if [ -f "$VERSION_FILE" ]; then
PROJECT_NAME="${EXPORT_NAME}"
COMMIT_NUMBER="${GITHUB_RUN_NUMBER}"
BRANCH_NAME="${GITHUB_REF_NAME}"
SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-8)
sed -i "s/var project_name: String = \"X\"/var project_name: String = \"${PROJECT_NAME}\"/" "$VERSION_FILE"
sed -i "s/var commit_number: int = 0/var commit_number: int = ${COMMIT_NUMBER}/" "$VERSION_FILE"
sed -i "s/var branch_name: String = \"X\"/var branch_name: String = \"${BRANCH_NAME}\"/" "$VERSION_FILE"
sed -i "s/var short_sha: String = \"X\"/var short_sha: String = \"${SHORT_SHA}\"/" "$VERSION_FILE"
sed -i "s/var build_override: bool = false/var build_override: bool = true/" "$VERSION_FILE"
echo "Updated version_info.gd:"
cat "$VERSION_FILE"
else
echo "version_info.gd not found at $VERSION_FILE, skipping."
fi
# Download the exprot templates from the link provided in the secrets
# The expected format is a zip that contains windows and linux export and debug templates
- name: Download Export Templates
run: |
mkdir -p "$PROJECT_PATH/build/build_dependencies/export_templates"
curl -L "${{ secrets.EXPORT_TEMPLATE_DOWNLOAD_LINK }}" -o "$PROJECT_PATH/build/build_dependencies/export_templates/export_templates.zip"
unzip -o "$PROJECT_PATH/build/build_dependencies/export_templates/export_templates.zip" -d "$PROJECT_PATH/build/build_dependencies/export_templates/"
rm "$PROJECT_PATH/build/build_dependencies/export_templates/export_templates.zip"
# Debug to see if the export templates were downloaded correctly
echo "Export templates downloaded to $PROJECT_PATH/build/build_dependencies/export_templates/"
ls -la "$PROJECT_PATH/build/build_dependencies/export_templates/"
- name: Upload Prepared Assets
uses: https://gitea.com/actions/upload-artifact@v3
with:
name: prepared-assets
path: |
game/scripts/version_info.gd
build/build_dependencies/export_templates/
export-windows:
name: Windows Export
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
needs: prepare-build
container:
image: barichello/godot-ci:mono-4.4.1 # change to mono
steps:
@ -28,14 +104,18 @@ jobs:
apt-get install -y curl
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
apt-get install -y nodejs
- name: Checkout
uses: https://gitea.com/actions/checkout@v4
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/export_templates/
mkdir -v -p ~/.config/
- name: Download Prepared Assets
uses: https://gitea.com/actions/download-artifact@v3
with:
name: prepared-assets
path: .
- name: Windows Build
run: |
mkdir -v -p build/bin/windows
@ -49,12 +129,12 @@ jobs:
name: windows
path: build/bin/windows
export-linux:
name: Linux Export
runs-on: ubuntu-22.04 # Use 22.04 with godot 4
needs: prepare-build
container:
image: barichello/godot-ci:4.4
image: barichello/godot-ci:mono-4.4.1 # change to mono
steps:
# Doing this becuase barichello/godot-ci:4.4 doesn't have nodejs installed, may need to make own docker image in the future
# By default ubuntu-22.04 has nodejs 12, but we need a more modern version for the actions/checkout@v4
@ -64,33 +144,67 @@ jobs:
apt-get install -y curl
curl -fsSL https://deb.nodesource.com/setup_18.x | bash -
apt-get install -y nodejs
- name: Checkout
uses: https://gitea.com/actions/checkout@v4
with:
lfs: true
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/export_templates/
- name: Download Prepared Assets
uses: https://gitea.com/actions/download-artifact@v3
with:
name: prepared-assets
path: .
- name: Linux Build
run: |
mkdir -v -p build/bin/linux
EXPORT_DIR="$(readlink -f build/bin)"
cd $PROJECT_PATH
godot --headless --verbose --export-release "Linux" "$EXPORT_DIR/linux/$EXPORT_NAME.x86_64"
- name: Upload Artifact
uses: https://gitea.com/actions/upload-artifact@v3 # using v3 ad v4 has issues wwith gitea
with:
name: linux
path: build/bin/linux
steam-publish:
name: Steam Publish
runs-on: ubuntu-22.04
# The container is no longer needed
# container:
# image: cm2network/steamcmd:root
needs: [export-windows, export-linux]
steps:
# Ensure steam info is provided
- name: Check Gitea Variables
run: |
if [ -z "${{ vars.STEAM_BUILD_USERNAME }}" ]; then
echo "No Steam Username variable, cancelling build"
echo "Please set the STEAM_BUILD_USERNAME variable in Gitea"
exit 1
else
echo "Found STEAM_BUILD_USERNAME"
fi
if [ -z "${{ secrets.STEAM_BUILD_PASSWORD }}" ]; then
echo "No Steam Password secret, cancelling build"
echo "Please set the STEAM_BUILD_PASSWORD secret in Gitea"
exit 1
else
echo "Found STEAM_BUILD_PASSWORD"
fi
if [ -z "${{ secrets.STEAM_GUARD_CODE }}" ]; then
echo "No Steam Guard Code secret, cancelling build"
echo "Please set the STEAM_GUARD_CODE secret in Gitea"
exit 1
else
echo "Found STEAM_GUARD_CODE"
fi
# I can't use the c2msnetwork/steamcmd bc I need to instlal git and nodejs for the actions/checkout@v4 to work
# and I would need root access to install them, which root breaks saving the cache file
# So here we setup the dependencies for the missing steamcmd image, nodejs, and git manually
- name: Install Dependencies
run: |
sudo dpkg --add-architecture i386
@ -104,6 +218,7 @@ jobs:
git-lfs
git lfs install
# Get the file from the link and put it in the required directory
- name: Setup SteamCMD
run: |
mkdir -p ~/steamcmd
@ -111,6 +226,7 @@ jobs:
# Run once to initialize
~/steamcmd/steamcmd.sh +quit
# Get all the files from the repo into the working directory
- name: Checkout
uses: https://gitea.com/actions/checkout@v4
with:
@ -129,47 +245,66 @@ jobs:
name: linux
path: build/bin/linux
# The normal actions/cache@v3 doesn't work here, so need to manully restore the cache in this step
# The only file we need is the config.vdf file for the steam gaurd code
# If the file doesn't exist, the steam upload will fail and request a new steam guard code.
# After a successful upload, the config.vdf file will be created and saved in the cache for future runs
- name: Restore Cache
uses: https://gitea.com/actions/cache@v3
uses: https://gitea.com/actions/cache/restore@v3
with:
path: |
~/steamcmd/config/
~/steamcmd/ssfn*
~/Steam/config/config.vdf
./steam_build_output/
key: steam-cache-${{ runner.os }}-${{ github.ref_name }}
restore-keys: |
steam-cache-${{ runner.os }}-
steam-cache-
steam-cache-${{ runner.os }}
steam-cache
- name: Read Cache
# Debug to see if cache file exists
- name: Debug Pre-Cache
run: |
# The Read Cache step is now handled by the actions/cache@v3 restore process.
# This step can be removed or left for debugging.
echo "Files in steamcmd directory:"
ls -la ~/steamcmd/
echo "Files in steamcmd config directory:"
ls -la ~/steamcmd/config/
echo "Checking for cached config file in :~/Steam/config/config.vdf"
if [ -f ~/Steam/config/config.vdf ]; then
echo "config.vdf exists!"
ls -la ~/Steam/config/config.vdf
else
echo "No cached config.vdf file."
fi
# Update the vdf with steam description from build info
- name: Update VDF
run: |
cd $PROJECT_PATH
SHORT_SHA=$(echo $GITHUB_SHA | cut -c1-8)
sed -i -e "s/STEAM_DESCRIPTION/${GITHUB_REF_NAME} - ${SHORT_SHA}/" build/build_dependencies/steam/app_build_2739610.vdf
# There is a chacne that if you fail enough uplaods, steam will rate limit you.
# But to get a new steamguard code, you need to fail at least once to get the emial with the code
# The ratelimit time isn't published, but I saw in a reddit commit that its 30 minutes, but if you fail in that 30 mintues, it resets the timer
# Waiting 30 mintues worked for me, idk if that supersition is real or not :)
- name: Publish to Steam
run: |
cd $PROJECT_PATH
# Try without Steam Guard first (for cached auth)
~/steamcmd/steamcmd.sh +login "${{ vars.STEAM_BUILD_USERNAME }}" "${{ secrets.STEAM_BUILD_PASSWORD }}" +run_app_build "$PWD/build/build_dependencies/steam/app_build_2739610.vdf" +quit || {
echo "Login failed, trying with Steam Guard"
# If that fails, use Steam Guard in single session
~/steamcmd/steamcmd.sh +set_steam_guard_code "${{ secrets.STEAM_GUARD_CODE }}" +login "${{ vars.STEAM_BUILD_USERNAME }}" "${{ secrets.STEAM_BUILD_PASSWORD }}" +run_app_build "$PWD/build/build_dependencies/steam/app_build_2739610.vdf" +quit
}
- name: Write Cache
~/steamcmd/steamcmd.sh +set_steam_guard_code "${{ secrets.STEAM_GUARD_CODE }}" +login "${{ vars.STEAM_BUILD_USERNAME }}" "${{ secrets.STEAM_BUILD_PASSWORD }}" +run_app_build "$PWD/build/build_dependencies/steam/app_build_2739610.vdf" +quit
# Sanity check make sure file exists
- name: Debug Post-Cache
run: |
# The Write Cache step is now handled by the actions/cache@v3 save process.
# This step can be removed or left for debugging.
echo "Files in steamcmd directory to be cached:"
ls -la ~/steamcmd/
ls -la ~/steamcmd/config/
echo "Checking for config file in :~/Steam/config/config.vdf"
if [ -f ~/Steam/config/config.vdf ]; then
echo "File exists!"
ls -la ~/Steam/config/config.vdf
else
echo "No file found."
fi
# Manually save the cache file, normal method doesn't work
- name: Save Cache
uses: https://gitea.com/actions/cache/save@v3
with:
path: |
~/Steam/config/config.vdf
./steam_build_output/
key: steam-cache-${{ runner.os }}-${{ github.ref_name }}

4
.gitignore vendored
View File

@ -2,5 +2,5 @@
.godot/
/android/
build/bin/linux/*
build/bin/windows/*
build/bin/*
build/build_dependencies/export_templates/*

View File

View File

@ -1,5 +1,7 @@
[gd_scene load_steps=7 format=3 uid="uid://bgpec3avuotkt"]
[ext_resource type="Script" uid="uid://dlna6j58fshxu" path="res://game/scripts/version_label.gd" id="1_iapjp"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_no5d7"]
sky_top_color = Color(0.340506, 0.443905, 0.662582, 1)
sky_horizon_color = Color(0.628525, 0.659459, 0.743124, 1)
@ -17,12 +19,10 @@ sky = SubResource("Sky_iapjp")
tonemap_mode = 2
glow_enabled = true
[sub_resource type="CapsuleMesh" id="CapsuleMesh_ayuu8"]
[sub_resource type="SphereMesh" id="SphereMesh_no5d7"]
[sub_resource type="TorusMesh" id="TorusMesh_no5d7"]
[sub_resource type="SphereMesh" id="SphereMesh_iapjp"]
[node name="Node3D" type="Node3D"]
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
@ -33,21 +33,29 @@ shadow_enabled = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_8n7uv")
[node name="MeshInstance3D" type="MeshInstance3D" parent="."]
transform = Transform3D(0.796688, 0.604391, 0, -0.604391, 0.796688, 0, 0, 0, 1, 0, 0, 0)
mesh = SubResource("CapsuleMesh_ayuu8")
[node name="MeshInstance3D2" type="MeshInstance3D" parent="."]
transform = Transform3D(0.796688, 0.604391, 0, -0.604391, 0.796688, 0, 0, 0, 1, -0.779875, 0.463808, 0)
mesh = SubResource("SphereMesh_no5d7")
[node name="MeshInstance3D3" type="MeshInstance3D" parent="."]
transform = Transform3D(0.9115, 0.389701, -0.131534, 0.290076, -0.382369, 0.877297, 0.291589, -0.837811, -0.461572, 0.24582, 0, 0)
mesh = SubResource("TorusMesh_no5d7")
[node name="MeshInstance3D4" type="MeshInstance3D" parent="."]
transform = Transform3D(0.796688, 0.604391, 0, -0.604391, 0.796688, 0, 0, 0, 1, -0.208549, 0.319772, -0.39809)
mesh = SubResource("SphereMesh_no5d7")
[node name="MeshInstance3D3" type="MeshInstance3D" parent="."]
transform = Transform3D(0.9115, 0.389701, -0.131535, 0.290076, -0.382369, 0.877297, 0.291589, -0.837811, -0.461572, -0.27379, 0.506899, -0.0184803)
mesh = SubResource("TorusMesh_no5d7")
transform = Transform3D(0.9115, 0.389701, -0.131534, 0.290076, -0.382369, 0.877297, 0.291589, -0.837811, -0.461572, 0.504088, -0.133605, -0.349527)
mesh = SubResource("SphereMesh_iapjp")
[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(-0.998152, 0, -0.0607699, 0, 1, 0, 0.0607699, 0, -0.998152, 0, 0, -2.11699)
[node name="temp_ui" type="Control" parent="."]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="VersionLabel" type="Label" parent="temp_ui"]
layout_mode = 0
offset_right = 40.0
offset_bottom = 23.0
script = ExtResource("1_iapjp")
minor_version = 1
patch = 3

View File

@ -9,7 +9,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="build/bin/windows/videogame.exe"
export_path=""
patches=PackedStringArray()
encryption_include_filters=""
encryption_exclude_filters=""
@ -33,7 +33,7 @@ codesign/timestamp_server_url=""
codesign/digest_algorithm=1
codesign/description=""
codesign/custom_options=PackedStringArray()
application/modify_resources=false
application/modify_resources=true
application/icon=""
application/console_wrapper_icon=""
application/icon_interpolation=4
@ -79,7 +79,7 @@ custom_features=""
export_filter="all_resources"
include_filter=""
exclude_filter=""
export_path="build/bin/linux/videogame.x86_64"
export_path=""
patches=PackedStringArray()
encryption_include_filters=""
encryption_exclude_filters=""

View File

@ -0,0 +1,8 @@
class_name VersionInfo extends Label
var project_name: String = "X"
var commit_number: int = 0
var branch_name: String = "X"
var short_sha: String = "X"
var build_override: bool = false

View File

@ -0,0 +1 @@
uid://b3rhuel4vnoss

View File

@ -0,0 +1,23 @@
extends VersionInfo
@export var show_label_in_editor: bool = true
@export_category("Label Settings")
@export var major_version: int = 0
@export var minor_version: int = 0
@export var patch: int = 0
@export var show_branch_name: bool = true
@export var show_sha: bool = true
func _ready() -> void:
# fill text
text = ("%s_%d.%d.%d-%03d" %[project_name, major_version, minor_version, patch, commit_number])
# extra details
if show_branch_name: text += "-%s" %branch_name
if show_sha: text += "-%s" %short_sha
# show text
if show_label_in_editor || build_override: show()
else: hide()

View File

@ -0,0 +1 @@
uid://dlna6j58fshxu