/GOG-Galaxy-Export-Script

Export your list of games from GOG Galaxy

Primary LanguagePythonMIT LicenseMIT

GOG Galaxy 2.0 Export Script

This script helps a user export their GOG Galaxy 2.0 Library.

Usage

Through the use of command line parameters, you can decide what data you want exported to the CSV. Some of the options include the list of platforms (--platforms), playtime in minutes (--playtime), developers, publishers, genres and much more. You can read the help manual by invoking the script without parameters, to find an up to date list of all the possible export options.

If you want to use the CSV in a different tool, such as the HTML5 library exporter, you can default to the -a parameter to export everything.

When a different locale wants a different CSV delimiter (such as the Italian), you can manually specify the character to use (-D <character>).

Also, you can manually specify the database location (-i) and the CSV location (-o), instead of using the default ones.

If the CSV has to be read by a Python script, you can use the option --py-lists to export python compatible list strings that can be reconverted in python objects through ast's literal_eval, which avoids several (potentially incorrect) string split/joins.

Dependencies

  • Python 3
    • csv
    • natsort

Platform Support

All platforms from the official list are supported. Some are not listed at the moment but should still show up correctly in the output.

Wiki

Check the Wiki tab.

Roadmap

Check the Projects tab.

Contribution

Feel free to add issues and pull requests.

License

This repository is licensed under the MIT License.