Homebrew RELEASE NX-Update-Checker

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,348
Country
United States


NX-Update-Checker
Current Version: v1.5.3


What does it do?

This app when provided a versions.txt from the nx-versions Repository will compare the current installed versions of your titles against the latest versions known in the versionlist.
Both printing out on-screen any newer versions found to be available and also saving them to a text file at sdmc:/Available-Updates.txt.




What's the point?

I made this app with the intent of helping folks that prefer to keep their Nintendo Switch offline at all times or disconnected from Nintendo's servers, that would like to have a means of keeping track of available updates.
With this app anyone that remains in airplane mode or similar offline status will be able to produce a full list of the most recent updates for installed titles without connecting to Nintendo's servers or searching for updates one-by-one.


Screenshots

parsing-loc.jpg parsing-ext.jpg done.jpg output.png



Usage:
  • In case of no internet connection, grab the latest versions.txt available from the nx-versions Repository, and save it in the same directory as NX-Update-Checker.nro
  • Run the nro with your favorite variation of the HBMenu
  • Watch the pretty text move across the screen
  • Profit(?)



Kudos:
blawar - titledb
simontime - VersionListBot
aedalzotto - Initial downloading code



Source & Download:
Source: https://github.com/16BitWonder/NX-Update-Checker

Download: https://github.com/16BitWonder/NX-Update-Checker/releases/latest
 
Last edited by 8BitWonder,

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,348
Country
United States
Very helpful tool. Would be nice if you could see the number of the update (e.g. 1.0.1).
I considered this when making it.

I'd be be able to display the currently installed version-string, but the newer version-strings aren't included in the versionlists produced by ReSwitched, so you wouldn't be able to compare it against anything.

There's no harm in adding it though, when I have free time I'll get it to print local version-strings too.
 
  • Like
Reactions: pLaYeR^^

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,348
Country
United States
There's no harm in adding it though, when I have free time I'll get it to print local version-strings too.
So I know when I get around to doing this, which of these would be preferable?

Name of Title [version-string][0010XXXXXXXXX000][version] -> [new version]

or

Name of Title [0010XXXXXXXXX000][version-string][version] -> [new version]
 
Last edited by 8BitWonder,

Syco54645

Member
Newcomer
Joined
Apr 19, 2019
Messages
21
Trophies
0
Age
123
XP
182
Country
United States
I vote for the second method

--------------------- MERGED ---------------------------

So I know when I get around to doing this, which of these would be preferable?

Name of Title [version-string][0010XXXXXXXXX000][version] -> [new version]

or

Name of Title [0010XXXXXXXXX000][version-string][version] -> [new version]

I vote for the second method.
 

mathew77

Lovin' life.
Member
Joined
Jan 19, 2019
Messages
1,184
Trophies
0
Age
47
XP
3,673
Country
Kazakhstan
Thank you very much!..

@8BitWonder
Can I please add a lil' one request? Is there a way for NX-Update-Checker parse a «*versionlist*.json» file, cause reswitched publics their db named in a scheme like abc_versionlist_-_0123456789.json, and we could also may better navigate through the many updates of the database files?

Sorry if I disturbing you.
 
Last edited by mathew77,

satelman

Well-Known Member
Member
Joined
Feb 20, 2016
Messages
266
Trophies
0
XP
1,525
Country
United States
Hi,

I joined the Reswitched Discord server, but I cannot see the #versionlist-updates channel, only the #newcomers channel. How can I get the versionlist.json file, then? Any alternative sites?
 
  • Like
Reactions: czerwinski76

satelman

Well-Known Member
Member
Joined
Feb 20, 2016
Messages
266
Trophies
0
XP
1,525
Country
United States
I think you didn't read their Rules. Please do it, fully.

Well, I did. Why has this to be so cryptic and user-unfriendly? You need a hex digest of your nick and discriminator, but even then it still does not accept it. What am I doing wrong? Can somebody please actually help?

--------------------- MERGED ---------------------------

Ok, I got it right this time. Thank you for not helping at all.
 
Last edited by satelman,
  • Like
Reactions: czerwinski76

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,274
Country
Chile
It could be useful for people that keep their Switch online and want to keep games up-to-date. In this case the app would verify online for changes without need to use discord.
 

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,348
Country
United States
Can I please add a lil' one request? Is there a way for NX-Update-Checker parse a «*versionlist*.json» file, cause reswitched publics their db named in a scheme like abc_versionlist_-_0123456789.json
I'll look into this when I find more free-time.
Admittedly, renaming it to versionlist.json is a dumb extra step that shouldn't be necessary.

and we could also may better navigate through the many updates of the database files?
I'm not sure I understand this request.
Are you wanting to individually look at each title found that has an update available or just make parsing the versionlist faster?
 
Last edited by 8BitWonder,

evertonstz

Well-Known Member
Member
Joined
Jan 5, 2019
Messages
209
Trophies
0
Age
29
XP
557
Country
Brazil
NOW THAT'S HELPFUL!
You know what would be very nice to have? Instead of delivering the updates only in the txt file, it would be very nice to receive it in a push notification in phone apps Pushover, Pushbullet, Gotify and others! I've never worket with Pushbullet myself, but Pushover's api is pretty simple: https://pushover.net/api
 

falcorr

Well-Known Member
Member
Joined
Sep 26, 2019
Messages
139
Trophies
0
XP
746
Country
Australia
Would be good if the generated 'available updates' text file recorded the date it was created. In the file, not in the filename (so it's continually overwritten). And if possible, I'd much prefer to see the available update's normal format, i.e. v1.2.3

Also, has anyone got the versionlist.json auto-updating?
 
Last edited by falcorr,

8BitWonder

Small Homebrew Dev
OP
Member
Joined
Jan 23, 2016
Messages
2,489
Trophies
1
Location
47 4F 54 20 45 45 4D
XP
5,348
Country
United States
Would be good if the generated 'available updates' text file recorded the date it was created. In the file, not in the filename (so it's continually overwritten).
I'll add that to the to-do list on this, I'll work on getting changes implemented next week.


And if possible, I'd much prefer to see the available update's normal format, i.e. v1.2.3
The latest nro will output the locally installed version string next to the version number.
e.g. "Game Title [TitleID][VersionString][VersionNumber]"

However, the jsons used for this don't supply the available update's version string, so I can't print those out unfortunately.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan
    The snack that smiles back, Ballsack!
    BakerMan @ BakerMan: morning fellas, it's my birthday