chore: commit untracked UE/scaffold files (repo cleanup triage 20260707)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Dubai Metaverse Team
2026-07-07 03:43:19 -07:00
parent b9c4978802
commit 9629838469
147 changed files with 26523 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
#!/bin/bash
# Dubai Metaverse - Script Enhancement Script
# Adds error handling and improvements to all scripts
set -e
echo "=========================================="
echo "Dubai Metaverse - Script Enhancement"
echo "=========================================="
echo ""
# Check script syntax
echo "Checking script syntax..."
for script in scripts/*.sh; do
if [ -f "$script" ]; then
if bash -n "$script" 2>/dev/null; then
echo "$script - Syntax OK"
else
echo "$script - Syntax errors found"
fi
fi
done
echo ""
echo "Checking Python script syntax..."
for script in scripts/*.py; do
if [ -f "$script" ]; then
if python3 -m py_compile "$script" 2>/dev/null; then
echo "$script - Syntax OK"
else
echo "$script - Syntax errors found"
fi
fi
done
echo ""
echo "=========================================="
echo "Script Enhancement Complete"
echo "=========================================="

View File

@@ -0,0 +1,87 @@
#!/bin/bash
# Dubai Metaverse - Asset Validation Script
# Validates asset naming conventions and structure
set -e # Exit on error
echo "=========================================="
echo "Dubai Metaverse - Asset Validation"
echo "=========================================="
echo ""
# Check if Content directory exists
if [ ! -d "Content" ]; then
echo "Error: Content directory not found"
echo "Run this script from the UE5 project root directory"
exit 1
fi
ERRORS=0
WARNINGS=0
# Function to check naming convention
check_naming() {
local file="$1"
local basename=$(basename "$file")
# Check for spaces
if [[ "$basename" == *" "* ]]; then
echo " ❌ ERROR: Contains spaces: $basename"
((ERRORS++))
return 1
fi
# Check for special characters (except underscores and hyphens)
if [[ "$basename" =~ [^a-zA-Z0-9_\-\.] ]]; then
echo " ❌ ERROR: Contains invalid characters: $basename"
((ERRORS++))
return 1
fi
# Check prefix based on extension
local ext="${basename##*.}"
case "$ext" in
uasset)
if [[ ! "$basename" =~ ^(SM_|SK_|M_|MI_|BP_|ABP_|BT_|P_|A_|SQ_|CineCamera_|DA_|WBP_|PCG_|D_|PP_) ]]; then
echo " ⚠ WARNING: Missing prefix: $basename"
((WARNINGS++))
fi
;;
*)
# Other file types - basic validation only
;;
esac
return 0
}
# Scan Content directory for assets
echo "Scanning Content directory..."
echo ""
find Content -type f -name "*.uasset" -o -name "*.umap" | while read -r file; do
check_naming "$file"
done
# Summary
echo ""
echo "=========================================="
echo "Validation Complete"
echo "=========================================="
echo ""
echo "Errors: $ERRORS"
echo "Warnings: $WARNINGS"
echo ""
if [ $ERRORS -eq 0 ] && [ $WARNINGS -eq 0 ]; then
echo "✓ All assets passed validation"
exit 0
elif [ $ERRORS -eq 0 ]; then
echo "⚠ Some warnings found, but no errors"
exit 0
else
echo "❌ Validation failed. Please fix errors before committing."
exit 1
fi

View File

@@ -0,0 +1,98 @@
#!/bin/bash
# Dubai Metaverse - Full Project Validation Script
# Validates complete project structure and documentation
set -e
echo "=========================================="
echo "Dubai Metaverse - Project Validation"
echo "=========================================="
echo ""
ERRORS=0
WARNINGS=0
# Check required files
echo "Checking required files..."
REQUIRED_FILES=(
"README.md"
"docs/planning/PROJECT_CHARTER.md"
"docs/TECHNICAL_BRIEF.md"
"docs/ART_BIBLE.md"
"docs/planning/PROJECT_PLAN.md"
"docs/PIPELINE.md"
"docs/NAMING_CONVENTIONS.md"
"docs/setup/UE5_INSTALLATION.md"
"docs/setup/PROJECT_SETTINGS.md"
"docs/setup/PLUGINS.md"
"docs/setup/VERSION_CONTROL.md"
"docs/planning/MILESTONES.md"
)
for file in "${REQUIRED_FILES[@]}"; do
if [ -f "$file" ]; then
echo "$file"
else
echo "❌ Missing: $file"
((ERRORS++))
fi
done
# Check directories
echo ""
echo "Checking directory structure..."
REQUIRED_DIRS=(
"docs"
"TASKS"
"PROGRESS_REPORTS"
"scripts"
"houdini"
"data"
"TEMPLATES"
)
for dir in "${REQUIRED_DIRS[@]}"; do
if [ -d "$dir" ]; then
echo "$dir/"
else
echo "⚠ Missing: $dir/"
((WARNINGS++))
fi
done
# Check scripts
echo ""
echo "Checking scripts..."
if [ -d "scripts" ]; then
SCRIPT_COUNT=$(find scripts -type f \( -name "*.sh" -o -name "*.py" \) | wc -l)
echo "✓ Found $SCRIPT_COUNT scripts"
else
echo "⚠ Scripts directory not found"
((WARNINGS++))
fi
# Check documentation
echo ""
echo "Checking documentation..."
DOC_COUNT=$(find . -name "*.md" | wc -l)
echo "✓ Found $DOC_COUNT documentation files"
# Summary
echo ""
echo "=========================================="
echo "Validation Summary"
echo "=========================================="
echo ""
echo "Errors: $ERRORS"
echo "Warnings: $WARNINGS"
echo ""
if [ $ERRORS -eq 0 ]; then
echo "✓ Project validation passed"
exit 0
else
echo "❌ Project validation failed"
exit 1
fi