第二天,发现游戏没有声音,其它程序、游戏一切正常!
一开始以为是系统出问题了,试了半天无效。
又以为是游戏文件损坏了,但是将游戏拷到其它盘的话正常。
想着应该又是注册表在作怪,于是通过搜索游戏主程序的文件名,在注册表中找到以下键值:
Windows Registry Editor Version 5.00[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerLowRegistryAudioPolicyConfigPropertyStore582ec2fd_0]@="{0.0.0.00000000}.{012abb2f-49c8-4d79-91b5-fba535cf1e98}|DeviceHarddiskVolume5games霹雳奇侠传PiliGame.exe%b{00000000-0000-0000-0000-000000000000}"[HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerLowRegistryAudioPolicyConfigPropertyStore582ec2fd_0{219ED5A0-9CBF-4F3A-B927-37C9E5C5F14F}]"3"=hex:04,00,00,00,00,00,00,00,00,00,80,3f,00,00,00,00,00,00,00,00,00,00,00, 00"4"=hex:04,20,00,00,00,00,00,00,18,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,80,3f,00,00,80,3f"5"=hex:0b,00,00,00,00,00,00,00,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00, 00
发现将:
"5"=hex:0b,00,00,00,00,00,00,00,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,00,00
行中的ff,ff改为00,00之后,游戏正常了!
又研究了一下,发现:
"3"=hex:04,00,00,00,00,00,00,00,00,00,80,3f,00,00,00,00,00,00,00,00,00,00,00, 00
键值中的80,3f可以控制音量大小!80应该是十六进制低位,3f为高位。
80的取值范围大概为0-FF
3f取值范围大概在3e-42,43以上声音改变
又测试了其它程序,发现均可在此健值下控制:
HKEY_CURRENT_USERSoftwareMicrosoftInternet ExplorerLowRegistryAudioPolicyConfigPropertyStore