Setting Custom Game Icons in Desura

I just discovered Desura’s Linux client and, given the opportunity to have a DRM-free package repository system for my Humble Bundle games, I jumped at the chance.

Of course, I still wanted to keep all my games together in one launcher menu, so I went looking for a way to give the manually installed things like Super Meat Boy proper icons. Luckily, Desura turned out to have a pretty simple approach to specifying icons. Just a couple of columns in an ordinary SQLite database.

Here’s a little Python script I wrote which, in theory, should let you set/change the icon on ANY game in your Linux Desura library. I’ve only tested it on local ones though.

Could not embed GitHub Gist 1692707: API rate limit exceeded for 208.94.116.209. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

CC BY-SA 4.0 Setting Custom Game Icons in Desura by Stephan Sokolow is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

This entry was posted in Geek Stuff. Bookmark the permalink.

2 Responses to Setting Custom Game Icons in Desura

  1. Cyberworm says:

    Thank you for this script! Works like a charm!

    • Glad I could help.

      It’s trickier (I already tried and failed) but, if I can ever find the time to poke through the Desurium source code to learn what I did wrong, I want to extend the script so it’ll even add the entries for you. (So you can just run it and have every entry in the Games section of your menu automatically added to Desura and any games you’ve uninstalled automatically removed)

Leave a Reply

Your email address will not be published. Required fields are marked *

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution under the same terms as the associated post.       Also, please be aware that non-constructive comments will have their URL field erased before being approved in order to combat SEO spam.