@echo off title Echoes of Madrigal - Uninstall rem Removes the Echoes of Madrigal Windows app completely: the game, its shortcuts, its "Installed apps" entry and rem its downloaded updates and game files. Your characters, items and Penya are kept on the server - nothing is lost. rem Use it when the app will not start or keeps updating over and over: clean up, then download a fresh copy. rem 2026-11-11: also clears the data folder of the newer apps (EchoesOfMadrigalN) and opens the download page after. echo. echo Echoes of Madrigal - Uninstall echo ------------------------------ echo This removes the game app from this PC (shortcuts, downloaded updates and cached game files). echo Your characters, items and Penya are safe on the server. echo. choice /c YN /m " Remove Echoes of Madrigal now" if errorlevel 2 goto :eof echo. echo Closing the game if it is open... taskkill /f /im EchoesOfMadrigal.exe >nul 2>&1 taskkill /f /im EchoesOfMadrigal-Setup.exe >nul 2>&1 ping 127.0.0.1 -n 3 >nul echo Removing shortcuts... del /f /q "%APPDATA%\Microsoft\Windows\Start Menu\Programs\Echoes of Madrigal.lnk" >nul 2>&1 del /f /q "%USERPROFILE%\Desktop\Echoes of Madrigal.lnk" >nul 2>&1 for /f "usebackq delims=" %%D in (`powershell -NoProfile -Command "[Environment]::GetFolderPath('Desktop')"`) do del /f /q "%%D\Echoes of Madrigal.lnk" >nul 2>&1 echo Removing the "Installed apps" entry... reg delete "HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\EchoesOfMadrigal" /f >nul 2>&1 echo Removing the game folder... rmdir /s /q "%LOCALAPPDATA%\Programs\Echoes of Madrigal" >nul 2>&1 echo Removing downloaded updates and cached game files... rmdir /s /q "%APPDATA%\Godot\app_userdata\Echoes of Madrigal" >nul 2>&1 rmdir /s /q "%APPDATA%\EchoesOfMadrigalN" >nul 2>&1 del /f /q "%TEMP%\EchoesOfMadrigal-Setup.exe" >nul 2>&1 echo. if exist "%LOCALAPPDATA%\Programs\Echoes of Madrigal" ( echo Some files could not be removed - close the game, then run this again. ) else ( echo Done. Echoes of Madrigal has been removed. echo Now download a fresh copy - the download page opens now: https://echoesofmadrigal.com/download echo or play in your browser at https://echoesofmadrigal.com/play ) echo. if not exist "%LOCALAPPDATA%\Programs\Echoes of Madrigal" start "" "https://echoesofmadrigal.com/download" pause