about summary refs log tree commit diff stats
path: root/database.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Handled games with no imagesKelly Rauchenberger2018-03-021-0/+41
| | | | For games where no images could be downloaded from Steam, which happens if a game has been removed from the store, the bot will now use a default background. This image is copyright Nintendo.
* Added overlay shadow, achievement title wrapping, and dateKelly Rauchenberger2018-03-021-0/+54
| | | | The canonical title font is Roboto Bold and the date font is Roboto Medium.
* Renamed "moon image" to colorKelly Rauchenberger2018-03-011-2/+2
| | | | Also moved color sprites to a resources directory.
* Redesigned persistent data formtaKelly Rauchenberger2018-03-011-0/+122
This is the start of a project to add imagery to the bot's output. We began by rewriting the scraper to use a SQLite datafile instead of dumping achievement names to a text file. This allows storage of additional information about each achievement, and allows for more sophisticated scraping. Profiles to be scraped can be added on the command line using the scraper script, instead of being specified in a config file. The scraper can conduct full or delta scrapes; in a delta scrape, only each profile's recent games are scraped, whereas they are all scraped in a full scrape. When a game is scraped for the first time, images from the store page of that game are saved locally to be used by the bot. The bot has been altered to not use Twitter, and instead generate a pixelated image based on an image from the game of the chosen achievement. This is just for development purposes. It also crashes occasionally due to picking an achievement from a game that does not have any images saved. Sprites of the moons from Odyssey have been included in the repository. A short message denoting their copyright is included.