Installation and basic configuration of Wine for games on Linux: features and recommendations

All people love to play games. This lesson helps to distract from the real world with its real problems and, if not for long, but immerse yourself in the virtual world.

That is how the article about Windows games was supposed to begin. But today the conversation is not entirely about them. Today we will talk about games on Linux. Most people do not like this operating system just because there are no “normal” games on it, and it doesn’t matter that it shows itself perfectly in work.

But those who want can play the same games on Linux as on Windows. Ask how? But very simple. Today we’ll talk about how to install and configure Wine.

What is wine?

Those people who have been using Linux for a long time and have chosen it as the head of the OS probably do not need to define this software, but for the rest it’s worth explaining.

wine setting

Wine is a program with which you can run Windows programs and games. In other words, with it you can play games that are not designed for Linux and are, so to speak, Windows exclusive.

It is noteworthy that the program is constantly evolving. So, a couple of years ago it was impossible to launch a game based on DiretX11 with it, now everything has changed. Patches are constantly coming out, and everything is quickly repaired if something is broken. If you prefer stability, you can easily install the standard version of Wine and it will not be able to surprise you unpleasantly.

The only downside is the relatively complicated Wine setup. But after reading this article, you will understand everything in minutes and do it yourself.

Installation methods

Before you talk about how Wine is configured for games, you must first explain how to install it.

Linux users know that the same action in their operating system can be done in different ways, and with the installation of Wine.

Consider initially the simplest option, using the Package Manager or, as it is also called, the Program Manager. In principle, no matter what it is called, the main thing is that it works the same way.

wine setup for games

Initially, you need to open it. Next, in the search line, you need to write the name of the program - Wine. The search begins. At the end of it, several options may appear in front of you. Just select Wine without any extra characters and click Install. Wait for the program to download and install.

The second way is to use a terminal. Having opened it, write:

sudo apt-get install wine

Download will begin, followed by installation. However, there is a high probability that the “fresh” version is not downloaded, this is due to the fact that the program is developing by leaps and bounds. Therefore, we enter:

sudo add-apt-repository ppa: ubuntu-wine / ppa

Next, it is still worth updating the packages:

sudo apt-get update

Now write:

sudo apt-get install wine1.6

That's all, just installed the software through the Console. Now we’ll tell you how Wine is configured.

What you need to know about setting up Wine?

For Wine (Linux), the setting may not always go smoothly, but don’t worry if you don’t succeed, you can return everything to its original position at any time. The easiest way is to uninstall the program and reinstall it, but this is only in extreme cases.

Another important thing is not to rush. In this matter, it is important to carefully read what needs to be done and when. But if you succeed, it will be remembered for a lifetime. Now let's get started.

First thing

There are two development options, the differences are small, but still there. If you have a 64-bit Linux distribution, then you and Wine have 64-bit installed, but this is not necessary. Therefore, enter this command in the terminal:

WINEARCH = win32 winecfg

After that, you should open the Wine settings. Move it to the background and for now do not return to it. If you have a 32-bit system, you can skip this step.

wine linux setup

Now you need to download and install Winetricks. To do this, write in the terminal:

winetricks

If you do not have this program, then you will be prompted to download it. Download and install. After run.

Winetricks allows you to quickly configure Wine itself. By launching it in the first window, select Select the default wineprefix . Click OK.

Configure DLL and Fonts

We continue to talk about how Wine is configured. Clicking “OK”, we see that the second window will open. It is necessary to highlight Install a font in it - this is in order to customize the fonts. Click OK.

configure wine in linux mint

You will see a window with all the possible fonts for Wine. In order not to drag out for a long time and not waste time, we will choose everything at once and click OK. After that, the download and installation window will start. During this, do not go far from the computer, as it is likely that requests for confirmation of operations will appear. Agree with all of them.

It is likely that after selecting all the fonts and clicking the button, an error will be shown to you and everything will disappear. In this case, you won’t be able to install everything right away and you will have to do it separately. If, after selecting an item, an error occurs, skip it.

Now let's move on to setting up the DLL. This is a very important point, and you can not skip it, because without the installed DLLs it is unlikely that you will start at least some kind of game.

Click on Install a Windows DLL or component. You will see a similar window that was with the fonts. Not all components can be installed here, but some are required. In general, it would be better to do the same manipulations as with fonts. Alternately, try to install each of them, ignoring those that throw an error.

By the way, after trying to install some DLLs, such as dotnet30, they can throw out an error and open Explorer with a browser. In this case, on the browser page, you need to download the proposed component and place it in the folder that was opened, and then do the installation process again.

Registry setting

By the way, the Wine setup in Linux Mint goes well with these instructions, although there should also be no problems with other distributions.

wine mint setup

We turn to debugging the registry. To do this, in the second window this time select Change setting. Here one cannot afford liberties already, and it will not work to establish everything at once. Therefore, we follow the presented list of necessary settings:

  • ddr - opengl

  • multisampling - enabled

  • orm - f bo

  • psm - enabled

  • rtlm - auto

  • glsl - enabled is standard, but if you have an Nvidia graphics card, it’s best to select disabled . This will increase gaming performance.

  • vsm - hardware

  • videomemorysize 1024 (choose the amount of video card memory)

  • mwo - enabled (force)

That's basically all about Wine. Configuring Mint and other OS versions is no longer a problem for you, because this instruction is perfect for most distributions.

Remember one more thing, during the installation of Windows games you can’t choose to install additional software. Uncheck. Also, at the end of the installation, uncheck the "Run now" checkbox. Run through the shortcut on the desktop.

Source: https://habr.com/ru/post/K7564/


All Articles