-
Notifications
You must be signed in to change notification settings - Fork 57
/
RiiConnect24Patcher.bat
8468 lines (7479 loc) · 403 KB
/
RiiConnect24Patcher.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
setlocal enableextensions
setlocal DisableDelayedExpansion
cd /d "%~dp0"
set /a conhost_enable=0
ver | C:\Windows\system32\findstr.exe "10.0">NUL && set /a conhost_enable=1
if %conhost_enable%==1 if not "%1"=="-conhost" (
start conhost.exe "%~dpnx0" -conhost
exit /b 0
)
set currentPath=%cd%
echo Starting up...
echo The program is starting...
:: ===========================================================================
:: RiiConnect24 Patcher for Windows
set version=1.5.2
:: AUTHORS: KcrPL
:: ***************************************************************************
:: Copyright (c) 2018-2023 KcrPL, RiiConnect24 and it's (Lead) Developers
:: ===========================================================================
if exist temp.bat del /q temp.bat
::if exist update_assistant.bat del /q update_assistant.bat
set /a preboot_environment=0
:script_start
:: Issue workarounds
set user_name=%userprofile:~9%
set mode_path=C:\Windows\system32\mode.com
set findstr_path=C:\Windows\system32\findstr.exe
set wmic_path=wmic
set timeout_path=C:\Windows\system32\timeout.exe
echo .. Setting up the variables
:: Window size (Lines, columns)
set mode=128,37
%mode_path% %mode%
set s=NUL
::Beta
set /a beta=0
::This variable controls if the current version of the patcher is in the stable or beta branch. It will change updating path.
:: 0 = stable 1 = beta
::
set /a internet_channel_enable=0
set /a photo_channel_enable=0
set /a wii_speak_channel_enable=0
set /a today_and_tomorrow_enable=0
set /a info_nothing_selected=0
set /a translation_download_error=0
set /a dolphin=0
set /a first_start_lang_load=1
set /a exitmessage=1
set /a errorcopying=0
set /a tempncpatcher=0
set /a tempiospatcher=0
set /a tempevcpatcher=0
set /a tempsdcardapps=0
set /a wiimmfi_patcher_backup=0
set /a wiiu_return=0
set /a sdcardstatus=0
set /a troubleshoot_auto_tool_notification=0
set /a wiiware_patching=0
set sdcard=NUL
set tempgotonext=begin_main
set direct_install_del_done=0
set direct_install_bulk_files_error=0
set error_changing_language=0
set /a sdcard_refresh_pending=0
set sound_enable=1
set free_drive_space_bytes=9999999999
set free_sd_card_space_bytes=9999999999
:: Free space requirements
set cd_temp=%cd%
set running_on_drive=%cd_temp:~0,1%
:: RiiConnect24 Patching for Wii (in MB)
set wii_patching_requires=700
set /a size1=%wii_patching_requires%*1024
set /a patching_size_required_wii_bytes=%size1%*1024
:: RiiConnect24 Patching for Wii U (in MB)
set wiiu_patching_requires=630
set /a size1=%wiiu_patching_requires%*1024
set /a patching_size_required_wiiu_bytes=%size1%*1024
:: RiiConnect24 Patching for Wii - SD Card Size Requirement (in MB)
set wii_sd_card_copy_requires=230
set /a size1=%wii_sd_card_copy_requires%*1024
set /a patching_size_required_wii_sd_card=%size1%*1024
For /F "Delims=" %%A In ('ver') do set "windows_version=%%A"
set post_url=https://patcher.rc24.xyz/v1/reporting.php
set mm=0
set ss=0
set cc=0
set hh=0
:: Window Title
if %beta%==0 set title=RiiConnect24 Patcher v%version% Created by @KcrPL
if %beta%==1 set title=RiiConnect24 Patcher v%version% [BETA] Created by @KcrPL
title %title%
set last_build=2023/01/08
set at=11:44 CET
:: ### Auto Update ###
:: 1=Enable 0=Disable
:: Update_Activate - If disabled, patcher will not even check for updates, default=1
:: offlinestorage - Only used while testing of Update function, default=0
:: FilesHostedOn - The website and path to where the files are hosted. WARNING! DON'T END WITH "/"
:: MainFolder/TempStorage - folder that is used to keep version.txt and whatsnew.txt. These two files are deleted every startup but if offlinestorage will be set 1, they won't be deleted.
set /a Update_Activate=1
set /a offlinestorage=0
if %beta%==0 set FilesHostedOn=https://patcher.rc24.xyz/update/RiiConnect24-Patcher/v1
if %beta%==1 set FilesHostedOn=https://patcher.rc24.xyz/update/RiiConnect24-Patcher_BETA/v1
if "%1"=="-preboot" set /a preboot_environment=1
:: Other patchers repositories
set FilesHostedOn_Beta=https://patcher.rc24.xyz/update/RiiConnect24-Patcher_BETA/v1
set FilesHostedOn_Stable=https://patcher.rc24.xyz/update/RiiConnect24-Patcher/v1
set CheckNUS.Domain=http://ccs.cdn.sho.rc24.xyz
set useragent=--user-agent "RiiConnect24 Patcher Windows v%version%"
set MainFolder=%appdata%\RiiConnect24Patcher
set TempStorage=%appdata%\RiiConnect24Patcher\internet\temp
if exist "%TempStorage%" del /s /q "%TempStorage%">NUL
if exist "%TempStorage%\announcement" rmdir /s /q "%TempStorage%\announcement">NUL
if %beta%==0 set header=RiiConnect24 Patcher - (C) KcrPL v%version% (Updated on %last_build% at %at%)
if %beta%==1 set header=RiiConnect24 Patcher - (C) KcrPL v%version% [BETA] (Updated on %last_build% at %at%)
set header_for_loops=RiiConnect24 Patcher - KcrPL v%version% - Updated on %last_build% at %at%
if not exist "%MainFolder%" md "%MainFolder%"
if not exist "%TempStorage%" md "%TempStorage%"
:: Trying to prevent running from OS that is not Windows.
if not "%os%"=="Windows_NT" goto not_windows_nt
:: Generate random identifier
if not exist "%MainFolder%\random_ident.txt" (
call :generate_identifier
Setlocal DisableDelayedExpansion
)
:: Read random identifier
if exist "%MainFolder%\random_ident.txt" for /f "usebackq" %%a in ("%MainFolder%\random_ident.txt") do set random_identifier=%%a
:: Load background color from file if it exists
if exist "%MainFolder%\background_color.txt" for /f "usebackq" %%a in ("%MainFolder%\background_color.txt") do color %%a
:: Load sound setting
if not exist "%MainFolder%\sound_enable.txt" >"%MainFolder%\sound_enable.txt" echo 1
if exist "%MainFolder%\sound_enable.txt" for /f "usebackq" %%a in ("%MainFolder%\sound_enable.txt") do set sound_enable=%%a
:: Check if can use chcp 65001
set /a chcp_enable=0
if %preboot_environment%==1 set /a chcp_enable=1
::if %preboot_environment%==0 ver | findstr "6.3">NUL && set /a chcp_enable=1
if %preboot_environment%==0 ver | %findstr_path% "10.0">NUL && set /a chcp_enable=1
::if %chcp_enable%==1 chcp 65001>NUL
goto script_start_languages
:generate_identifier
set lengthnumberuser=6
Setlocal EnableDelayedExpansion
Set _RNDLength=%lengthnumberuser%
Set _Alphanumeric=ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
Set _Str=%_Alphanumeric%987654321
:_LenLoop
IF NOT "%_Str:~18%"=="" SET _Str=%_Str:~9%& SET /A _Len+=9& GOTO :_LenLoop
SET _tmp=%_Str:~9,1%
SET /A _Len=_Len+_tmp
Set _count=0
SET _RndAlphaNum=
:_loop
Set /a _count+=1
SET _RND=%Random%
Set /A _RND=_RND%%%_Len%
SET _RndAlphaNum=!_RndAlphaNum!!_Alphanumeric:~%_RND%,1!
If !_count! lss %_RNDLength% goto _loop
echo !_RndAlphaNum!>"%MainFolder%\random_ident.txt"
Setlocal DisableDelayedExpansion
exit /b
:check_rc24_server_connection
call curl -f -L -s %useragent% --insecure "https://patcher.rc24.xyz/connection_test.txt">NUL
set /a temperrorlev=%errorlevel%
if not "%temperrorlev%"=="0" exit /b 1
exit /b 0
:server_connection_lost
cls
echo %header%
set sound_play=warning3&call :sound_play
echo -----------------------------------------------------------------------------------------------------------------------------
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo.
echo ---------------------------------------------------------------------------------------------------------------------------
echo /---\ %string73%
echo / \ %string586%
echo / ^! \ %string587%
echo ---------
echo.
echo %string90%
echo ---------------------------------------------------------------------------------------------------------------------------
pause>NUL
goto begin_main
:script_start_languages
setlocal disableDelayedExpansion
:: Detect Language
FOR /F "tokens=2 delims==" %%a IN ('%wmic_path% os get OSLanguage /Value') DO set OSLanguage=%%a
:: Load English
set language=English
call :set_language_english
:: Detect Language
if "%OSLanguage%"=="1046" set language=pt-BR
if "%OSLanguage%"=="1045" set language=pl-PL
if "%OSLanguage%"=="1040" set language=it-IT
if "%OSLanguage%"=="3082" set language=es-ES
if "%OSLanguage%"=="1053" set language=sv-SE
if "%OSLanguage%"=="1031" set language=de-DE
if "%OSLanguage%"=="1038" set language=hu-HU
if "%OSLanguage%"=="1036" set language=fr-FR
if "%OSLanguage%"=="1043" set language=nl-NL
if "%OSLanguage%"=="2052" set language=zh-CN
if "%OSLanguage%"=="1041" set language=ja-JP
if "%OSLanguage%"=="1055" set language=tr-TR
if "%OSLanguage%"=="1048" set language=ro-RO
:: Contact server, download up to date translation and load it.
set /a online_download_ok=0
if %chcp_enable%==1 (
echo .. Downloading the latest translation file...
curl -f -L -s -S %useragent% --insecure "%FilesHostedOn%/UPDATE/Translation_Files/Language_%language%.bat" --output "%TempStorage%\Language_%language%.bat"
if %errorlevel%==0 set /a online_download_ok=1
)
if %chcp_enable%==0 (
echo .. Downloading the latest translation file...
curl -f -L -s -S %useragent% --insecure "%FilesHostedOn%/UPDATE/Translation_Files_CHCP_OFF/Language_%language%.bat" --output "%TempStorage%\Language_%language%.bat"
if %errorlevel%==0 set /a online_download_ok=1
)
if %online_download_ok%==1 (
if exist "%TempStorage%\Language_%language%.bat" echo .. Applying latest online translation...
if %chcp_enable%==1 if exist "%TempStorage%\Language_%language%.bat" call "%TempStorage%\Language_%language%.bat" -chcp
if %chcp_enable%==0 if exist "%TempStorage%\Language_%language%.bat" call "%TempStorage%\Language_%language%.bat"
if %online_download_ok%==1 set /a local_load=0
)
goto script_start_languages_2
:reload_language
set /a online_download_ok=0
echo.
if %chcp_enable%==1 (
echo .. Downloading the latest translation file...
curl -f -L -s -S %useragent% --insecure "%FilesHostedOn%/UPDATE/Translation_Files/Language_%language%.bat" --output "%TempStorage%\Language_%language%.bat"
if %errorlevel%==0 set /a online_download_ok=1
)
if %chcp_enable%==0 (
echo .. Downloading the latest translation file...
curl -f -L -s -S %useragent% --insecure "%FilesHostedOn%/UPDATE/Translation_Files_CHCP_OFF/Language_%language%.bat" --output "%TempStorage%\Language_%language%.bat"
if %errorlevel%==0 set /a online_download_ok=1
)
if %online_download_ok%==0 (
set /a error_changing_language=1
goto online_download_ok
)
if %online_download_ok%==1 (
call :set_language_english
if exist "%TempStorage%\Language_%language%.bat" echo .. Applying latest online translation...
if %chcp_enable%==1 if exist "%TempStorage%\Language_%language%.bat" call "%TempStorage%\Language_%language%.bat" -chcp
if %chcp_enable%==0 if exist "%TempStorage%\Language_%language%.bat" call "%TempStorage%\Language_%language%.bat"
)
goto begin_main
:script_start_languages_2
echo.
echo .. Checking for SD Card
echo :--------------------------------------------------------------------------------:
echo : Can you see an error box? Press `Continue`. :
echo : There's nothing to worry about, everything is going ok. This error is normal. :
echo :--------------------------------------------------------------------------------:
echo.
echo Checking now...
call :detect_sd_card
goto begin_main
:set_language_english
echo .. Loading language: English...
:: Should be available locally
set string1=RiiConnect your Wii.
set string2=Start
set string3=Credits
set string4=Settings
set string588=Troubleshooting
set string5=manage VFF Downloader for Dolphin here
set string6=Run the VFF Downloader once.
set string7=Do you have problems or want to contact us?
set string8=Mail us at support@riiconnect24.net
set string9=Detected Wii SD Card:
set string10=Could not detect your Wii SD Card.
set string11=Refresh
set string12=If incorrect, you can change later.
set string13=Warning
set string14=You are using an experimental version of this program.
set string15=That means that this version might contain experimental features
set string16=and bugs that might break your Wii/Wii U console or your computer.
set string17=If you don't know what you're doing, please go to settings and go back to
set string18=stable branch of the patcher.
set string19=Type a number that you can see above next to the command and hit ENTER
set string20=Troubleshooting tools
set string21=These tools should help you diagnose some problems with the patcher and try to repair them automatically.
set string22=Could not detect SD Card.
set string23=Could not copy files to the SD Card.
set string24=Renaming files error
set string25=Return to main menu
set string26=Choose
set string27=RiiConnect24 Patcher Settings
set string28=Go back
set string29=Set background/text color
set string30=Turn off/on updating
set string31=Currently
set string32=Change updating branch to
set string33=Beta
set string34=Stable
set string35=Repair patcher file
set string36=Redownload
set string37=VFF Downloader for Dolphin Settings
set string38=Completely delete VFF Downloader for Dolphin from your computer
set string39=Delete VFF Downloader from startup
set string40=If VFF Downloader is running, shut it down.
set string41=Please wait... fetching data.
set string42=Do you want to go back to stable version of the patcher?
set string43=Current version
set string44=Stable version
set string45=Sorry, there was an error while fetching data.
set string46=Do you want to switch branches?
set string47=Updating process will start.
set string48=Yes, switch to Stable branch.
set string49=[UNABLE TO SWITCH TO STABLE VERSION]
set string50=No, go back to main menu.
set string51=Do you want to switch to BETA version of the patcher?
set string52=Beta version
set string53=Sorry, there's currently no public beta version available.
set string54=Yes, switch to Beta branch.
set string55=[UNABLE TO SWITCH TO BETA VERSION]
set string589=Enable sounds
set string56=WAIT
set string57=Are you trying to disable updating?
set string58=Please do remember that updates will keep you safe and updated about the patcher.
set string59=Only use this option for debugging and troubleshooting.
set string60=Are you sure that you want to disable autoupdating?
set string61=Yes
set string62=No, go back.
set string63=Change color:
set string64=Dark theme
set string65=Light theme *please don't hurt my eyes edition*
set string66=Light theme *please hurt my eyes edition*
set string67=Yellow
set string68=Green
set string69=Red
set string70=Blue
set string71=Downloading curl... Please wait.
set string72=This can take some time...
set string73=ERROR.
set string74=There was an error while downloading curl.
set string75=We will now open a website that will download curl.exe.
set string76=Please move curl.exe to the folder where RiiConnect24 Patcher is and restart the patcher.
set string77=Press any key to open download page in browser and to return to menu.
set string78=Checking for updates...
set string79=An Update is available.
set string80=An Update for this program is available. We suggest updating the RiiConnect24 Patcher to the latest version.
set string81=Current version
set string82=New version
set string83=Update
set string84=Dismiss
set string85=What's new in this update?
set string86=Updating.
set string87=Please wait...
set string88=RiiConnect24 Patcher will restart shortly...
set string89=There was an error while downloading the update assistant.
set string90=Press any key to return to main menu.
set string91=What's new in update
set string92=Error. What's new file is not available.
set string93=Press any button to go back.
:: Local end
:: Must be available online
set string100=Welcome to the Homebrew Shop.
set string101=Before downloading any homebrew, do you want to enable automatic installation on your SD Card?
set string102=Yes, detect the SD Card.
set string103=No, I'll install them manually.
set string104=Hmm... looks like an SD Card wasn't found in your system. Please choose the `Change drive letter` option
set string105=to set your SD Card drive letter manually.
set string106=Otherwise, you will have to copy the homebrew manually to the SD Card.
set string107=Congrats^^! I've successfully detected your SD Card^^! Drive letter:
set string108=I will be able to automatically download and install everything on your SD Card^^!
set string109=What's next?
set string110=Continue
set string111=Exit
set string112=Change drive letter
set string113=Current SD Card Letter
set string114=Type in the new drive letter (e.g H)
set string115=Preparing for use with Open Shop Channel downloader...
set string116=Please wait...
set string117=There was an error while downloading the Open Shop Channel downloader.
set string118=CURL Exit Code
set string119=Press any key to go back.
set string120=Open Shop Channel Downloader is ready^^! What next?
set string121=Show list of homebrew available.
set string122=Download homebrew.
set string123=Return to main menu
set string124=One second please...
set string125=TIP: Remember the name of the homebrew that you're interrested in, return to the program, select "Download homebrew" and type it in.
set string126=It will show you a description and some other useful info about homebrew that you've chosen.
set string127=List of homebrew available
set string128=Type the name of your homebrew.
set string129=is not available on the server.
set string130=For the list of homebrew that's on the server, please go back and choose "Show list of homebrew available".
set string131=Fetching data...
set string132=You requested...
set string133=Long description:
set string134=Would you like to download this app?
set string135=If enabled, it will be automatically installed to the SD Card.
set string136=No, return.
set string137=Downloading
set string138=Downloading .ZIP
set string139=Done^^!
set string140=The .ZIP file is in the directory where RiiConnect24 Patcher is.
set string141=Press any key to go back.
set string142=Downloading 7zip CLI
set string143=Extracting the homebrew app to your SD Card...
set string144=There was an error while downloading your homebrew.
set string145=There was an error while downloading the homebrew from Open Shop Channel servers.
set string146=There was an error while downloading 7zip.
set string147=There was an error while copying the files to your SD Card.
::
set string148=Announcement
set string149=Welcome to the RiiConnect24 Patcher^^!
set string150=With this program, you can patch your Wii or Wii U for use with RiiConnect24.
set string151=You can also use such tools as Wiimmfi Patcher for all Wii games to play them online again.
set string152=So, what device are we patching today?
set string153=Dolphin Emulator
set string154=Choose wisely
set string155=Which mode should I run
set string156=Install RiiConnect24 on your Dolphin Emulator
set string191=Install RiiConnect24 on your Wii U
set string273=Install RiiConnect24 on your Wii.
set string274=Uninstall RiiConnect24 from your Wii.
set string275=This will help you uninstall RiiConnect24 from your Wii.
set string157=The patcher will guide you through process of installing RiiConnect24
set string158=Other tools
set string159=Patch Wii WAD Games to work with Wiimmfi.
set string160=This will patch WAD Games (WiiWare) for use with Wiimmfi which will allow you to play online with other people.
set string163=Patch other Wii Games to work with Wiimmfi.
set string164=This will patch any other game than Mario Kart Wii to work with Wiimmfi.
set string165=Visit Homebrew Shop
set string166=Download and install homebrew on your SD Card using Open Shop Channel.
set string192=Install WAD files directly to the SD Card.
set string193=This will allow you to directly install a channel to your SD Card instead of you having to move it from NAND.
set string182=What region should I download?
set string183=Europe
set string184=USA
set string185=We're done^^! Now please open Dolphin, press on Tools and install the WAD file that has been downloaded to the WAD folder
set string186=next to the RiiConnect24 Patcher.
set string187=That's it^^!
set string188=What to do next?
set string189=Return to main menu
set string190=Close the patcher
set string200=Install RiiConnect24 on your Wii U.
set string201=Choose installation type:
set string202=Express (Recommended)
set string203=This will patch every channel for later use on your Wii U. This includes:
set string204=News Channel
set string376=Forecast Channel
set string377=Wii Mail
set string205=Everybody Votes Channel
set string206=Nintendo Channel
set string207=Check Mii Out Channel / Mii Contest Channel
set string256=Mii Contest Channel
set string257=Check Mii Out Channel
set string208=Custom
set string209=You will be asked what you want to patch.
set string210=Install RiiConnect24
set string211=Switch region. Current region:
set string212=Begin patching^^!
set string213=Go back.
set string214=Hello
set string215=welcome to the express instalation of RiiConnect24.
set string216=The patcher will download any files that are required to run the patcher.
set string217=The entire process should take about 1 to 3 minutes depending on your computer CPU and internet speed.
set string218=But before starting, you need to tell me one thing:
set string219=For
set string220=and
set string221=which region should I download and patch?
set string222=(Where do you live?/Region of your console)
set string223=Choose one
set string224=Great^^!
set string225=After passing this screen, any user interraction won't be needed so you can relax and let me do the work^^!
set string226=Did I forget about something? Yes^^! To make patching even easier, I can download everything that you need and put it on
set string227=your SD Card^^!
set string228=Please connect your Wii U SD Card to the computer.
set string229=Connected^^!
set string230=I can't connect an SD Card to the computer.
set string231=Aww, no worries. You will be able to copy files later after patching.
set string232=Hmm... looks like an SD Card wasn't found in your system. Please choose the `Change drive letter` option
set string233=to set your SD Card drive letter manually.
set string234=Otherwise, starting patching will set copying to manual so you will have to copy them later.
set string235=Congrats^^! I've successfully detected your SD Card^^! Drive letter:
set string236=I will be able to automatically download and install everything on your SD Card^^!
set string237=Everything is ready^^!
set string238=What's next?
set string239=Start Patching
set string240=Exit
set string241=Change drive letter
set string242=One more thing^^! I've detected WAD folder.
set string243=I need to delete it.
set string244=Can I?
set string245=Yes
set string246=No
set string247=Patching... this can take some time depending on the processing speed (CPU) of your computer.
set string248=Warning: There was an error while patching, but the patcher ran the troubleshooting tool that should automatically fix
set string249=the problem. The patching process has been restarted.
set string250=Fun Fact
set string251=Next fun fact in
set string252=sec
set string253=Progress
set string254=Downloading files
set string258=Finishing...
set string259=Alright^^! We're done with that^^!
set string260=Copying successful^^! Every file is on your SD Card.
set string261=Wha- Something failed^^! Please copy "WAD", "apps" and "wiiu" folders to your SD Card. They're next to RiiConnect24Patcher.bat
set string262=Please connect your Wii U's SD Card to the computer and copy "WAD", "apps" and "wiiu" folder to it.
set string263=We're nearly done^^!
set string264=We're now about to patch a file that's responsible for the 4:3 black bars bug that appears on Wii mode.
set string265=Now, please connect the SD Card to your Wii U, enter vWii, open Homebrew Launcher.
set string266=On the list, please find ww-43db-patcher (WiiWare 4:3 DB Patcher) and run it.
set string267=Press any button to continue.
set string268=Patching done^^!
set string269=You can now continue with the guide.
set string270=What to do next?
set string271=Return to main menu
set string272=Close the patcher
set string276=Install WAD files directly to the SD Card - wad2bin.
set string277=Created by DarkMatterCore.
set string278=Welcome
set string279=This is a configuration screen for wad2bin. You will be required to do this step only once.
set string280=Since every Wii is different, you will be required to dump keys from your Wii. It sounds scary but no worries because we've
set string281=prepared everything for you.
set string282=Please connect your Wii's SD Card to your computer.
set string283=Connected.
set string284=I can't connect the SD Card.
set string285=Unfortunately, without direct access to the SD Card, not much can be done.
set string286=Please find a way to connect the SD Card to your computer and please come back here later.
set string287=Press any key to go back to main menu.
set string288=Cannot continue until you set the path.
set string289=We can now continue.
set string290=Connected, scan again
set string291=Please wait... I'm currently installing xyzzy-mod on your SD Card.
set string292=There was an error while downloading xazzy-mod to your SD Card.
set string293=Please try again.
set string294=Press any key to go back.
set string295=Alright^^! I've successfully installed xyzzy-mod on your SD Card. I will remove it once this step is done.
set string296=Now, please connect the SD Card to your Wii and launch xyzzy-mod from your Homebrew Channel.
set string297=(You should find it on the last page)
set string298=Please select the device as SD Card and please wait for the results.
set string299=Once it's done, please plug the SD Card here.
set string300=Is it done?
set string301=Yes, the SD Card is connected.
set string302=Exit.
set string303=There was an error while detecting the files.
set string304=Are you sure you followed the instructions correctly?
set string305=Try copying the files again.
set string306=Go back.
set string307=Alright^^! We're done with the configuration.
set string308=That wasn't so hard, was it?
set string309=Press any key to continue.
set string310=Could not find your Wii's SD Card.
set string311=Please plug it in now.
set string312=Set the drive letter manually.
set string313=I'm downloading wad2bin...
set string314=There was an error while downloading wad2bin...
set string315=What can I get you?
set string316=Deleting "bogus" WAD files is done^^!
set string317=Install WAD files on your SD Card.
set string318=Install DLC's for Just Dance, Rock Band or Guitar Hero. (Not yet done...)
set string319=Reconfigure keys (use this when changing a Wii etc.)
set string320=Delete all "bogus" WAD files from your SD Card.
set string321=Main Menu.
set string322=Could not find any .WAD files inside wad2bin folder.
set string323=We're now going to install WAD files to your SD Card.
set string324=I created a folder called wad2bin next to the RiiConnect24 Patcher.bat. Please put all of the files that you want to
set string325=install in that folder.
set string326=NOTE: Some DLC files might result in an error.
set string327=Are the files all in place?
set string328=Yes, start installing.
set string329=No, go back.
set string330=Instaling file
set string331=out of
set string332=File name
set string333=Installation complete^^!
set string334=Now, please start your WAD Manager (Wii Mod Lite, if you installed RiiConnect24) and please install the WAD file called
set string335=(numbers)_bogus.wad on your Wii.
set string336=NOTE: You will get a -1022 error - don't worry! The WAD is empty but all we need is the TMD and ticket.
set string337=After you're done installing the WAD, you can later plug in the SD Card in and choose the option to delete bogus WAD's
set string338=in the main menu.
set string339=Are you sure you want to delete all bogus files?
set string340=If you still didn't install them, you won't be able to open any installed channels by you.
set string341=Are you sure you want to delete them?
set string342=Installing WAD file(s) has failed.
set string343=wad2bin returned error code
set string344=Please contact KcrPL#4625 on Discord or mail us at support@riiconnect24.net
set string345=Go back to wad2bin menu.
set string346=Show error info.
set string347=Preparing for use with Wiimmfi Patcher...
set string348=Please wait...
set string349=Wiimmfi Patcher is ready^^!
set string350=Please the game image (can be ISO or WBFS) in a folder where RiiConnect24 Patcher is and choose "Ready".
set string351=ISO Files
set string352=WBFS Files
set string353=Found
set string354=Not Found
set string355=Ready. Start Wiimmfi Patcher.
set string356=Go back to Main Menu.
set string357=The Wiimmfi Patcher is done^^!
set string358=The patched game image file(s) has been moved to the wiimmfi-images folder next to RiiConnect24 Patcher.
set string359=Press any button to go back to main menu.
set string360=Preparing for use with Mario Kart Wii Wiimmfi Patcher...
set string361=Mario Kart Wii Wiimmfi Patcher is ready^^!
set string362=Please put the Mario Kart Wii image file (can be ISO or WBFS) in a folder where RiiConnect24 Patcher is and choose "Ready".
set string363=Ready. Start Mario Kart Wii Patcher.
set string364=The patched Mario Kart Wii image file has been copied to the wiimmfi-images folder next to RiiConnect24 Patcher.
set string365=Preparing for use with WiiWare Patcher...
set string368=Moving files... please wait.
set string369=WiiWare Patcher has exited...
set string370=If the files were patched, you can find the patched .WAD files in the wiimmfi-wads folder next to the RiiConnect24 Patcher.
set string371=Press any button to return to main menu.
set string372=If you are doing troubleshooting, please keep that in mind that reinstalling RiiConnect24 probably won't help you
set string373=Please contact RiiConnect24 Developers at support@riiconnect24.net for more info.
set string374=This part of this patcher will help you uninstalling RiiConnect24 from your Wii.
set string375=By completing these steps you will lose access to:
set string378=If you have other channels installed on your Wii, you will have to uninstall them manually.
set string379=Do you want to proceed with the guide?
set string380=Would you like to include tutorial with how to delete your nwc24msg.cfg file?
set string381=(This is a mail configuration file)
set string382=Would you like to ask us to delete your mail from our database?
set string383=(After deleting it from our database, you will be able to patch your Wii again in the future for RiiConnect24,
set string384= it is recommended to do that)
set string385=Yes, show me the instructions how to do that.
set string386=Please send a mail to support@riiconnect24.net with a request to delete you from our database.
set string387=With that email, please include a picture showing your Friend Code in the Address Book.
set string388=To do that, please open Wii Message Board -^> New Message -^> Address Book -^> Make a picture of your Friend Code and
set string389=please send it to us to make sure that you are the owner of the Friend Code.
set string390=By doing so, you will lose access to the RiiConnect24 Mailing system. You will be able to restore full functionality using
set string391=the RiiConnect24 Mail Patcher homebrew app on your Wii.
set string392=Press any key to continue...
set string393=After downloading all the files, do you want to copy them to your SD Card?
set string394=Please connect your Wii SD Card to the computer.
set string395=The entire patching process will download about 5MB of data.
set string396=Restoring default IOS's and downloading utilities...
set string397=Patching done^^! Now please follow these instructions:
set string398=Plaese copy the wad and apps folder next to the patcher to your SD Card.
set string399=Part I - Reinstalling stock IOS 31 and IOS 80
set string400=Please open Homebrew Channel and start Wii Mod Lite
set string401=Using the +Control Pad on your Wii Remote, navigate to WAD Manager, and then navigate to the WAD folder.
set string402=When IOS31.wad is highlighted, press +, then do the same for IOS80.wad and hit the A button.
set string403=When you're done, press the HOME Button to go back to Homebrew Channel.
set string404=What to do now?
set string405=Next page
set string406=Part II - Restoring the nwc24msg.cfg to it's factory default.
set string407=Please launch WiiXplorer from the Homebrew Channel.
set string408=In WiiXplorer, press Start -^> Settings -^> Boot Settings -^> NAND Write Access (turn on)
set string409=Remember to turn it on because it's important^^!
set string410=Change your device to NAND (on the bar on top)
set string411=Go to shared2 -^> wc24
set string412=Hover your cursor over nwc24msg.cfg, press + on your Wii Remote and delete it.
set string413=Go to Wii Menu (the nwc24msg.cfg file should regenerate with the same Friend Code)
set string414=Previous page
set string415=Part III - Disconnecting from RiiConnect24
set string416=Go to Wii Options.
set string417=Go to Wii Settings.
set string418=Go to Page 2, then click on Internet.
set string419=Go to Connection Settings.
set string420=Select your current connection.
set string421=Go to Change Settings.
set string422=Go to Auto-Obtain DNS (Not IP Address), then select Yes.
set string423=Select Save and do the connection test.
set string424=When asking for update, press No to skip it.
set string425=That's it^^! RiiConnect24 should be now gone from your Wii^^!
set string426=Please come back to us soon :)
set string427=Press any key to exit the patcher.
set string428=The Nintendo Update Server (NUS) is currently down. Patcher needs that server in order to work.
set string429=This probably means that there is a maintenance currently going on the server.
set string430=Please come back later^^!
set string431=Preparing...
set string432=Install RiiConnect24.
set string433=This will patch every channel for later use on your Wii. This includes:
set string434=IOS Patches [required for other channels to work]
set string435=Forecast/News Channel
set string436=Please connect your Wii SD Card to the computer.
set string437=The following process will download about 170MB of data.
set string438=Did you know the wii was the best selling game-console of 2006?
set string439=Did you know KcrPL makes these amazing patchers?
set string440=RiiConnect24 originally started out as "CustomConnect24"!
set string441=Did you know that the RiiConnect24 logo was made by NeoRame, the same person who made the Wiimmfi logo?
set string442=The Wii was nicknamed "Revolution" during its development stage.
set string443=Did you know the letters in the Wii model number RVL stand for the Wii's codename, Revolution?
set string444=The music used in many of the Wii's channels (including the Wii Shop, Mii, Check Mii Out, and Forecast Channel) was composed by Kazumi Totaka.
set string445=The Internet Channel once costed 500 Wii Points.
set string446=It's possible to use candles as a Wii Sensor Bar.
set string447=The blinking blue light that indicates a system message has been received is actually synced to the bird call of the Japanese bush warbler. More info about it on RiiConnect24 YouTube Channel^^!
set string448=Wii Sports is the most sold game on the Wii. It sold 82.85 million. Overall it is the 3rd most sold game in the world.
set string449=Did you know that most of the scripts used to make RiiConnect24 work are written in Python?
set string450=Thank you Spotlight for making our mail system secure.
set string451=Did you know that we have an awesome Discord server where you can always stay updated about the project status?
set string452=The Everybody Votes Channel was originally an idea about sending quizzes and questions daily to Wiis.
set string453=The News Channel developers had an idea at some point about making a dad's Mii being the news caster in the Channel, but it probably didn't make it because some stories on there probably aren't appropriate for kids.
set string454=The Everybody Votes Channel was originally called the Questionnaire Channel, then Citizens Vote Channel.
set string455=The Forecast Channel had a "laundry index" (to show how appropriate it is to dry your clothes outside) and a "pollen count" in the Japanese version.
set string456=During the Forecast Channel development, Nintendo's America department got hit by a thunderstorm, and the developers of the Channel in Japan lost contact with them.
set string457=During the News Channel development, Nintendo's Europe department got hit by a big rainstorm, and the developers of the Channel in Japan lost contact with them.
set string458=The News Channel has an alternate slide show song that plays as night.
set string459=During E3 2006, Satoru Iwata said WiiConnect24 uses as much power as a miniature lightbulb while the console is in standby.
set string460=The effect used when rapidly zooming in and out of photos on the Photo Channel was implemented into the News Channel to zoom in and out of text.
set string461=The help cats in the News Channel and the Photo Channel are brothers and sisters (the one in the News Channel being male, and the Photo Channel being a younger female).
set string462=The Japanese version of the Forecast Channel does not show the current forecast.
set string463=The Forecast Channel, News Channel and the Photo Channel were made by nearly the same team.
set string464=The first worldwide Everybody Votes Channel question about if you like dogs or cats more got more than 500,000 votes.
set string465=The night song that plays when viewing the local forecast in the Forecast Channel was made before the day song, that was requested to make people not feel sleepy when it was played during the day.
set string466=The globe in the Forecast and News Channel is based on imagery from NASA, and the same globe was used in Mario Kart Wii.
set string467=You can press the Reset button while the Wii's in standby to turn off the blue light that glows when you receive a message.
set string468=Patching IOS's
set string469=Patching News/Forecast Channel
set string470=Don't worry^^! It might take some time... Now copying files to your SD Card...
set string471=Please connect your Wii SD Card and copy apps and WAD folder to the root (main folder) of your SD Card. You can find these folders next to RiiConnect24Patcher.bat
set string472=Every file is in its place on your SD Card^^!
set string473=You can find these folders next to RiiConnect24Patcher.bat.
set string474=Please proceed with the tutorial that you can find on https://wii.guide/riiconnect24
set string475=Thank you very much for using this patcher^^! :)
set string476=Have fun using RiiConnect24^^!
set string477=Closing the patcher in:
set string478=There is no internet connection.
set string479=Could not connect to remote server.
set string480=Check your internet connection or check if your firewall isn't blocking curl.
set string481=There was an error while patching.
set string482=Error Code
set string483=Failing module
set string484=TIP: Consider turning off your antivirus temporarily.
set string485=SOLUTION: Please check your internet connection.
set string486=ERROR DETAILS: Curl write error. Try moving the patcher to desktop and try again.
set string487=SOLUTION: Please install latest .NET Framework, then try again.
set string488=SD Card
set string489=Start File Explorer.
set string490=Installation failed for WAD:
set string491=Installation failed for:
set string492=WAD(s)
set string493=Pressing any key will open the error log and return to main menu.
set string494=It looks like you're missing Visual C++ Redistributable on your computer.
set string495=It is required to run one of our tools.
set string496=We can automatically install it for you.
set string497=What do you say?
set string498=Yes, please.
set string499=This will install Visual C++ Redistributable
set string500=No, I'll install it manually.
set string501=Installing
set string502=Preparing to report the error...
set string503=Error reported successfully!
set string504=Randomize your error reporting identifier.
set string505=Current:
set string506=Take a second to send back feedback to developers. [PLEASE :)]
set string507=Welcome! We will now ask you a few questions.
set string508=Which one best fits the app that you just used?
set string509=The app is bad.
set string510=I encountered a lot of issues when patching.
set string511=Not intuitive.
set string512=It's alright.
set string513=The app is really easy to use!
set string514=How did you find out about RiiConnect24?
set string515=I've heard about it from my friend.
set string516=I've heard about it on Discord.
set string517=YouTube.
set string518=wii.guide.
set string519=I found out about it on Google.
set string520=Other.
set string521=Have you ever used other features in the patcher such as wad2bin or installing homebrew directly to your SD Card?
set string522=No and I don't plan to.
set string523=No, but I'm planning to.
set string524=Would you like to write a message to developer of this app? (anonymously) [In English]
set string525=No, skip.
set string526=Your message must be in English.
set string527=Write your message here [ENTER confirms your message].
set string528=This is your message:
set string529=Would you like to attach it?
set string530=Preparing to send feedback...
set string531=Japan
set string537=Korea
set string532=There is currently maintenance in progress on our servers.
set string533=Developer requested that access to the program will be prohibited until the maintenance is done.
set string534=Please try again later.
set string535=There is currently background maintenance in progress on our servers.
set string536=Some functionality may be limited or not functioning until the maintenance is done.
set string538=Unfortunately, for Korean region we only support Wii Mail.
set string539=Other channels were originally not supported by WiiConnect24.
set string540=Additional Channels
set string541=There was an error while downloading WiiWare Patcher.
set string542=Please check your Internet connection and try again.
set string543=WiiWare Patcher has completed it's job!
set string544=I've copied the original WAD files to the "backup-wads" folder.
set string545=Newly patched WAD's are in the "wiimmfi-wads" folder.
set string546=Patching file
set string547=File name
set string548=Welcome to the WiiWare Patcher!
set string549=This patcher will patch your WAD games to use with Wiimmfi.
set string550=Please put the WAD files in the folder where this patcher is and please select "Continue".
set string551=Patching process will begin.
set string552=Could not find any .WAD files next to the patcher.
set string553=Cannot continue until the conditions are met.
set string554=We can also bundle few other channels that are not RiiConnect24 oriented.
set string555=Please select if you want me to bundle them with other WAD's
set string556=Please select and then choose `Continue`. This is optional. You can just skip.
set string557=Photo Channel
set string558=Wii Speak Channel
set string559=Today and Tomorrow Channel
set string560=Internet Channel
set string561=You selected USA region and opted in to get Today and Tomorrow Channel.
set string562=This channel never appeared in America. I gave you the European version of the channel.
set string563=Please make sure you enable Region Free Everything in Priiloader before using it.
set string564=RiiConnect24 Servers are currently offline.
set string565=It appears that you have an active Internet connection but RiiConnect24 Server is currently offline.
set string566=What region should I restore the News Channel and Forecast Channel to?
set string567=There is not enough space on the disk to perform the operation.
set string568=Please free up some space and try again.
set string569=Amount of free space required:
set string570=Don't worry^^! It might take some time... Now copying files to your SD Card...
set string571=Make a backup of your game before patching. (Takes more disk space)
set string572=All done^^! Your game(s) have been patched.
set string573=There was an error while patching. Please see log above to see what caused the error.
set string574=Could not find any games.
set string575=Please make sure they're in the right folder and try again.
set string576=Copying... This may take a while.
set string577=There was an error while downloading Wiimmfi Patcher.
set string578=This will patch Wii Games (Mario Kart Wii and other disc games) to work with Wiimmfi.
set string579=Patch Wii disc based games to work with Wiimmfi.
set string580=There is not enough space on your SD Card to perform the copy operation.
set string581=Donate
set string582=Donate to:
set string583=Thanks for supporting me. I really appreciate any amount, it took me a long time to make this program. I hope you enjoy it as much as I enjoyed making it.
set string584=All donations made to RiiConnect24 go towards server hosting and renewing our websites.
set string585=Your feedback has been sent^^! Continuing in 5 seconds...
set string586=Your connection to RiiConnect24 Server has been lost.
set string587=Make sure your internet connection is good and try again. It it keeps up, visit https://status.rc24.xyz
::string588 used
::string589 used
set string590=You need to select something in order to start patching.
set string591=Please proceed with the tutorial that you can find on https://wii.guide/riiconnect24-dolphin
set string592=Region Select
set string593=This will patch every channel for later use on your Dolphin Emulator. This includes:
set string594=Hello again! We're glad you're back!
set string595=Dolphin Emulator now officially supports RiiConnect24.
set string596=Do you remember you still have VFF Downloader for Dolphin running in the background?
set string597=I forgot about mine but it's time to uninstall it.
set string598=With Dolphin Emulator now supporting WC24, all you need to do is install the WAD's.
set string599=Can we remove the VFF Downloader for Dolphin for you? (Make sure to update Dolphin to the latest developer version!)
set string600=Sure
set string601=Dismiss (we'll remind you next time you use RiiConnect24 Patcher).
set string602=Alright! We're ready to begin patching.
set string603=I will now download and patch the WAD's so you can use them in Dolphin emulator.
set string604=Make sure to install them later!
set string605=Good morning^!
set string606=Good afternoon^!
set string607=Good evening^!
set string608=You can only select one channel at a time.
exit /b
:not_windows_nt
cls
echo.
echo Hi,
echo Please don't run RiiConnect24 Patcher in MS-DOS
echo.
echo Press any button or CTRL+C to quit.
pause