Steam on linux with wine
Some Mac and Linux ported games already use the commercial version of Wine called CrossOver [www.codeweavers.com] to run Windows versions of the games, System Shock 2 is an example of one such game. CrossOver is maintained by CodeWeavers [www.codeweavers.com] , a team that funds the Open Source Wine [www.winehq.org] project.
Wine is a free way of getting most of Windows versions of games running natively on several POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD. This guide will show you how to install the Windows version of Steam and where to look if you are having trouble running it or running games on it.
909 | уникальных посетителей |
4 | добавили в избранное |
Wine (originally an acronym for «Wine Is Not an Emulator») is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.
winetricks [wiki.winehq.org] is a helper script to download and install various redistributable runtime libraries needed to run some programs in Wine. These may include replacements for components of Wine using closed source libraries.
There is a winetricks script that downloads, installs and works around bugs that you may face in Steam.
If you chose to install the latest version of Wine, then it has the winetricks script already included in the base installation. If it is not or you would also like to use the latest version of winetricks, check the Wiki on WineHQ on how to get the latest version [wiki.winehq.org] .
Open a terminal window. Wine related commands should be accessible from the terminal window. Winetricks also has a GUI, so executing:
Should open a winetricks window.
Choose «Install an App» option and click ok.
The next window shows available scripts within winetricks. check the checkbox of «steam» only and click ok and the execution of the script will commence.
Unless the script has changed, the install directory(wineprefix*) will be under
/.local/share/winetricks/steam in case of Ubuntu OS. The «wine prefix» shown in the titlebar of the window is ignored by the «steam» script.
The script may even create a shortcut on your Desktop.
A few notes:
* There is a term for Wine called «wineprefix», it is a directory containing the registry and the mimicked Windows directories and files. Every wineprefix is independent and it can be moved and renamed. The win. For more information about wineprefix see the WineHQ FAQ:
http://wiki.winehq.org/FAQ
The winetricks script should have created a shortcut on your Desktop. Launch Steam by clicking on the shortcut. Then Steam should be updating. If updates seem to freeze, close Steam and relaunch it. Steam will see this installation as being on another machine, you may choose to name it «wine».
Here is a screenshot of native Linux version of Steam(on the left) and the Windows version of Steam launched with Wine(on the right) on Ubuntu OS.
Installing should go without a hitch.
But if playing results in bugs or crashes, it is best to check out if your specific game has a page on AppDB [appdb.winehq.org] .
If the pages mention installing components. You may be able to install them using winetricks, but you have to have the directory path of wineprefix to be the correct one. In a terminal:
Источник
Steam on linux with wine
Important!
As for the time of writting, there is no native client for Linux, don’t download anything offered to you as that for it will be a scam.
Do not download WINE from anywhere else than the repositories of your distribution or the official page, be careful of what you’re installing from user repositories and install Steam only from the official page.
And if you’re reading another methods to install WINE than the official instructions, read what the command you’re inserting does before issuing it to the command line! Don’t just copy and paste!
178 | уникальных посетителей |
0 | добавили в избранное |
Read carefully the first note if you are all in for the FSF opinion.
1.- If you want a completely «free» as in «freedom» system I don’t even know what are you doing here. Regardless, this process will make you enable non-free repositories (Debian), possibly install propietary drivers and/or blobs for your Graphic Cards and install DRM software.
If your stand on these things is not having them and follow the FSF philosophy, abort now, leave and wait until the day someone makes a free clone of this. Most likely never.
2.- Never EVER run WINE as root or sudo. NEVER.
3.- On what environment was this tested?
Debian GNU/Linux Codename Jessie Version 8.7.1 Stable AMD64
Desktop: XFCE4 and later IceWM.
Wine Version: Wine 2.0 Staging (pulled directly from WineHQ)
Video Driver: Nvidia Propietary
Video Driver Version: 367.44 (pulled from jessie-backports)
Linux Kernel: 3.16 Long Term Support (LTS) (Installed by default with Debian)
2.- Possible distribution-independent reads:
Arch Wiki page on WINE [wiki.archlinux.org]
Ignore the part about installing it, as the process is meant for Arch Linux only. The important part are the tips and troubleshooting sections.
3.- Possible improvement of perfomance (use at your own discretion)
Tales from responsivenessland: why Linux feels slow, and how to fix that [rudd-o.com]
4.- RWBY for Ants reference:
1.- Any text editor.
2.- The package manager of your distribution.
3.- A terminal (all GNU/Linux systems install one by default depending on the system and the Desktop Environment). Debian by default installs XTerm and another terminal depending of your DE. Use the one you want or have.
4.- Your web browser.
5.- Either be sudo or have temporal access to the root account.
These steps don’t require a guide. because there are lot’s of them; in your Distribution Wiki, in your Distribution Forums, on many webpages indexed by Google. Making more distribution-specific guides would do not good.
1.- Make sure you are sudo or that you can switch from your non-root account to the root account temporaly.
2.- Install the Propietary Drivers for your graphics card; for AMD I read the Propietary and Open Source drivers are even in performance but just to be sure go with Propietary.
Use the most recents drivers from your distribution repositories ONLY. Installing from the official websites of Nvidia or AMD may leave you with up-to-date drivers but if a new version is released you will have to install it manually. Also, in case you execute a system or kernel upgrade, you will need to re-install manually the drivers even if they are the latest version.
If you are not sure that the driver supports your graphic card, check again your Distribution Wiki before installing anything.
3.- Install WINE. There are three advisable methods:
- Compile it by yourself. (You will have to compile it again if there’s a new version though).
- Install it from your Distribution Repositories (only if it’s rolling release and they offer the latest version).
- If you’re on Debian, WINE HQ (official page of WINE), offers a guide to install the WINE Repositories and the latest version of WINE.
4.- Install Steam on WINE. Pretty self explanatory. Double click or Right Click «Open with WINE».
5.- Install RWBY Grimm Eclipse. LIbrary -> Games -> RWBY Grimm Eclipse -> Install Game.
There’s not much to do now. Drink some coffee while it downloads perhaps?
6.- (Optional for systems with much RAM): Reduce swappiness to a ten percent.
You may have heard that the game has OpenGL and that there’s OpenGL in Linux.
While this is true, what you don’t know is that OpenGL in the game using WINE is broken, so if you launch the game with that, you will end up in an enormous «missing texture» screen.
To avoid this, right click on RWBY: Grimm Eclipse, go to Properties and click «Set Launch Options». In the box, write «-force-d3d9».
1.- Open a terminal and type:
This window will appear:
2.- Go to the «Libraries» section. In there, on the empty bar, type «d3d9» and then hit ENTER. The «d3d9» library will appear like this:
Now click «Apply» and head to the «Graphics» section.
3.- There unmark «Allow the window manager to decorate the windows» and «Emulate a virtual desktop». Leave marked or mark «Automatically capture the mouse in full-screen windows» and «Allow the window manager to control the windows».
4.- (Only if you have installed WINE Staging Branch) There are some reports that going to the section «Staging» and clicking «Enable CSMT for better graphic performance» can actually help. While you can say «well, no s*** Sherlock», I haven’t noticed a real boost on the performance (mind that I’m using non-recommended hardware) but who knows? Maybe you’ll get a distinguishable performance. I’ll leave it on, I don’t mind it and it certainly hasn’t impacted me negatively.
5.- Once more, before exiting, hit «Apply» or if it’s greyed out, just hit «Ok».
From this point, you should be able to play the game. If your hardware meets the Store Page recommendations, have fun and remember to read through the references I’m leaving.
If your hardware is near recommended or not recommended at all, keep reading as the next section may help you a bit more.
This is a section that may help you. However, I cannot guarantee that it will indeed increase performance.
1.- Launch the game and configure all you want in the «Settings» menu. That is, Sound, Graphics, Subtitles. all you want set up to your liking. Once we proceed, you will not be able to edit this settings ever again without undoing most of the next steps.
Now, while the game forces you to play only on 1280×720 and above, you can bypass this and set your own resolution.
One of the things I noticed on my first trial-and-error attempts was that the Nouveau driver can set a smaller resolution; 720 x 400 (or something like that). With this in mind, I took another guide for another game and said; «well, why not?»
We don’t need the Nouveau driver for this, mind you.
1.- With Steam closed, open a terminal and type:
This window will appear:
There, navigate to:
HKEY_CURRENT_USER -> SOFTWARE -> Rooster Teeth Productions LLC -> RWBY: Grimm Eclipse
Double click the value you want to edit, this window will appear:
Now we need to change the radio button from «Hexadecimal» to «Decimal».
On the values of Resolution Width and Height you will notice that the number converted to the resolution set in game once you switched to Decimal.
There are four values that we are interested in:
Screenmanager Is Fullscreen mode_h3981298716
Determines if the game goes fullscreen or not.
Values: 0 and 1
Screenmanager Resolution Height_h2627697771
Determines the game Height (both windowed and fullscreen).
Screenmanager Resolution Width_h182942802
Determines the game Width (both windowed and fullscreen).
1024×768 896×560 896×504 768×432 762×428 704×480 640×400 640×360
512×384 480×272 400×300 384×288 320×240 256×192 200×160
Determines the graphic quality of the game (limited to the options in game).
0 — Potato Quality | 1 — Normal Quality | 2 — High Quality | 3 — Ultra Quality
Mods work, indeed. As they don’t need stand-alone executables and rather seem to «inject» (don’t know the exact jargon for this) themselves into the game, they can be run.
However, here are the bad news; the main installer is broken. If you download the executable and try to run it by any mean (that is double-clicking it, opening a terminal and append it to the wine command) it will send you a message. I don’t know much about this but seems like .NET Framework is missing.
Right now I don’t know if I can install said component from Winetricks (there’s Mono, the free implementation of .NET but it was installed when I tested it and it didn’t worked). Also the Wine HQ page recommends not to install things like DirectX or NET directly from the installers provided by Microsoft.
However, there’s a workaround.
Make sure you have in your system already installed the OpenJDK Runtime Environment. Download then gvk’s jar installer from his post and place the jar file into the next direction:
Now, open a terminal and execute the following command:
The next window will appear:
Click «Install Mod» and search for the directory:
Select the folder «RWBY_GE», hit OK and the mods will be installed.
Your console should display this:
The installer will close automatically.
Next time you start the game, the «Mods» entry on the menu will appear.
I hope this guide was useful to you.
Any grammar mistakes will be corrected on future revisions.
Источник