From ec7e83cd067740a1e30285164e88136a8f81b224 Mon Sep 17 00:00:00 2001 From: julesontheroad <42461174+julesontheroad@users.noreply.github.com> Date: Mon, 3 Jun 2019 01:28:03 +0200 Subject: [PATCH 1/4] Update info.bat --- py/ztools/info.bat | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/py/ztools/info.bat b/py/ztools/info.bat index 17d1ef79..fba562bf 100644 --- a/py/ztools/info.bat +++ b/py/ztools/info.bat @@ -15,6 +15,7 @@ set "targt=%bs%" for /f "delims=" %%a in ("%bs%") do set "Extension=%%~xa" for /f "delims=" %%a in ("%bs%") do set "Name=%%~na" if "%Extension%" EQU ".nsp" ( goto sc2 ) +if "%Extension%" EQU ".nsx" ( goto sc2 ) if "%Extension%" EQU ".xci" ( goto sc2 ) echo WRONG TYPE OF FILE pause @@ -119,11 +120,6 @@ set "i_file=%info_dir%\%Name%_ID_content.txt" ECHO DONE goto sc2 - - - - - :n_info cls call :logo @@ -220,19 +216,8 @@ echo VERIFY A NSP\XCI\NCA echo ******************************************************** %pycommand% "%nut%" -b %buffer% -o "%info_dir%" -v "%targt%" -rem echo. -rem ECHO ******************************************************** -rem echo Do you want to print the information to a text file? -rem ECHO ******************************************************** -rem :r_cnmt_wrong -rem echo Input "1" to print to text file -rem echo Input "2" to NOT print to text file -rem echo. -rem set /p bs="Enter your choice: " -rem if /i "%bs%"=="1" goto r_cnmt_print goto sc2 -rem echo WRONG CHOICE -rem echo. + goto r_cnmt_wrong :r_cnmt_print if not exist "%info_dir%" MD "%info_dir%">NUL 2>&1 From 58e3f629a7823527257dc24b209be52db1741917 Mon Sep 17 00:00:00 2001 From: julesontheroad <42461174+julesontheroad@users.noreply.github.com> Date: Wed, 5 Jun 2019 00:44:11 +0200 Subject: [PATCH 2/4] Fixes issue with some versions not be detected as higher than old versions For some reason is needed to force the value to integer again for detection to work correctly --- py/ztools/squirrel.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/py/ztools/squirrel.py b/py/ztools/squirrel.py index 3357a8be..810a5b15 100644 --- a/py/ztools/squirrel.py +++ b/py/ztools/squirrel.py @@ -3017,13 +3017,13 @@ #print('true') #print(contentlist[j][6]) #print(prlist[i][6]) - if contentlist[j][6] > prlist[i][6]: + if int(contentlist[j][6]) > int(prlist[i][6]): del prlist[i] #print(prlist[i]) prlist.append(contentlist[j]) notinlist=False break - elif contentlist[j][6] <= prlist[i][6]: + elif int(contentlist[j][6]) <= int(prlist[i][6]): notinlist=False break else: @@ -3061,13 +3061,13 @@ #print('true') #print(contentlist[j][6]) #print(prlist[i][6]) - if contentlist[j][6] > prlist[i][6]: + if int(contentlist[j][6]) > int(prlist[i][6]): del prlist[i] #print(prlist[i]) prlist.append(contentlist[j]) notinlist=False break - elif contentlist[j][6] <= prlist[i][6]: + elif int(contentlist[j][6]) <= int(prlist[i][6]): notinlist=False break else: From b1b37cd1092f3be28cf61d3373912ef00b21d917 Mon Sep 17 00:00:00 2001 From: julesontheroad <42461174+julesontheroad@users.noreply.github.com> Date: Wed, 5 Jun 2019 00:48:45 +0200 Subject: [PATCH 3/4] Update NSCB.bat --- py/NSCB.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/py/NSCB.bat b/py/NSCB.bat index 774b15b4..43cdda9a 100644 --- a/py/NSCB.bat +++ b/py/NSCB.bat @@ -3,7 +3,7 @@ set "prog_dir=%~dp0" set "bat_name=%~n0" set "ofile_name=%bat_name%_options.cmd" -Title NSC_Builder v0.86. -- Profile: %ofile_name% -- by JulesOnTheRoad +Title NSC_Builder v0.86.c -- Profile: %ofile_name% -- by JulesOnTheRoad set "list_folder=%prog_dir%lists" ::----------------------------------------------------- ::EDIT THIS VARIABLE TO LINK OTHER OPTION FILE From 132ae0f6415288bc0835b75514bac2c1d7d1ebf6 Mon Sep 17 00:00:00 2001 From: julesontheroad <42461174+julesontheroad@users.noreply.github.com> Date: Wed, 5 Jun 2019 00:52:00 +0200 Subject: [PATCH 4/4] Update English CHANGELOG.txt --- py/English CHANGELOG.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/py/English CHANGELOG.txt b/py/English CHANGELOG.txt index 45e4ce38..9e33d02f 100644 --- a/py/English CHANGELOG.txt +++ b/py/English CHANGELOG.txt @@ -21,6 +21,10 @@ Luca Fraga's github: https://github.com/LucaFraga --------------- 0. Changelog --------------- +v0.86c- Fixes issue when new updates were detected as smaller versions than new updates + - For some reason it's value needed to be forced as integer again for detection to + work properly on some cases. +v0.86b- Quick fix for weird false possitive in ticket check v0.86- File Verification: - Adds file verification system accesible in info and individual modes * Verification has 3 modes\levels: