blawar / titledb_02112024

MIT License
171 stars 17 forks source link

DLC versions #11

Closed PHF42 closed 3 years ago

PHF42 commented 3 years ago

First of all, many thanks for this great project!

The file titles.US.en.json has been recently removed. Although the commit message suggests to switch to another file, I cannot find any other way to accurately check the latest version of DLCs:

Do I miss something? Any help would be really appreciated!

Thanks!

blawar commented 3 years ago

I just added versions.txt for you, this has the DLC versions in it.

blawar commented 3 years ago

you should use nut to generate the json file you are accustomed to. just run nut.py -s on a cron job, every 2 days it will auto download the latest language jsons then rebuild titledb/titles.json which is the same file as titles.US.en.json.

alternatively, you could clone the titledb repo into nut, do git pulls daily and then run "nut.py --import-region US --language en" to regenerate the titles.json.

titles.json flattens all of the language jsons into a single json. if you read US.en.json, you will only get US titles.

PHF42 commented 3 years ago

This is exactly what I needed, thanks a lot!

I use your data in custom bash & jq scripts, so it was super easy for me to adapt to the new format :wink:.

Will this new file be regularly updated like the other ones in the future?

blawar commented 3 years ago

This is exactly what I needed, thanks a lot!

I use your data in custom bash & jq scripts, so it was super easy for me to adapt to the new format 😉.

Will this new file be regularly updated like the other ones in the future?

That file is updated daily. Cronjob didn't run last night.