Go to file
Felipe M befcc3376e
Replaced arguments with CLIOptions struct
This is a way more convenient way for the underlying providers to
access the input in which the software was called. Having the input
path in providers that already discover path will allow users to
override paths easily, and this way we could also add more flags that
some providers would need and others ignore without changuing function calls.
2021-02-16 13:28:43 +01:00
.github/ISSUE_TEMPLATE Update issue templates 2020-11-14 11:59:40 +01:00
pkg Replaced arguments with CLIOptions struct 2021-02-16 13:28:43 +01:00
.gitignore Nintendo Switch Provider [WIP] 2020-11-19 23:19:45 +01:00
Makefile WIP 2020-11-08 21:28:15 +01:00
README.md retroarch: Download covers from libretro 2021-01-14 23:07:50 +01:00
go.mod PlayStation 4 Provider improvements 2021-01-31 13:51:49 +01:00
go.sum PlayStation 4 Provider improvements 2021-01-31 13:51:49 +01:00
main.go Nintendo Switch: Used new JSON file 2021-01-03 22:29:03 +01:00

README.md

Games Screenshot Manager

A simple tool to collect and sort games screenshots from different platforms.

Supported providers

Use the appropriate ID with the -provider flag. See examples below

Name ID Notes Covers
Steam steam Linux, macOS, Windows Yes (Example)
Minecraft minecraft Linux, Linux Flatpak, macOS, Windows No
Nintendo Switch nintendo-switch Requires -input-path No
PlayStation 4 playstation-4 Requires -input-path No
RetroArch retroarch Requires -input-path Yes

How it works

Each provider has it's own way of finding the screenshots, but ideally the screenshots folder for games are known to us users so we only need to traverse them and find image files.

When talking about a game's store (Steam, for example) we need to retrieve a bit more info from internet to identify each game name from the internal ID used by Steam on disk.

For more details, you can check out the source code for all providers

Optionally a cover image for a game can be downloaded and placed under a .cover file in the game path. For this to work use the -download-cover flag. Check above for provider support for this feature.

Installation

go get -u github.com/fmartingr/games-screenshot-manager

Or get a binary build from the releases page

Usage

# Help
games-screenshot-manager -h

# Fetch and sort all Steam screenshots into ./Output
games-screenshot-manager -provider steam -output-path ./Output

# Like the one above but it'll download all header images for the games
games-screenshot-manager -provider steam -output-path ./Output -download-covers

# Perform a dry run (see what's gonna get copied where)
games-screenshot-mananger -provider steam -dry-run

# Parse all Nintendo Switch screenshots
games-screenshot-manager -provider nintendo-switch -input-path ./Album