trembon / switch-library-manager

Complete solution to manage, organize and keep your local switch backup game library up to date . Cross platform, supports all game formats.
MIT License
79 stars 5 forks source link

Show both Update and Version on the Missing Updates tab #75

Open privateemu opened 3 weeks ago

privateemu commented 3 weeks ago

Updating this after having looked around a bit more in SLM.

I notice that in the Library, there is the Update and Version column, with values such as 131072 and 1.0.2 respectively. However in the Missing Updates tab, it only exposes the Local and Available version, both of which have values such as 1310720 and 1638400.

My request would be twofold:

  1. In Missing Updates, expose the Version number (e.g. 1.0.2) in a new column even if just for the local version to aid in determining what's missing or not. If the Available Version can also have that number, all the better, but I suspect that's not possible?
  2. Rename fields for consistency: In Library "Update" is the 131072 number and "Version" is the 1.0.2 number, while in Missing Updates it uses Local/Available Version for the 131072 numbers

Edit: Original below I'm not sure the actual terminology here, but in the Switch Library Manager, the updates are of the form 458752, 524288, 65536, etc... however often publicly they are listed as 1.0.2, v1.0.3.924, etc...

Is there anyway to show both or the option to show the latter? It can be difficult to tell the relationship between the two.

trembon commented 3 weeks ago

what i understand regarding the version numbers are that they are not always the same, and maybe up to the develops to set? because with how it works now is that the string ex "1.2.0" is fetch from the nsp/xci file and not the titles/version.json file as this information does not exist in these files.

so in the way SLM works with these values today, the version string "1.2.0" isnt available for the missing updates tab. if you can find a source that for example mean update 65536 is always equal "1.1.0" we can add a translation table for this, otherwise i would say it not possible currently

privateemu commented 3 weeks ago

That makes sense, and from my searching I couldn't find a database to cross list. However, for the Missing Updates, wouldn't it be possible to get the VERSION_TXT displayed in another column? I presume you're pulling the version from the local file and it should just be a variable in there to be pulled?

trembon commented 2 weeks ago

you mean to display the "old" version of the existing files? should be possible as it is displayed in the library tab

but will this solve anything? as both the local and new versions are being displayed in the missing updates tab, adding this value will just add something that is not comparable to anything, or i'm understanding this wrong?

privateemu commented 2 weeks ago

So, my use case is that I'll go to the MISSING UPDATES and see the number 1638400 for instance, and trying to determine if the update I'm downloading is that, as when I'm downloading it, I only see 1.3.0 or whatever. I realize I could go to the LIBRARY and see whatever the version is that's local, but by seeing it on the Missing Updates would help.

Here's a mockup of what I'm envisioning (just grabbed some of the update versions from the LIBRARY as random example, not real numbers)

image

For my sake, the above would make my life easier. But if this adds complexity/confusion, totally get it and don't want to try to ask for something that's just going to make it worse for everyone else.

I do see that a number of games, even with updates, have the Version in LIBRARY as blank, so I presume there's no direct 65336 = 1.0.2 (or something).

trembon commented 2 weeks ago

i understand, will see what a good solution can be for this, maybe just to add it with an option to hide it

privateemu commented 2 weeks ago

I appreciate it! Thank you! If it's too much, no worries. The tool is fantastically useful and it's great you're maintaining and improving it so much.