It seems that you're using an outdated browser. Some things may not work as they should (or don't work at all).
We suggest you upgrade newer and better browser like: Chrome, Firefox, Internet Explorer or Opera

×
I and several other people have put in suggestions for a randomizer in GOG Galaxy 2.0, but I don't think the GOG developers will be integrating it any time soon. Is there any way for users to maybe export installed games to text or something? Does anyone have a randomizing system set up in python or something? I can't imagine only a handful of us are interested in this feature with plenty of people having hundreds of games in their libraries.
Bump.
avatar
JokeDeity: I and several other people have put in suggestions for a randomizer in GOG Galaxy 2.0, but I don't think the GOG developers will be integrating it any time soon. Is there any way for users to maybe export installed games to text or something? Does anyone have a randomizing system set up in python or something? I can't imagine only a handful of us are interested in this feature with plenty of people having hundreds of games in their libraries.
Well, you can make a game randomizer if you put all the shortcuts of the game inside a folder.

import os
import random

folder = "(PATH TO FOLDER OF SHORTCUTS) like C:/shortcuts"
v_games = os.listdir(folder)

max_int = len(v_games)

random.seed()

value = random.randint(0,max_int-1)

os.startfile(folder+"/"+v_games[value])

Well, you can make a game randomizer if you put all the shortcuts of the game inside a folder.

import os
import random

folder = "(PATH TO FOLDER OF SHORTCUTS) like C:/shortcuts"
v_games = os.listdir(folder)

max_int = len(v_games)

random.seed()

value = random.randint(0,max_int-1)

os.startfile(folder+"/"+v_games[value])
I have far too many games to go through with this (plus it's a pretty ugly bandaid to use every time I want to play games at random), but I do want to thank you for responding to my post and at least giving people with smaller libraries a potential option.

EDIT: Also, is there a way (sorry I don't actually know how to create functions like the above myself) that the code could be made to offer the option to launch with the title of the shortcut? I might not actually want it to launch whatever game it ends up on and it would be nicer to be able to cycle more quickly.
Post edited March 31, 2020 by JokeDeity
Bumping for more ideas since I'm stuck at home with nothing to do and just wish the developers would put this into the program.
Bump.
bump, please this would be OSSOON
I haven't seen any mention of this but someone made a little program in January here: https://github.com/fcgooner/Random-Game-Picker

Going to give it a go, looks promising.:)
On second though, maybe someone with more Python knowledge than me can verify if this is safe?
The installpackage requirements are:
Kivy-2.0.0 Kivy-Garden-0.1.4 Pygments-2.7.4 altgraph-0.17 certifi-2020.12.5 chardet-4.0.0 docutils-0.16 future-0.18.2 idna-2.10 kivy-deps.angle-0.3.0 kivy-deps.glew-0.3.0 kivy-deps.sdl2-0.3.1 natsort-7.1.0 pefile-2019.4.18 pyinstaller-4.2 pyinstaller-hooks-contrib-2020.11 pypiwin32-223 pywin32-300 pywin32-ctypes-0.2.0 requests-2.25.1 urllib3-1.26.2

A quick search identifies Kivy Garden as a Python addon that allows pictures to be taken with a webcam...
Does this smell fishy?
Post edited May 02, 2021 by Artfactial