Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 07-21-07   #1 (permalink)
Linux Lobbyist
 
priapus's Avatar
 
amd nvidia

Join Date: May 2007
Posts: 399

Rep: 33 priapus is acknowledged by some
Unique Rep: 24
Trader Rating: 0
Default How To: Advanced Wine configuration for gaming.

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
The only thing you should need to do here, I think, is to click on the audio tab to make sure you sound card gets configured and then click Apply and then OK.

3. Run the Registry Editor, type in a terminal:
Code:
regedit
Now expand HKEY_CURRENT_USER, then Software, and then Wine.

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
to update you registry. Also different programs run best with different values so make sure to check the App Database for the best settings for any programs you use and if you want more information on using Wine to visit Wine HQ.

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
If performance doesn't improve enough try increasing the number (max is -20) but -10 should be fine for most programs.

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"
to
Code:
env WINEPREFIX="/home/priapus/.prey" wine "C:Program Files/Prey/prey.exe"
and the work path from
Code:
/home/priapus/.wine/dosdevices/c:/Program Files/Prey
to
Code:
/home/priapus/.prey/dosdevices/c:/Program Files/Prey
Just like if you install a lot of programs in Windows can slow Windows down, installing a lot of programs under Wine can slow Wine down too. This also makes uninstallation a breeze. Also this simplifies having different settings for different programs.

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:
Copy protection uses several "dirty" methods to detect if discs are "real" or not. Some of these methods work in Wine but most do not, such as the extremely invasive StarForce system. Wine would need to be altered to allow for almost rootkit-like functionality of programs to get some of these copy protection schemes to work, so support is likely to be a long time off if ever.
So get used to using them. Since they are of questionable legality you will have to Google around for them yourself.
__________________
System: HAL9000
CPU
Athlon 4800+ X2 "Toledo"
Motherboard
MSI K8N Neo4 Platinum
Memory
2GB OCZ Platinum DDR400
Graphics Card
MSI GeForce 7900GS 512MB Overclock Edition
Hard Drive
2xSeagate Barracuda 250GB 7200RPM 3.0Gb/s
Sound Card
M-Audio Revolution 5.1 PCI
Power Supply
Antec Earthwatts 500W
Case
Thermaltake Tsunami Dream
CPU cooling
ZALMAN CNPS9500 LED 92mm
GPU cooling
REVOLTEC Ever Lubricate VGA-cooler Graphic Freezer
OS
SabayonLinux x86 3.4
Monitor
Optiquest Viewsonic Q20wb

Last edited by priapus : 01-06-08 at 07:35 PM
priapus is offline   Reply With Quote
Old 07-21-07   #2 (permalink)
New to Overclock.net
 
biatchi's Avatar
 
intel ati

Join Date: Mar 2006
Location: 53°45′N 2°42′
Posts: 3,199

Rep: 180 biatchi is acknowledged by manybiatchi is acknowledged by many
Unique Rep: 126
FAQs Submitted: 1
Folding Team Rank: 294
Trader Rating: 1
Default

nice guide. deserves a cookie
__________________
Basically Random Idiotic Terrible Insanely Stupid Humour

Quote:
Originally Posted by ace8uk View Post
Well, I have to say... I do love the little kiddies.
Quote:
Originally Posted by meticadpa View Post
I look like a paedophile with a moustache.
Quote:
Originally Posted by kerbitroy View Post
I look like a paedophile with or without a moustache

System: Pronbox ( . Y . )
CPU
Q6600 G0 Slacr 3.24 ~ 1.3625v
Motherboard
DS3R Pencil modded-ish
Memory
2 x 2 XMS2 ~ 900 5,5,5,15@1.90v
Graphics Card
Power Color Hd4870 512Mb ~ 800 1125
Hard Drive
1TB Sammy Spinpoint F1
Sound Card
Onboard :( > Kef 103.2 reference circa 1979
Power Supply
PC P&C Silencer 750w
Case
Crappy
CPU cooling
TRUE with Nidec Beta V TA450DC
GPU cooling
Stock PowerColor
OS
W7 RTM
Monitor
Viewsonic VA1912W
biatchi is online now I fold for Overclock.net biatchi's Gallery   Reply With Quote
Old 07-23-07   #3 (permalink)
Linux Lobbyist
 
reset3x's Avatar
 
amd nvidia

Join Date: Nov 2006
Location: reset3x@*nix:~$
Posts: 1,221

Rep: 150 reset3x is acknowledged by manyreset3x is acknowledged by many
Unique Rep: 76
Folding Team Rank: 1641
Trader Rating: 1
Default Sticky Material?

I vote for a sticky.... Good Job Dude!!
__________________
System: Phobos
CPU
AMD 64 4000+ San Diego
Motherboard
Foxconn NF4SK8AA SLi
Memory
2x1 GB Mushkin CL2
Graphics Card
MSI NX8600GT-T2D256E OC
Hard Drive
WD 250 GB SATA 300
Sound Card
X-Fi XtremeGamer
Power Supply
Ultra 500
Case
Rosewill
CPU cooling
Zalman 9500
GPU cooling
Stock Copper HSF
OS
Kubuntu 8.04-1
Monitor
LG L1932TQ 4ms Flatron 19" LCD
reset3x is offline I fold for Overclock.net   Reply With Quote
Old 07-23-07   #4 (permalink)
PC Gamer
 
Kirgan's Avatar
 
intel nvidia

Join Date: Mar 2006
Location: Manchester, UK
Posts: 1,460

Rep: 80 Kirgan is acknowledged by some
Unique Rep: 73
Hardware Reviews: 1
Trader Rating: 0
Default

Quote:
Originally Posted by reset3x View Post
I vote for a sticky.... Good Job Dude!!
I agree, thats a great guide. Nice job man

System: Beast Within!
CPU
Intel C2Q Q6600 G0
Motherboard
EVGA nForce 680i A1
Memory
8GB Geil Black Dragon Quad Channel
Graphics Card
EVGA 8800GTS 512mb G92
Hard Drive
Seagate Barracuda 1TB
Sound Card
SIIG Soundwave 5.1 PCI
Power Supply
OCZ GameXStream 700W
Case
Antec 900 Gaming Case
CPU cooling
Q6600 Stock Cooler
GPU cooling
EVGA Dual slot cooler
OS
Vista x64 Ultimate / Windows 7 RC x64
Monitor
Samsung T240
Kirgan is offline   Reply With Quote
Old 07-23-07   #5 (permalink)
NEEDZ MOAR PPD
 
H3||scr3am's Avatar
 
intel nvidia

Join Date: Mar 2007
Location: Cambridge, Ontario
Posts: 6,890

Folding Team Rank: 33
Team Name: Nom Nom Nom PPD
Trader Rating: 21
Default

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.

System: B3 Holds me back :(
CPU
Intel Q6600 (L664G)
Motherboard
Asus P5K Deluxe
Memory
G.Skill 2GB HZs & 2GB Ballistix
Graphics Card
eVGA 8800GTX / XFX 8800GS
Hard Drive
WD SATA HD 250GB
Sound Card
Auzentech X-Fi Prelude
Power Supply
Silverstone Decathlon 750W
Case
TT Armor w/ 25cm side fan
CPU cooling
D-Tek FuZion WB
GPU cooling
DD 8800GTX WB / Stock
OS
XP pro SP3 :D
Monitor
2x 19" LG LCDs
Overclock.net - 2009 Chimp Challenge Champions 4 Million+ Folding at Home points
H3||scr3am is offline I fold for Overclock.net Overclocked Account H3||scr3am's Gallery   Reply With Quote
Old 07-25-07   #6 (permalink)
Linux Lobbyist
 
priapus's Avatar
 
amd nvidia

Join Date: May 2007
Posts: 399

Rep: 33 priapus is acknowledged by some
Unique Rep: 24
Trader Rating: 0
Default

Thanks for the compliments everyone.

System: HAL9000
CPU
Athlon 4800+ X2 "Toledo"
Motherboard
MSI K8N Neo4 Platinum
Memory
2GB OCZ Platinum DDR400
Graphics Card
MSI GeForce 7900GS 512MB Overclock Edition
Hard Drive
2xSeagate Barracuda 250GB 7200RPM 3.0Gb/s
Sound Card
M-Audio Revolution 5.1 PCI
Power Supply
Antec Earthwatts 500W
Case
Thermaltake Tsunami Dream
CPU cooling
ZALMAN CNPS9500 LED 92mm
GPU cooling
REVOLTEC Ever Lubricate VGA-cooler Graphic Freezer
OS
SabayonLinux x86 3.4
Monitor
Optiquest Viewsonic Q20wb
priapus is offline   Reply With Quote
Old 08-30-07   #7 (permalink)
My FSBs R better than URS
 
PROBN4LYFE's Avatar
 
amd nvidia

Join Date: Feb 2005
Location: Between 95 and 29...
Posts: 8,665

Rep: 551 PROBN4LYFE is becoming famousPROBN4LYFE is becoming famousPROBN4LYFE is becoming famousPROBN4LYFE is becoming famousPROBN4LYFE is becoming famousPROBN4LYFE is becoming famous
Unique Rep: 322
FAQs Submitted: 9
Folding Team Rank: 2028
Hardware Reviews: 4
Trader Rating: 0
Default

Just read it and it is on my A list of Linux --to --do list....LOL
__________________
Quote:
I refuse to sig...what I do and post should be enough for most of you to know I'm for real or know I'm just joking...LOL

System: Spawn of a lost socket
CPU
X2 3800 2905mghz
Motherboard
DFI Lanparty Expert(modded BIOS)
Memory
(2x512) G SKILL DDR400@DDR483.4
Graphics Card
MSi 9400GT
Hard Drive
2x320GB Seagate Barracuda Raid0
Sound Card
Karajan
Power Supply
600W PowMax (Revived wire mod)
Case
Yeah right
CPU cooling
Zalman AM2 9500 modded Aerocool X blasters
GPU cooling
Stock w/120mm on the back
OS
Windows Vista Ultimate
Monitor
HP 2207HD
PROBN4LYFE is offline I fold for Overclock.net Overclocked Account PROBN4LYFE's Gallery   Reply With Quote
Old 08-30-07   #8 (permalink)
Linux Lobbyist
 
Wheezy Baby's Avatar
 
amd nvidia

Join Date: May 2006
Location: ./
Posts: 2,833

Rep: 172 Wheezy Baby is acknowledged by manyWheezy Baby is acknowledged by many
Unique Rep: 133
FAQs Submitted: 1
Folding Team Rank: 3253
Hardware Reviews: 13
Trader Rating: 5
Default

Quote:
Originally Posted by reset3x View Post
I vote for a sticky.... Good Job Dude!!
Not for sticky. But definitely put in into the directory.
__________________

..Gaming on linux, more possible every day
..


Need help with linux?
Check the FAQ Directory or Make your own thread



System: ::: Linux Gaming Rig :::
CPU
AMD Athlon X2 BE-2400
Motherboard
Biostar A770
Memory
G.Skill 2x1GB DDR2-800
Graphics Card
eVGA GeForce 8800GS
Hard Drive
Seagate Barracuda 320GB
Sound Card
SoundBlaster Live! 7.1
Power Supply
Silverstone ST400 400w
Case
Antec Three Hundred
CPU cooling
Rosewill RCX-Z940-SL
GPU cooling
Stock
OS
Ubuntu 8.04 (No Windows)
Monitor
Asus VW223T 22" Wide
Wheezy Baby is offline I fold for Overclock.net Wheezy Baby's Gallery   Reply With Quote
Old 08-31-07   #9 (permalink)
Linux Lobbyist
 
priapus's Avatar
 
amd nvidia

Join Date: May 2007
Posts: 399

Rep: 33 priapus is acknowledged by some
Unique Rep: 24
Trader Rating: 0
Default

It is in the directory you silly Wheezing Baby! And yes a sticky would not be appropriate.

System: HAL9000
CPU
Athlon 4800+ X2 "Toledo"
Motherboard
MSI K8N Neo4 Platinum
Memory
2GB OCZ Platinum DDR400
Graphics Card
MSI GeForce 7900GS 512MB Overclock Edition
Hard Drive
2xSeagate Barracuda 250GB 7200RPM 3.0Gb/s
Sound Card
M-Audio Revolution 5.1 PCI
Power Supply
Antec Earthwatts 500W
Case
Thermaltake Tsunami Dream
CPU cooling
ZALMAN CNPS9500 LED 92mm
GPU cooling
REVOLTEC Ever Lubricate VGA-cooler Graphic Freezer
OS
SabayonLinux x86 3.4
Monitor
Optiquest Viewsonic Q20wb
priapus is offline   Reply With Quote
Old 09-07-07   #10 (permalink)
PC Gamer
 
OverclockedUndervolted's Avatar
 
amd nvidia

Join Date: Nov 2005
Location: Indiana
Posts: 168

Rep: 5 OverclockedUndervolted Unknown
Unique Rep: 4
Trader Rating: 2
Default

I vote for sticky as well and don't see why that would not be appropriate....
__________________
Quote:
Originally Posted by Modki View Post
Overclocking Tip #148 - No matter what anyone tells you, never lick the northbridge to test temps.

System: My System
CPU
x2 3600+ Brisbane@2.7
Motherboard
Biostar TForce 550
Memory
2GB Crucial Ballistix
Graphics Card
7950GT
Hard Drive
200GB Maxtor Diamondmax
Sound Card
Onboard
Power Supply
Antec Neopower 480 modded
Case
Cheap/Nice
CPU cooling
Stock
GPU cooling
Stock
OS
Windows XP/Fedora 8
Monitor
22" widescreen LG
OverclockedUndervolted is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 08:26 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License

Terms of Service / Forum Rules | Privacy Policy | DMCA Info | Advertising | Become an Official Vendor
Copyright © 2009 Shogun Interactive Development. Most rights reserved.
Page generated in 0.16468 seconds with 8 queries