Skip to content

Instantly share code, notes, and snippets.

@97-109-107
Created July 10, 2016 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 97-109-107/93ec87318cfee8befde944bbb29ded21 to your computer and use it in GitHub Desktop.
Save 97-109-107/93ec87318cfee8befde944bbb29ded21 to your computer and use it in GitHub Desktop.
Creates openrct2 scenario screenshots
#!/bin/sh
find ~/.config/OpenRCT2/Scenarios/ -iname "*sc6" -print0 | while IFS= read -r -d '' path; do
name=$(basename "$path")
$(openrct2 screenshot "$path" /tmp/Scenarios/"$name".png 1024 1024 0 50 3 0)
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment