@echo off
setlocal enabledelayedexpansion

:: --- Generate SoundsList.lua ---
(
echo -- Auto-generated Sound List
echo SoundsList = {
for %%f in (Sounds\*.ogg) do (
    echo     "%%~nf",
)
echo }
) > SoundsList.lua

:: --- Generate ImagesList.lua ---
(
echo -- Auto-generated Image List
echo ImagesList = {
for %%f in (Images\*.tga) do (
    echo     "%%~nf",
)
echo }
) > ImagesList.lua

echo Manifests updated successfully!
timeout /t 3