@echo off
cd /d "%~dp0"
echo Restoring original vorbis.acm...
if not exist "%~dp0vorbis.acm.original" (
    echo ERROR: no backup found in this folder.
    pause
    exit /b 1
)
copy /y "%~dp0vorbis.acm.original" "C:\WINDOWS\system32\vorbis.acm"
del /q "C:\WINDOWS\system32\KERNXP32.dll" 2>nul
echo Done - original restored, shim removed.
pause
