giwty / 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.
230 stars 43 forks source link

Update broken #98

Open sanselon opened 1 year ago

sanselon commented 1 year ago

Hello,

SLM does not update correctly anymore.

Thank you for your work

jampash1996 commented 1 year ago

This seems to be caused by blawar's titledb repo no longer having titles.US.en.json / titles.json

Masamune3210 commented 1 year ago

It is indeed, you can manually generate the needed file if you want, the instructions are in the titledb repo readme

mspykerez commented 1 year ago

Tinfoil.io has been stuck with the updates hence SLM is not updating properly because SLM updates by grabbing these 2 files from tinfoil.io and not directly from the repo: https://tinfoil.media/repo/db/versions.json https://tinfoil.media/repo/db/titles.json

titles.json seems ok versions.json on another hand is not. Try downloading versions.json directly from https://github.com/blawar/titledb/blob/master/versions.json and replace the one on the SLM folder with it.

Buzbee commented 1 year ago

I swapped the commented-out line below in the settings/settings.go file and rebuilt it. This is the only change I made and it seems to fix the version update issue for now. Windows MacOS and Linux binaries are included.

VERSIONS_JSON_URL = "https://tinfoil.media/repo/db/versions.json" //VERSIONS_JSON_URL = "https://raw.githubusercontent.com/blawar/titledb/master/versions.json"

is now

//VERSIONS_JSON_URL = "https://tinfoil.media/repo/db/versions.json" VERSIONS_JSON_URL = "https://raw.githubusercontent.com/blawar/titledb/master/versions.json"

I hope this is allowed. Total File size is 244MB. Max allowed file size here is only 25MB. https://1fichier.com/?pox2c6f7705i9qtbv2hd