Adding a Registry Key to Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
GoodHumperdink
Level 1
Level 1
Posts: 5
Joined: Sun Jul 03, 2011 9:45 am

Adding a Registry Key to Wine

Post by GoodHumperdink »

How do I add this registry key to wine:

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"UseGLSL"="disabled"

As it says to do at http://appdb.winehq.org/objectManager.p ... n&iId=9432? In order to get Portal 1 working. When I open HKEY_CURRENT_USER\Software\Wine in regedit there is no Direct3D. I tried making a .reg file containing the line "UseGLSL"="disabled" and then I clicked the import option in regedit and selected the .reg file but nothing happened. I also tried creating the folder Direct3D in HKEY_CURRENT_USER\Software\Wine\ and giving the default a value of "UseGLSL"="disabled" but Portal still crashes when I make a portal. Does anybody have any ideas?

Any help is greatly appreciated :D
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

You did well on creating the folder, but you have to create a key in there of type REG_SZ with the name UseGLSL and, then, you have to give that key the "disabled" value.

Cheers,
Jorl17
GoodHumperdink
Level 1
Level 1
Posts: 5
Joined: Sun Jul 03, 2011 9:45 am

Post by GoodHumperdink »

jorl17 wrote:You did well on creating the folder, but you have to create a key in there of type REG_SZ with the name UseGLSL and, then, you have to give that key the "disabled" value.

Cheers,
Jorl17
I did this but Portal still crashes. What is it I'm doing wrong?


Image
User avatar
SpawnHappyJake
Level 5
Level 5
Posts: 272
Joined: Sun Feb 06, 2011 5:57 am

Post by SpawnHappyJake »

It wouldn't be case-sensitive, would it?
jorl17
Level 5
Level 5
Posts: 365
Joined: Mon Jul 28, 2008 6:44 pm

Post by jorl17 »

Two things:
First, you have a "folder" (let's call it that) under Direct3D which, AFAIK, shouldn't be there. The registry key should be in the Direct3D "folder".
Second, as has been pointed out, it might (sorry, not sure, but I don't think it is -- it might) case-sensitive.
Cloudef
Level 4
Level 4
Posts: 138
Joined: Wed Mar 18, 2009 3:10 pm

Post by Cloudef »

Maybe this helps..
Image
GoodHumperdink
Level 1
Level 1
Posts: 5
Joined: Sun Jul 03, 2011 9:45 am

Post by GoodHumperdink »

Cloudef wrote:Maybe this helps..
Image
This is what I'm supposed to have, but it's not there for some reason. Has anybody else experienced this problem?
User avatar
dimesio
Moderator
Moderator
Posts: 13368
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

GoodHumperdink wrote: This is what I'm supposed to have, but it's not there for some reason. Has anybody else experienced this problem?
Those entries are not there by default; you have to create them. And as Jorl17 already pointed out, you created UseGLSL incorrectly.
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Adding a Registry Key to Wine

Post by DanKegel »

[quote="GoodHumperdink"]How do I add this registry key to wine:

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"UseGLSL"="disabled"

As it says to do at http://appdb.winehq.org/objectManager.p ... n&iId=9432?

winetricks glsl=disabled is one easy way.

Or you could use winecfg, which has a nice checkbox.
Locked