resetting repo

This commit is contained in:
2025-08-13 22:59:27 +02:00
parent 0c976a4cb6
commit 5dfe706404
1282 changed files with 2596 additions and 1968 deletions

24
.gitattributes vendored
View File

@@ -2,14 +2,32 @@
*.exe filter=lfs diff=lfs merge=lfs -text *.exe filter=lfs diff=lfs merge=lfs -text
*.gif filter=lfs diff=lfs merge=lfs -text *.gif filter=lfs diff=lfs merge=lfs -text
*.jpg filter=lfs diff=lfs merge=lfs -text *.jpg filter=lfs diff=lfs merge=lfs -text
*.JPG filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text *.png filter=lfs diff=lfs merge=lfs -text
*.PNG filter=lfs diff=lfs merge=lfs -text *.PNG filter=lfs diff=lfs merge=lfs -text
*.pnG filter=lfs diff=lfs merge=lfs -text
*.jpeg filter=lfs diff=lfs merge=lfs -text
*.webp filter=lfs diff=lfs merge=lfs -text
*.psd filter=lfs diff=lfs merge=lfs -text
*.xcf filter=lfs diff=lfs merge=lfs -text
*.pxr filter=lfs diff=lfs merge=lfs -text
*.mp3 filter=lfs diff=lfs merge=lfs -text *.mp3 filter=lfs diff=lfs merge=lfs -text
*.ogg filter=lfs diff=lfs merge=lfs -text *.ogg filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
*.WAV filter=lfs diff=lfs merge=lfs -text
*.wav123321321 filter=lfs diff=lfs merge=lfs -text
*.sfk filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.rar filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.otf filter=lfs diff=lfs merge=lfs -text
*.lnk filter=lfs diff=lfs merge=lfs -text
*.pk filter=lfs diff=lfs merge=lfs -text
*.fig filter=lfs diff=lfs merge=lfs -text
*.fds filter=lfs diff=lfs merge=lfs -text
*.pdn filter=lfs diff=lfs merge=lfs -text
*.osk filter=lfs diff=lfs merge=lfs -text *.osk filter=lfs diff=lfs merge=lfs -text
*.osr filter=lfs diff=lfs merge=lfs -text *.osr filter=lfs diff=lfs merge=lfs -text
*.osz filter=lfs diff=lfs merge=lfs -text *.osz filter=lfs diff=lfs merge=lfs -text
*.pack filter=lfs diff=lfs merge=lfs -text *.pack filter=lfs diff=lfs merge=lfs -text
*.pdn filter=lfs diff=lfs merge=lfs -text *.mp4 filter=lfs diff=lfs merge=lfs -text
*.wav filter=lfs diff=lfs merge=lfs -text
*.WAV filter=lfs diff=lfs merge=lfs -text

View File

@@ -1,4 +1,4 @@
name: CI/CD Pipeline name: Generate Skin previews, OSK files and per skin documentation
on: on:
push: push:
@@ -23,7 +23,7 @@ env:
DANSER_SCREENSHOT_DIR: "/app/danser/screenshots" DANSER_SCREENSHOT_DIR: "/app/danser/screenshots"
SKINS_DIR: "${{ github.workspace }}/Skins" SKINS_DIR: "${{ github.workspace }}/Skins"
DANSER_SKINS_DIR: "/app/danser/skins" DANSER_SKINS_DIR: "/app/danser/skins"
DEFAULT_SKIN_DIR: "${{ github.workspace }}/src/default-skin" DEFAULT_SKIN_DIR: "/app/danser/skins/default-skin"
REPO_SCREENSHOT_DIR: "${{ github.workspace }}/media/gameplay" REPO_SCREENSHOT_DIR: "${{ github.workspace }}/media/gameplay"
REPO_MOD_ICONS_DIR: "${{ github.workspace }}/media/icons" REPO_MOD_ICONS_DIR: "${{ github.workspace }}/media/icons"
REPO_RANKING_PANEL_DIR: "${{ github.workspace }}/media/panel" REPO_RANKING_PANEL_DIR: "${{ github.workspace }}/media/panel"
@@ -42,7 +42,7 @@ env:
jobs: jobs:
generate_everything: generate_everything:
name: Full CI/CD Pipeline name: Full CI/CD Pipeline
runs-on: ubuntu-latest runs-on: danser
container: container:
image: ${{ vars.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:latest image: ${{ vars.CONTAINER_REGISTRY }}/${{ env.IMAGE_NAME }}:latest
options: >- options: >-
@@ -172,7 +172,6 @@ jobs:
echo "" echo ""
echo "[Detect Changed Skin Directories Complete — ${#uniq_skins[@]} skins processed, ${#deleted_skins[@]} skins deleted]" echo "[Detect Changed Skin Directories Complete — ${#uniq_skins[@]} skins processed, ${#deleted_skins[@]} skins deleted]"
- name: Pull Git LFS objects for changed skins (and core assets) - name: Pull Git LFS objects for changed skins (and core assets)
shell: bash shell: bash
run: | run: |
@@ -494,15 +493,22 @@ jobs:
for group_list in "$group1_icons" "$group2_icons" "$group3_icons"; do for group_list in "$group1_icons" "$group2_icons" "$group3_icons"; do
montage_files=() montage_files=()
for icon in $group_list; do for icon in $group_list; do
file=""
if [ -f "${ICON_FOLDER}/selection-mod-${icon}@2x.png" ]; then if [ -f "${ICON_FOLDER}/selection-mod-${icon}@2x.png" ]; then
montage_files+=("${ICON_FOLDER}/selection-mod-${icon}@2x.png") file="${ICON_FOLDER}/selection-mod-${icon}@2x.png"
elif [ -f "${ICON_FOLDER}/selection-mod-${icon}.png" ]; then
file="${ICON_FOLDER}/selection-mod-${icon}.png"
elif [ -f "${DEFAULT_SKIN_DIR}/selection-mod-${icon}@2x.png" ]; then elif [ -f "${DEFAULT_SKIN_DIR}/selection-mod-${icon}@2x.png" ]; then
montage_files+=("${DEFAULT_SKIN_DIR}/selection-mod-${icon}@2x.png") file="${DEFAULT_SKIN_DIR}/selection-mod-${icon}@2x.png"
fi fi
[ -n "$file" ] && montage_files+=("$file")
done done
while [ "${#montage_files[@]}" -lt 7 ]; do while [ "${#montage_files[@]}" -lt 7 ]; do
montage_files+=("$BLANK_IMAGE") montage_files+=("$BLANK_IMAGE")
done done
magick montage "${montage_files[@]}" \ magick montage "${montage_files[@]}" \
-tile "7x1" -geometry "160x160+10+10" -background none \ -tile "7x1" -geometry "160x160+10+10" -background none \
"row_${row_index}.png" "row_${row_index}.png"
@@ -671,6 +677,7 @@ jobs:
declare -A ordered declare -A ordered
while IFS= read -r skin; do while IFS= read -r skin; do
[ "$skin" = "default-skin" ] && continue
ordered["$skin"]=1 ordered["$skin"]=1
dir="$DANSER_SKINS_DIR/$skin" dir="$DANSER_SKINS_DIR/$skin"
[ ! -d "$dir" ] && continue [ ! -d "$dir" ] && continue
@@ -715,6 +722,7 @@ jobs:
for dir in "$DANSER_SKINS_DIR"/*; do for dir in "$DANSER_SKINS_DIR"/*; do
[ -d "$dir" ] || continue [ -d "$dir" ] || continue
skin="$(basename "$dir")" skin="$(basename "$dir")"
[ "$skin" = "default-skin" ] && continue
[[ -n "${ordered[$skin]}" ]] && continue [[ -n "${ordered[$skin]}" ]] && continue
ini_file=$(find "$dir" -maxdepth 1 -iname "skin.ini" | head -n1 || true) ini_file=$(find "$dir" -maxdepth 1 -iname "skin.ini" | head -n1 || true)
@@ -799,6 +807,7 @@ jobs:
[ -d "$dir" ] || continue [ -d "$dir" ] || continue
skin=$(basename "$dir") skin=$(basename "$dir")
[ "$skin" = "default-skin" ] && continue
ini_file=$(find "$dir" -maxdepth 1 -iname "skin.ini" | head -n1 || true) ini_file=$(find "$dir" -maxdepth 1 -iname "skin.ini" | head -n1 || true)
skin_header="$skin" skin_header="$skin"
@@ -820,7 +829,7 @@ jobs:
mkdir -p "$(dirname "$md_file_path")" mkdir -p "$(dirname "$md_file_path")"
video_url="$REGISTRY_URL/$USER_REPOSITORY/raw/tag/$new_tag/media/gameplay/${base_path}.mp4" video_url="$REGISTRY_URL/$USER_REPOSITORY/media/tag/$new_tag/media/gameplay/${base_path}.mp4"
author="" author=""
if [ -f "$ini_file" ]; then if [ -f "$ini_file" ]; then
@@ -847,6 +856,28 @@ jobs:
echo "## Mod Icons" echo "## Mod Icons"
echo "![](/media/icons/${base_path}-mod-icons.webp)" echo "![](/media/icons/${base_path}-mod-icons.webp)"
echo ""
echo "## Build History"
echo ""
echo "| Version | Date |"
echo "| ------- | ---- |"
current_commit_date=$(TZ="Europe/Zurich" date -d "$(git log -1 --format=%cI)" "+%d.%m.%Y %H:%M:%S")
echo "| [\`$new_tag (Current)\`]($REGISTRY_URL/$USER_REPOSITORY/src/tag/$new_tag/docs/${base_path}.md) | $current_commit_date |"
old_tags=$(git tag --sort=-v:refname | grep -v "^$new_tag$" | grep -E '^v[0-9]+\.[0-9]+\.[0-9]+$' || true)
if [ -n "$old_tags" ]; then
echo "$old_tags" | while read -r tag; do
raw_osk_path="export/${skin}/${skin_header}.osk"
if git ls-tree -r --name-only "$tag" | grep -Fx -- "$raw_osk_path" >/dev/null; then
tag_date=$(git log -1 --format=%ci "$tag")
formatted_date=$(TZ="Europe/Zurich" date -d "$tag_date" "+%d.%m.%Y %H:%M:%S")
echo "| [\`$tag\`]($REGISTRY_URL/$USER_REPOSITORY/src/tag/$tag/docs/${base_path}.md) | $formatted_date |"
fi
done
fi
} > "$md_file_path" } > "$md_file_path"
echo " → Wrote $md_file_path" echo " → Wrote $md_file_path"
@@ -861,6 +892,8 @@ jobs:
echo "[Cleanup Extra Files Started]" echo "[Cleanup Extra Files Started]"
[ -f how-to-use.md ] && rm -f how-to-use.md [ -f how-to-use.md ] && rm -f how-to-use.md
[ -f src/replay.osr ] && rm -f src/replay.osr
[ -d src/default-skin ] && rm -rf src/default-skin
readarray -t skins <<< "$ALL_SKINS_DIR" readarray -t skins <<< "$ALL_SKINS_DIR"

View File

@@ -1,10 +1,8 @@
{ {
"order": [ "order": [
"example1", "~Comfy,,"
"example2"
], ],
"descriptions": { "descriptions": {
"example1": "Description of example1", "~Comfy,,": "I use it for everything"
"example2": "Description of example2"
} }
} }

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

View File

View File

View File

Binary file not shown.

Binary file not shown.

BIN
Skins/~Comfy,,/Ranking-A@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/Ranking-B@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/Ranking-C@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/Ranking-D@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/Ranking-S@2x.png LFS Normal file

Binary file not shown.

Binary file not shown.

BIN
Skins/~Comfy,,/Ranking-winner.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/applause.wav LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Skins/~Comfy,,/blank.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/button-left.png LFS Normal file

Binary file not shown.

Binary file not shown.

BIN
Skins/~Comfy,,/button-middle.png LFS Normal file

Binary file not shown.

Binary file not shown.

BIN
Skins/~Comfy,,/button-right.png LFS Normal file

Binary file not shown.

Binary file not shown.

BIN
Skins/~Comfy,,/check-off.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/check-on.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/click-close.wav LFS Normal file

Binary file not shown.

Binary file not shown.

BIN
Skins/~Comfy,,/click-short.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/coins-buy.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/coins-recharge.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/coins-use.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/combobreak.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/combobreak1.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/combobreak2.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/combobreako.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/count1.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/count1s.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/count2.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/count2s.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/count3.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/count3s.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/curs1or.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/cursor.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/cursor@12x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/cursort3rail.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/cursortrail.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-0.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-0@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-1.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-1@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-2.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-2@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-3.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-3@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-4.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-4@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-5.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-5@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-6.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-6@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-7.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-7@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-8.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-8@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-9.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/default-9@2x.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/drum-hitclap.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/drum-hitfinish.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/drum-hitnormal.wav LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

View File

Binary file not shown.

BIN
Skins/~Comfy,,/fail-sound.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/failsound2.wav LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/followpoint-0.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/followpoint-1.png LFS Normal file

Binary file not shown.

BIN
Skins/~Comfy,,/followpoint-2.png LFS Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More