diff --git a/Data/UpdateEmulator.bat b/Data/UpdateEmulator.bat new file mode 100644 index 0000000000..aa600540e0 --- /dev/null +++ b/Data/UpdateEmulator.bat @@ -0,0 +1,43 @@ +@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 +TASKKILL /IM "Dolphin-MPN.exe" /F +"Updater/wget.exe" https://github.com/MarioPartyNetplay/Dolphin-Mpn/archive/refs/heads/win32.zip +"Updater/7z.exe" x win32.zip +cd User\ +move Config ..\ +move GameSettings ..\ +move GC ..\ +move GBA ..\ +move Load ..\ +move Wii ..\ +cd ..\ +rmdir QtPlugins /s /q +rmdir Sys /s /q +rmdir User /s /q +cd Dolphin-MPN +move QtPlugins ..\ +move Sys ..\ +move User ..\ +move "Dolphin-MPN.exe" ..\ +move "DolphinTool.exe" ..\ +move "DSPTool.exe" ..\ +cd ..\ +rmdir Dolphin-MPN-win32 /s /q +DEL win32.zip +rmdir User\Load /s /q +move Config User\ +move GameSettings User\ +move GC User\ +move GBA User\ +move Load User\ +move Wii User\ +start Dolphin-MPN +:Exit +EXIT