在Linux上使用Lutries管理你的游戲
今天我們要討論的是 Lutris,一個(gè) Linux 上的開(kāi)源游戲平臺(tái)。你可以使用 Lutries 安裝、移除、配置、啟動(dòng)和管理你的游戲。它可以在一個(gè)單一界面中幫你管理你的 Linux 游戲、Windows 游戲、仿真控制臺(tái)游戲和瀏覽器游戲。它還包含社區(qū)編寫(xiě)的安裝腳本,使得游戲的安裝過(guò)程更加簡(jiǎn)單。
Lutries 自動(dòng)安裝(或者你可以單擊點(diǎn)擊安裝)了超過(guò) 20 個(gè)模擬器,它提供了從七十年代到現(xiàn)在的大多數(shù)游戲系統(tǒng)。目前支持的游戲系統(tǒng)如下:
- Linux 原生
- Windows
- Steam (Linux 和 Windows)
- MS-DOS
- 街機(jī)
- Amiga 電腦
- Atari 8 和 16 位計(jì)算機(jī)和控制器
- 瀏覽器 (Flash 或者 HTML5 游戲)
- Commmodore 8 位計(jì)算機(jī)
- 基于 SCUMM 的游戲和其他點(diǎn)擊式冒險(xiǎn)游戲
- Magnavox Odyssey²、Videopac+
- Mattel Intellivision
- NEC PC-Engine Turbographx 16、Supergraphx、PC-FX
- Nintendo NES、SNES、Game Boy、Game Boy Advance、DS
- Game Cube 和 Wii
- Sega Master Sytem、Game Gear、Genesis、Dreamcast
- SNK Neo Geo、Neo Geo Pocket
- Sony PlayStation
- Sony PlayStation 2
- Sony PSP
- 像 Zork 這樣的 Z-Machine 游戲
- 還有更多
安裝 Lutris
就像 Steam 一樣,Lutries 包含兩部分:網(wǎng)站和客戶端程序。從網(wǎng)站你可以瀏覽可用的游戲,添加最喜歡的游戲到個(gè)人庫(kù),以及使用安裝鏈接安裝他們。
首先,我們還是來(lái)安裝客戶端。它目前支持 Arch Linux、Debian、Fedroa、Gentoo、openSUSE 和 Ubuntu。
對(duì)于 Arch Linux 和它的衍生版本,像是 Antergos, Manjaro Linux,都可以在 AUR 中找到。因此,你可以使用 AUR 幫助程序安裝它。
使用 Pacaur:
pacaur -S lutris
使用 Packer:
packer -S lutris
使用 Yaourt:
yaourt -S lutris
使用 Yay:
yay -S lutris
Debian:
在 Debian 9.0 上以 root 身份運(yùn)行以下命令:
echo 'deb http://download.opensuse.org/repositories/home:/strycore/Debian_9.0/ /' > /etc/apt/sources.list.d/lutris.list
wget -nv https://download.opensuse.org/repositories/home:strycore/Debian_9.0/Release.key -O Release.key
apt-key add - < Release.key
apt-get update
apt-get install lutris
在 Debian 8.0 上以 root 身份運(yùn)行以下命令:
echo 'deb http://download.opensuse.org/repositories/home:/strycore/Debian_8.0/ /' > /etc/apt/sources.list.d/lutris.list
wget -nv https://download.opensuse.org/repositories/home:strycore/Debian_8.0/Release.key -O Release.key
apt-key add - < Release.key
apt-get update
apt-get install lutris
在 Fedora 27 上以 root 身份運(yùn)行以下命令:
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:strycore/Fedora_27/home:strycore.repo
dnf install lutris
在 Fedora 26 上以 root 身份運(yùn)行以下命令:
dnf config-manager --add-repo https://download.opensuse.org/repositories/home:strycore/Fedora_26/home:strycore.repo
dnf install lutris
在 openSUSE Tumbleweed 上以 root 身份運(yùn)行以下命令:
zypper addrepo https://download.opensuse.org/repositories/home:strycore/openSUSE_Tumbleweed/home:strycore.repo
zypper refresh
zypper install lutris
在 openSUSE Leap 42.3 上以 root 身份運(yùn)行以下命令:
zypper addrepo https://download.opensuse.org/repositories/home:strycore/openSUSE_Leap_42.3/home:strycore.repo
zypper refresh
zypper install lutris
Ubuntu 17.10:
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/strycore/xUbuntu_17.10/ /' > /etc/apt/sources.list.d/lutris.list"
wget -nv https://download.opensuse.org/repositories/home:strycore/xUbuntu_17.10/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install lutris
Ubuntu 17.04:
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/strycore/xUbuntu_17.04/ /' > /etc/apt/sources.list.d/lutris.list"
wget -nv https://download.opensuse.org/repositories/home:strycore/xUbuntu_17.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install lutris
Ubuntu 16.10:
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.10/ /' > /etc/apt/sources.list.d/lutris.list"
wget -nv https://download.opensuse.org/repositories/home:strycore/xUbuntu_16.10/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install lutris
Ubuntu 16.04:
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/strycore/xUbuntu_16.04/ /' > /etc/apt/sources.list.d/lutris.list"
wget -nv https://download.opensuse.org/repositories/home:strycore/xUbuntu_16.04/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update
sudo apt-get install lutris
對(duì)于其他平臺(tái),參考 Lutris 下載鏈接。
使用 Lutris 管理你的游戲
安裝完成后,從菜單或者應(yīng)用啟動(dòng)器里打開(kāi) Lutries。***啟動(dòng)時(shí),Lutries 的默認(rèn)界面像下面這樣:
登錄你的 Lutris.net 賬號(hào)
為了能同步你個(gè)人庫(kù)中的游戲,下一步你需要在客戶端中登錄你的 Lutris.net 賬號(hào)。如果你沒(méi)有,先 注冊(cè)一個(gè)新的賬號(hào)。然后點(diǎn)擊 “Connecting to your Lutirs.net account to sync your library” 連接到 Lutries 客戶端。
輸入你的賬號(hào)信息然后點(diǎn)擊 “Connect”。
現(xiàn)在你已經(jīng)連接到你的 Lutries.net 賬號(hào)了。
瀏覽游戲
點(diǎn)擊工具欄里的瀏覽圖標(biāo)(游戲控制器圖標(biāo))可以搜索任何游戲。它會(huì)自動(dòng)定向到 Lutries 網(wǎng)站的游戲頁(yè)。你可以以字母順序查看所有可用的游戲。Lutries 現(xiàn)在已經(jīng)有了很多游戲,而且還有更多的不斷添加進(jìn)來(lái)。
任選一個(gè)游戲,添加到你的庫(kù)中。
然后返回到你的 Lutries 客戶端,點(diǎn)擊 “Menu -> Lutris -> Synchronize library”?,F(xiàn)在你可以在本地的 Lutries 客戶端中看到所有在庫(kù)中的游戲了。
如果你沒(méi)有看到游戲,只需要重啟一次。
安裝游戲
安裝游戲,只需要點(diǎn)擊游戲,然后點(diǎn)擊 “Install” 按鈕。例如,我想在我的系統(tǒng)安裝 2048,就像你在底下的截圖中看到的,它要求我選擇一個(gè)版本去安裝。因?yàn)樗挥幸粋€(gè)版本(例如,在線),它就會(huì)自動(dòng)選擇這個(gè)版本。點(diǎn)擊 “Continue”。
點(diǎn)擊“Install”:
安裝完成之后,你可以啟動(dòng)新安裝的游戲或是關(guān)閉這個(gè)窗口,繼續(xù)從你的庫(kù)中安裝其他游戲。
導(dǎo)入 Steam 庫(kù)
你也可以導(dǎo)入你的 Steam 庫(kù)。在你的頭像處點(diǎn)擊 “Sign in through Steam” 按鈕。接下來(lái)你將被重定向到 Steam,輸入你的賬號(hào)信息。填寫(xiě)正確后,你的 Steam 賬號(hào)將被連接到 Lutries 賬號(hào)。請(qǐng)注意,為了同步庫(kù)中的游戲,這里你的 Steam 賬號(hào)將被公開(kāi)。你可以在同步完成之后將其重新設(shè)為私密狀態(tài)。
手動(dòng)添加游戲
Lutries 有手動(dòng)添加游戲的選項(xiàng)。在工具欄中點(diǎn)擊 “+” 號(hào)登錄。
在下一個(gè)窗口,輸入游戲名,在游戲信息欄選擇一個(gè)運(yùn)行器。運(yùn)行器是指 Linux 上類(lèi)似 wine、Steam 之類(lèi)的程序,它們可以幫助你啟動(dòng)這個(gè)游戲。你可以從 “Menu -> Manage” 中安裝運(yùn)行器。
然后在下一欄中選擇可執(zhí)行文件或者 ISO。***點(diǎn)擊保存。有一個(gè)好消息是,你可以添加一個(gè)游戲的多個(gè)版本。
移除游戲
移除任何已安裝的游戲,只需在 Lutries 客戶端的本地庫(kù)中點(diǎn)擊對(duì)應(yīng)的游戲。選擇 “Remove” 然后 “Apply”。
Lutries 就像 Steam。只是從網(wǎng)站向你的庫(kù)中添加游戲,并在客戶端中為你安裝它們。
各位,這就是今天所有的內(nèi)容了。我們將會(huì)在今年發(fā)表更多好的和有用的文章。敬請(qǐng)關(guān)注!
干杯!