Extras icon indicating copy to clipboard operation
Extras copied to clipboard

[Request] Logitech Onboard Memory Manager

Open kris3713 opened this issue 3 years ago • 14 comments
trafficstars

Package Request

Criteria

For a package to be acceptable in the Extras bucket, it should be:

  • [x] a well-known and widely used tool (e.g. if it's a GitHub project, it should have at least 100 stars and 50 forks)
  • [x] the latest stable version of the program

Information

Name: [name of new package] logitech-omm

Description: [clear and concise details of what it is] OnBoard Memory Manager (OMM) is a utility for pro gamers to quickly view, customize, and fine-tune the onboard memory of a compatible Logitech G mouse.

Homepage: [a URL/link] https://support.logi.com/hc/en-ca/articles/360059641133

Download link(s): [URL(s)/link(s)] https://download01.logi.com/web/ftp/pub/techsupport/gaming/Onboard%20Memory%20Manager.exe

Some indication of popularity/repute: [GitHub stars/software reviews etc.] https://www.reddit.com/r/LogitechG/comments/k4nvm4/new_logitech_onboard_memory_manager/ https://www.youtube.com/watch?v=a9WJFEnUOLc https://nitter.dark.fail/onscreenlol/status/1432321731113410560?lang=en https://nitter.42l.fr/kurtextrem/status/1334067955466964992

kris3713 avatar Sep 03 '22 21:09 kris3713

Problem is, I don't believe there is a way to make a checkver for this, I made a very simple manifest for it a while back, but since logi's site completely requires js, and the installer is actually not accessible on the ftp server without a direct link, I'm at a loss.

I can PR this if you'd like @KrisSchneider, however, it doesn't do a whole lot because of this unfortunately, if anyone knows some crazy way to fetch the checkver lmk.

brian6932 avatar Sep 05 '22 10:09 brian6932

Can it work without "checkver"? Is "checkver" really that important?

kris3713 avatar Sep 05 '22 16:09 kris3713

I mean it will not auto update, you would have to manually update it @KrisSchneider It very much works, however, it's not super useful imo 🤷 If someone can find a way to checkver OMM, I am super down to open a PR

brian6932 avatar Sep 05 '22 16:09 brian6932

Oh, so that is why. I don't mind waiting for someone to make a "checkver" for the manifest. Also, I am asking Logitech customer support if the app “Onboard Memory Manager” is still being developed.

kris3713 avatar Sep 05 '22 16:09 kris3713

A Logitech agent confirmed it will continue to be developed/supported by Logitech as long as there are people using it. image_1

kris3713 avatar Sep 05 '22 17:09 kris3713

Should I close this issue or should I keep it open?

kris3713 avatar Sep 07 '22 00:09 kris3713

I'd keep it open, it's not resolved, maybe someone can figure out a way to checkver it or ask logitech to allow some type of way to do it, like openly hosting the files on their ftp server 🤷

brian6932 avatar Sep 07 '22 00:09 brian6932

I just got back with Logitech Support. I asked them if redistributing of software is allowed, and they said yes. (%pn)-W1r5t4_09-06-2022

kris3713 avatar Sep 07 '22 02:09 kris3713

I believe someone can upload a copy of the .exe file to this repository, https://github.com/ScoopInstaller/Binary. Would this solve the "checkver" problem? @brian6932

kris3713 avatar Sep 07 '22 02:09 kris3713

No, that is a manual action, a checkver is used to check a version, and if the version is outdated, it will automatically update. The problem is, the Logitech site is all js driven, there is no html you can regex, or json you can filter to auto update. They have an ftp server, however, the ftp server does not actually include the OMM files. Basically, the version you see here you can't actually cross reference.

brian6932 avatar Sep 07 '22 02:09 brian6932

At best you could use a 3rd party site like this one, to run a checkver, although it really isn't ideal. It's better than what I have at least, so I'll use that for now [EDIT]: It's not usable, they don't have a generic URL, it has a version in every URL

brian6932 avatar Sep 07 '22 02:09 brian6932

Sorry for using your time. I will just stick to manually downloading it from the website using my firefox browser.

kris3713 avatar Sep 07 '22 02:09 kris3713

I hope that works. Also thank you, @brian6932 for tackling this sticky issue.

kris3713 avatar Sep 07 '22 21:09 kris3713

I think there might be an easier (?) way for checking the version of the tool.

The support article is loaded from this JSON: https://logitech.zendesk.com/api/v2/help_center/de/articles/6449584392215.json The article itself is in the articles[0].body value, in HTML form, in which the current version, last update date and other things can be found. This way might be better, because you don't have to download the executable to check the version, you just need to obtain the JSON.

What do you think?

mpeter50 avatar Oct 17 '22 17:10 mpeter50

Holy shit. Thank you, @mpeter50. This will help a lot.

EDIT: Also, how did you manage to find the link to this JSON file on Logitech's website?

kris3713 avatar Oct 17 '22 20:10 kris3713

CC @brian6932

kris3713 avatar Oct 17 '22 20:10 kris3713

EDIT: Also, how did you manage to find the link to this JSON file on Logitech's website?

I've opened a new tab in Firefox, opened the developer tools, and switched to the Network tab, so that it starts capturing network traffic. Then I've loaded this page, where the tool can be downloaded: https://support.logi.com/hc/en-us/articles/6449584392215-Onboard-Memory-Manager When loading finished, I did a search in the captured traffic for part of the version number seen on the page:

image

Only part of it is important, because - even though this is not the case now - different components of the version number might be stored separately sometimes, for example in separate values of a JSON object.

Then I've gone through the results. The first one is in the page HTML - weird, I don't think this result was here a few hours ago. The second one is in the mentioned JSON. I've copied the response body to clipboard, inserted it into a JSOn formatter program I use, and searching again for the same part of the version number revealed where is the version number stored.

image

mpeter50 avatar Oct 17 '22 21:10 mpeter50

Thank you for sharing this mini-guide, this will be very helpful in the future.

kris3713 avatar Oct 17 '22 23:10 kris3713