选题: 20190116 GameHub – An Unified Library To Put All Games Under One Roof

sources/tech/20190116 GameHub - An Unified Library To Put All Games Under One Roof.md
This commit is contained in:
darksun 2019-02-02 15:52:20 +08:00
parent 50a30b9612
commit 4bab7ec7bb

View File

@ -0,0 +1,139 @@
[#]: collector: (lujun9972)
[#]: translator: ( )
[#]: reviewer: ( )
[#]: publisher: ( )
[#]: url: ( )
[#]: subject: (GameHub An Unified Library To Put All Games Under One Roof)
[#]: via: (https://www.ostechnix.com/gamehub-an-unified-library-to-put-all-games-under-one-roof/)
[#]: author: (SK https://www.ostechnix.com/author/sk/)
GameHub An Unified Library To Put All Games Under One Roof
======
![](https://www.ostechnix.com/wp-content/uploads/2019/01/gamehub-720x340.png)
**GameHub** is an unified gaming library that allows you to view, install, run and remove games on GNU/Linux operating system. It supports both native and non-native games from various sources including Steam, GOG, Humble Bundle, and Humble Trove etc. The non-native games are supported by [Wine][1], Proton, [DOSBox][2], ScummVM and RetroArch. It also allows you to add custom emulators and download bonus content and DLCs for GOG games. Simply put, Gamehub is a frontend for Steam/GoG/Humblebundle/Retroarch. It can use steam technologies like Proton to run windows gog games. GameHub is free, open source gaming platform written in **Vala** using **GTK+3**. If youre looking for a way to manage all games under one roof, GameHub might be a good choice.
### Installing GameHub
The author of GameHub has designed it specifically for elementary OS. So, you can install it on Debian, Ubuntu, elementary OS and other Ubuntu-derivatives using GameHub PPA.
```
$ sudo apt install --no-install-recommends software-properties-common
$ sudo add-apt-repository ppa:tkashkin/gamehub
$ sudo apt update
$ sudo apt install com.github.tkashkin.gamehub
```
GameHub is available in [**AUR**][3], so just install it on Arch Linux and its variants using any AUR helpers, for example [**YaY**][4].
```
$ yay -S gamehub-git
```
It is also available as **AppImage** and **Flatpak** packages in [**releases page**][5].
If you prefer AppImage package, do the following:
```
$ wget https://github.com/tkashkin/GameHub/releases/download/0.12.1-91-dev/GameHub-bionic-0.12.1-91-dev-cd55bb5-x86_64.AppImage -O gamehub
```
Make it executable:
```
$ chmod +x gamehub
```
And, run GameHub using command:
```
$ ./gamehub
```
If you want to use Flatpak installer, run the following commands one by one.
```
$ git clone https://github.com/tkashkin/GameHub.git
$ cd GameHub
$ scripts/build.sh build_flatpak
```
### Put All Games Under One Roof
Launch GameHub from menu or application launcher. At first launch, you will see the following welcome screen.
![](https://www.ostechnix.com/wp-content/uploads/2019/01/gamehub1.png)
As you can see in the above screenshot, you need to login to the given sources namely Steam, GoG or Humble Bundle. If you dont have Steam client on your Linux system, you need to install it first to access your steam account. For GoG and Humble bundle sources, click on the icon to log in to the respective source.
Once you logged in to your account(s), all games from the all sources can be visible on GameHub dashboard.
![](https://www.ostechnix.com/wp-content/uploads/2019/01/gamehub2.png)
You will see list of logged-in sources on the top left corner. To view the games from each source, just click on the respective icon.
You can also switch between list view or grid view, sort the games by applying the filters and search games from the list in GameHub dashboard.
#### Installing a game
Click on the game of your choice from the list and click Install button. If the game is non-native, GameHub will automatically choose the compatibility layer (E.g Wine) that suits to run the game and install the selected game. As you see in the below screenshot, Indiana Jones game is not available for Linux platform.
![](https://www.ostechnix.com/wp-content/uploads/2019/01/gamehub3-1.png)
If it is a native game (i.e supports Linux), simply press the Install button.
![][7]
If you dont want to install the game, just hit the **Download** button to save it in your games directory. It is also possible to add locally installed games to GameHub using the **Import** option.
![](https://www.ostechnix.com/wp-content/uploads/2019/01/gamehub5.png)
#### GameHub Settings
GameHub Settings window can be launched by clicking on the four straight lines on top right corner.
From Settings section, we can enable, disable and set various settings such as,
* Switch between light/dark themes.
* Use Symbolic icons instead of colored icons for games.
* Switch to compact list.
* Enable/disable merging games from different sources.
* Enable/disable compatibility layers.
* Set games collection directory. The default directory for storing the collection is **$HOME/Games/_Collection**.
* Set games directories for each source.
* Add/remove emulators,
* And many.
For more details, refer the project links given at the end of this guide.
**Related read:**
And, thats all for now. Hope this helps. I will be soon here with another guide. Until then, stay tuned with OSTechNix.
Cheers!
--------------------------------------------------------------------------------
via: https://www.ostechnix.com/gamehub-an-unified-library-to-put-all-games-under-one-roof/
作者:[SK][a]
选题:[lujun9972][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://www.ostechnix.com/author/sk/
[b]: https://github.com/lujun9972
[1]: https://www.ostechnix.com/run-windows-games-softwares-ubuntu-16-04/
[2]: https://www.ostechnix.com/how-to-run-ms-dos-games-and-programs-in-linux/
[3]: https://aur.archlinux.org/packages/gamehub-git/
[4]: https://www.ostechnix.com/yay-found-yet-another-reliable-aur-helper/
[5]: https://github.com/tkashkin/GameHub/releases
[6]: data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7
[7]: http://www.ostechnix.com/wp-content/uploads/2019/01/gamehub4.png