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: 30 priapus is acknowledged by some
Unique Rep: 21
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 06:35 PM.
priapus is offline   Reply With Quote
Old 07-21-07   #2 (permalink)
Intel Overclocker
 
biatchi's Avatar
 
intel nvidia

Join Date: Mar 2006
Location: Green & pleasant England
Posts: 2,805

Rep: 144 biatchi is acknowledged by manybiatchi is acknowledged by many
Unique Rep: 107
FAQs Submitted: 1
Folding Team Rank: 51
Trader Rating: 0
Default

nice guide. deserves a cookie

System: Lazy Slacr
CPU
Q6600 G0 Slacr 3.51@1.47v
Motherboard
DS3R Pencil modded
Memory
2x1gb Ballistix 975 4,4,4,4@2.02v
Graphics Card
EVGA 7800 GTX KO
Hard Drive
300 and 250 gig Maxtors
Sound Card
Xtreme Music > Kef 103.2 reference circa 1979
Power Supply
PC P&C Silencer 750w
Case
Stripped and hacked up oem:(
CPU cooling
TRUE with 125cfm Ys-tech
GPU cooling
NV Silencer 5 (Rev. 3)
OS
Arch64 and XP for CSS
Monitor
Viewsonic VA1912W
biatchi is offline 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
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 & Seagate 120GB SATA 150
Sound Card
X-Fi XtremeGamer
Power Supply
Ultra 500
Case
Rosewill
CPU cooling
Zalman 9500
GPU cooling
Stock Copper HSF
OS
Ubuntu 8.04 RC / XP Pro SP2b
Monitor
LG L1932TQ 4ms Flatron 19" LCD
reset3x is offline   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,083

Rep: 60 Kirgan is acknowledged by some
Unique Rep: 53
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
__________________
We Are Gr33n Machine | British Overclockers Club | Mozilla Firefox Club
Coming Soon:
Samsung 24" Widescreen | 4GB OCZ SLI PC2-6400 | Samsung Spinpoint F1 1TB
Quote:
Originally Posted by Boris4ka View Post
The obvious solution to this is to stop downloading music and start shoplifting CD's.

System: Beast Within!
CPU
Intel C2Q Q6600 G0 SLACR
Motherboard
EVGA nForce 680i A1
Memory
OCZ SLI 4GB NVIDIA *Soon*
Graphics Card
EVGA 8800GTS 512mb G92
Hard Drive
Samsung Spinpoint F1 1TB 32mb cache *Soon*
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 Ultimate 32bit SP1
Monitor
Samsung SM2493HM 24" *Soon*
Kirgan is online now   Reply With Quote
Old 07-23-07   #5 (permalink)
I CAN HAS OCed ACCNTZ?
 
H3||scr3am's Avatar
 
intel nvidia

Join Date: Mar 2007
Location: Look behind you...
Posts: 3,352

Rep: 251 H3||scr3am is a proven memberH3||scr3am is a proven memberH3||scr3am is a proven member
Unique Rep: 195
Trader Rating: 1
Default

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

System: B3 Holds me back :(
CPU
Intel Q6600 (L664G)
Motherboard
Asus P5K Deluxe
Memory
G.Skill 2GB HZs & 2GB Ballistix
Graphics Card
eVGA GeForce 8800 GTX
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 8800 WB
OS
XP pro SP3 :D
Monitor
2x 21" Sony G400 CRTs
H3||scr3am is offline 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: 30 priapus is acknowledged by some
Unique Rep: 21
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,630

Rep: 550 PROBN4LYFE is becoming famousPROBN4LYFE is becoming famousPROBN4LYFE is becoming famousPROBN4LYFE is becoming famousPROBN4LYFE is becoming famousPROBN4LYFE is becoming famous
Unique Rep: 321
FAQs Submitted: 9
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
SLi Zotac 8600 GTs (680/850)
Hard Drive
4x320GB Seagate Barracuda Raid0/80GB WD Caviar SE
Sound Card
Karajan
Power Supply
600W PowMax (Revived wire mod)
Case
Case...whats that?!...lol
CPU cooling
Zalman AM2 9500
GPU cooling
Stock w/120mm on the back
OS
XP PROBN SP-P/Sabayon 3.3 RC3
Monitor
Dual Samsung 24"z
PROBN4LYFE is offline Overclocked Account PROBN4LYFE's Gallery   Reply With Quote
Old 08-30-07   #8 (permalink)
Linux Lobbyist
 
Wheezy Baby's Avatar
 
intel nvidia

Join Date: May 2006
Location: New York
Posts: 2,601

Rep: 163 Wheezy Baby is acknowledged by manyWheezy Baby is acknowledged by many
Unique Rep: 124
FAQs Submitted: 1
Hardware Reviews: 13
Trader Rating: 2
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.
__________________
* 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


System: Main rig stolen.. stuck with PIII..
CPU
500Mhz PIII
Motherboard
Compaq.. VIA maybe
Memory
256MB
Graphics Card
3dfx Voodoo3
Hard Drive
20GB
Sound Card
none
Power Supply
300 watts
Case
none
OS
Windows 98 SE
Monitor
Samsung SyncMaster 997DF 19" CDT
Wheezy Baby is offline Wheezy Baby's Gallery   Reply With Quote
Old 08-30-07   #9 (permalink)
Linux Lobbyist
 
priapus's Avatar
 
amd nvidia

Join Date: May 2007
Posts: 399

Rep: 30 priapus is acknowledged by some
Unique Rep: 21
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: 166

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 07:04 PM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.22629 seconds with 9 queries