[PATCH] HOMAM III fix

Martin Lexa mlexa at iol.cz
Fri Apr 5 14:30:28 CST 2002


* Martin Lexa (mlexa at iol.cz) wrote:

>   wine --debugmsg +all 'C:\Program Files\3DO\Heroes3\HEROES3.EXE'
> 
> Debug output:
> 
>   .
>   .
>   .
> 
>   0806fa00:trace:reg:NtQueryValueKey (0x58,L"AppPath",2,0x40896ab4,256)
>   0806fa00: get_key_value( hkey=88, name=L"AppPath" ) Get key \\Machine\\Software\\New World Computing\\Heroes of Might and Magic\xae III\\1.0 value "AppPath"="C:\\Program Files\\3DO\\"
>   0806fa00: get_key_value() = 0 { type=1, total=44, data={43,00,3a,00,5c,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,20,00,46,00,69,00,6c,00,65,00,73,00,5c,00,33,00,44,00,4f,00,5c,00,00,00} }
>   .
>   .
>   .

  Things, getting better and better... 
  Please, look at the value of AppPath reg! I think it should be
C:\\Program Files\\3DO\\HEROES3\\ not C:\\Program Files\\3DO\\. I run regedit
and look at that value and yes, everytime I run wine with this game
the reg AppPath will change to the actual path where I ran wine from.
If I, for example run wine from C:\Program Files\3DO\HEROES3 directory the
value of AppPath reg change to C:\\Program Files\\3DO\\HEROES3\\.
I verified it with regedit.
  I think it's a bug or am I wrong? May be it's a Wine's feature ;) ?
  
Martin



More information about the wine-devel mailing list