-
Notifications
You must be signed in to change notification settings - Fork 0
/
Mod-Installer.bat
1127 lines (1081 loc) · 37.7 KB
/
Mod-Installer.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
@echo off
set ver=Version 0.0.0
:start
if not exist "%LocalAppData%\Mod-Installer" (
CLS
echo.
echo You need to reinstall the Mod-Installer!
echo.
Pause
start "" "%appdata%\Microsoft\Windows\Start Menu\Programs\Mod-Installer\Installer-Uninstaller.lnk"
GOTO end
)
if exist "%LocalAppData%\Mod-Installer" (
cd "%LocalAppData%\Mod-Installer"
curl --ssl-no-revoke -sL -o "%LocalAppData%\Mod-Installer\MC-Launcher.bat" https://github.com/ZoeyVid/Mod-Installer/releases/latest/download/MC-Launcher.bat
curl --ssl-no-revoke -sL -o "%LocalAppData%\Mod-Installer\Mod-Installer.bat" https://github.com/ZoeyVid/Mod-Installer/releases/latest/download/Mod-Installer.bat
curl --ssl-no-revoke -sL -o "%LocalAppData%\Mod-Installer\Installer-Uninstaller.bat" https://github.com/ZoeyVid/Mod-Installer/releases/latest/download/Installer.bat
)
if exist %0 ( curl --ssl-no-revoke -sL -o %0 https://github.com/ZoeyVid/Mod-Installer/releases/latest/download/Mod-Installer.bat )
if exist "%ProgramFiles%\Mod-Installer" (
CLS
echo.
echo Please delete the "%ProgramFiles%\Mod-Installer" Folder manually!
echo.
Pause
)
FOR /F "usebackq" %%f IN (`PowerShell -NoProfile -Command "Write-Host([Environment]::GetFolderPath('Desktop'))"`) DO (
SET "DESKTOP_FOLDER=%%f"
)
if exist "%appdata%\.minecraft\Download.ico" (
del /S /Q "%appdata%\.minecraft\Download.ico"
)
if exist "%appdata%\.minecraft\Installer.ico" (
del /S /Q "%appdata%\.minecraft\Installer.ico"
)
if exist "%appdata%\.minecraft\MC-Launcher.bat" (
del /S /Q "%appdata%\.minecraft\MC-Launcher.bat"
)
if exist "%appdata%\.minecraft\Mod-Installer.bat" (
del /S /Q "%appdata%\.minecraft\Mod-Installer.bat"
)
if exist "%appdata%\.minecraft\Installer-Uninstaller.bat" (
del /Q /Q "%appdata%\.minecraft\Installer-Uninstaller.bat"
)
if exist "%appdata%\.minecraft\steam.txt" (
del /S /Q "%appdata%\.minecraft\steam.txt"
)
if exist "%ProgramFiles%\Mod-Installer\steam.txt" (
del /S /Q "%ProgramFiles%\Mod-Installer\steam.txt"
)
if exist "%appdata%\.minecraft\fabric.jar" (
del /S /Q "%appdata%\.minecraft\fabric.jar"
)
if exist "%appdata%\.minecraft\fabric.bat" (
del /S /Q "%appdata%\.minecraft\fabric.bat"
)
if exist "%appdata%\.minecraft\Update.bat" (
del /S /Q "%appdata%\.minecraft\Update.bat"
)
if exist "%appdata%\.minecraft\essential-installer.exe" (
del /S /Q "%appdata%\.minecraft\essential-installer.exe"
)
if exist "%appdata%\.minecraft\forge.bat" (
del /S /Q "%appdata%\.minecraft\forge.bat"
)
set l=1.21.3
set lfl=0.16.8
set fal=fabric-loader-%lfl%-%l%
set rpm=2.6.19
set lwv=v7.46.2
set lbv=1.10.2
CLS
C:
where winget >nul 2>nul
if %errorlevel%==1 (
echo.
echo winget not found! Please check how you can install winget on your system!
Pause
exit
)
where java >nul 2>nul
if %errorlevel%==1 (
echo.
echo java is not installed, it will now be installed!
echo Start now?
Pause
winget install -e --id Amazon.Corretto.17
GOTO restart
)
if not exist "%appdata%\.minecraft" (
CLS
echo .minecraft folder not at the usual path or not available.
echo Under "%appdata%\.minecraft"
echo Unable to start Minecraft!
echo Do you want to open the Minecraft Launcher and test it again afterwards?
Pause
start "" shell:AppsFolder\Microsoft.4297127D64EC6_8wekyb3d8bbwe!Minecraft
echo Started?
Pause
TASKKILL /T /F /IM MinecraftLauncher.exe
TASKKILL /T /F /IM Minecraft.exe
GOTO restart
)
C:
cd %appdata%\.minecraft
if exist Backup.* (
del /S /Q Backup.*
)
if exist *.tar (
echo Your Profiles need to be converted from a .tar file to a .zip file
echo Start now?
Pause
echo converting Profiles from .tar to .zip...
if exist Profil-1.tar (
rmdir /S /Q mods
tar xf Profil-1.tar
tar acf Profil-1.zip mods config\openloader
echo Profil-1 converted to a zip file!
)
if exist Profil-2.tar (
rmdir /S /Q mods
tar xf Profil-2.tar
tar acf Profil-2.zip mods config\openloader
echo Profil-2 converted to a zip file!
)
if exist Profil-3.tar (
rmdir /S /Q mods
tar xf Profil-3.tar
tar acf Profil-3.zip mods config\openloader
echo Profil-3 converted to a zip file!
)
if exist Profil-4.tar (
rmdir /S /Q mods
tar xf Profil-4.tar
tar acf Profil-4.zip mods config\openloader
echo Profil-4 converted to a zip file!
)
if exist Profil-5.tar (
rmdir /S /Q mods
tar xf Profil-5.tar
tar acf Profil-5.zip mods config\openloader
echo Profil-5 converted to a zip file!
)
if exist Profil-6.tar (
rmdir /S /Q mods
tar xf Profil-6.tar
tar acf Profil-6.zip mods config\openloader
echo Profil-6 converted to a zip file!
)
if exist Profil-7.tar (
rmdir /S /Q mods
tar xf Profil-7.tar
tar acf Profil-7.zip mods config\openloader
echo Profil-7 converted to a zip file!
)
if exist Profil-8.tar (
rmdir /S /Q mods
tar xf Profil-8.tar
tar acf Profil-8.zip mods config\openloader
echo Profil-8 converted to a zip file!
)
if exist *.tar (
del /S /Q *.tar
)
echo Finished! Now starting the Mod-Installer...
Pause
)
CLS
echo.
echo Client-Mods/Modpack Versions:
echo.
echo a) Iris + Sodium (1.16+) - https://irisshaders.net
echo b) Optifine (1.7+) - https://optifine.net/downloads - NO direct Download!
echo c) Quilt-Loader (1.14+) - https://quiltmc.org/en
echo d) Fabric-Loader (1.14+) - https://fabricmc.net/use
echo e) neoforged-Loader (1.20+) - https://neoforged.net
echo f) Forge-Loader (1.6+) - https://files.minecraftforge.net/net/minecraftforge/forge
echo g) Essential (1.8+) - https://essential.gg
echo.
echo h) 1.21.0 - Fabric-Loader Modpacks
echo i) Resource Packs - Download Resourcepacks!
echo.
echo j) Modprofile - Create Mod-/Config-Profils
echo k) Profil Update - Load a profile to update it and then automatically save it again!
echo.
echo Functions:
echo.
echo l) .minecraft Cleaner - Clear your .minecraft folder up!
echo m) Install tModLoader 64Bit - Terraria
echo n) Restart Installer
echo o) End Installer
echo p) Give feedback - %ver%
echo.
CHOICE /C abcdefghijklmnop /M " Selection: "
IF ERRORLEVEL 16 GOTO fb
IF ERRORLEVEL 15 GOTO end
IF ERRORLEVEL 14 GOTO restart
IF ERRORLEVEL 13 GOTO t64
IF ERRORLEVEL 12 GOTO c
IF ERRORLEVEL 11 GOTO update
IF ERRORLEVEL 10 GOTO p
IF ERRORLEVEL 9 GOTO rp
IF ERRORLEVEL 8 GOTO 1.21
IF ERRORLEVEL 7 GOTO ess
IF ERRORLEVEL 6 GOTO forge
IF ERRORLEVEL 5 GOTO neoforged
IF ERRORLEVEL 4 GOTO fabric
IF ERRORLEVEL 3 GOTO quilt
IF ERRORLEVEL 2 GOTO of
IF ERRORLEVEL 1 GOTO iris
:1.21
C:
cd %appdata%\.minecraft
CLS
echo.
echo Minigames = Only graphicmods, Survival = Minimap, WTHIT...
echo Only the Minigame Pack should be allowed on Servers like Hypixel
echo.
echo 1. %l% Client Mods Survival
echo 2. %l% Client Mods Minigames
echo.
echo 3. Wurst Hack-Client - If you use this, I can say you, you get guaranteed banned
echo 4. Baritone - If you use this, I can say you, you get guaranteed banned - now working at the moment
echo 5. Replaymod
echo.
echo 6. Restart Installer
echo 7. End Installer
echo.
CHOICE /C 1234567 /M "RECOMMENDATION! SAFE MODS IN A PROFILE! THEY WILL BE REMOVED! Selection: "
IF ERRORLEVEL 7 GOTO end
IF ERRORLEVEL 6 GOTO restart
IF ERRORLEVEL 5 GOTO rpm
IF ERRORLEVEL 4 GOTO bpb
IF ERRORLEVEL 3 GOTO whc
IF ERRORLEVEL 2 curl --ssl-no-revoke -L -o mods.zip https://zvcdn.de/mp/1.21-Minigames.zip
IF ERRORLEVEL 1 curl --ssl-no-revoke -L -o mods.zip https://zvcdn.de/mp/1.21.zip
echo Installation starting...
C:
cd %appdata%\.minecraft
CLS
if exist mods (
rmdir /S /Q mods
)
tar xf mods.zip
if exist mods.zip (
del /S /Q mods.zip
)
curl --ssl-no-revoke -sL -o fabric.jar https://zvcdn.de/fa
if exist fabric.jar (
java -jar fabric.jar client -mcversion %l% -loader %lfl%
del /S /Q fabric.jar
)
GOTO mif
:whc
echo Installation starting...
C:
cd %appdata%\.minecraft
cd %appdata%\.minecraft\mods
CLS
curl --ssl-no-revoke -L -o wurst.jar https://github.com/Wurst-Imperium/Wurst-MCX2/releases/download/%lwv%/Wurst-Client-%lwv%-MC%l%.jar
GOTO mif
:bpb
echo Installation starting...
C:
cd %appdata%\.minecraft
cd %appdata%\.minecraft\mods
CLS
:curl --ssl-no-revoke -L -o baritone.jar https://github.com/cabaletta/baritone/releases/download/v%lbv%/baritone-api-fabric-%lbv%.jar
echo Not supported on 1.21... (at least now)
GOTO mif
:rpm
echo Installation starting...
C:
cd %appdata%\.minecraft
cd %appdata%\.minecraft\mods
CLS
curl --ssl-no-revoke -L -o replaymod.jar https://minio.replaymod.com/replaymod/replaymod-%l%-%rpm%.jar
GOTO mif
:quilt
echo Installation starting...
C:
cd %appdata%\.minecraft
CLS
curl --ssl-no-revoke -sL -o quilt.jar https://quiltmc.org/api/v1/download-latest-installer/java-universal
if exist quilt.jar (
java -jar quilt.jar
del /S /Q quilt.jar
)
GOTO mif
:fabric
echo Installation starting...
C:
cd %appdata%\.minecraft
CLS
curl --ssl-no-revoke -sL -o fabric.jar https://zvcdn.de/fa
if exist fabric.jar (
java -jar fabric.jar
del /S /Q fabric.jar
)
GOTO mif
:iris
echo Installation starting...
C:
cd %appdata%\.minecraft
CLS
curl --ssl-no-revoke -sL -o iris.jar https://zvcdn.de/iris
if exist iris.jar (
java -jar iris.jar
del /S /Q iris.jar
)
GOTO mif
:ess
echo Installation starting...
C:
cd %appdata%\.minecraft
CLS
curl --ssl-no-revoke -sL -o essential-installer.exe https://zvcdn.de/ess
if exist essential-installer.exe (
start essential-installer.exe
)
Pause
if exist essential-installer.exe (
del /S /Q essential-installer.exe
)
GOTO mif
:of
start "" https://optifine.net/downloads
GOTO mif
:neoforged
echo Installation starting...
C:
cd %appdata%\.minecraft
CLS
echo.
echo Which neoforged version do you want to install?
echo.
echo a) latest version
echo b) 1.20.6
echo c) 1.21.0
echo.
CHOICE /C abc /M " Selection: "
IF ERRORLEVEL 3 curl --ssl-no-revoke -sL -o neoforged.jar https://zvcdn.de/nfo/1.21
IF ERRORLEVEL 2 curl --ssl-no-revoke -sL -o neoforged.jar https://zvcdn.de/nfo/1.20
IF ERRORLEVEL 1 curl --ssl-no-revoke -sL -o neoforged.jar https://zvcdn.de/nfo/latest
echo In the next step a window will open automatically, just click on "OK"!
Pause
if exist neoforged.jar (
java -jar neoforged.jar
del /S /Q neoforged.jar
)
if exist neoforged.jar.log (
del /S /Q neoforged.jar.log
)
GOTO mif
:forge
echo Installation starting...
C:
cd %appdata%\.minecraft
CLS
echo.
echo Which Forge version do you want to install?
echo.
echo a) latest version
echo b) 1.6.4
echo c) 1.7.10
echo d) 1.8.9
echo e) 1.9.4
echo f) 1.10.2
echo g) 1.11.2
echo h) 1.12.2
echo i) 1.13.2
echo j) 1.14.4
echo k) 1.15.2
echo l) 1.16.5
echo m) 1.17.1
echo n) 1.18.2
echo o) 1.19.4
echo p) 1.20.6
echo q) 1.21.0
echo.
CHOICE /C abcdefghijklmnopq /M " Selection: "
IF ERRORLEVEL 22 curl --ssl-no-revoke -sL -o forge.jar https://zvcdn.de/fo/1.21
IF ERRORLEVEL 21 curl --ssl-no-revoke -sL -o forge.jar https://zvcdn.de/fo/1.20
IF ERRORLEVEL 21 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.19.4-45.3.0/forge-1.19.4-45.3.0-installer.jar
IF ERRORLEVEL 21 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.18.2-40.2.21/forge-1.18.2-40.2.21-installer.jar
IF ERRORLEVEL 20 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.17.1-37.1.1/forge-1.17.1-37.1.1-installer.jar
IF ERRORLEVEL 19 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.16.5-36.2.35/forge-1.16.5-36.2.35-installer.jar
IF ERRORLEVEL 12 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.15.2-31.2.56/forge-1.15.2-31.2.56-installer.jar
IF ERRORLEVEL 11 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.14.4-28.2.25/forge-1.14.4-28.2.25-installer.jar
IF ERRORLEVEL 10 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.14.3-27.0.60/forge-1.14.3-27.0.60-installer.jar
IF ERRORLEVEL 9 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.13.2-25.0.222/forge-1.13.2-25.0.222-installer.jar
IF ERRORLEVEL 8 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.12.2-14.23.5.2858/forge-1.12.2-14.23.5.2858-installer.jar
IF ERRORLEVEL 7 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.11.2-13.20.1.2588/forge-1.11.2-13.20.1.2588-installer.jar
IF ERRORLEVEL 6 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.10.2-12.18.3.2511/forge-1.10.2-12.18.3.2511-installer.jar
IF ERRORLEVEL 5 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.9.4-12.17.0.2317-1.9.4/forge-1.9.4-12.17.0.2317-1.9.4-installer.jar
IF ERRORLEVEL 4 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.8.9-11.15.1.2318-1.8.9/forge-1.8.9-11.15.1.2318-1.8.9-installer.jar
IF ERRORLEVEL 3 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.7.10-10.13.4.1614-1.7.10/forge-1.7.10-10.13.4.1614-1.7.10-installer.jar
IF ERRORLEVEL 2 curl --ssl-no-revoke -sL -o forge.jar https://maven.minecraftforge.net/net/minecraftforge/forge/1.6.4-9.11.1.1345/forge-1.6.4-9.11.1.1345-installer.jar
IF ERRORLEVEL 1 curl --ssl-no-revoke -sL -o forge.jar https://zvcdn.de/fo/latest
echo In the next step a window will open automatically, just click on "OK"!
Pause
if exist forge.jar (
java -jar forge.jar
del /S /Q forge.jar
)
if exist forge.jar.log (
del /S /Q forge.jar.log
)
GOTO mif
:mif
CLS
echo.
echo Finished!
echo 1. Restart Mod-Installer
echo 2. End Installer
echo 3. Create Profile
echo 4. Start Minecraft
CHOICE /C 1234 /M " Selection: "
IF ERRORLEVEL 4 GOTO mcl
IF ERRORLEVEL 3 GOTO pc
IF ERRORLEVEL 2 GOTO end
IF ERRORLEVEL 1 GOTO restart
:rp
C:
cd %appdata%\.minecraft\resourcepacks
CLS
echo.
echo Resource Packs:
echo.
echo 1) Remove pumpkin sight - Included and automatically loaded in the Modpacks - Pumpkin.zip
echo 2) Dark Mode - make Minecraft darker! - Included and automatically loaded in the Modpacks - https://zvcdn.de/dark
echo 3) Xray - often not welcome - https://zvcdn.de/xray
echo 4) BD-Craft - NO direct Download! - https://bdcraft.net/downloads
echo.
echo 5) Restart Mod-Installer
echo 6) Mod-End Installer
echo.
CHOICE /C 123456 /M " Selection: "
IF ERRORLEVEL 6 GOTO end
IF ERRORLEVEL 5 GOTO restart
IF ERRORLEVEL 4 start "" https://bdcraft.net/downloads
IF ERRORLEVEL 3 curl --ssl-no-revoke -sL -o Xray.zip https://mediafilez.forgecdn.net/files/5294/644/Xray_Ultimate_1.20.5_v5.0.1.zip
IF ERRORLEVEL 2 curl --ssl-no-revoke -sL -o Default-Dark-Mode.zip https://github.com/nebuIr/Default-Dark-Mode/releases/download/2024.6.0/Default-Dark-Mode-1.20.2+-2024.6.0.zip
IF ERRORLEVEL 1 curl --ssl-no-revoke -sL -o pumpkin.zip https://github.com/ZoeyVid/pumpkin/releases/latest/download/pumpkin.zip
echo.
echo Finished!
echo.
echo 1. Restart Mod-Installer
echo 2. End Installer
echo 3. Download more Resourcepacks
CHOICE /C 123 /M " Selection: "
IF ERRORLEVEL 3 GOTO rp
IF ERRORLEVEL 2 GOTO end
IF ERRORLEVEL 1 GOTO restart
:p
C:
cd "%appdata%\.minecraft\"
CLS
echo Make sure that you select the correct modloader and MC version in the Minecraft Launcher in the lower left!
echo Only mods are in the profiles saved and loaded!
echo.
echo 1. Create profile - Limit 8 - Existing ones will be overwritten
echo 2. Load Profile
echo 3. Delete Profile
echo.
echo 5. Restart Installer
echo 6. End Installer
echo.
echo CAUTION! PROFILES ARE NOT RECOVERABLE!
CHOICE /C 12345 /M " Selection: "
IF ERRORLEVEL 5 GOTO end
IF ERRORLEVEL 4 GOTO restart
IF ERRORLEVEL 3 GOTO pr
IF ERRORLEVEL 2 GOTO pl
IF ERRORLEVEL 1 GOTO pc
:pr
CLs
echo.
echo Which profile do you want to delete?
echo.
CHOICE /C 12345678 /M " Selection: "
IF ERRORLEVEL 8 if exist Profil-8.zip ( del /S /Q Profil-8.zip )
IF ERRORLEVEL 7 if exist Profil-7.zip ( del /S /Q Profil-7.zip )
IF ERRORLEVEL 6 if exist Profil-6.zip ( del /S /Q Profil-6.zip )
IF ERRORLEVEL 5 if exist Profil-5.zip ( del /S /Q Profil-5.zip )
IF ERRORLEVEL 4 if exist Profil-4.zip ( del /S /Q Profil-4.zip )
IF ERRORLEVEL 3 if exist Profil-3.zip ( del /S /Q Profil-3.zip )
IF ERRORLEVEL 2 if exist Profil-2.zip ( del /S /Q Profil-2.zip )
IF ERRORLEVEL 1 if exist Profil-1.zip ( del /S /Q Profil-1.zip )
GOTO pbf
:pl
CLS
echo.
echo Which profile do you want to load?
echo.
CHOICE /C 12345678 /M " Selection: "
IF ERRORLEVEL 8 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-8.zip
IF ERRORLEVEL 7 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-7.zip
IF ERRORLEVEL 6 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-6.zip
IF ERRORLEVEL 5 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-5.zip
IF ERRORLEVEL 4 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-4.zip
IF ERRORLEVEL 3 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-3.zip
IF ERRORLEVEL 2 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-2.zip
IF ERRORLEVEL 1 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-1.zip
echo Loaded!
echo 1. Restart Mod-Installer
echo 2. End Installer
echo 3. Create Profile
echo 4. Start Minecraft
CHOICE /C 1234 /M " Selection: "
IF ERRORLEVEL 4 GOTO mcl
IF ERRORLEVEL 3 GOTO pc
IF ERRORLEVEL 2 GOTO end
IF ERRORLEVEL 1 GOTO restart
:mcl
echo Starting...
TASKKILL /T /F /IM MinecraftLauncher.exe
TASKKILL /T /F /IM Minecraft.exe
C:
start "" shell:AppsFolder\Microsoft.4297127D64EC6_8wekyb3d8bbwe!Minecraft
EXIT /B
:pc
CLs
echo.
echo Under which profile do you want to save the current mods and configs?
echo.
CHOICE /C 12345678 /M " Selection: "
IF ERRORLEVEL 8 tar acf Profil-8.zip mods config\openloader
IF ERRORLEVEL 7 tar acf Profil-7.zip mods config\openloader
IF ERRORLEVEL 6 tar acf Profil-6.zip mods config\openloader
IF ERRORLEVEL 5 tar acf Profil-5.zip mods config\openloader
IF ERRORLEVEL 4 tar acf Profil-4.zip mods config\openloader
IF ERRORLEVEL 3 tar acf Profil-3.zip mods config\openloader
IF ERRORLEVEL 2 tar acf Profil-2.zip mods config\openloader
IF ERRORLEVEL 1 tar acf Profil-1.zip mods config\openloader
CLS
echo.
echo Finished!
echo 1. Restart Mod-Installer
echo 2. End Installer
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 GOTO end
IF ERRORLEVEL 1 GOTO restart
:update
cd "%appdata%\.minecraft\"
CLS
echo.
echo Which profile do you want to update (the profile is loaded so that all configs are adopted)?
echo.
CHOICE /C 12345678 /M " Selection: "
IF ERRORLEVEL 8 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-8.zip & set P=8
IF ERRORLEVEL 7 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-7.zip & set P=7
IF ERRORLEVEL 6 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-6.zip & set P=6
IF ERRORLEVEL 5 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-5.zip & set P=5
IF ERRORLEVEL 4 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-4.zip & set P=4
IF ERRORLEVEL 3 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-3.zip & set P=3
IF ERRORLEVEL 2 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-2.zip & set P=2
IF ERRORLEVEL 1 if exist mods ( rmdir /S /Q mods ) & if exist config\openloader ( rmdir /S /Q config\openloader ) & tar xf Profil-1.zip & set P=1
cd "%appdata%\.minecraft\mods\"
if exist Update.bat (
move Update.bat "%appdata%\.minecraft\"
cd "%appdata%\.minecraft\"
CLS
if exist Update.bat ( Update.bat )
CLS
tar acf Profil-%P%.zip mods config\openloader
if exist "%appdata%\.minecraft\fabric.jar" (
del /S /Q "%appdata%\.minecraft\fabric.jar"
)
if exist "%appdata%\.minecraft\fabric.bat" (
del /S /Q "%appdata%\.minecraft\fabric.bat"
)
if exist "%appdata%\.minecraft\Update.bat" (
del /S /Q "%appdata%\.minecraft\Update.bat"
)
CLS
echo.
echo Update finished! - Profil %P%
echo Restart Installer...
start "" %ComSpec% /C %0
Pause
Exit /B
) else (
CLS
echo.
echo Unfortunately, this profile does not support the update function!
echo Please update it manually!
echo.
echo 1. Restart Mod-Installer
echo 2. End Installer
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 GOTO end
IF ERRORLEVEL 1 GOTO restart
)
:c
CLS
echo.
echo Do you really want to remove not needed Files and Folders of your .minecraft Folder?
echo Your Minecraft Launcher will be closed!
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 GOTO cy
IF ERRORLEVEL 1 GOTO end
:cy
cd "%appdata%\.minecraft"
TASKKILL /T /F /IM MinecraftLauncher.exe
TASKKILL /T /F /IM Minecraft.exe
if exist .iris-installer ( rmdir /S /Q .iris-installer )
if exist .icons ( rmdir /S /Q .icons )
if exist .mixin.out ( rmdir /S /Q .mixin.out )
if exist .replay_cache ( rmdir /S /Q .replay_cache )
if exist .fabric ( rmdir /S /Q .fabric )
if exist ViaForge ( rmdir /S /Q ViaForge )
if exist assets ( rmdir /S /Q assets )
if exist bettergamemenu ( rmdir /S /Q bettergamemenu )
if exist craftpresence ( rmdir /S /Q craftpresence )
if exist crash-reports ( rmdir /S /Q crash-reports )
if exist defaultconfigs ( rmdir /S /Q defaultconfigs )
if exist logs ( rmdir /S /Q logs )
if exist chatlogs ( rmdir /S /Q chatlogs )
if exist ModTranslations ( rmdir /S /Q ModTranslations )
if exist not-enough-crashes ( rmdir /S /Q not-enough-crashes )
if exist server-resource-packs ( rmdir /S /Q server-resource-packs )
if exist bin ( rmdir /S /Q bin )
if exist cachedImages ( rmdir /S /Q cachedImages )
if exist libraries ( rmdir /S /Q libraries )
if exist webcache2 ( rmdir /S /Q webcache2 )
if exist debug ( rmdir /S /Q debug )
if exist stats ( rmdir /S /Q stats )
if exist texturepacks-mp-cache ( rmdir /S /Q texturepacks-mp-cache )
if exist webcache ( rmdir /S /Q webcache )
if exist XWP ( rmdir /S /Q XWP )
if exist XWPB ( rmdir /S /Q XWPB )
if exist dashloader-cache ( rmdir /S /Q dashloader-cache )
if exist XaeroWaypoints_BACKUP* ( for /f %i in ('dir /a:d /s /b XaeroWaypoints_BACKUP*') do rmdir /s /q %i )
if exist "essential\Essential (*" ( del /S /Q "essential\Essential (*" )
if exist versions\version_manifest_v2* ( del /S /Q versions\version_manifest_v2* )
if exist versions\cache.dat ( del /S /Q versions\cache.dat )
if exist betterfps.txt ( del /S /Q betterfps.txt )
if exist clientId.txt ( del /S /Q clientId.txt )
if exist deaths.dat ( del /S /Q deaths.dat )
if exist servers.dat_old ( del /S /Q servers.dat_old )
if exist textures_*.png ( del /S /Q textures_*.png )
if exist updateLog.txt ( del /S /Q updateLog.txt )
if exist usercache* ( del /S /Q usercache* )
if exist usernamecache* ( del /S /Q usernamecache* )
if exist launcher_log.txt ( del /S /Q launcher_log.txt )
if exist level.dat ( del /S /Q level.dat )
if exist realms_persistence* ( del /S /Q realms_persistence* )
if exist launcher_cef_log.txt ( del /S /Q launcher_cef_log.txt )
if exist output-server.log ( del /S /Q output-server.log )
if exist output-client.log ( del /S /Q output-client.log )
if exist debug.stitched_items.png ( del /S /Q debug.stitched_items.png )
if exist debug.stitched_terrain.png ( del /S /Q debug.stitched_terrain.png )
if exist lastlogin ( del /S /Q lastlogin )
if exist resourcepacks* ( del /S /Q resourcepacks* )
if exist treatment_tags* ( del /S /Q treatment_tags* )
if exist hs_err_pid* ( del /S /Q hs_err_pid* )
if exist options.amecsapi.txt ( del /S /Q options.amecsapi.txt )
if exist launcher_ui_state* ( del /S /Q launcher_ui_state* )
if exist launcher_gamer_pics* ( del /S /Q launcher_gamer_pics* )
if exist launcher_entitlements* ( del /S /Q launcher_entitlements* )
if exist launcher_product_state_microsoft_store.json ( del /S /Q launcher_product_state_microsoft_store.json )
if exist .iasx ( del /S /Q .iasx )
if exist .iasp ( del /S /Q .iasp )
if exist .iasms_v2 ( del /S /Q .iasms_v2 )
if exist launcher_accounts.* ( del /S /Q launcher_accounts.* )
if exist launcher_msa_credentials.* ( del /S /Q launcher_msa_credentials.* )
if exist launcher_ui_state.* ( del /S /Q launcher_ui_state.* )
if exist imgui.ini ( del /S /Q imgui.ini )
if exist vanguard-uninstaller.log ( del /S /Q vanguard-uninstaller.log )
if exist cosmetica_website_host_cache.txt ( del /S /Q cosmetica_website_host_cache.txt )
if exist cosmetica_get_api_cache.json ( del /S /Q cosmetica_get_api_cache.json )
if exist *.pins ( del /S /Q *.pins )
if exist *.bak ( del /S /Q *.bak )
if exist *.bat ( del /S /Q *.bat )
if exist *.dll ( del /S /Q *.dll )
if exist *.bin ( del /S /Q *.bin )
if exist *.exe ( del /S /Q *.exe )
if exist *.jar ( del /S /Q *.jar )
if exist *.log ( del /S /Q *.log )
if exist "%appdata%\.minecraft\wurst" (
echo.
echo Hello Hacker/Cheater do you want to delete your Wurst Configs?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\wurst" ( rmdir /S /Q "%appdata%\.minecraft\wurst" )
IF ERRORLEVEL 1 echo OK, Happy Hacking/Cheating!
)
if exist "%appdata%\.minecraft\XaeroWaypoints" (
echo.
echo Do you want to delete your Xaero Waypoints?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\XaeroWaypoints" ( rmdir /S /Q "%appdata%\.minecraft\XaeroWaypoints" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\XaeroWorldMap" (
echo.
echo Do you want to delete your XaeroWorldMap?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\XaeroWorldMap" ( rmdir /S /Q "%appdata%\.minecraft\XaeroWorldMap" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\speedrunigt" (
echo.
echo Do you want to delete your speedruns?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\speedrunigt" ( rmdir /S /Q "%appdata%\.minecraft\speedrunigt" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\bettercommandblock_script" (
echo.
echo Do you want to delete your bettercommandblock scripts?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\bettercommandblock_script" ( rmdir /S /Q "%appdata%\.minecraft\bettercommandblock_script" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\replay_recordings" (
echo.
echo Do you want to delete your replay recordings?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\replay_recordings" ( rmdir /S /Q "%appdata%\.minecraft\replay_recordings" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\backups" (
echo.
echo Do you want to delete your world backups?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\backups" ( rmdir /S /Q "%appdata%\.minecraft\backups" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\saves" (
echo.
echo Do you want to delete ALL your worlds?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\saves" ( rmdir /S /Q "%appdata%\.minecraft\saves" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\shaderpacks" (
echo.
echo Do you want to delete ALL your shaderpacks?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\shaderpacks" ( rmdir /S /Q "%appdata%\.minecraft\shaderpacks" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\resourcepacks" (
echo.
echo Do you want to delete ALL your resourcepacks?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\resourcepacks" ( rmdir /S /Q "%appdata%\.minecraft\resourcepacks" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\datapacks" (
echo.
echo Do you want to delete ALL your datapacks?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\datapacks" ( rmdir /S /Q "%appdata%\.minecraft\datapacks" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\config" (
echo.
echo Do you want to delete ALL your current loaded mod configs?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\config" ( rmdir /S /Q "%appdata%\.minecraft\config" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\mods" (
echo.
echo Do you want to delete ALL your current loaded mods?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\mods" ( rmdir /S /Q "%appdata%\.minecraft\mods" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\servers.dat" (
echo.
echo Do you want to delete your server list?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\servers.*" ( del /S /Q "%appdata%\.minecraft\servers.*" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\options.txt" (
echo.
echo Do you want to delete ALL your current loaded OPTIONS?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\options*" ( del /S /Q "%appdata%\.minecraft\options*" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\screenshots" (
echo.
echo Do you want to delete ALL your minecraft screenshots?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\screenshots" ( rmdir /S /Q "%appdata%\.minecraft\screenshots" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\hotbar.nbt" (
echo.
echo Do you want to delete your saved hotbars?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\hotbar.nbt" ( del /S /Q "%appdata%\.minecraft\hotbar.nbt"
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\essential" (
echo.
echo Do you want to delete your essential settings?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\essential" ( rmdir /S /Q "%appdata%\.minecraft\essential" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\cosmetics" (
echo.
echo Do you want to delete your cosmetics?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\cosmetics" ( rmdir /S /Q "%appdata%\.minecraft\cosmetics" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\the5zigmod" (
echo.
echo Do you want to delete your 5zig settings?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\the5zigmod" ( rmdir /S /Q "%appdata%\.minecraft\the5zigmod" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\CustomSkinLoader" (
echo.
echo Do you want to delete your CustomSkinLoader files?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\CustomSkinLoader" ( rmdir /S /Q "%appdata%\.minecraft\CustomSkinLoader" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\playtimes.txt" (
echo.
echo Do you want to delete your Playtimes?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\playtimes.txt" ( del /S /Q "%appdata%\.minecraft\playtimes.txt" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\launcher_settings*" (
echo.
echo Do you want to delete your launcher settings?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\launcher_settings*" ( del /S /Q "%appdata%\.minecraft\launcher_settings*" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\launcher_skins*" (
echo.
echo Do you want to delete your skins?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\launcher_skins*" ( del /S /Q "%appdata%\.minecraft\launcher_skins*" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\launcher_accounts*" (
echo.
echo Do you want to LOGOUT from EVERY account in your minecraft launcher?
echo.
echo 1. No
echo 2. Yes
echo.
CHOICE /C 12 /M " Selection: "
IF ERRORLEVEL 2 if exist "%appdata%\.minecraft\launcher_accounts*" ( del /S /Q "%appdata%\.minecraft\launcher_accounts*" )
IF ERRORLEVEL 1 echo OK!
)
if exist "%appdata%\.minecraft\launcher_msa_credentials*" (
echo.