diff --git a/assets/icons/flags/PAL-PL.png b/assets/icons/flags/PAL-PL.png new file mode 100644 index 0000000..3b6d000 Binary files /dev/null and b/assets/icons/flags/PAL-PL.png differ diff --git a/builder/lib/nethersx2.xdelta b/builder/lib/nethersx2.xdelta new file mode 100644 index 0000000..fdfa63f Binary files /dev/null and b/builder/lib/nethersx2.xdelta differ diff --git a/patch-apk.bat b/patch-apk.bat index 4b41d65..01417f5 100644 --- a/patch-apk.bat +++ b/patch-apk.bat @@ -1,4 +1,6 @@ @echo off +:: Sets the window's title +Title NetherSX2 Patcher :: Allows for Terminal Colors to be used set col=lib\cmdcolor.exe set md5hash=c98b0e4152d3b02fbfb9f62581abada5 @@ -8,6 +10,10 @@ echo \033[91m======================== | %col% echo \033[91m NetherSX2 Patcher v1.7 | %col% echo \033[91m======================== | %col% +:: Makes sure Java is installed and in the PATH +java >nul 2>&1 +if %errorlevel%==9009 goto nojava + :: Check if the NetherSX2 APK exists and if it's named correctly if not exist 15210-v1.5-4248-noads.apk goto nofile :: Check if the NetherSX2 APK isn't just a renamed AetherSX2 4248 APK @@ -17,67 +23,67 @@ for /f %%f in ('""lib\md5sum.exe" "15210-v1.5-4248-noads.apk""') do ( :: Ad Services Cleanup nul -lib\aapt r 15210-v1.5-4248-noads.apk play-services-tasks.properties > nul -lib\aapt r 15210-v1.5-4248-noads.apk play-services-measurement-sdk-api.properties > nul -lib\aapt r 15210-v1.5-4248-noads.apk play-services-measurement-base.properties > nul -lib\aapt r 15210-v1.5-4248-noads.apk play-services-basement.properties > nul -lib\aapt r 15210-v1.5-4248-noads.apk play-services-base.properties > nul -lib\aapt r 15210-v1.5-4248-noads.apk play-services-appset.properties > nul -lib\aapt r 15210-v1.5-4248-noads.apk play-services-ads.properties > nul -lib\aapt r 15210-v1.5-4248-noads.apk play-services-ads-lite.properties > nul -lib\aapt r 15210-v1.5-4248-noads.apk play-services-ads-identifier.properties > nul -lib\aapt r 15210-v1.5-4248-noads.apk play-services-ads-base.properties > nul +lib\aapt r 15210-v1.5-4248-noads.apk user-messaging-platform.properties >nul +lib\aapt r 15210-v1.5-4248-noads.apk play-services-tasks.properties >nul +lib\aapt r 15210-v1.5-4248-noads.apk play-services-measurement-sdk-api.properties >nul +lib\aapt r 15210-v1.5-4248-noads.apk play-services-measurement-base.properties >nul +lib\aapt r 15210-v1.5-4248-noads.apk play-services-basement.properties >nul +lib\aapt r 15210-v1.5-4248-noads.apk play-services-base.properties >nul +lib\aapt r 15210-v1.5-4248-noads.apk play-services-appset.properties >nul +lib\aapt r 15210-v1.5-4248-noads.apk play-services-ads.properties >nul +lib\aapt r 15210-v1.5-4248-noads.apk play-services-ads-lite.properties >nul +lib\aapt r 15210-v1.5-4248-noads.apk play-services-ads-identifier.properties >nul +lib\aapt r 15210-v1.5-4248-noads.apk play-services-ads-base.properties >nul echo \033[92m[Done] | %col% :: Adds Additional Options to App Settings nul +lib\aapt a 15210-v1.5-4248-noads.apk res/xml/advanced_preferences.xml >nul lib\aapt r 15210-v1.5-4248-noads.apk res/xml/graphics_preferences.xml -lib\aapt a 15210-v1.5-4248-noads.apk res/xml/graphics_preferences.xml > nul +lib\aapt a 15210-v1.5-4248-noads.apk res/xml/graphics_preferences.xml >nul echo \033[92m[Done] | %col% :: Updates the FAQ to show that we're using the latest version of NetherSX2 nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/faq.html >nul echo \033[92m[Done] | %col% :: Updates to Latest GameDB with features removed that are not supported by the libemucore.so from March 13th nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/GameIndex.yaml >nul echo \033[92m[Done] | %col% :: Updates the Game Controller Database nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/game_controller_db.txt >nul echo \033[92m[Done] | %col% :: Updates the Widescreen Patches nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/cheats_ws.zip >nul echo \033[92m[Done] | %col% :: Updates the No-Interlacing Patches nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/cheats_ni.zip >nul echo \033[92m[Done] | %col% :: Fixes License Compliancy Issue nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/3rdparty.html >nul echo \033[92m[Done] | %col% :: Adds the placeholder file that makes RetroAchievements Notifications work nul -lib\aapt a 15210-v1.5-4248-noads.apk assets/placeholder.png > nul +lib\aapt r 15210-v1.5-4248-noads.apk assets/placeholder.png >nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/placeholder.png >nul echo \033[92m[Done] | %col% :: Resigns the APK before exiting @@ -89,8 +95,13 @@ echo \033[92m[Done] | %col% goto end :nofile -echo \033[31mError: No APK found or wrong one provided! | %col% -echo \033[31mPlease provide a copy of NetherSX2 named 15210-v1.5-4248-noads.apk! | %col% +echo \033[91mError: No APK found or wrong one provided! | %col% +echo \033[91mPlease provide a copy of NetherSX2 named 15210-v1.5-4248-noads.apk! | %col% +goto end + +:nojava +echo \033[91mError: The Java Development Kit is not installed or a restart required! | %col% +echo \033[91mPlease download and install the JDK from https://www.oracle.com/java/technologies/downloads/#jdk21-windows | %col% goto end :end diff --git a/res/drawable-og/ic_controller_a_button.xml b/res/drawable-og/ic_controller_a_button.xml new file mode 100644 index 0000000..5f16940 Binary files /dev/null and b/res/drawable-og/ic_controller_a_button.xml differ diff --git a/res/drawable-og/ic_controller_analog_base.xml b/res/drawable-og/ic_controller_analog_base.xml new file mode 100644 index 0000000..8c9ac2e Binary files /dev/null and b/res/drawable-og/ic_controller_analog_base.xml differ diff --git a/res/drawable-og/ic_controller_analog_button.xml b/res/drawable-og/ic_controller_analog_button.xml new file mode 100644 index 0000000..7c22a1e Binary files /dev/null and b/res/drawable-og/ic_controller_analog_button.xml differ diff --git a/res/drawable-og/ic_controller_analog_stick.xml b/res/drawable-og/ic_controller_analog_stick.xml new file mode 100644 index 0000000..03f4c4a Binary files /dev/null and b/res/drawable-og/ic_controller_analog_stick.xml differ diff --git a/res/drawable-og/ic_controller_b_button.xml b/res/drawable-og/ic_controller_b_button.xml new file mode 100644 index 0000000..326eb05 Binary files /dev/null and b/res/drawable-og/ic_controller_b_button.xml differ diff --git a/res/drawable-og/ic_controller_c_button.xml b/res/drawable-og/ic_controller_c_button.xml new file mode 100644 index 0000000..b26a243 Binary files /dev/null and b/res/drawable-og/ic_controller_c_button.xml differ diff --git a/res/drawable-og/ic_controller_calibrate_button.xml b/res/drawable-og/ic_controller_calibrate_button.xml new file mode 100644 index 0000000..3d94fa3 Binary files /dev/null and b/res/drawable-og/ic_controller_calibrate_button.xml differ diff --git a/res/drawable-og/ic_controller_circle_button.xml b/res/drawable-og/ic_controller_circle_button.xml new file mode 100644 index 0000000..13d0090 Binary files /dev/null and b/res/drawable-og/ic_controller_circle_button.xml differ diff --git a/res/drawable-og/ic_controller_cross_button.xml b/res/drawable-og/ic_controller_cross_button.xml new file mode 100644 index 0000000..e5db1cb Binary files /dev/null and b/res/drawable-og/ic_controller_cross_button.xml differ diff --git a/res/drawable-og/ic_controller_down_button.xml b/res/drawable-og/ic_controller_down_button.xml new file mode 100644 index 0000000..f84a7b1 Binary files /dev/null and b/res/drawable-og/ic_controller_down_button.xml differ diff --git a/res/drawable-og/ic_controller_l1_button.xml b/res/drawable-og/ic_controller_l1_button.xml new file mode 100644 index 0000000..0ca9507 Binary files /dev/null and b/res/drawable-og/ic_controller_l1_button.xml differ diff --git a/res/drawable-og/ic_controller_l2_button.xml b/res/drawable-og/ic_controller_l2_button.xml new file mode 100644 index 0000000..ab7a69c Binary files /dev/null and b/res/drawable-og/ic_controller_l2_button.xml differ diff --git a/res/drawable-og/ic_controller_l3_button.xml b/res/drawable-og/ic_controller_l3_button.xml new file mode 100644 index 0000000..65ee91b Binary files /dev/null and b/res/drawable-og/ic_controller_l3_button.xml differ diff --git a/res/drawable-og/ic_controller_left_button.xml b/res/drawable-og/ic_controller_left_button.xml new file mode 100644 index 0000000..3fe7237 Binary files /dev/null and b/res/drawable-og/ic_controller_left_button.xml differ diff --git a/res/drawable-og/ic_controller_m1_button.xml b/res/drawable-og/ic_controller_m1_button.xml new file mode 100644 index 0000000..311a517 Binary files /dev/null and b/res/drawable-og/ic_controller_m1_button.xml differ diff --git a/res/drawable-og/ic_controller_m2_button.xml b/res/drawable-og/ic_controller_m2_button.xml new file mode 100644 index 0000000..0b986f7 Binary files /dev/null and b/res/drawable-og/ic_controller_m2_button.xml differ diff --git a/res/drawable-og/ic_controller_m3_button.xml b/res/drawable-og/ic_controller_m3_button.xml new file mode 100644 index 0000000..13b9a49 Binary files /dev/null and b/res/drawable-og/ic_controller_m3_button.xml differ diff --git a/res/drawable-og/ic_controller_m4_button.xml b/res/drawable-og/ic_controller_m4_button.xml new file mode 100644 index 0000000..bf8393e Binary files /dev/null and b/res/drawable-og/ic_controller_m4_button.xml differ diff --git a/res/drawable-og/ic_controller_pause_button.xml b/res/drawable-og/ic_controller_pause_button.xml new file mode 100644 index 0000000..2fd2690 Binary files /dev/null and b/res/drawable-og/ic_controller_pause_button.xml differ diff --git a/res/drawable-og/ic_controller_pressure_modifier.xml b/res/drawable-og/ic_controller_pressure_modifier.xml new file mode 100644 index 0000000..11b18bb Binary files /dev/null and b/res/drawable-og/ic_controller_pressure_modifier.xml differ diff --git a/res/drawable-og/ic_controller_quick_load_button.xml b/res/drawable-og/ic_controller_quick_load_button.xml new file mode 100644 index 0000000..5c15b25 Binary files /dev/null and b/res/drawable-og/ic_controller_quick_load_button.xml differ diff --git a/res/drawable-og/ic_controller_quick_save_button.xml b/res/drawable-og/ic_controller_quick_save_button.xml new file mode 100644 index 0000000..35b2da7 Binary files /dev/null and b/res/drawable-og/ic_controller_quick_save_button.xml differ diff --git a/res/drawable-og/ic_controller_r1_button.xml b/res/drawable-og/ic_controller_r1_button.xml new file mode 100644 index 0000000..49ef18b Binary files /dev/null and b/res/drawable-og/ic_controller_r1_button.xml differ diff --git a/res/drawable-og/ic_controller_r2_button.xml b/res/drawable-og/ic_controller_r2_button.xml new file mode 100644 index 0000000..500e13e Binary files /dev/null and b/res/drawable-og/ic_controller_r2_button.xml differ diff --git a/res/drawable-og/ic_controller_r3_button.xml b/res/drawable-og/ic_controller_r3_button.xml new file mode 100644 index 0000000..9b7d62c Binary files /dev/null and b/res/drawable-og/ic_controller_r3_button.xml differ diff --git a/res/drawable-og/ic_controller_right_button.xml b/res/drawable-og/ic_controller_right_button.xml new file mode 100644 index 0000000..84e9713 Binary files /dev/null and b/res/drawable-og/ic_controller_right_button.xml differ diff --git a/res/drawable-og/ic_controller_select_button.xml b/res/drawable-og/ic_controller_select_button.xml new file mode 100644 index 0000000..c0d0c87 Binary files /dev/null and b/res/drawable-og/ic_controller_select_button.xml differ diff --git a/res/drawable-og/ic_controller_square_button.xml b/res/drawable-og/ic_controller_square_button.xml new file mode 100644 index 0000000..cedcbea Binary files /dev/null and b/res/drawable-og/ic_controller_square_button.xml differ diff --git a/res/drawable-og/ic_controller_start_button.xml b/res/drawable-og/ic_controller_start_button.xml new file mode 100644 index 0000000..761d664 Binary files /dev/null and b/res/drawable-og/ic_controller_start_button.xml differ diff --git a/res/drawable-og/ic_controller_toggle_slowmo.xml b/res/drawable-og/ic_controller_toggle_slowmo.xml new file mode 100644 index 0000000..894515a Binary files /dev/null and b/res/drawable-og/ic_controller_toggle_slowmo.xml differ diff --git a/res/drawable-og/ic_controller_toggle_speed_limit.xml b/res/drawable-og/ic_controller_toggle_speed_limit.xml new file mode 100644 index 0000000..8e3f04d Binary files /dev/null and b/res/drawable-og/ic_controller_toggle_speed_limit.xml differ diff --git a/res/drawable-og/ic_controller_toggle_turbo.xml b/res/drawable-og/ic_controller_toggle_turbo.xml new file mode 100644 index 0000000..b7163bc Binary files /dev/null and b/res/drawable-og/ic_controller_toggle_turbo.xml differ diff --git a/res/drawable-og/ic_controller_triangle_button.xml b/res/drawable-og/ic_controller_triangle_button.xml new file mode 100644 index 0000000..0fa36ff Binary files /dev/null and b/res/drawable-og/ic_controller_triangle_button.xml differ diff --git a/res/drawable-og/ic_controller_up_button.xml b/res/drawable-og/ic_controller_up_button.xml new file mode 100644 index 0000000..6875c40 Binary files /dev/null and b/res/drawable-og/ic_controller_up_button.xml differ diff --git a/res/drawable/ic_controller_analog_base.png b/res/drawable/ic_controller_analog_base.png new file mode 100644 index 0000000..98a5496 Binary files /dev/null and b/res/drawable/ic_controller_analog_base.png differ diff --git a/res/drawable/ic_controller_analog_button.png b/res/drawable/ic_controller_analog_button.png new file mode 100644 index 0000000..60bcf74 Binary files /dev/null and b/res/drawable/ic_controller_analog_button.png differ diff --git a/res/drawable/ic_controller_analog_stick.png b/res/drawable/ic_controller_analog_stick.png new file mode 100644 index 0000000..22c1e08 Binary files /dev/null and b/res/drawable/ic_controller_analog_stick.png differ diff --git a/res/drawable/ic_controller_circle_button.png b/res/drawable/ic_controller_circle_button.png new file mode 100644 index 0000000..6e5e4c8 Binary files /dev/null and b/res/drawable/ic_controller_circle_button.png differ diff --git a/res/drawable/ic_controller_cross_button.png b/res/drawable/ic_controller_cross_button.png new file mode 100644 index 0000000..fb37ffd Binary files /dev/null and b/res/drawable/ic_controller_cross_button.png differ diff --git a/res/drawable/ic_controller_down_button.png b/res/drawable/ic_controller_down_button.png new file mode 100644 index 0000000..bafefd3 Binary files /dev/null and b/res/drawable/ic_controller_down_button.png differ diff --git a/res/drawable/ic_controller_l1_button.png b/res/drawable/ic_controller_l1_button.png new file mode 100644 index 0000000..3dcae1d Binary files /dev/null and b/res/drawable/ic_controller_l1_button.png differ diff --git a/res/drawable/ic_controller_l2_button.png b/res/drawable/ic_controller_l2_button.png new file mode 100644 index 0000000..5778a2c Binary files /dev/null and b/res/drawable/ic_controller_l2_button.png differ diff --git a/res/drawable/ic_controller_l3_button.png b/res/drawable/ic_controller_l3_button.png new file mode 100644 index 0000000..f88ccd4 Binary files /dev/null and b/res/drawable/ic_controller_l3_button.png differ diff --git a/res/drawable/ic_controller_left_button.png b/res/drawable/ic_controller_left_button.png new file mode 100644 index 0000000..49ebf46 Binary files /dev/null and b/res/drawable/ic_controller_left_button.png differ diff --git a/res/drawable/ic_controller_m1_button.png b/res/drawable/ic_controller_m1_button.png new file mode 100644 index 0000000..858f702 Binary files /dev/null and b/res/drawable/ic_controller_m1_button.png differ diff --git a/res/drawable/ic_controller_m2_button.png b/res/drawable/ic_controller_m2_button.png new file mode 100644 index 0000000..89c8906 Binary files /dev/null and b/res/drawable/ic_controller_m2_button.png differ diff --git a/res/drawable/ic_controller_m3_button.png b/res/drawable/ic_controller_m3_button.png new file mode 100644 index 0000000..3faef5a Binary files /dev/null and b/res/drawable/ic_controller_m3_button.png differ diff --git a/res/drawable/ic_controller_m4_button.png b/res/drawable/ic_controller_m4_button.png new file mode 100644 index 0000000..f59774a Binary files /dev/null and b/res/drawable/ic_controller_m4_button.png differ diff --git a/res/drawable/ic_controller_r1_button.png b/res/drawable/ic_controller_r1_button.png new file mode 100644 index 0000000..b523073 Binary files /dev/null and b/res/drawable/ic_controller_r1_button.png differ diff --git a/res/drawable/ic_controller_r2_button.png b/res/drawable/ic_controller_r2_button.png new file mode 100644 index 0000000..d0d23d5 Binary files /dev/null and b/res/drawable/ic_controller_r2_button.png differ diff --git a/res/drawable/ic_controller_r3_button.png b/res/drawable/ic_controller_r3_button.png new file mode 100644 index 0000000..c38e9e0 Binary files /dev/null and b/res/drawable/ic_controller_r3_button.png differ diff --git a/res/drawable/ic_controller_right_button.png b/res/drawable/ic_controller_right_button.png new file mode 100644 index 0000000..0f4458e Binary files /dev/null and b/res/drawable/ic_controller_right_button.png differ diff --git a/res/drawable/ic_controller_select_button.png b/res/drawable/ic_controller_select_button.png new file mode 100644 index 0000000..537864a Binary files /dev/null and b/res/drawable/ic_controller_select_button.png differ diff --git a/res/drawable/ic_controller_square_button.png b/res/drawable/ic_controller_square_button.png new file mode 100644 index 0000000..069109b Binary files /dev/null and b/res/drawable/ic_controller_square_button.png differ diff --git a/res/drawable/ic_controller_start_button.png b/res/drawable/ic_controller_start_button.png new file mode 100644 index 0000000..8c2c339 Binary files /dev/null and b/res/drawable/ic_controller_start_button.png differ diff --git a/res/drawable/ic_controller_triangle_button.png b/res/drawable/ic_controller_triangle_button.png new file mode 100644 index 0000000..10c2244 Binary files /dev/null and b/res/drawable/ic_controller_triangle_button.png differ diff --git a/res/drawable/ic_controller_up_button.png b/res/drawable/ic_controller_up_button.png new file mode 100644 index 0000000..765754d Binary files /dev/null and b/res/drawable/ic_controller_up_button.png differ diff --git a/theme/lib/android.jks b/theme/lib/android.jks deleted file mode 100644 index 3900cfb..0000000 Binary files a/theme/lib/android.jks and /dev/null differ diff --git a/theme/lib/apksigner.jar b/theme/lib/apksigner.jar deleted file mode 100644 index f4adcff..0000000 Binary files a/theme/lib/apksigner.jar and /dev/null differ diff --git a/theme/lib/apktool.jar b/theme/lib/apktool.jar deleted file mode 100644 index af01503..0000000 Binary files a/theme/lib/apktool.jar and /dev/null differ diff --git a/theme/lib/cmdcolor.exe b/theme/lib/cmdcolor.exe deleted file mode 100644 index 36ea380..0000000 Binary files a/theme/lib/cmdcolor.exe and /dev/null differ diff --git a/theme/lib/md5sum.exe b/theme/lib/md5sum.exe deleted file mode 100644 index b742ac2..0000000 Binary files a/theme/lib/md5sum.exe and /dev/null differ diff --git a/theme/lib/public.jks b/theme/lib/public.jks deleted file mode 100644 index 885840c..0000000 Binary files a/theme/lib/public.jks and /dev/null differ diff --git a/theme/lib/zipalign.exe b/theme/lib/zipalign.exe deleted file mode 100644 index 6715b38..0000000 Binary files a/theme/lib/zipalign.exe and /dev/null differ diff --git a/theme/res/drawable/ic_controller_down_button.png b/theme/res/drawable/ic_controller_down_button.png index 71ae12a..bafefd3 100644 Binary files a/theme/res/drawable/ic_controller_down_button.png and b/theme/res/drawable/ic_controller_down_button.png differ diff --git a/theme/res/drawable/ic_controller_left_button.png b/theme/res/drawable/ic_controller_left_button.png index 890aa7d..49ebf46 100644 Binary files a/theme/res/drawable/ic_controller_left_button.png and b/theme/res/drawable/ic_controller_left_button.png differ diff --git a/theme/res/drawable/ic_controller_right_button.png b/theme/res/drawable/ic_controller_right_button.png index 6189841..0f4458e 100644 Binary files a/theme/res/drawable/ic_controller_right_button.png and b/theme/res/drawable/ic_controller_right_button.png differ diff --git a/theme/res/drawable/ic_controller_up_button.png b/theme/res/drawable/ic_controller_up_button.png index 1053d30..765754d 100644 Binary files a/theme/res/drawable/ic_controller_up_button.png and b/theme/res/drawable/ic_controller_up_button.png differ diff --git a/theme/theme-apply.bat b/theme/theme-apply.bat index 1a87800..16b804e 100644 --- a/theme/theme-apply.bat +++ b/theme/theme-apply.bat @@ -16,7 +16,7 @@ for /f %%f in ('""lib\md5sum.exe" "15210-v1.5-4248-noads.apk""') do ( ) :: Adds UI Theme to APK - nul lib\aapt a 15210-v1.5-4248-noads.apk res/drawable/%%~nxi > nul diff --git a/update-files.bat b/update-files.bat index 684b918..5450cdf 100644 --- a/update-files.bat +++ b/update-files.bat @@ -1,4 +1,5 @@ @echo off +Title NetherSX2 Updater :: Allows for Terminal Colors to be used set col=lib\cmdcolor.exe set md5hash=c98b0e4152d3b02fbfb9f62581abada5 @@ -8,6 +9,10 @@ echo \033[91m======================== | %col% echo \033[91m NetherSX2 Updater v1.7 | %col% echo \033[91m======================== | %col% +:: Makes sure Java is installed and in the PATH +java >nul 2>&1 +if %errorlevel%==9009 goto nojava + :: Check if the NetherSX2 APK exists and if it's named correctly if not exist 15210-v1.5-4248-noads.apk goto nofile :: Check if the NetherSX2 APK isn't just a renamed AetherSX2 4248 APK @@ -18,25 +23,25 @@ for /f %%f in ('""lib\md5sum.exe" "15210-v1.5-4248-noads.apk""') do ( :: Updates to Latest GameDB with features removed that are not supported by the libemucore.so from March 13th nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/GameIndex.yaml >nul echo \033[92m[Done] | %col% :: Updates the Controller Database nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/game_controller_db.txt >nul echo \033[92m[Done] | %col% :: Updates the Widescreen Patches nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/cheats_ws.zip >nul echo \033[92m[Done] | %col% :: Updates the No-Interlacing Patches nul +lib\aapt a 15210-v1.5-4248-noads.apk assets/cheats_ni.zip >nul echo \033[92m[Done] | %col% :: Resigns the APK before exiting @@ -48,8 +53,13 @@ echo \033[92m[Done] | %col% goto end :nofile -echo \033[31mError: No APK found or wrong one provided! | %col% -echo \033[31mPlease provide a copy of NetherSX2 named 15210-v1.5-4248-noads.apk! | %col% +echo \033[91mError: No APK found or wrong one provided! | %col% +echo \033[91mPlease provide a copy of NetherSX2 named 15210-v1.5-4248-noads.apk! | %col% +goto end + +:nojava +echo \033[91mError: The Java Development Kit is not installed or a restart required! | %col% +echo \033[91mPlease download and install the JDK from https://www.oracle.com/java/technologies/downloads/#jdk21-windows | %col% goto end :end