Wine Question.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Snake450
Level 3
Level 3
Posts: 90
Joined: Wed Jul 15, 2009 3:11 pm

Wine Question.

Post by Snake450 »

So I'm wondering is there a way to safe regedit keys values for one specific game some way? Like for example I don't use GLSL for Counter-Strike but I do for Left 4 Dead, is there a way to make it so that only Left 4 Dead enables that key while Counter-Strikes has it disabled.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Wine Question.

Post by austin987 »

On Mon, Aug 3, 2009 at 12:15 AM, Snake450<[email protected]> wrote:
So I'm wondering is there a way to safe regedit keys values for one specific game some way? Like for example I don't use GLSL for Counter-Strike but I do for Left 4 Dead, is there a way to make it so that only Left 4 Dead enables that key while Counter-Strikes has it disabled.
Use separate WiNEPREFIX'es.

--
-Austin
Snake450
Level 3
Level 3
Posts: 90
Joined: Wed Jul 15, 2009 3:11 pm

Post by Snake450 »

How though? I did it once but I was following a guide and just started typing thiings in.
austin987
Wine Developer
Wine Developer
Posts: 2383
Joined: Fri Feb 22, 2008 8:19 pm

Wine Question.

Post by austin987 »

On Mon, Aug 3, 2009 at 12:21 AM, Snake450<[email protected]> wrote:
How though? I did it once but I was following a guide and just started typing thiings in.
$ export WINEPREFIX=~/.wine-cs
$ wine counter_strike_setup.exe
$ wine regedit
$ export WINEPREFIX=~/.wine-lfd
$ wine left_for_dead.exe
$ wine regedit
etc.

--
-Austin
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Wine Question.

Post by vitamin »

Snake450 wrote:So I'm wondering is there a way to safe regedit keys values for one specific game some way?
Yes, most configuration, including UseGLSL can be set per app not globally.

To set configuration per app you need write all configuration under "AppDefaults/app.exe" key. You can easily create it from first tab of the winecfg.
Snake450
Level 3
Level 3
Posts: 90
Joined: Wed Jul 15, 2009 3:11 pm

Post by Snake450 »

Alright, I'll give it a shot thanks for the advice.
Snake450
Level 3
Level 3
Posts: 90
Joined: Wed Jul 15, 2009 3:11 pm

Post by Snake450 »

it said it could not load wine-gecko and it could not find the module.
Snake450
Level 3
Level 3
Posts: 90
Joined: Wed Jul 15, 2009 3:11 pm

Post by Snake450 »

I'm looking at the wiki page too btw I keep seeing setup.exe, I will have to reinstall the games?
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

Snake450 wrote:it said it could not load wine-gecko and it could not find the module.
Try

Code: Select all

wine iexplore http://winehq.org
If that doesn't work, use:

Code: Select all

winetricks gecko
Snake450 wrote:I'm looking at the wiki page too btw I keep seeing setup.exe, I will have to reinstall the games?
For new WINEPREFIX - yes, it's like a totally separate installation.
Snake450
Level 3
Level 3
Posts: 90
Joined: Wed Jul 15, 2009 3:11 pm

Post by Snake450 »

Btw you wouldn't know anything about Sound Acceleration would you? I can't get any sound from F.E.A.R. 2. I've tried puting it on winXP and Vista none work but it keeps saying I have Sound Acceleration error. Yes I've gone to winecfg > Audio > Full doesn't work either Driver Emulation does nothing too,
DL
Level 3
Level 3
Posts: 70
Joined: Fri Jun 27, 2008 7:47 pm

Post by DL »

Snake450 wrote:I'm looking at the wiki page too btw I keep seeing setup.exe, I will have to reinstall the games?
If you can find the registry entries that the game uses, you can export them from regedit and then import them in the new wineprefix (again with regedit).Make sure you select 9x/nt4 when selecting the format for your exported .reg file.
Of course, this requires that you install your games outside your .wine dir, which is what I tend to do anyway.
Snake450
Level 3
Level 3
Posts: 90
Joined: Wed Jul 15, 2009 3:11 pm

Post by Snake450 »

Alright thanks.
Locked