|
![]() |
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) | |||||||||||||
|
New to Overclock.net
![]() |
nice guide. deserves a cookie
__________________
Basically Random Idiotic Terrible Insanely Stupid Humour ace8uk - I wish George Michael would suck me. ace8uk - Well, I have to say... I do love the little kiddies. meticadpa - I look like a paedophile with a moustache. kerbitroy - I look like a paedophile with or without a moustache
|
|||||||||||||
|
|
|
|
|
#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
__________________
|
|||||||||||||
|
|
|
|
|
#5 (permalink) | |||||||||||||
|
NEEDZ MOAR PPD
![]() |
STiCK!
__________________
I am 91% addicted to Counterstrike. What about you? OCN CS:S GG: overclock.nuclearfallout.net:27015 OCN TF2: 68.232.173.130:27015 BRAND NEW 500FPS!!! My Role in this community is to make your gaming experience on our gameservers enjoyable
please feel free to PM me with your suggestions and issues.
|
|||||||||||||
|
|
|
|
#6 (permalink) | |||||||||||||
|
Linux Lobbyist
![]() |
Thanks for the compliments everyone.
__________________
Running Windows apps through Wine? This FAQ is a must read! UPDATED
|
|||||||||||||
|
|
|
|
|
#7 (permalink) | ||||||||||||||
|
Mr. "Bet-u-can't do it"
![]() |
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.
__________________
|
|||||||||||||
|
|
|
|
|
#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 | |
|
|