Computer games are not only the killing of time and the burning of life, but also a lot of fun, relaxation and just interesting time spent. :)
Somehow it so happened that I personally most of all want to play it in the old favorite games. Such as Fallout, StarCraft, Diablo (first), etc. Moreover, if for very old games there is a
DosBox , then with games under Windows is a bit more complicated.
Of course, the first thing that comes to mind is
Wine . To me, it’s not quite suitable for him at all, but somehow it’s very strange, sometimes it’s buggy and in general it behaves extremely unstable.
I decided to try installing via a virtual machine. I took
VirtualBox as a virtual machine.
By the way, there is another problem that I encountered quite recently - these are widescreen monitors. Of course, you can get used to it, but still the stretch is visible to the naked eye. In addition, the screen size also strongly influences - on the laptop 17 ", and on the stationary, in general - 22". If you stretch from 640x480 or even from 800x600 to full screen - the image completely loses its clarity and proportions. A trifle, of course, but pleasure is no longer that. :)
In Wine, to solve this problem, you can use virtual desktop emulation with hard-coded dimensions, but it will turn out to be a windowed mode, and I personally get very distracted by the “outer framing” from running applications and the desktop - and the atmosphere of the game is lost ...
This problem was solved by itself, since VirtualBox launches full-screen applications in the guest OS not stretched, but in the original size at the resolution of the “host” axis, with black fields in the rest of the screen; but a new one appeared - everything would be fine, but on a 17 "laptop monitor there is a native resolution of 1440x900 - so the“ picture ”with the game turns out to be too shallow. The permission to change does not come out at all, but if it did, then every time you pull the resolution, when you want to play somehow not comme il faut. :)
I solved this problem with the help of the
compiz window manager. It has a wonderful effect — Enhanced Zoom Desktop, which I had turned on by default after installing Ubunt.
In order for everything to work as it should - first you need to install a configuration configuration tuner for detailed settings. In the menu “Programs-> Add / Remove ...” for the query “compiz” in the search with the filter “All available applications” the first program is Advansed Desktop Effects Settings. After installation, it can be found in the “System-> Parameters” menu. By launching the customizer, click the “Enhanced Zoom Desktop” button in the list of effects and in the third tab (Mouse Behavior), uncheck the “Sync Mouse” box so that the enlarged screen does not “go” for the mouse.
And then everything is simple - we start the virtual machine in the window, we increase the screen using the combination “Super + Mouse wheel up” (Win + MouseWheel) to the required size. Switch to the virtual machine window and expand it to full screen with the “Host + F” combination, and enable mouse capture with the “Host + I” combination, where Host is the key that controls the guest OS to the virtual machine. By default, this is the right Ctrl; but I, for example, have no such key on the laptop, because I have this right Alt (Alt Gr). The second (about “Host + I”) is necessary only if “guest add-ons” are installed, which make the mouse “transparent” for guest OSes - the control is not given to the guest programs and the mouse does not work correctly in games.
Thus, we get a normally scaled picture of the game, enlarged to the size we need, with black fillings of the “empty” space at the edges. :)