this post was submitted on 25 Sep 2023
36 points (97.4% liked)
Linux Gaming
15824 readers
56 users here now
Gaming on the GNU/Linux operating system.
Recommended news sources:
Related chat:
Related Communities:
Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.
founded 4 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The classic way of using Wine is as simple as running any Windows binary using Wine program loader. If you've got Wine installed, you can likely just "Open with" in the Dolphin explorer, or simply
wine program.exe
in terminal. That is not a good idea however, because you just have a single Wine prefix (which by default is in~/.wine
and is controllable with env variable WINEPREFIX`) and also you will likely miss at least some dependencies for your game.Dependencies required for launching a game will be different depending on what that game was built with in what period. If the game uses Vulkan or OpenGL natively, you don't need any translators, but it still might need .NET Runtime, VC Redistributables, some other Windows libraries that are not (and cannot be due to legality) shipped with stock Wine. If it's DX 9/10/11 game, you need DXVK. if it's DX12 you nees VKD3D-Proton. You can install these using Winetricks.
To automate and ease all of that, I recommend Bottles. The app is focused on providing you with generic way to run Windows software instead of collecting scripts, it manages prefixes, install most needed dependences automatically and provide a way to manually install everything else.
I think this is also a good idea to mess with native way pf running things with Wine if you just want to learn more on how it works.
How does Bottles know to install VC redistributable or .Net and other stuff kind that?
While creating a Bottle, you choose a profile for "Application" or "Gaming". It then createa a prefix with most common dependencies for that purpose. It might not install all you need though, but it has menu to install whatever you need manually within few clicks.