tkashkin / GameHub

All your games in one place
https://tkashkin.github.io/projects/gamehub
GNU General Public License v3.0
2.25k stars 128 forks source link

[Feature Request] Being able to add environment variables and command prefixes for all games seperately and globally (like Lutris) #452

Closed ghost closed 3 years ago

ghost commented 3 years ago

I tried out gamehub for the first time and added all my Retroarch games,but I don't find any option to set Environment Variable and Command Prefixes for that game specifically or globally.

tkashkin commented 3 years ago

GameHub supports Tweaks that can change command line and environment variables globally or for selected games.

Tweaks are json files with self-explanatory syntax. See Tweaks page in Settings to get list of directories Tweaks are loaded from. Create a new file to add a new Tweak.

You can also change command line for a specific game using Arguments in game's properties. It works like launch options in Steam: it appends arguments to the end of command line unless there is a ${command} variable.

There is no way to set environment variables without using tweaks in the current version, but it is already implemented in the refactoring branch.

ghost commented 3 years ago

thanks