|
![]() |
Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix | |
How To: Advanced Wine configuration for gaming.
|
||
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) | ||||||||||||||
|
Linux Lobbyist
|
This guide will tell you how to configure Wine registry keys that you cannot configure with winecfg by using regedit. The reason for doing this is that Wine comes with some pretty bad graphics settings, namely that your graphics card has 64mb of RAM.
__________________1. Install Wine however you want, with git, with a distro specific package or (my recommendation) from the source. There is another FAQ here that can help you if you are having problems. 2. Run the Wine configuration tool, by opening up a terminal and typing: Code:
winecfg 3. Run the Registry Editor, type in a terminal: Code:
regedit 4. Now if you have a key named Direct3D good, if not (most likely) create it. Do this by using your right mouse button and the New->Key option, then name it Direct3D. 5. Okay, move to the Direct3D key you just created and start making string values do this with you right mouse button and the New->String Value option. First off, this is very important, create one name VideoMemorySize, then double click on it and enter the amount of RAM your graphics card has (just the number no MB!). 6. Any other string values you might want set can be found here. But I will go over a couple others that I recommend creating (or editing): DirectDrawRenderer, set this to opengl unless you have problems (this is significantly faster than gdi but not as well supported); UseGLSL, set to enabled unless you have problems (this is now the default for Wine version .0.9.49 and later). 7. If you are having problems switching resolutions when using Wine (your desktop doesn't return to it's normal size or is larger than your screen etc.) create the key X11 Driver and the string values UseXRandR and UseXVidMode, set one to Y and the other to N. Then try switching resolution. If the problem is fixed good, if not flip the Y N values and try it again. 8. I have found that setting HKEY_CURRENT_USER-->Software-->Wine-->Alsa Driver-->AutoScanCards and AutoScanDevices both to Y helps game correctly detect my sound card. Remember every time you update Wine to run Code:
wineprefixcreate Increasing Scheduler Priority Not a registry tweak, but a use full trick that can increase performance in both Wine and native games. Code:
nice -10 wine game.exe DX10 DLLs Again not a registry tweak but here check it out. Installing into Different Folders When you install applications with Wine you install them into the .wine folder by default. One thing I like to do after I install a piece of software is to change the directory it is installed in. For example, lets say I just installed Prey, first thing I would do rename the folder /home/priapus/.wine/ to /home/priapus/.prey/. second thing I would do is right click on my start menu, choose menu editor, find Prey, and change it from Code:
env WINEPREFIX="/home/priapus/.wine" wine "C:Program Files/Prey/prey.exe" Code:
env WINEPREFIX="/home/priapus/.prey" wine "C:Program Files/Prey/prey.exe" Code:
/home/priapus/.wine/dosdevices/c:/Program Files/Prey Code:
/home/priapus/.prey/dosdevices/c:/Program Files/Prey No-CD patches One more thing I would like to say about using Wine for gaming is; get used to using the No-CD cracks! Wine only has very rudimentary support for Secure-ROM copy protection and that is it. From Wine HQ Quote:
Last edited by priapus : 01-06-08 at 06:35 PM. |
||||||||||||||
|
|
|
|
|
#2 (permalink) | |||||||||||||
|
Intel Overclocker
|
nice guide. deserves a cookie
![]()
|
|||||||||||||
|
|
|
|
#3 (permalink) | |||||||||||||
|
Linux Lobbyist
|
I vote for a sticky.... Good Job Dude!!
__________________
|
|||||||||||||
|
|
|
|
|
#4 (permalink) | |||||||||||||
|
PC Gamer
|
I agree, thats a great guide. Nice job man
![]()
__________________
We Are Gr33n Machine | British Overclockers Club | Mozilla Firefox Club
Coming Soon: Samsung 24" Widescreen | 4GB OCZ SLI PC2-6400 | Samsung Spinpoint F1 1TB
|
|||||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||||||
|
I CAN HAS OCed ACCNTZ?
Join Date: Mar 2007
Location: Look behind you...
Posts: 3,352
Rep: 251
![]() ![]() ![]() Unique Rep: 195
Trader Rating: 1
|
STiCK!
__________________
I am 91% addicted to Counterstrike. What about you? ![]() OCN CS:S GG: overclock.nuclearfallout.net:27015 OCN TF2: 8.9.16.94:27015 (temporary) [CSS GUN GAME ADMIN] Ban Hamma of Pwnage +5 skillz [TF2 ADMIN] Ban Hammer of scouting + 20 scout powaz
|
|||||||||||||
|
|
|
|
#6 (permalink) | |||||||||||||
|
Linux Lobbyist
|
Thanks for the compliments everyone.
__________________
Running Windows apps through Wine? This FAQ is a must read! UPDATED
|
|||||||||||||
|
|
|
|
|
#7 (permalink) | ||||||||||||||
|
My FSBs R better than URS
|
Just read it and it is on my A list of Linux --to --do list....LOL
__________________
Quote:
|
||||||||||||||
|
|
|
|
#8 (permalink) | |||||||||||
|
Linux Lobbyist
|
Not for sticky. But definitely put in into the directory.
__________________
* Selling 19" 1080i HDTV (Nearly new) *
* Closet Closeout - EVERYTHING MUST SELL * "Speedy thing goes in, speedy thing comes out." " The universe is shaped exactly like the earth if you go Straight long enough you'll end up where you were. " We Are Gr33n Machine | Linux Gaming Community
|
|||||||||||
|
|
|
|
#9 (permalink) | |||||||||||||
|
Linux Lobbyist
|
It is in the directory you silly Wheezing Baby! And yes a sticky would not be appropriate.
__________________
Running Windows apps through Wine? This FAQ is a must read! UPDATED
|
|||||||||||||
|
|
|
|
|
#10 (permalink) | |||||||||||||
|
PC Gamer
|
I vote for sticky as well and don't see why that would not be appropriate....
__________________
|
|||||||||||||
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|