Imthedude025

Plague Inc SaveData Downloader/Uploader (Batch)

Feb 27th, 2021 (edited)
15
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  2. ::Plague Inc SaveData Downloader/Uploader ::
  3. ::Created by RU$$ [http://russdev.mooo.com/] ::
  4. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
  5. @ECHO OFF
  6. @TITLE Plague Inc SaveData Downloader/Uploader
  7.  
  8. :MAIN
  9. cls
  10. Echo Welcome To The Plague Inc SaveData Downloader/Uploader!
  11. Echo 1. Save game data to desktop
  12. Echo 2. Upload existing game save data from desktop
  13. Echo 3. Exit
  14. Echo.
  15. SET INPUT=
  16. SET /P INPUT= Please select an option:
  17. IF /I '%INPUT%'=='1' GOTO :DOWNLOAD
  18. IF /I '%INPUT%'=='2' GOTO :UPLOAD
  19. IF /I '%INPUT%'=='3' EXIT
  20. goto :MAIN
  21.  
  22. :DOWNLOAD
  23. If not exist "C:\Users\%username%\AppData\Roaming\Goldberg SteamEmu Saves\246620" (
  24.  
  25. cls
  26. Echo STATUS: No save data was found in AppData!
  27. echo(
  28. pause
  29. GOTO :MAIN
  30.  
  31. ) ELSE (
  32.  
  33. cls
  34. echo Downloading Save To Desktop. Please Wait...
  35. If exist "C:\Users\%username%\Desktop\PlagueSaveData.zip" (
  36. del "C:\Users\%username%\Desktop\PlagueSaveData.zip"
  37. )
  38. echo(
  39. PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Compress-Archive -LiteralPath 'C:\Users\%username%\AppData\Roaming\Goldberg SteamEmu Saves\246620\' -DestinationPath 'C:\Users\%username%\Desktop\PlagueSaveData.zip'"
  40. echo File Saved To Dekstop!
  41. echo(
  42. pause
  43. GOTO :MAIN
  44.  
  45. )
  46.  
  47. :UPLOAD
  48. If not exist "C:\Users\%username%\AppData\Roaming\Goldberg SteamEmu Saves\246620" (
  49.  
  50. cls
  51. Echo STATUS: No save data was found on desktop!
  52. echo(
  53. pause
  54. GOTO :MAIN
  55.  
  56. ) ELSE (
  57.  
  58. cls
  59. echo Downloading Save To Appdata. Please Wait...
  60. echo(
  61. If exist "C:\Users\%username%\AppData\Roaming\Goldberg SteamEmu Saves\246620\" (
  62. Rmdir /s /q "C:\Users\%username%\AppData\Roaming\Goldberg SteamEmu Saves\246620"
  63. )
  64. PowerShell -NoProfile -ExecutionPolicy Bypass -Command "Expand-Archive -LiteralPath 'C:\Users\%username%\Desktop\PlagueSaveData.zip' -DestinationPath 'C:\Users\%username%\AppData\Roaming\Goldberg SteamEmu Saves\'"
  65. echo File Saved To Appdata!
  66. echo(
  67. pause
  68. GOTO :MAIN
  69.  
  70. )
RAW Paste Data