Windows Aero:修订间差异

跳转到导航 跳转到搜索
删除154字节 、​ 2025 年 5 月 25 日 (星期日)
第 20 行: 第 20 行:
这是有关如何在 Longhorn Build 4066 至 4082 中启用 Aero 主题的指南。{{efn|本指南中的大多数步骤不适用于 64 位版本,因为它们仅提供基本的 [[DWM]] 功能。此外,本指南不包含修补系统文件(如 <code>Microsoft.Windows.WCPClient.dll</code>)以启用其他 Aero UI/功能的步骤。}}
这是有关如何在 Longhorn Build 4066 至 4082 中启用 Aero 主题的指南。{{efn|本指南中的大多数步骤不适用于 64 位版本,因为它们仅提供基本的 [[DWM]] 功能。此外,本指南不包含修补系统文件(如 <code>Microsoft.Windows.WCPClient.dll</code>)以启用其他 Aero UI/功能的步骤。}}


====Video Drivers and Theme Files====
==== 视频驱动程序和主题文件 ====
If using VMware Workstation version 7.1, it is essential to have an appropriate SVGA driver installed. To install the driver, go to the Device Manager, locate 'Graphics' and click 'Update Driver' with the mounted or burned driver pack ISO (Device Manager might not function correctly on builds 4081 and 4082 due to missing <code>hdwwiz.cpl</code>. Additionally, these builds may require booting into VGA display mode after updating the driver, otherwise it may result in a <code>0x000000B4</code> [[Blue screen of death|BSOD]]. This is caused by a failure to initialize the video driver).
如果使用 VMware Workstation 版本 7.1,必须安装适当的 SVGA 驱动程序。要安装驱动程序,请转到设备管理器,找到“图形”并使用已安装或刻录的驱动程序包 ISO 单击“更新驱动程序”(由于缺少 <code>hdwwiz.cpl</code>,设备管理器可能无法在 Build 4081 和 4082 上正常运行。此外,这些版本可能需要在更新驱动程序后启动到 VGA 显示模式,否则可能会导致 <code>0x000000B4</code> [[蓝屏死机]]。这是由于无法初始化视频驱动程序引起的。


Builds 4081 and 4082 ship with an incomplete copy of DirectX 9, which can cause a black screen when DWM is enabled. The missing components can be obtained from the DirectX 9.0b or 9.0c installer for [[Windows XP]]. The installer itself will not work on Longhorn, but this can be bypassed by manually extracting the contents of <code>dxnt.cab</code> and installing all of the <code>.inf</code> files found within from their right-click menus (answer no to all overwrite prompts), and copying any remaining files from <code>dxnt.cab</code> into System32. Verify successful installation by running the Direct3D tests in <code>dxdiag</code> (it may complain about DirectShow not being registered, but the spinning 3D cube animation can still confirm DirectX is functional).
Build 4081 4082 附带了不完整的 DirectX 9 副本,启用 DWM 时可能会导致黑屏。缺少的组件可以从 [[Windows XP]] 的 DirectX 9.0b 9.0c 安装程序中获取。安装程序本身在 Longhorn 上不工作,但可以通过手动提取 <code>dxnt.cab</code> 的内容并从其右键单击菜单安装其中找到的所有 <code>.inf</code> 文件(对所有覆盖提示回答否),并将任何剩余文件从 <code>dxnt.cab</code> 复制到 System32 中来绕过这一点。通过在 <code>dxdiag</code> 中运行 Direct3D 测试来验证安装成功(它可能会提示 DirectShow 未注册,但旋转的 3D 立方体动画仍可以确认 DirectX 正常运行)。


Subsequently, the Aero theme files should be reconstructed. Aero theme files may be reconstructed based on Jade, and [http://web.archive.org/web/20240222001043/https://cdn.discordapp.com/attachments/657111631171420161/907957384230621225/aero.msstyles here] is a reconstructed <code>aero.msstyles</code> file. After that, create a folder named <code>Aero</code> in the <code>%WinDir%\Resources\Themes</code> directory, and place the reconstructed <code>aero.msstyles</code> inside the newly created <code>Aero</code> folder. Once that is done, go back to <code>%WinDir%\Resources\Themes</code>, make a copy of <code>jade.theme</code> and name it as <code>aero.theme</code>. The last step is to modify the <code>aero.theme</code> file to load the reconstructed <code>aero.msstyles</code>. Open <code>aero.theme</code> with [[Notepad]] and change <code>DisplayName=@themeui.dll,-2013</code> to <code>DisplayName=Aero</code>, then replace all instances of 'Jade' with 'Aero' and save it.
随后,应重建 Aero 主题文件。Aero 主题文件可以基于 Jade 重建,[http://web.archive.org/web/20240222001043/https://cdn.discordapp.com/attachments/657111631171420161/907957384230621225/aero.msstyles 此处]是一个完成重建的 <code>aero.msstyles</code> 文件。然后,在 <code>%WinDir%\Resources\Themes</code> 目录中创建一个名为 <code>Aero</code> 的文件夹,并将重新构建的 aero.msstyles 放在新创建的 Aero 文件夹中。完成后,回到 <code>%WinDir%\Resources\Themes</code>,复制 <code>jade.theme</code> 并将其命名为 <code>aero.theme</code>。最后一步是修改 <code>aero.theme</code> 文件以加载重新构建的 <code>aero.msstyles</code>。使用[[记事本]]打开 <code>aero.theme</code>,将 <code>DisplayName=@themeui.dll,-2013</code> 更改为 <code>DisplayName=Aero</code>,然后将“Jade”的所有实例替换为“Aero”并保存。


The last step is to modify the Registry to allow the Aero theme to be applied. Open Registry Editor, browse to <code>HKLM\Software\Microsoft\Windows\CurrentVersion\ThemeManager</code>, create a <code>DWORD</code> called <code>DemoCheckOverride</code> and set its value to <code>64222</code> (or <code>0xFADE</code> in hexadecimal).
最后一步是修改注册表以允许应用 Aero 主题。打开注册表编辑器,浏览到 <code>HKLM\Software\Microsoft\Windows\CurrentVersion\ThemeManager</code>,,创建一个名为 <code>DemoCheckOverride</code> <code>DWORD</code>,并将其值设置为 <code>64222</code>(或十六进制的 <code>0xFADE</code>)。


====Differences between Aero and Jade====
====Differences between Aero and Jade====

导航菜单