Tumi-bear留言 | 贡献
Tumi-bear留言 | 贡献
第395行: 第395行:
# 运行 PD2 启动器并按 Play 自动安装任何更新并启动游戏.
# 运行 PD2 启动器并按 Play 自动安装任何更新并启动游戏.


== How-to install Project Diablo 2 on Linux using Lutris ==
== 如何使用 Lutris 在 Linux 上安装 Project Diablo 2 ==


'''PREREQUISITES:'''
'''前提:'''
* Blizzard Installers: '''See: [[#How-to install Project Diablo 2]]'''
* 暴雪安装程序: '''参考: [[#如何安装 Project Diablo 2]]'''
* Lutris installed
* 已安装 Lutris
* Wine installed
* 已安装Wine
** Not all versions will work equally. One known working version is lutris-GE-Proton7-43-x86_64
** 并非所有版本都能同样运行。一个已知的运行版本是 lutris-GE-Proton7-43-x86_64




# Open '''Lutris''' and add a configuration for the game.
# 打开 '''Lutris''' 并为游戏添加配置.
## From the '''Lutris''' window, click the '''plus (+) icon''' in top left corner and select '''Add locally installed game'''.
## '''Lutris''' 窗口, 在左上角点击 '''plus (+) 图标''' 选择 '''添加本地安装的游戏'''.
##: <br>
##: <br>
##: [[File:Lutris 1.png|400px]]
##: [[File:Lutris 1.png|400px]]
##: <br>
##: <br>
## Enter a name for the game such as '''PD2'''.
## 输入游戏名称,例如 '''PD2'''.
## Select '''Wine''' as the '''Runner'''
## 选择 '''Wine''' 作为 '''Runner'''
## Click the the '''Game options''' tab and enter or browse to a path for where you want to store the Wine prefix. You may need to create the folder you want to use.  
## 单击 '''游戏选项''' ,输入或浏览到要存储 Wine 前缀的路径. 您可能需要创建要使用的文件夹.  
##* The '''Path''' can be anything but the '''recommended''' setting is '''/home/<user>/Games/<name from step above>''' e.g. '''/home/tomcik/Games/PD2/'''
##* '''路径''' 可以是任何东西,但 '''推荐''' 设置是 '''/home/<user>/Games/<name from step above>''' e.g. '''/home/tomcik/Games/PD2/'''
## Choose '''64-bit''' for the '''Prefix architecture'''.
## '''前缀架构''' 选择 '''64-bit'''.
##: <br>
##: <br>
##: [[File:Lutris 2.png|400px]][[File:Lutris 3.png|400px]]
##: [[File:Lutris 2.png|400px]][[File:Lutris 3.png|400px]]
##: <br>
##: <br>
## Click '''Save'''.
## 点击 '''保存'''.
##: <br>
##: <br>
# Manually run the '''Diablo II''' installation files in this new prefix
# 使用此新前缀手动运行 '''Diablo II''' 安装文件
## Select the new game you created in '''Lutris'''
## 选择您在 '''Lutris''' 中创建的新游戏
## Click the arrow button on the bottom of the '''Lutris window'''
## 单击 '''Lutris 窗口''' 底部的箭头按钮
## Select '''Run EXE inside Wine prefix'''
## 选择 '''在 Wine 前缀内运行 EXE'''
##: <br>
##: <br>
##: [[File:Lutris 4.png]]
##: [[File:Lutris 4.png]]
##: <br>
##: <br>
## When prompted, browse to the installer file for '''Diablo II''' and select it to open it
## 出现提示时,浏览到 '''Diablo II''' 的安装程序文件,并选择它将其打开
## Follow the installation steps as you would in Windows
## 按照 Windows 中的安装步骤进行操作
##* The installation path can be the default location (C:\Program Files\Diablo II).  It shouldn't cause any problems.
##* 安装路径可以是默认位置(C:\Program Files\Diablo II)。它应该不会造成任何问题.
##* When you run the installer file for first time in the wine prefix it will be configured. '''If you receive any prompts about wine-gecko and wine-mono''', choose '''Yes'''
##* 当您首次以 wine 前缀运行安装程序文件时,,它会提醒您进行设置。'''如果您收到任何关于 wine-gecko and wine-mono 的提示''', 选择 ''''''
##: <br>
##: <br>
# '''All of the previous steps for manually running the installation files and completing the install need to be done for each installer'''
# '''需要为每个安装程序完成手动运行安装文件和完成安装的所有前面步骤'''
#* Diablo II
#* 暗黑 II
#* Diablo II: Lord of Destruction
#* 暗黑 II: 毁灭之王
#* PD2 Launcher
#* PD2 启动器
#: <br>
#: <br>
# Configure game executable
# 配置游戏可执行文件
## '''After''' completing the above steps for '''all three installers''', right-click the new game you created in '''Lutris''' (PD2) and choose '''Configure''''.  
## 在完成 '''所有三个安装程序''' 的上述步骤后 , 右键单击您在 '''Lutris''' (PD2) 中创建的新游戏,然后选择'''配置''''.  
## Go to the '''Game options tab''' and click '''Browse''' next to the '''Executable setting'''
## 转到 '''游戏选项''' 然后单击 '''可执行设置''' 旁边的 '''浏览'''  
## Locate the '''PD2Launcher.exe''' file (installed in the Diablo II\ProjectD2 folder) and select it
## 找到 '''PD2Launcher.exe''' 文件 (安装在 Diablo II\ProjectD2 文件夹中) 并选择它
##: <br>
##: <br>
##: [[File:Lutris 5.png]][[File:Lutris 6.png]]
##: [[File:Lutris 5.png]][[File:Lutris 6.png]]
##: <br>
##: <br>
## Go to the '''Runner options tab''' and select the desired version from the '''Wine version''' box
## 转到 '''运行程序选项''' '''Wine版本''' 框中选择所需的版本
##: [[File:Lutris wine version.png]]
##: [[File:Lutris wine version.png]]
##* Additional versions can be installed from the main window while hovering your mouse over Wine in the sidebar
##* 将鼠标悬停在侧边栏的 Wine 上时,可以从主窗口安装其他版本
##*: [[File:Lutris install wine versions.png]]
##*: [[File:Lutris install wine versions.png]]
##: <br>
##: <br>
## Click '''Save''' in top right corner of the '''Configure''' window
## 点击右上角 '''配置''' 窗口的 '''保存'''
##: <br>
##: <br>
# Run '''PD2''' by double clicking on it in the '''Lutris''' main window or select it and click '''Play''' at the bottom
# '''Lutris''' 主窗口中双击运行 '''PD2''' 或选择它并单击底部的 '''Play'''




'''COMMON ISSUES:'''
'''常见问题:'''
# No text in EULA window during D2/LoD installation
# 安装期间 EULA 窗口中没有文本
#* '''Wine-gecko''' is missing in the wine prefix. If it is missing, then during the steps to execute the launchers, '''Lutris''' will ask if you want install it, choose '''Yes'''.
#* wine 前缀中缺少 '''Wine-gecko'''. 如果它缺失,那么在执行启动器的步骤中, '''Lutris''' 会询问您是否要安装它, 选择 ''''''.
#*: <br>
#*: <br>
# Launcher does not start
# 启动器未启动
#* Try using a different Wine version (the latest isn't always the greatest here)
#* 尝试使用不同的 Wine 版本(这里的最新版本并不总是最好的)
#*: <br>
#*: <br>
# Error 'OpenGL loader failed' after clicking play in launcher using 3dfx
# 使用 3dfx 在启动器中单击 play 后出现错误 'OpenGL 加载器失败'  
#* You need to install 32bit libGL.so.1.
#* 您需要安装 32bit libGL.so.1.
#** For Debian based distributions (Debian, Ubuntu, Pop!_OS, etc) you can use the command
#** 对于基于 Debian 的发行版本 (Debian, Ubuntu, Pop!_OS, ) 您可以使用以下命令
#**: <code>sudo apt install libgl1-mesa-dri:i386 libgl1:i386 libgl1-mesa-glx:i386</code>
#**: <code>sudo apt install libgl1-mesa-dri:i386 libgl1:i386 libgl1-mesa-glx:i386</code>
#** For Arch based distributions (Arch, Manjaro, Endeavour, etc) you can use the command
#** 对于基于 Arch 的发行版本 (Arch, Manjaro, Endeavour, ) 您可以使用以下命令
#**: <code>sudo pacman -S libglvnd lib32-libglvnd</code>
#**: <code>sudo pacman -S libglvnd lib32-libglvnd</code>
#** For other distributions, you will need to Google what the equivalent commands/methods/packages are needed to install it
#** 对于其他发行版,您需要谷歌搜索安装它所需的等效命令/方法/


== How-to install PlugY ==
== How-to install PlugY ==
MediaWiki Appliance - Powered by TurnKey Linux