This article mainly talks about the installation, operation and configuration of "Diablo 2" running wine under Linux. This tutorial is suitable for mac.
Not much to say, let's take a look at the finished renderings.
Effect picture
System configuration details
There are two ways to install wine,
sudo dpkg --add-architecture i386 wget -nc https://dl.winehq.org/wine-builds/Release.key ``sudo apt-key add Release.key sudo apt-add-repository https://dl. winehq.org/wine-builds/ubuntu/ ``sudo apt-get update sudo apt-get install --install-recommends winehq-stable # stable branch'' sudo apt-get install --install-recommends winehq-devel # development Branch ``sudo apt-get install --install-recommends winehq-staging # Staging branch
sudo apt install wine-stable
Download the green version of "Diablo 2"
There is a version here, please click the link below to download it from Baidu Netdisk.
"Diablo 2" Extraction code: 2xpw
If you want another version, please download it yourself. After the download is complete, please modify the folder name and the .exe executable file name by yourself in English or Pinyin to avoid some inexplicable errors (assuming that I put the game in ~/games/Diablo, and the executable file name is changed to Diablo2.exe ).
In fact, it can be opened by running wine ~/games/Diablo/Diablo2.exe directly in the terminal, but I personally feel that the default execution is very discordant, mainly because it will force full screen.
Here the configuration window is mainly opened.
winecfg
After that, in the opened window, select the "Display" switch card, check the virtual desktop, if necessary, you can also adjust the resolution of the virtual desktop, but because "Dark" has only two resolutions by default, the adjustment is not necessary for opening the dark effect.
If you still have problems running, you can also modify the windows version of the "Applications" tab. Generally, for Diablo, you should choose xp or win7.
Okay, that's all the tutorials, see you tomorrow.
Article author ianzhi, original address: https://www.dnote.cn/users/ianzhi/posts/ubuntu-wine-diablo2
The copyright of the article belongs to the author, please keep this statement for reprinting.