@echo off title Mario Party Netplay Updater Updater :choice set /P c=Are you sure you want to continue[Y/N]? if /I "%c%" EQU "Y" goto :Start if /I "%c%" EQU "N" goto :Exit goto :Exit :Start cd ../../ TASKKILL /IM "Project64-MPN.exe" /F "Plugin/Updater/wget.exe" https://github.com/MarioPartyNetplay/Project64-MPN/releases/latest/download/Project64MPN-win32.zip "Plugin/Updater/7z.exe" x Project64MPN-win32.zip cd Config move NRage.ini ..\ move Project64.cfg ..\ cd ..\ cd Plugin cd GFX move GlideN64.ini ..\..\ cd ..\ cd Input move netplay_input_plugin.ini ..\..\ cd ..\..\ rmdir Config /s /q rmdir Plugin\Audio /s /q rmdir Plugin\GFX /s /q rmdir Plugin\Input /s /q rmdir Plugin\RSP /s /q cd Plugin/Updater DEL Updater.ini cd ../.. rmdir Save /s /q cd "Project64 MPN" move Config ..\ move Plugin\Audio ..\Plugin move Plugin\GFX ..\Plugin\GFX move Plugin\RSP ..\Plugin\RSP move Plugin\Input ..\Plugin\Input move Plugin\Updater\Updater.ini ..\Plugin\Updater\Updater.ini move Save ..\ DEL "..\Replace.bat" move Replace.bat ..\ DEL "..\Project64-MPN.exe" move "Project64-MPN.exe" ..\ cd ..\ rmdir "Project64 MPN" /s /q DEL Project64MPN-win32.zip move GlideN64.ini Plugin\GFX move NRage.ini Config move Project64.cfg Config move netplay_input_plugin.ini Plugin\Input start Project64-MPN :Exit EXIT