@echo off
echo ========================================
echo Texture Conversion Helper
echo ========================================
echo.

REM Check if Python is available
python --version >nul 2>&1
if %errorlevel% neq 0 (
    echo Python not found! Please install Python first.
    pause
    exit /b
)

REM Check if Pillow is installed
python -c "import PIL" >nul 2>&1
if %errorlevel% neq 0 (
    echo Installing Pillow...
    pip install Pillow
)

echo Running texture optimization script...
python fix_textures.py

echo.
echo ========================================
echo Conversion Complete!
echo ========================================
pause
