List of technical informations on Open Source games

Re: List of technical informations on Open Source games

Postby Trilarion » 31 Jan 2022, 20:02

bzt {l Wrote}:That shouldn't be an issue at all, because my scripts checks for the existing screenshots, and only downloads the missing ones.
However my biggest issue was figuring out the internal id of the games, the one that you're using for the filenames. Any suggestions on how to get those easily?


Unfortunately it was an issue and will be an issue for all future updates because you found URLs that were different from mine but nevertheless showed the same picture. Unless we check for similar content, this will require manually checking existing and new screenshots all the time, but of course is no problem for games that have no screenshot yet (and there are still a lot of them there).

As for the internal short name which is used for the file names. It's used for example as anchors on the pages, i.e. use https://trilarion.github.io/opensourceg ... index.html then navigate to a letter, then navigate to a game, the anchor is the part after # and is also the short name of the game for example H-Craft Championship would result in https://trilarion.github.io/opensourceg ... ampionship and the short name would be h-craft_championship. Or even more simply click on "raw entry" on the right side below each entry. The short name is the last part of the URL there. This is the recommended method.

Just for your information, the rules for deriving the name are in https://github.com/Trilarion/opensource ... osg.py#L41

Please tell me if that would work for you. Also I try to check here regularly, but open a Github issue additionally if you have more screenshots would be nice.
Trilarion
 
Posts: 17
Joined: 16 Mar 2018, 18:45

Who is online

Users browsing this forum: No registered users and 1 guest

cron