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
81 stars 5 forks source link

set up alternetive to Tinfoil titles.json url #57

Open Golumpa opened 3 months ago

Golumpa commented 3 months ago

So it would seem tinfoil no longer serves the titles.json file anymore as the following url now gives a 404 https://tinfoil.media/repo/db/titles.json

As the US.en.json file is not sufficient for SLM you could use ownfoil's build (or add your own in github workers region_titles.yml) and download a pre-built titles file utilizing cloudzip/partialzip and https://nightly.link/a1ex4/ownfoil/workflows/region_titles/master/titledb.zip

cloudzip or partialzip is a cool little tool to let you download individual files from a ZIP instead of the whole thing. eg. a 100MB titles file and not the other 1GB+ of the other titles

here is an example how ownfoil implemented this (in python but same sort of logic) https://github.com/a1ex4/ownfoil/blob/master/app/titledb.py

trembon commented 3 months ago

hopefully its just temporary, but will try to look into it if it doesnt come back soon

trembon commented 3 months ago

seems like the tinfoil url is back online, but this can be a good improvement to keep all the data together with the app, so i am marking this as an enhancement