This repository has been archived by the owner on Jul 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CreepyGames.bat
8349 lines (7867 loc) · 258 KB
/
CreepyGames.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
:: CreepyGames Batch: Zbiór gier i programów społeczności
:: Copyright (C) 2012-2015 by CreepyNinja_
::
:: Niniejszy program jest wolnym oprogramowaniem; możesz go
:: rozprowadzać dalej i/lub modyfikować na warunkach Powszechnej
:: Licencji Publicznej GNU, wydanej przez Fundację Wolnego
:: Oprogramowania - według wersji 3 tej Licencji lub (według twojego
:: wyboru) którejś z późniejszych wersji.
::
:: Niniejszy program rozpowszechniany jest z nadzieją, iż będzie on
:: użyteczny - jednak BEZ JAKIEJKOLWIEK GWARANCJI, nawet domyślnej
:: gwarancji PRZYDATNOŚCI HANDLOWEJ albo PRZYDATNOŚCI DO OKREŚLONYCH
:: ZASTOSOWAŃ. W celu uzyskania bliższych informacji sięgnij do
:: Powszechnej Licencji Publicznej GNU.
::
:: Z pewnością wraz z niniejszym programem otrzymałeś też egzemplarz
:: Powszechnej Licencji Publicznej GNU (GNU General Public License);
:: jeśli nie - zobacz <http://www.gnu.org/licenses/>.
@echo off
@setlocal enabledelayedexpansion enableextensions
@chcp 852>nul
@set MDIR=%~dp0
@goto MenuChangelogCreepyGamesEnd
:: DISCLAIMER:
::
:: Program CreepyGames(TM) oraz wszystkie jej gry i programy podlegają
:: prawom autorskim odpowiednim dla każdego z tych programów (o ile posiadają).
::
:: Można dowolnie modyfikować oraz rozprowadzać ten program oraz podprogramy
:: na warunkach licencji GNU GPL (jak napisano powyżej).
:: Touch/Hybrid Menu (mojego autorstwa) oraz wiele z obecnych tu programów
:: zostały w 100% zrobione przeze mnie :)
::
:: Jestem również otwarty na nowe programy i gry do dodania do programu.
:: Mam nadzieję, że uda mi się dodać jak najwięcej gier i programów :)
:: Warunkiem jest oczywiście zgoda na udostępnienie tego programu
:: na warunkach licencji GNU GPL.
::
:: Dziękuję za przeczytanie, ~~CreepyNinja
:MenuChangelogCreepyGames
cls & %__mode% con cols=80 lines=68 & (for %%a in (%__ChangeLog%) do echo. %%~a) & echo. & pause & goto :EOF
:MenuChangelogCreepyGamesEnd
:: Sprawdzanie Shortcut'ów ::
@set __CGlanguage=
@set FullScreen=N
@if /i exist Settings.ini for /f "tokens=*" %%a in (Settings.ini) do set %%a
@set notouch=NO
@set __mode=mode
@if defined DefaultMenu if /i "%DefaultMenu%"=="Hybrid" set notouch=YES
@if defined FullScreen if /i "%FullScreen%"=="Y" set __mode=rem
@if defined staticanim (set /a wait=0,wait1=0) else (set /a wait=10,wait1=25)
@set Version=v1.4.4
@set __VersionBeta=
set next=
set launch=
set return=
set ANSIcon_Enabled=
@set .=
@for /f %%A in ('echo Windows-8.1-Check') do set .=%%A
@if "%.%"=="" goto MenuWindows81Error
@set .=
if "%~1"=="/?" call :MenuShortcutUsage & exit /b
pushd "%MDIR%"
if /i not exist Core\ansicon.exe (
1>&2 echo ERROR: ANSICON.exe not found.
1>&2 echo.
1>&2 echo Please reinstall program to repair.
exit /b 1
)
if not "%~1"=="--ansicon_on" (
for %%a in (%*) do (
if defined next (
call :MenuShortcutLaunch "%%a" || exit /b 1
set next=
) else (
if "%%~a"=="--launch" (set next=%%~a) else (
if "%%~a"=="-l" (set next=%%~a) else (
if "%%~a"=="--notouch" (REM) else (
if "%%~a"=="-n" (REM) else (
if "%%~a"=="--touch" (REM) else (
if "%%~a"=="-t" (REM) else (
if "%%~a"=="--return" (REM) else (
if "%%~a"=="-r" (REM) else (
if "%%~a"=="--ansicon_on" (REM) else (
1>&2 echo ERROR: Invalid parameter "%%~a".
1>&2 echo.
1>&2 call :MenuShortcutUsage
exit /b 1
)))))))))
)
)
if defined next (
1>&2 echo ERROR: Missing parameter.
1>&2 echo.
1>&2 call :MenuShortcutUsage
exit /b 1
)
if "%~x0"=="" (set "EXT=.bat") else set EXT=
Core\ansicon.exe "%~nx0!EXT!" --ansicon_on %*
exit /b
)
popd
for %%a in (%*) do (
if defined next (
call :MenuShortcutLaunch "%%a" || exit /b 1
set next=
) else (
if "%%~a"=="--launch" (set next=%%~a) else (
if "%%~a"=="-l" (set next=%%~a) else (
if "%%~a"=="--notouch" (set notouch=YES) else (
if "%%~a"=="-n" (set notouch=YES) else (
if "%%~a"=="--touch" (set notouch=NO) else (
if "%%~a"=="-t" (set notouch=NO) else (
if "%%~a"=="--return" (set return=YES) else (
if "%%~a"=="-r" (set return=YES) else (
if "%%~a"=="--ansicon_on" (set ANSIcon_Enabled=YES) else (
1>&2 echo ERROR: Invalid parameter "%%~a".
1>&2 echo.
1>&2 call :MenuShortcutUsage
exit /b 1
)))))))))
)
)
if defined next (
1>&2 echo ERROR: Missing parameter.
1>&2 echo.
1>&2 call :MenuShortcutUsage
exit /b 1
)
:: Koniec sprawdzania Shortcut'ów ::
set LangChange=
title CreepyGames
@set BX=batbox.exe
@set Fn=Fn.dll
@set Path=%MDIR%\Core;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
if /i "%__CGLanguage%"=="Polski" echo [0;1;40;33mPoczekaj chwil©, aduj© ustawienia j©zyka...[0;1;40;37m&call :LanguageSet_pl
if /i "%__CGLanguage%"=="English" echo [0;1;40;36mWait a moment, applying language settings...[0;1;40;37m&call :LanguageSet_en
if /i not "%__CGLanguage%"=="Polski" (
if /i not "%__CGLanguage%"=="English" (
call :Language))
:: Strefa zmiennych ::
call :Var
cls
%Fn% Font 9
if /i "%FullScreen%"=="Y" (echo %__MenuFullScreen1%&echo %__MenuFullScreen3%&FSCREEN.EXE /smc)
@%__mode% con cols=80 lines=30
if defined launch (
%launch%
set launch=
if defined return goto MenuInit
goto :Exit
)
goto MenuIntro
:Var
@title %__Title% (%Version%)
@set Path=%MDIR%\Core;C:\Windows\System32;C:\Windows;C:\Windows\System32\Wbem
@set BX=batbox.exe
@set Fn=Fn.dll
@set wget=wget.exe
@if /i not "%NoLoadAnim%"=="Y" (set Macro_Loading=cls^&%BX% /h 0 /o 0 0 /w 150 /d "------------------------------------------------------------------" /w 50 /g 0 0 /d " " /g 0 1 /d "------------------------------------------------------------------" /w 50 /g 0 1 /d " " /g 1 1 /d "%__MacroLoading%" /g 0 2 /d "------------------------------------------------------------------" /w 50 /g 0 2 /d " " /g 0 3 "------------------------------------------------------------------" /w 50 /g 0 3 /d "[ ]" /g 0 4 /d "==================================================================" /g 1 3 /c 0x04 /d "#####################" /c 0x06 /d "######################" /c 0x02 /d "#####################" /w 150 /c 0x0C /g 1 3 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /c 0x0E /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /c 0x0E /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /c 0x0A /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /c 0x0A /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 15 /d "#" /w 300 /c 0x0F /g 0 4 /d " " /g 0 3 /d "------------------------------------------------------------------" /w 50 /g 0 3 /d " " /g 0 2 /d "------------------------------------------------------------------" /w 50 /g 0 2 /d " " /g 0 1 /d "------------------------------------------------------------------" /w 50 /g 0 1 /d " " /g 0 0 /d "------------------------------------------------------------------" /w 50 /g 0 0 /d " " /w 150 /h 1 /c 0x07^&cls) else (set Macro_Loading=)
goto :EOF
:MenuIntro Logo
if not exist Core\%BX% call :BatBox&goto MenuIntro
cls
if /i "%NoIntro%"=="Y" goto MenuInit
%BX% /h 0 /o 1 1 /c 0x0C /g 0 3 /d "/" /g 0 4 /d \ /w %wait% /g 1 2 /d "/" /g 1 4 /d "_" /w %wait% /g 2 1 /d "/" /g 2 3 /d "/" /g 2 4 /d "_" /w %wait% /g 3 0 /d "_" /g 3 2 /d "/" /g 3 3 /d "_" /g 3 4 /d "_" /w %wait% /g 4 0 /d "_" /g 4 1 /d "_" /g 4 3 /d "_" /g 4 4 /d "_" /w %wait% /g 5 0 /d "_" /g 5 1 /d "_" /g 5 3 /d "_" /g 5 4 /d "/" /w %wait% /g 6 0 /d "_" /g 6 1 /d "_" /g 6 4 /d "/" /w %wait% /g 7 0 /d "_" /g 7 1 /d "_" /g 7 3 /d "/" /g 7 4 /d "_" /w %wait% /g 8 0 /d "_" /g 8 1 /d "/" /g 8 2 /d "/" /g 8 4 /d "/" /w %wait% /g 9 1 /d "_" /g 9 3 /d "/" /w %wait% /g 10 1 /d "_" /g 10 2 /d "_" /w %wait% /g 11 1 /d "_" /g 11 2 /d "_" /w %wait% /g 12 1 /d "_" /g 12 2 /d "_" /w %wait% /g 13 1 /d "_" /g 13 2 /d "/" /g 13 3 /d "/" /g 13 4 /d \ /w %wait% /g 14 2 /d "/" /g 14 4 /d "_" /w %wait% /g 15 1 /d "_" /g 15 4 /d "_" /w %wait% /g 16 1 /d "_" /g 16 2 /d "_" /g 16 3 /d "_" /g 16 4 /d "_" /w %wait% /g 17 1 /d "_" /g 17 3 /d "_" /g 17 4 /d "/" /w %wait% /g 18 2 /d \ /g 18 3 /d "/" /w %wait% /g 19 3 /d "/" /g 19 4 /d \ /w %wait% /g 20 2 /d "/" /g 20 4 /d "_" /w %wait% /g 21 1 /d "_" /g 21 4 /d "_" /w %wait% /g 22 1 /d "_" /g 22 2 /d "_" /g 22 3 /d "_" /g 22 4 /d "_" /w %wait% /g 23 1 /d "_" /g 23 3 /d "_" /g 23 4 /d "/" /g 23 5 /d "/" /w %wait% /g 24 2 /d \ /g 24 3 /d "/" /g 24 4 /d "/" /g 24 5 /d "_" /w %wait% /g 25 3 /d "/" /g 25 5 /d "/" /w %wait% /g 26 2 /d "/" /g 26 4 /d "." /w %wait% /g 27 1 /d "_" /g 27 3 /d "/" /g 27 4 /d "_" /w %wait% /g 28 1 /d "_" /g 28 2 /d "_" /g 28 3 /d "_" /g 28 4 /d "_" /w %wait% /g 29 1 /d "_" /g 29 2 /d "_" /g 29 3 /d "/" /g 29 4 /d "_" /w %wait% /g 30 1 /d "_" /g 30 4 /d "/" /w %wait% /g 31 2 /d \ /g 31 3 /d "/" /g 31 5 /d "/" /w %wait% /g 32 3 /d "/" /g 32 4 /d \ /g 32 5 /d "_" /w %wait% /g 33 2 /d "/" /g 33 4 /d "_" /g 33 5 /d "_" /w %wait% /g 34 1 /d "_" /g 34 3 /d "/" /g 34 4 /d "_" /g 34 5 /d "_" /w %wait% /g 35 1 /d "_" /g 35 2 /d "/" /g 35 3 /d "_" /g 35 4 /d "," /g 35 5 /d "_" /w %wait% /g 36 3 /d "/" /g 36 5 /d "/" /w %wait% /g 37 2 /d "/" /g 37 4 /d "/" /w %wait% /g 38 1 /d "_" /g 38 3 /d "/" /w %wait% /g 39 1 /d "_" /g 39 2 /d "/" /g 39 3 /d "/" /g 39 4 /d \ /w %wait% /g 40 2 /d "/" /g 40 4 /d "_" /w %wait% /g 41 1 /d "/" /g 41 3 /d "/" /g 41 4 /d "_" /w %wait% /g 42 0 /d "_" /g 42 2 /d "/" /g 42 3 /d "_" /g 42 4 /d "_" /w %wait% /g 43 0 /d "_" /g 43 1 /d "_" /g 43 3 /d "/" /g 43 4 /d "_" /w %wait% /g 44 0 /d "_" /g 44 1 /d "_" /g 44 2 /d "_" /g 44 4 /d "/" /w %wait% /g 45 0 /d "_" /g 45 1 /d "_" /g 45 2 /d "_" /g 45 3 /d "/" /w %wait% /g 46 0 /d "_" /g 46 1 /d "_" /g 46 3 /d "/" /g 46 4 /d \ /w %wait% /g 47 0 /d "_" /g 47 1 /d "/" /g 47 2 /d "/" /g 47 4 /d "_" /w %wait% /g 48 1 /d "_" /g 48 3 /d "/" /g 48 4 /d "_" /w %wait% /g 49 1 /d "_" /g 49 2 /d "_" /g 49 3 /d "_" /g 49 4 /d "," /w %wait% /g 50 1 /d "_" /g 50 2 /d "_" /g 50 3 /d "/" /g 50 4 /d "_" /w %wait% /g 51 1 /d "_" /g 51 2 /d \ /g 51 4 /d "/" /w %wait% /g 52 2 /d "`" /g 52 3 /d "/" /g 52 4 /d "/" /w %wait% /g 53 1 /d "_" /g 53 2 /d "/" /g 53 3 /d "/" /g 53 4 /d "_" /w %wait% /g 54 2 /d "/" /g 54 4 /d "/" /w %wait% /g 55 1 /d "_" /g 55 3 /d "/" /w %wait% /g 56 1 /d "_" /g 56 2 /d "_" /g 56 4 /d "/" /w %wait% /g 57 1 /d "_" /g 57 2 /d "_" /g 57 3 /d "/" /g 57 4 /d "_" /w %wait% /g 58 1 /d "_" /g 58 2 /d \ /g 58 4 /d "/" /w %wait% /g 59 2 /d "`" /g 59 3 /d "/" /w %wait% /g 60 1 /d "_" /g 60 2 /d "_" /g 60 4 /d "/" /w %wait% /g 61 1 /d "_" /g 61 2 /d "_" /g 61 3 /d "/" /g 61 4 /d "_" /w %wait% /g 62 1 /d "_" /g 62 4 /d "/" /w %wait% /g 63 2 /d \ /g 63 3 /d "/" /w %wait% /g 64 3 /d "/" /g 64 4 /d \ /w %wait% /g 65 2 /d "/" /g 65 4 /d "_" /w %wait% /g 66 1 /d "_" /g 66 4 /d "_" /w %wait% /g 67 1 /d "_" /g 67 2 /d "_" /g 67 3 /d "_" /g 67 4 /d "_" /w %wait% /g 68 1 /d "_" /g 68 3 /d "_" /g 68 4 /d "/" /w %wait% /g 69 2 /d \ /g 69 3 /d "/" /g 69 4 /d "/" /w %wait% /g 70 3 /d "(" /g 70 4 /d "_" /w %wait% /g 71 2 /d "/" /g 71 3 /d "_" /g 71 4 /d "_" /w %wait% /g 72 1 /d "_" /g 72 3 /d "_" /g 72 4 /d "_" /w %wait% /g 73 1 /d "_" /g 73 2 /d "_" /g 73 4 /d "_" /w %wait% /g 74 1 /d "_" /g 74 2 /d "_" /g 74 4 /d "/" /w %wait% /g 75 1 /d "_" /g 75 2 /d "_" /g 75 3 /d ")" /w %wait% /g 76 1 /d "_" /g 76 2 /d "/" /g 18 8 /c 0x02 /d "%__IntroMessage%" /h 1 /c 0x0F /w 2000 /h 1
:MenuInit
:MenuConfig1
set CfgID=1
setlocal
set "WelcomeText=%__WelcomeText1%"
set Col1=30
set Col2=31
set MenuEntityCount=6
set Menu1Count=6
set Menu2Count=4
set Menu3Count=3
set Menu4Count=4
set Menu5Count=0
set Menu6Count=0
set Menu1Name=%__Menu1Name_1%
set Menu2Name=%__Menu2Name_1%
set Menu3Name=%__Menu3Name_1%
set Menu4Name=%__Menu4Name_1%
set Menu5Name=%__Menu5Name_1%
set Menu6Name=%__Menu6Name_1%
set "Menu5Do0=call :MenuUpdateCreepyGames"
set "Menu6Do0=goto MenuExit"
set Menu1Name1=%__Menu1Name1_1%
set Menu1Name2=%__Menu1Name2_1%
set Menu1Name3=%__Menu1Name3_1%
set Menu1Name4=%__Menu1Name4_1%
set Menu1Name5=%__Menu1Name5_1%
set Menu1Name6=%__Menu1Name6_1% (by Suchar)
set Menu1Do1=call :MS_Init
set Menu1Do2=call :WS_Init
set Menu1Do3=call :XX_BatCraft
set Menu1Do4=call :KK_Init
set Menu1Do5=call :CB_Init
set Menu1Do6=call :CB2_Init
set Menu2Name1=%__Menu2Name1_1%
set Menu2Name2=%__Menu2Name2_1%
set Menu2Name3=%__Menu2Name3_1%
set Menu2Name4=%__Menu2Name4_1%
set Menu2Do1=call :CC_Init
set Menu2Do2=call :AT_Init
set Menu2Do3=call :DB_Init
set Menu2Do4=call :PE_Init
set Menu3Name1=%__Menu3Name1_1%
set Menu3Name2=%__Menu3Name2_1% (Halted)
set Menu3Name3=%__Menu3Name3_1%
set Menu3Do1=call :PI_BatchOfPi
set Menu3Do2=
set Menu3Do3=call :SZ_Init
set Menu4Name1=%__Menu4Name1_1%
set Menu4Name2=%__Menu4Name2_1%
set Menu4Name3=%__Menu4Name3_1%
set Menu4Name4=%__Menu4Name4_1%
set Menu4Do1=call :MenuSettings
set Menu4Do2=call :MenuAboutCreepyGames
set Menu4Do3=call :MenuCreditsCreepyGames
set Menu4Do4=call :MenuConfig3
goto MenuAutoConfig
:MenuConfig3
set CfgID=3
setlocal
set "WelcomeText=%__WelcomeText3%"
set Col1=62
set Col2=0
set MenuEntityCount=3
set Menu1Count=0
set Menu2Count=0
set Menu3Count=0
set Menu1Name=%__Menu1Name_3%
set Menu2Name=%__Menu2Name_3%
set Menu3Name=%__Menu3Name_3%
set Menu1Do0=call :MenuStatsCreepyGames
set Menu2Do0=call :MenuChangelogCreepyGames
set Menu3Do0=goto :EOF
goto MenuAutoConfig
::: Początek skryptu Touch/Hybrid Menu :::
:: Konfiguracja Menu ::
:MenuAutoConfig
cls
%Fn% Cursor 0
chcp 852>nul
set /a MenuEntityCount=MenuEntityCount+0
if %MenuEntityCount% LEQ 0 (
1>&2 echo ERROR: Var 'MenuEntityCount' ^<=0
1>&2 echo.
1>&2 echo Program will be closed immediately.
exit /b 1
)
if not defined color set color=0F
color %color%
cd /d "%MDIR%"
if %Col1% GTR 100 set Col1=100
if %Col2% GTR 100 set Col2=100
set /a Cols=Col1+Col2+5
if %Cols% LSS 32 set Cols=32
title %__Title% (%Version%)
set "B= "
set MenuActive=0
if /i "%notouch%"=="YES" goto MenuHybridAutoConfig
set /a Lines=MenuEntityCount*4 +4
set x=0
set Menu0Get=2
for /l %%a in (1,1,%MenuEntityCount%) do set /a "a=4+4*(!Menu%%aCount!+%%a-1)"&(if !a! GTR !Lines! (set /a "y=4+4*!Menu%%aCount!"&set /a "z=4+4*%%a"&if !y! LEQ !z! (set Menu%%aReverse=Y) else set Lines=!a!))&set /a x+=4&set /a Menu%%aGet=!x!+2
set z=
set /a TextLines=Lines-3
for /l %%a in (0,1,%TextLines%) do set "Line%%a= "
set /a ColGet1=Col1+2
set /a ColGet2=Col2+ColGet1+1
set /a C=Cols/2 -14
set TitleText=-= CreepyNinja_ Touch Menu =-
set "A=ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ"
%__mode% con cols=%Cols% lines=%Lines%
goto Menu
:MenuHybridAutoConfig
set /a C=Cols/2 -14
set TitleText=-= CreepyNinja_ Hybrid Menu =-
set "Letters=0ABCDEFGHIJKLMNOPQRSTUVWXYZ"
set /a Lines=6+2*MenuEntityCount
for /l %%a in (1,1,%MenuEntityCount%) do set /a a=(!Menu%%aCount!)*2+6&(if !a! GTR !Lines! set Lines=!a!)
set /a TextLines=(Lines-6)/2
set /a Lines+=4
set "Line0=Ä"
for /l %%a in (1,1,%TextLines%) do set "Line%%a= "
if !Col2! LSS 1 set Col2=1&set /a Cols=Col1+Col2+5&if !Cols! LSS 32 set Cols=32
set "A=ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ"
%__mode% con cols=%Cols% lines=%Lines%
goto MenuHybrid
:: Koniec konfiguracji Menu ::
::: Touch Menu :::
:Menu
cls
echo.[0;1;40;32m[0;%C%H%TitleText%
echo.[0;1;40;33m%WelcomeText%[0;1;40;36m
echo É!A:~0,%Col1%!»%Line1:~1%
set x=1
for /l %%a in (1,1,%MenuEntityCount%) do (
call :Menu1 %%a
)
set /a x+=1
for /l %%a in (%x%,1,%TextLines%) do echo. !B:~0,%Col1%! !Line%%a!
<nul set /p "=[0;1;40;37m"
:MenuGetInput
set Z=
for /f "tokens=1,2,3 delims= " %%a in ('%Fn% mouse') do (
set Y=%%a
set X=%%b
set Z=%%c
)
if %Z% NEQ 1 if %Z% NEQ 3 goto MenuGetInput
if %X% GTR 1 (if %X% LSS %ColGet1% (
for /l %%a in (1,1,%MenuEntityCount%) do (
call :Menu2 %%a || (set Result=!Menu%%aDo0!&if not "!Result!"=="" goto MenuLaunch)
if "!ok!"=="1" goto Menu
)
) else (if !MenuActive! GTR 0 (if %X% GTR %ColGet1% (if %X% LSS %ColGet2% (
for /l %%a in (1,1,!Menu%MenuActive%Count!) do (
call :Menu3 %%a || (set Result=!Menu%MenuActive%Do%%a!&if not "!Result!"=="" goto MenuLaunch)
)
)))))
goto MenuGetInput
:Menu1
set "Line= !Menu%1Name!!B:~0,%Col1%!"
set /a x+=1
echo ş!B:~0,%Col1%!ş!Line%x%:~1!
set /a x+=1
if !Menu%1Count! EQU 0 (if "!Menu%1Do0!"=="" (set y=) else (set y=1;)) else set y=1;
set "Line=ş[0;%Y%40;37m!Line:~0,%Col1%!"
if "%MenuActive%"=="%1" set "Line=%Line:~0,-2%[0;40;36m-^>"
echo %Line%[0;1;40;36mş!Line%x%:~1!
set /a x+=1
echo ş!B:~0,%Col1%!ş!Line%x%:~1!
set /a x+=1
if "%1"=="%MenuEntityCount%" (echo Č!A:~0,%Col1%!Ľ!Line%x%:~1!) else (echo Ě!A:~0,%Col1%!ą!Line%x%:~1!)
goto :EOF
:Menu2
set ok=0
set /a d=%1-1
if %Y% GTR !Menu%d%Get! (if %Y% LSS !Menu%1Get! (if !Menu%1Count! LSS 1 (exit /b 1) else (
set ok=1
for /l %%a in (1,1,%TextLines%) do set "Line%%a= "
if "%MenuActive%"=="%1" set MenuActive=0&goto :EOF
if defined Menu%1Reverse (set /a "X=4*(%1-!Menu%1Count!) +1") else set /a "X=4*(%1-1) +1"
set line!X!=É!A:~0,%Col2%!»
for /l %%a in (1,1,!Menu%1Count!) do (
set /a D=%%a-1
set "Line= !Menu%1Name%%a! "
set /a x+=1
set Menu%1Get!D!=!X!
set Line!x!=ş!B:~0,%Col2%!ş
set /a x+=1
if "!Menu%1Do%%a!"=="" (set y=) else (set y=1;)
set Line!x!=ş[0;!Y!40;37m!Line:~0,%Col2%![0;1;40;36mş
set /a x+=1
set Line!x!=ş!B:~0,%Col2%!ş
set /a x+=1
if "%%a"=="!Menu%1Count!" (set Line!x!=Č!A:~0,%Col2%!Ľ) else (set Line!x!=Ě!A:~0,%Col2%!ą)
set /a Menu%1Get%%a=!x!+1
)
set MenuActive=%1
)))
exit /b 0
:Menu3
set /a d=%1-1
if %Y% GTR !Menu%MenuActive%Get%d%! (if %Y% LSS !Menu%MenuActive%Get%1! exit /b 1)
exit /b 0
::: Touch Menu :::
::: Hybrid Menu :::
:MenuHybrid
cls
echo.[0;1;40;32m[0;%C%H%TitleText%
echo.[0;1;40;33m%WelcomeText%
echo.
set x=!Line0:~0,%col2%!!A:~0,%col2%!
echo [0;1;40;36mÄ!A:~0,%col1%!ÂÄ!x:~0,%col2%!
for /l %%a in (1,1,%MenuEntityCount%) do (
echo !B:~0,%col1%![0;1;40;36m ł
if !Menu%%aCount! EQU 0 (if "!Menu%%aDo0!"=="" (set y=) else (set y=1;)) else set y=1;
set x=%%a^) !Menu%%aName!!B:~0,%col1%!
echo [0;!y!40;37m!x:~0,%col1%![0;1;40;36m ł !Line%%a!
)
if !TextLines! GTR !MenuEntityCount! (
set /a y=MenuEntityCount+1
for /l %%a in (!y!,1,!TextLines!) do (
echo !B:~0,%col1%![0;1;40;36m ł
echo !B:~0,%col1%! ł [0;1;40;37m!Line%%a:~0,%col2%!
)
)
echo !B:~0,%col1%![0;1;40;36m ł
echo Ä!A:~0,%col1%!ÁÄ!A:~0,%col2%![0;1;40;37m
set cho=
set /p "cho=> "
for /l %%a in (1,1,%MenuEntityCount%) do (
if "%cho%"=="%%a" (
if !Menu%%aCount! LEQ 0 (
set result=!Menu%%aDo0!
) else (
set "Line0=Ä"
for /l %%A in (1,1,%TextLines%) do set "Line%%A= "
if "%MenuActive%"=="%%a" set MenuActive=0&goto MenuHybrid
set Line0=!Menu%%aName:~0,%col2%!:
for /l %%A in (1,1,!Menu%%aCount!) do (
set Line%%A=!Letters:~%%A,1!^) !Menu%%aName%%A!
if "!Menu%%aDo%%A!"=="" (set y=) else (set y=1;)
set Line%%A=[0;!y!40;37m!Line%%A:~0,%col2%!
)
set MenuActive=%%a
)
)
)
if not "%MenuActive%"=="0" (
for /l %%a in (1,1,!Menu%MenuActive%Count!) do (
if /i "%cho%"=="!Letters:~%%a,1!" set result=!Menu%MenuActive%Do%%a!
)
)
if defined result goto MenuLaunch
goto MenuHybrid
::: Hybrid Menu :::
:MenuLaunch
endlocal & %Fn% Cursor 1 &%Result%& cls & color 0F & goto MenuConfig%CfgID%
:MenuWindows81Error
if defined ANSIcon_Enabled if not exist "%MDIR%\Core\%BX%" call :BatBox&goto Menu
cls
if not defined ANSIcon_Enabled set __MenuConflict1=I see that you are using Windows 8.1 or Linux.&set __MenuConflict2=Some commands may not work properly and screw up the program.&set __MenuConflict3=To solve this on Win8.1, launch program as administrator.
echo %__MenuConflict1%
echo %__MenuConflict2%
echo %__MenuConflict3%
pause>nul
goto :Exit
::: Koniec skryptu TouchMenu/HybridMenu :::
:MenuExit
cls
%BX% /h 0 /w 50 /c 0x0F /o 3 1 /g 0 0 /d "%__MenuExit:~0,1%" /w %wait1% /d "%__MenuExit:~1,1%" /w %wait1% /d "%__MenuExit:~2,1%" /w %wait1% /d "%__MenuExit:~3,1%" /w %wait1% /d "%__MenuExit:~4,1%" /w %wait1% /d "%__MenuExit:~5,1%" /w %wait1% /d "%__MenuExit:~6,1%" /w %wait1% /d "%__MenuExit:~7,1%" /w %wait1% /d "%__MenuExit:~8,1%" /w %wait1% /d "%__MenuExit:~9,1%" /w %wait1% /d "%__MenuExit:~10,1%" /w %wait1% /d "%__MenuExit:~11,1%" /w %wait1% /d "%__MenuExit:~12,1%" /w %wait1% /d "^!" /h 1 /w 1500 /h 0 /g 0 0 /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /w %wait1% /d " " /o 0 0 /g 0 0 /h 1 /w 100
goto :Exit
:MenuAboutCreepyGames
cls
for %%a in (%__About%) do echo. %%~a
if /i "%notouch%"=="YES" (echo.&echo %__PressToContinue%&pause>nul&goto :EOF)
echo. ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo ş ş
echo ş [0;1;40;37m%__ClickToMenu%[0;1;40;36m ş
echo ş ş
echo ČÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍĽ[0;1;40;37m
%Fn% mouse >nul 2>&1 || (echo %__NoBatboxPTC%&pause>nul)
goto :EOF
:MenuCreditsCreepyGames
cls
%__mode% con cols=66 lines=29
for %%a in (%__Credits%) do echo. %%~a
if /i "%notouch%"=="YES" (echo.&echo %__PressToContinue%&pause>nul&goto :EOF)
echo. ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ»
echo ş ş
echo ş [0;1;40;37m%__ClickToMenu%[0;1;40;36m ş
echo ş ş
echo ČÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍĽ[0;1;40;37m
%Fn% mouse >nul 2>&1 || (echo %__NoBatboxPTC%&pause>nul)
goto :EOF
:MenuStatsCreepyGames
%__mode% con cols=66 lines=40
setlocal
set /a ProgramCount=5+1+4+3+2
set /a Versions=9
set /a Length1=29
set /a Length2=6
set Version_1=v1.1.0
set Version_2=v1.2.0
set Version_3=v1.3.0
set Version_4=v1.3.1
set Version_5=v1.4.0
set Version_6=v1.4.1
set Version_7=v1.4.2
set Version_8=v1.4.3
set Version_9=v1.4.4
set Version_1C=37
set Version_2C=32
set Version_3C=36
set Version_4C=33
set Version_5C=37
set Version_6C=32
set Version_7C=36
set Version_8C=33
set Version_9C=37
set Program1=%__Menu1Name1_1%
set Program2=%__Menu1Name2_1%
set Program3=%__Menu1Name3_1%
set Program4=%__Menu1Name4_1%
set Program5=%__Menu2Name1_1%
set Program6=%__Menu2Name2_1%
set Program7=%__Menu2Name3_1%
set Program8=%__Menu2Name4_1%
set Program9=%__Menu3Name1_1%
set Program10=%__Menu3Name2_1% (old)
set Program11=%__Menu3Name3_1%
set Program12=%__Menu1Name6_1%
set Program13=%__Menu1Name5_1%
set Program14=*Touch/Hybrid Menu*
set Program15=* Interface *
set Program1_1=v1.3.0
set Program2_1=v1.1.1
set Program3_1=------
set Program4_1=
set Program5_1=v1.5.2
set Program6_1=------
set Program7_1=v0.5.0
set Program8_1=------
set Program9_1=------
set Program10_1= v4
set Program11_1=v1.1.0
set Program12_1=
set Program14_1= v4
set Program15_1= v3
set Program1_2=v1.3.0
set Program2_2=v1.2.0
set Program3_2=------
set Program4_2=------
set Program5_2=v1.5.2
set Program6_2=------
set Program7_2=v0.5.0
set Program8_2=------
set Program9_2=------
set Program10_2= v4
set Program11_2=v1.1.0
set Program12_2=
set Program14_2= v5
set Program15_2= v4
set Program1_3=v1.3.0
set Program2_3=v1.2.0
set Program3_3=------
set Program4_3=------
set Program5_3=v1.5.2
set Program6_3=------
set Program7_3=v0.5.0
set Program8_3=------
set Program9_3=------
set Program10_3= v4
set Program11_3=v1.1.0
set Program12_3= v0.1
set Program14_3= v5
set Program15_3= v5
set Program1_4=v1.3.0
set Program2_4=v1.2.0
set Program3_4=------
set Program4_4=------
set Program5_4=v1.5.2
set Program6_4=------
set Program7_4=v0.5.0
set Program8_4=------
set Program9_4=------
set Program10_4= v4
set Program11_4=v1.1.0
set Program12_4= v0.2
set Program14_4= v5
set Program15_4= v5
set Program1_5=v1.3.0
set Program2_5=v1.2.0
set Program3_5=------
set Program4_5=------
set Program5_5=v1.5.2
set Program6_5=------
set Program7_5=v0.5.0
set Program8_5=------
set Program9_5=------
set Program10_5=DELETE
set Program11_5=v1.1.0
set Program12_5=DELETE
set Program13_5=
set Program14_5= v5
set Program15_5= v6
set Program1_6=v1.3.0
set Program2_6=v1.2.0
set Program3_6=------
set Program4_6=------
set Program5_6=v1.5.2
set Program6_6=------
set Program7_6=v0.5.0
set Program8_6=------
set Program9_6=------
set Program10_6=
set Program11_6=v1.1.0
set Program12_6=
set Program13_6= v1.1
set Program14_6= v5
set Program15_6= v6
set Program1_7=v1.3.0
set Program2_7=v1.2.0
set Program3_7=------
set Program4_7=------
set Program5_7=v1.6.0
set Program6_7=------
set Program7_7=v0.5.0
set Program8_7=------
set Program9_7=------
set Program10_7=
set Program11_7=v1.1.0
set Program12_7= v0.2
set Program13_7= v1.1
set Program14_7= v5
set Program15_7= v6
set Program1_8=v1.3.0
set Program2_8=v1.2.0
set Program3_8=------
set Program4_8=------
set Program5_8=v1.6.0
set Program6_8=------
set Program7_8=v0.5.0
set Program8_8=------
set Program9_8=------
set Program10_8=
set Program11_8=v1.1.0
set Program12_8= v0.6
set Program13_8= v1.1
set Program14_8= v5
set Program15_8= v6
set Program1_9=v1.3.0
set Program2_9=v1.2.0
set Program3_9=------
set Program4_9=------
set Program5_9=v1.6.0
set Program6_9=------
set Program7_9=v0.5.0
set Program8_9=------
set Program9_9=------
set Program10_9=
set Program11_9=v1.1.0
set Program12_9= v0.6
set Program13_9= v1.2
set Program14_9= v5
set Program15_9= v7
:: Auto-config ::
set "A= "
set "B=ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ"
set /a X=1
:MenuStats0CreepyGames
if %X% LSS 1 set X=1
if %X% EQU 1 (set PrevOK=0) else (set PrevOK=1)
set /a X2=%X%+1,X3=%X%+2,X0=%X%-1
if %X3% GTR %Versions% set /a X=%Versions%-2&goto MenuStats0CreepyGames
if %X3% EQU %Versions% (set NextOK=0) else (set NextOK=1)
for /l %%# in (%X%,1,%X3%) do set "VVersion_%%#=!A:~0,%Length2%!"
for /l %%# in (1,1,%Versions%) do set VVersion_%%#=!Version_%%#!!A:~0,%Length2%!
:MenuStats1CreepyGames
cls
echo [0;1;40;32m%__MenuStats1%
echo %__MenuStats2%[0;1;40;37m
echo.
echo [0;%PrevOK%;40;37m^< Prev[0;1;40;37m ESC - Exit [0;%NextOK%;40;37mNext ^>[0;1;40;37m
echo ÉÍ!B:~0,%Length1%!ÍËÍ!B:~0,%Length2%!ÍËÍ!B:~0,%Length2%!ÍËÍ!B:~0,%Length2%!Í»
echo ş !A:~0,%Length1%! ş [0;1;40;!Version_%X%C!m!VVersion_%X%:~0,%Length2%![0;1;40;37m ş [0;1;40;!Version_%X2%C!m!VVersion_%X2%:~0,%Length2%![0;1;40;37m ş [0;1;40;!Version_%X3%C!m!VVersion_%X3%:~0,%Length2%![0;1;40;37m ş
echo ĚÍ!B:~0,%Length1%!ÍÎÍ!B:~0,%Length2%!ÍÎÍ!B:~0,%Length2%!ÍÎÍ!B:~0,%Length2%!Íą
echo ş !A:~0,%Length1%! ş !A:~0,%Length2%! ş !A:~0,%Length2%! ş !A:~0,%Length2%! ş
for /l %%# in (1,1,%ProgramCount%) do (
set "Line1=!Program%%#!!A:~0,%Length1%!"
set "Line2=!Program%%#_%X%!!A:~0,%Length1%!"
set "Line3=!Program%%#_%X2%!!A:~0,%Length1%!"
set "Line4=!Program%%#_%X3%!!A:~0,%Length1%!"
if /i "!Program%%#_%X%!"=="DELETE" (set color0=1;31) else if not "!Program%%#_%X0%!"=="!Program%%#_%X%!" (if "!Program%%#_%X0%!"=="" (if %X0% Equ 0 (set color0=1;37) else set color0=1;36) else set color0=1;32) else set color0=37
if /i "!Program%%#_%X2%!"=="DELETE" (set color1=1;31) else if not "!Program%%#_%X%!"=="!Program%%#_%X2%!" (if "!Program%%#_%X%!"=="" (set color1=1;36) else set color1=1;32) else set color1=37
if /i "!Program%%#_%X3%!"=="DELETE" (set color2=1;31) else if not "!Program%%#_%X2%!"=="!Program%%#_%X3%!" (if "!Program%%#_%X2%!"=="" (set color2=1;36) else set color2=1;32) else set color2=37
echo ş [0;1;40;37m!Line1:~0,%Length1%![0;1;40;37m ş [0;!color0!;40m!Line2:~0,%Length2%![0;1;40;37m ş [0;!color1!;40m!Line3:~0,%Length2%![0;1;40;37m ş [0;!color2!;40m!Line4:~0,%Length2%![0;1;40;37m ş
echo ş !A:~0,%Length1%! ş !A:~0,%Length2%! ş !A:~0,%Length2%! ş !A:~0,%Length2%! ş
)
echo ČÍ!B:~0,%Length1%!ÍĘÍ!B:~0,%Length2%!ÍĘÍ!B:~0,%Length2%!ÍĘÍ!B:~0,%Length2%!ÍĽ
:MenuStats2CreepyGames
%BX% /k
set cho=%errorlevel%
if %cho%==330 if not %PrevOK% EQU 0 set /a X-=1&goto MenuStats0CreepyGames
if %cho%==332 if not %NextOK% EQU 0 set /a X+=1&goto MenuStats0CreepyGames
if %cho%==27 endlocal & goto :EOF
goto MenuStats2CreepyGames
:MenuSettings
cls
%__mode% con cols=66 lines=28
echo.[0;1;40;37m
echo %__MenuSettings01%
echo %__MenuSettings02%
echo.
echo [ ] %__MenuSettings1%
echo [ ] %__MenuSettings2%
echo [ ] %__MenuSettings3%
echo.
echo [ ] %__MenuSettings4%
echo.
echo [ ] %__MenuSettings5%
echo.
echo [0;1;40;36m[ ] %__MenuSettings7%
echo.
echo [0;1;40;32m[ ] %__MenuSettings6%
echo.
echo.
echo [0;1;40;33m[ ] %__MenuSettings8%[0;1;40;37m
if defined DefaultMenu (if /i "%DefaultMenu%"=="Touch" (set /p "=[5;3H*" <nul) else if /i "%DefaultMenu%"=="Hybrid" (set /p "=[6;3H*" <nul) else set /p "=[7;3H*" <nul) else set /p "=[7;3H*" <nul
if /i "%NoLoadAnim%"=="Y" set /p "=[9;3H*" <nul
if /i "%NoIntro%"=="Y" set /p "=[11;3H*" <nul
for /f "tokens=1,2,3 delims= " %%a in ('%Fn% mouse') do (
set /a Y=%%a+1
set /a X=%%b+1
)
if %X% GTR 2 if %X% LSS 6 (
if %Y%==5 set DefaultMenu=Touch&set notouch=NO
if %Y%==6 set DefaultMenu=Hybrid&set notouch=YES
if %Y%==7 set DefaultMenu=None
if %Y%==9 (
if /i "%NoLoadAnim%"=="Y" (set NoLoadAnim=) else set NoLoadAnim=Y
call :Var
)
if %Y%==11 if /i "%NoIntro%"=="Y" (set NoIntro=) else set NoIntro=Y
if %Y%==13 call :MenuFullScreen
if %Y%==15 call :Language & call :Var
if %Y%==18 ((
echo DefaultMenu=!DefaultMenu!
echo NoLoadAnim=!NoLoadAnim!
echo NoIntro=!NoIntro!
echo FullScreen=!FullScreen!
echo __CGLanguage=!__CGLanguage!
)>Settings.ini ) & exit /b
)
goto MenuSettings
:MenuFullScreen
cls
echo.
echo %__MenuFullScreen1%
echo %__MenuFullScreen2%
FSCREEN.EXE /smc
set __mode=rem
set FullScreen=Y
goto :EOF
:MenuUpdateCreepyGames
setlocal
cls
echo Modu aktualizacji programu zosta wyci©ty z wersji GitHub.
echo Aby sprawdzi† aktualnĄ wersj© - sprawd« wersj© programu na:
echo https://github.com/GrzegorzKi/CreepyGames
echo.
pause
endlocal
goto :EOF
:: Dodatkowe etykiety/ustawienia ::
:MenuShortcutLaunch
if defined launch (
1>&2 echo ERROR: Too many arguments.
1>&2 echo.
1>&2 call :MenuShortcutUsage
exit /b 1
)
if /i "%~1"=="MineSweeper" (set "launch=call :MS_Init") else (
if /i "%~1"=="Hangman" (set "launch=call :WS_Init") else (
if /i "%~1"=="BatCraft" (set "launch=call :XX_BatCraft") else (
if /i "%~1"=="CreepyChess" (set "launch=call :CC_Init") else (
if /i "%~1"=="BatchOfPi" (set "launch=call :PI_BatchOfPi") else (
if /i "%~1"=="AdminTools" (set "launch=call :AT_Init") else (
if /i "%~1"=="DataBase" (set "launch=call :DB_Init") else (
if /i "%~1"=="PicEditor" (set "launch=call :PE_Init") else (
if /i "%~1"=="Cipher" (set "launch=call :SZ_Init") else (
if /i "%~1"=="CreepyCraft" (set "launch=call :CB_Init") else (
if /i "%~1"=="CraftBatcher" (set "launch=call :CB2_Init") else (
if /i "%~1"=="TicTacToe" (set "launch=call :KK_Init") else (
if /i "%~1"=="Update" (set "launch=call :MenuUpdateCreepyGames") else (
1>&2 echo ERROR: Invalid program to launch.
1>&2 echo.
1>&2 call :MenuShortcutUsage
exit /b 1
)))))))))))))
exit /b 0
:MenuShortcutUsage
echo Usage: %~nx0 [parametr1] [parametr2] ...
echo.
echo -l, --launch ^<program^> Launches selected program
echo.
echo Available programs: BatCraft
echo Hangman
echo MineSweeper
echo CreepyCraft
echo CraftBatcher
echo TicTacToe
echo.
echo CreepyChess
echo AdminTools
echo DataBase
echo PicEditor
echo.
echo Cipher
echo BatchOfPi
echo Update
echo.
echo -n, --notouch Replaces Touch Menu with Hybrid Menu
echo -t, --touch Reverse action to '--notouch' (default)
echo.
echo -r, --return Returns to menu when '--launch' parameter was used
goto :EOF
:Language
cls
%__mode% con cols=80 lines=30
echo.[2;20H[0;1;40;33mWitaj w CreepyGames^^! [0;1;40;37m/[0;1;40;36m Welcome to CreepyGames^^!
echo.[4;15H[0;1;40;33mWybierz preferowany j©zyk [0;1;40;37m/[0;1;40;36m Select preferred language
:: Polska flaga ::
echo.[0;1;47;37m[7;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[8;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[9;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[10;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[11;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[12;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[13;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;41;31m[14;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[15;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[16;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[17;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[18;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[19;5HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ
:: Amerykanska flaga ::
echo.[0;1;44;37m[7;44H* * * * * * * *[0;1;41;31mŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;44;37m[8;44H * * * * * * ŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;44;37m[9;44H* * * * * * * *[0;1;41;31mŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;44;37m[10;44H * * * * * * ŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;44;37m[11;44H* * * * * * * *[0;1;41;31mŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;44;37m[12;44H * * * * * * ŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;44;37m[13;44H* * * * * * * *[0;1;41;31mŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;47;37m[14;44HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;41;31m[15;44HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;47;37m[16;44HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;41;31m[17;44HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;47;37m[18;44HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;41;31m[19;44HŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰŰ[0;1;40;37m
:LanguageInput
for /f "tokens=1,2,3 delims= " %%a in ('%Fn% mouse') do (
set /a Y=%%a+1
set /a X=%%b+1
set /a Z=%%c
if not "%%c"=="1" if not "%%c"=="3" goto LanguageInput
)
if %Y% GTR 6 if %Y% LSS 20 (
if %X% GTR 4 if %X% LSS 38 set /p "=[0;5;47;30m[13;14HStosuj© j©zyk...[20;1H"<nul &set __LangChange=Y& goto LanguageSet_pl
if %X% GTR 43 if %X% LSS 77 set /p "=[0;1;44;37m[13;51HApplying[0;1;5;41;37m language...[20;1H"<nul &set __LangChange=Y& goto LanguageSet_en
)
goto LanguageInput
:LanguageSet_pl
set /p "=[0;1;40;37m"<nul
:: Sekcja MENU ::
set "__ChangeLogHeader= --= Oficjalny changelog programu CreepyGames =--"
set __ChangeLog=
for %%a in (
"[0;1;40;33m"
" --= Oficjalny changelog programu CreepyGames =--"
"[0;1;40;37m"
"CreepyGames v1.1.0"
""
"- Poprawiono na dobre polskie znaki przy ciĄganiu s˘wek z SJP.pl"
"--- Nie moľna mimo to wpisywa† polskich znak˘w przy wyszukiwaniu s˘w na danĄ"
" liter© (np. ľ jako pierwsza litera - SJP.pl nie chce tego yka†...)"
"- Dodano program [0;1;40;33mBaza Danych[0;1;40;37m"
"- Dodano program [0;1;40;33mZbi˘r Szyfr˘w[0;1;40;37m"
"- Dodano program [0;1;40;33mPic Editor[0;1;40;37m by Honguito98"
"- # CreepyGames # - Dodano zakadk© INNE"
"- CreepyGames oraz gry i programy zacznĄ obsugiwa† [0;40;32mmodu ANSIcon[0;1;40;37m, uatwiajĄc"
" przy tym mojĄ prac© xD (oraz sprawiajĄc, ľe tekst jest adniejszy)"
""
""
"CreepyGames v1.2.0"
""
"- Ulepszono Touch Menu pod wzgl©dem czytelnoci oraz zawijania wysuwanego menu"
"- Dodano gr© [0;1;40;33mK˘ko i krzyľyk[0;1;40;37m by Szagajew"
"- # CreepyGames # - Dodano zakadk© USTAWIENIA I CREDITSY"
"- [0;40;33mAbout CreepyGames[0;1;40;37m trafio do zakadki wyľej"
"- Dodano [0;40;33mUstawienia[0;1;40;37m (ubogie, niestety...)"
"- Dodano [0;40;33mCreditsy[0;1;40;37m"
"- Dodano tzw. [0;40;33mStatystyki dla nerd˘w[0;1;40;37m (menu zawiera odnonik do Changelogu"
" oraz historii aktualizacji program˘w)"
""
""
"CreepyGames v1.3.0-v1.3.1 BIG UPDATE"
""
"- Poprawiono kilka b©d˘w (m.in. w CreepyChess)"
"- Dodano gr© [0;1;40;33mCraftBatcher[0;1;40;37m by Sucharowiec"
"--- Program otrzyma [0;1;40;36mDRUGI J¨ZYK[0;1;40;37m (WooHoo xD)"
"--- W zwiĄzku z tym dodano menu wyboru j©zyka (i te adne flagi... :D)"
"--- Wraz z przebudowaniem programu dosza moľliwo† bezproblemowego tumaczenia programu na inne j©zyki :P"
"- Wisielec wciĄľ wymaga roboty. Brakuje plik˘w ze s˘wkami do gry po angielsku"
""
""
"CreepyGames v1.4.0-v1.4.1"
""
"- Dodano [0;1;40;33mKreator Aktualizacji[0;1;40;37m, kt˘ry bazuje na serwerze FTP"
"- Poprawiono tumaczenia"
"- Przeniesiono wszystkie moduy do folderu [0;40;33mCore[0;1;40;37m"
"- Usuni©to gr© [0;1;40;31mCraftBacher[0;1;40;37m i dodano [0;1;40;33mCreepyCraft[0;1;40;37m"
"- Usuni©to [0;1;40;31mTest Samples[0;1;40;37m"
""
""
"CreepyGames v1.4.2"
"- Dodano (ponownie) na ľyczenie [0;1;40;33mCraftBatcher[0;1;40;37m by Sucharowiec"
"- Zaktualizowano [0;40;33mCreepyChess[0;1;40;37m"
"- Dodano brakujĄce sowa do Wisielca po angielsku"
"- Poprawiono pewne b©dy w kodzie"
""
""
"CreepyGames v1.4.3"
"- Zaktualizowano [0;40;33mCraftBatcher[0;1;40;37m by Sucharowiec"
"- Poprawiono kilka b©d˘w, np. w CreepyCrafcie"
""
""
"CreepyGames v1.4.4 (aktualna)"
"- Dodano tryb [0;1;40;36mFullScreen[0;1;40;37m. Aby go uruchomi†, przejd« do ustawieä"
"- Dodano tryb [0;40;32m"CPU-Saver"[0;1;40;37m do CreepyCrafta"
"-- Dzi©ki temu powinna gra dziaa† znacznie szybciej"
) do set "__ChangeLog=!__ChangeLog! %%a")
set __About=
for %%a in (
""
"[0;1;40;33mCreepyGames %Version% - centrum gier i program˘w[0;1;40;37m"
""
"Program ten zbiera wszystkie gry i programy napisane przez"
"usera CreepyNinja_ (czyli mnie :D), a takľe te napisane"
"przez innych uľytkownik˘w z forum CMDTeam."
""
"Jestem wielce otwarty na propozycje zmian, dodania nowych gier,"
"program˘w itp. Ku temu suľy przecieľ ten program -"
"zbiera wszystkie programiki do jednego ;)"
""
"CreepyGames - Copyright 2012-2015 by CreepyNinja_"
"Zapraszam r˘wnieľ na forum CMDTeam.hol.es, gdzie"
"znajdziecie WI¨CEJ batchowych wytwor˘w. Pozdro :P"
"[0;1;40;36m"
) do set "__About=!__About! %%a"
set __Credits=
for %%a in (
""
"[0;1;40;33mCreepyGames %Version% - CREDITSY (Yay :P)[0;1;40;37m"
""
"Chciabym podzi©kowa† wszystkim uľytkownikom mojego programu"
"za to, ľe uľywajĄ tego programu i czerpiĄ z tego jakie,"
"chociaľ niewielkie korzyci :)"
""
"Chc© teľ podzi©kowa† kaľdemu, kto dawa jakie propozycje"
"zmian, dodania nowych program˘w czy gier, oraz tym, kt˘rzy"
"dali mi cenne porady - poradnikiem czy teľ postem na forum."
""
"Ceni© to, ľe ludzie w og˘le tworzĄ programy, na poz˘r,"
"w "niedorozwini©tym" j©zyku programowania (skryptowym),"
"w kt˘rym da si© zrobi† tak naprawd© ogromnie duľo ;)"
""
"Ja korzystam z tego, ucz© si© czego nowego od innych,"
"a nawet dodaj© programy danych os˘b - bo sĄ tego warte :P"
"Pozdrawiam teľ wszystkie osoby z forum [0;1;40;32mCMDTeam[0;1;40;37m. Kaľda z nich"