From 473b327ceed3afb5e5683002b39fd9c1947cb25a Mon Sep 17 00:00:00 2001 From: Kelly Rauchenberger Date: Thu, 1 Mar 2018 16:03:16 -0500 Subject: Redesigned persistent data formta 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. --- moons/README.md | 1 + moons/blue.png | Bin 0 -> 37618 bytes moons/brown.png | Bin 0 -> 38150 bytes moons/cyan.png | Bin 0 -> 33139 bytes moons/green.png | Bin 0 -> 36760 bytes moons/orange.png | Bin 0 -> 36465 bytes moons/pink.png | Bin 0 -> 30838 bytes moons/purple.png | Bin 0 -> 32331 bytes moons/red.png | Bin 0 -> 37165 bytes moons/star.png | Bin 0 -> 27829 bytes moons/white.png | Bin 0 -> 29878 bytes moons/yellow.png | Bin 0 -> 32939 bytes 12 files changed, 1 insertion(+) create mode 100644 moons/README.md create mode 100644 moons/blue.png create mode 100644 moons/brown.png create mode 100644 moons/cyan.png create mode 100644 moons/green.png create mode 100644 moons/orange.png create mode 100644 moons/pink.png create mode 100644 moons/purple.png create mode 100644 moons/red.png create mode 100644 moons/star.png create mode 100644 moons/white.png create mode 100644 moons/yellow.png (limited to 'moons') diff --git a/moons/README.md b/moons/README.md new file mode 100644 index 0000000..876f0db --- /dev/null +++ b/moons/README.md @@ -0,0 +1 @@ +The images in this directory are originally from the game Super Mario Odyssey, which is copyrighted by Nintendo. \ No newline at end of file diff --git a/moons/blue.png b/moons/blue.png new file mode 100644 index 0000000..5e4ca02 Binary files /dev/null and b/moons/blue.png differ diff --git a/moons/brown.png b/moons/brown.png new file mode 100644 index 0000000..6a31b16 Binary files /dev/null and b/moons/brown.png differ diff --git a/moons/cyan.png b/moons/cyan.png new file mode 100644 index 0000000..8984126 Binary files /dev/null and b/moons/cyan.png differ diff --git a/moons/green.png b/moons/green.png new file mode 100644 index 0000000..5e7d311 Binary files /dev/null and b/moons/green.png differ diff --git a/moons/orange.png b/moons/orange.png new file mode 100644 index 0000000..06ca595 Binary files /dev/null and b/moons/orange.png differ diff --git a/moons/pink.png b/moons/pink.png new file mode 100644 index 0000000..3b1521b Binary files /dev/null and b/moons/pink.png differ diff --git a/moons/purple.png b/moons/purple.png new file mode 100644 index 0000000..9eeacf9 Binary files /dev/null and b/moons/purple.png differ diff --git a/moons/red.png b/moons/red.png new file mode 100644 index 0000000..2c0ef77 Binary files /dev/null and b/moons/red.png differ diff --git a/moons/star.png b/moons/star.png new file mode 100644 index 0000000..29263d5 Binary files /dev/null and b/moons/star.png differ diff --git a/moons/white.png b/moons/white.png new file mode 100644 index 0000000..fae666b Binary files /dev/null and b/moons/white.png differ diff --git a/moons/yellow.png b/moons/yellow.png new file mode 100644 index 0000000..8c012df Binary files /dev/null and b/moons/yellow.png differ -- cgit 1.4.1