无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 8595|回复: 7
打印 上一主题 下一主题

[原创]简单修改ERD2005,添加中文支持。

[复制链接]
跳转到指定楼层
1#
发表于 2006-6-9 15:38:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
1. 使用ERD Commander 2005 Boot CD Wizard创建ERD2005镜像,同时可添加一些必要的驱动。

2. 解开所得的镜像,准备一张Windows Server 2003光盘,
   将 mingliu.ttc, simhei.ttf, simsun.ttc, svgafix.fon, svgasys.fon, vga936.fon 拷贝到ERD的I386\Fonts目录下
   将 c_10002.nls, c_10008.nls, c_20000.nls, c_20932.nls, c_20936.nls, c_21027.nls, c_g18030.dll, c_is2022.dll,
      prc.nls, prcp.nls, winpy.ime, winpy.mb
拷贝到ERD的I386\system32目录下。

3. 可选:将bootfix.bin拷贝到ERD的I386目录下,将cmd.exe拷贝到I386\system32目录下覆盖原来的cmd.exe并复制一份覆盖
   原来的CommandShell.exe,将regedit.exe更名拷贝到I386\system32(因ERD自带的regedit.exe不支持加载注册表文件)。

4. 可选(替换Firefox):删除I386\system32\FirefoxI386\system32\FireFoxProfile目录,将已安装的Firefox整个安装目录
   拷贝到I386\system32,并更名为Firefox,创建I386\system32\FirefoxProfile\Application Data\Mozilla目录,并将
   %USERPROFILE%\Application Data\Mozilla\Firefox目录拷贝到I386\system32\FirefoxProfile\Application Data\Mozilla下。

5. 打开注册表编辑器,加载I386\system32\setupreg.hiv,命名为HKLM\ERD_SYSTEM,加载I386\system32\software,命名为
   HKLM\ERD_SOFTWARE,加载I386\system32\default,命名为HKLM\ERD_DEFAULT,将以下内容导入注册表
------------------ ERD2005_CHS.reg begin -----------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\filesystem]
"NtfsAllowExtendedCharacterIn8dot3Name"=dword:00000001

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\fontassoc]

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\fontassoc\associated charset]
"ANSI(00)"="YES"
"OEM(FF)"="YES"
"SYMBOL(02)"="NO"

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\fontassoc\associated defaultfonts]
"AssocSystemFont"="simsun.ttc"
"FontPackage"="新宋体"
"FontPackageDontCare"="新宋体"
"FontPackageRoman"="新宋体"
"FontPackageSwiss"="新宋体"
"FontPackageModern"="新宋体"
"FontPackageScript"="新宋体"
"FontPackageDecorative"="新宋体"

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\Keyboard Layouts\00000804]
"Layout File"="KBDUS.DLL"
"Layout Text"="Chinese (Simplified) - US Keyboard"
"Layout Display Name"="@%SystemRoot%\\system32\\input.dll,-5072"

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\keyboard layouts\e0010804]
"Layout File"="KBDUS.DLL"
"Layout Text"="Chinese (Simplified) - Pinyin"
"Layout Display Name"="@%SystemRoot%\\system32\\input.dll,-5073"
"IME file"="winpy.ime"

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\nls\codepage]
"ACP"="936"
"MACCP"="10008"
"OEMCP"="936"
"21027"="c_21027.nls"
"20000"="c_20000.nls"
"20932"="c_20932.nls"
"20936"="c_20936.nls"
"50227"="c_is2022.dll"
"50229"="c_is2022.dll"
"52936"="c_is2022.dll"
"936"="c_936.nls"
"10008"="c_10008.nls"
"54936"="c_g18030.dll"
"950"="c_950.nls"
"10002"="c_10002.nls"

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\nls\language]
"Default"="0804"
"InstallLanguage"="0409"
"0409"="l_intl.nls"
"0804"="l_intl.nls"
"0404"="l_intl.nls"

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\nls\language groups]
"a"="1"
"9"="1"

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\nls\locale]
"00000804"="a"
"00001004"="a"
"00000404"="9"
"00000c04"="9"
"00001404"="9"

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\nls\locale\alternate sorts]
"00020804"="a"
"00021004"="a"
"00030404"="9"
"00021404"="9"

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Control\TimeZoneInformation]
"ActiveTimeBias"=dword:fffffe20
"Bias"=dword:fffffe20
"DaylightBias"=dword:00000000
"DaylightName"="China Standard Time"
"DaylightStart"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00
"StandardBias"=dword:00000000
"StandardName"="China Standard Time"
"StandardStart"=hex:00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\ERD_SYSTEM\ControlSet001\Hardware Profiles\current\software\fonts]
"LogPixels"=dword:00000060
"FIXEDFON.FON"="svgafix.fon"
"FONTS.FON"="svgasys.fon"
"OEMFONT.FON"="vga936.fon"

[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\Nls]
"00000409"=""
"00000804"=hex(7):
"00000404"=hex(7):

[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont]
"936"=hex(7):2a,00,b0,65,8b,5b,53,4f,00,00,2a,00,4e,00,53,00,69,00,6d,00,53,00,\
  75,00,6e,00,00,00,00,00
"950"=hex(7):2a,00,30,7d,0e,66,d4,9a,00,00,2a,00,4d,00,69,00,6e,00,67,00,4c,00,\
  69,00,55,00,00,00,00,00

[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink]
"FontLinkControl"=dword:00004000
"FontLinkDefaultChar"=dword:00003000

[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Microsoft Sans Serif"=hex(7):53,00,69,00,6d,00,53,00,75,00,6e,00,2e,00,54,00,\
  54,00,43,00,2c,00,53,00,69,00,6d,00,53,00,75,00,6e,00,00,00,67,00,75,00,6c,\
  00,69,00,6d,00,2e,00,74,00,74,00,63,00,2c,00,67,00,75,00,6c,00,69,00,6d,00,\
  00,00,4d,00,53,00,47,00,4f,00,54,00,48,00,49,00,43,00,2e,00,54,00,54,00,43,\
  00,2c,00,4d,00,53,00,20,00,55,00,49,00,20,00,47,00,6f,00,74,00,68,00,69,00,\
  63,00,00,00,6d,00,69,00,6e,00,67,00,6c,00,69,00,75,00,2e,00,74,00,74,00,63,\
  00,2c,00,50,00,4d,00,69,00,6e,00,67,00,4c,00,69,00,55,00,00,00,00,00
"SimSun"=hex(7):6d,00,69,00,63,00,72,00,6f,00,73,00,73,00,2e,00,74,00,74,00,66,\
  00,00,00,67,00,75,00,6c,00,69,00,6d,00,2e,00,74,00,74,00,63,00,2c,00,67,00,\
  75,00,6c,00,69,00,6d,00,00,00,4d,00,53,00,47,00,4f,00,54,00,48,00,49,00,43,\
  00,2e,00,54,00,54,00,43,00,2c,00,4d,00,53,00,20,00,55,00,49,00,20,00,47,00,\
  6f,00,74,00,68,00,69,00,63,00,00,00,6d,00,69,00,6e,00,67,00,6c,00,69,00,75,\
  00,2e,00,74,00,74,00,63,00,2c,00,50,00,4d,00,69,00,6e,00,67,00,4c,00,69,00,\
  55,00,00,00,00,00
"Lucida Sans Unicode"=hex(7):4d,00,53,00,47,00,4f,00,54,00,48,00,49,00,43,00,\
  2e,00,54,00,54,00,43,00,2c,00,4d,00,53,00,20,00,55,00,49,00,20,00,47,00,6f,\
  00,74,00,68,00,69,00,63,00,00,00,00,00
"PMingLiU"=hex(7):53,00,69,00,6d,00,53,00,75,00,6e,00,2e,00,54,00,54,00,43,00,\
  2c,00,53,00,69,00,6d,00,53,00,75,00,6e,00,00,00,00,00
"Courier New"=hex(7):4d,00,53,00,47,00,4f,00,54,00,48,00,49,00,43,00,2e,00,54,\
  00,54,00,43,00,2c,00,4d,00,53,00,20,00,55,00,49,00,20,00,47,00,6f,00,74,00,\
  68,00,69,00,63,00,00,00,53,00,69,00,6d,00,53,00,75,00,6e,00,2e,00,54,00,54,\
  00,43,00,2c,00,53,00,69,00,6d,00,53,00,75,00,6e,00,00,00,6d,00,69,00,6e,00,\
  67,00,6c,00,69,00,75,00,2e,00,74,00,74,00,63,00,2c,00,50,00,4d,00,69,00,6e,\
  00,67,00,4c,00,69,00,55,00,00,00,67,00,75,00,6c,00,69,00,6d,00,2e,00,74,00,\
  74,00,63,00,2c,00,67,00,75,00,6c,00,69,00,6d,00,00,00,00,00

[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\FontMapper]
"DEFAULT"=dword:00000086

[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]
"SimSun & NSimSun (TrueType)"="simsun.ttc"
"SimHei (TrueType)"="simhei.ttf"
"MingLiU & PMingLiU (TrueType)"="mingliu.ttc"
"Microsoft Sans Serif (TrueType)"="MICROSS.TTF"

[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\GRE_Initialize]
"FIXEDFON.FON"="svgafix.fon"
"FONTS.FON"="svgasys.fon"
"OEMFONT.FON"="vga936.fon"

[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM]
"LoadIMM"=dword:00000001
"LoadCTFIME"=dword:00000001

[HKEY_LOCAL_MACHINE\ERD_SOFTWARE\Microsoft\Windows NT\CurrentVersion\LanguagePack]
"SURROGATE"=dword:00000002

[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Control Panel\International]
"iCountry"="86"
"iCurrDigits"="2"
"iCurrency"="0"
"iDate"="2"
"iDigits"="2"
"iLZero"="0"
"iMeasure"="0"
"iNegCurr"="2"
"iTime"="1"
"iTLZero"="0"
"Locale"="00000804"
"s1159"="上午"
"s2359"="下午"
"sCountry"="People's Republic of China"
"sCurrency"="¥"
"sDate"="-"
"sDecimal"="."
"sLanguage"="CHS"
"sList"=","
"sLongDate"="yyyy'年'M'月'd'日'"
"sShortDate"="yyyy-M-d"
"sThousand"=","
"sTime"=":"
"sTimeFormat"="H:mm:ss"
"iTimePrefix"="1"
"sMonDecimalSep"="."
"sMonThousandSep"=","
"iNegNumber"="1"
"sNativeDigits"="0123456789"
"NumShape"="1"
"iCalendarType"="1"
"iFirstDayOfWeek"="6"
"iFirstWeekOfYear"="0"
"sGrouping"="3;0"
"sMonGrouping"="3;0"
"sPositiveSign"=""
"sNegativeSign"="-"

[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Control Panel\International\Geo]
"Nation"="45"

[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Keyboard Layout]

[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Keyboard Layout\Preload]
"1"="00000804"
"2"="e0010804"

[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Keyboard Layout\Substitutes]

[HKEY_LOCAL_MACHINE\ERD_DEFAULT\Keyboard Layout\Toggle]
"Hotkey"="2"

------------------ ERD2005_CHS.reg end -----------------------------------
   加载完毕后卸载上述三个注册表文件。

6. 打开I386\txtsetup.sif
   搜索[nls],将下面数行按照如下修改:
   AnsiCodepage     = c_936.nls,936,c_1252.nls,1252
   OemCodepage      = c_936.nls,936,c_437.nls,437,c_850.nls,850
   MacCodepage      = c_10008.nls,10008,c_10000.nls,10000
   UnicodeCasetable = l_intl.nls,0804,l_intl.nls,0409
   OemHalFont       = vgaoem.fon
   DefaultLayout    = 00000804


7. 完毕,重新制作光盘镜像,enjoy it。

A. 参考:
   1) 易通制作的汉化版ERD2005
   2) 本坛cq-x516的一些帖子

B. 分析制作过程所用工具
   cq-x516提供的WinPE注册表编辑
   RegSnap
   Beyond Compare
   InCtrl5
   Dependency Walker
   WinImage

[ 本帖最后由 render 于 2006-6-12 03:11 PM 编辑 ]

Screenshot.png (96.56 KB, 下载次数: 97)

ERD2005CHS

ERD2005CHS
2#
发表于 2006-6-11 21:38:22 | 只看该作者
学习一下
回复

使用道具 举报

3#
发表于 2006-6-20 19:08:08 | 只看该作者
呵呵。。可以参见
http://bbs.wuyou.net/forum.php?m ... &extra=page%3D1
将字体换一下。。。可省好几M
回复

使用道具 举报

4#
发表于 2006-11-23 17:00:42 | 只看该作者
麻烦楼主一下,上面那些在Windows Server 2003的文件我怎么都找不到啊,请指点一下,谢谢!
回复

使用道具 举报

5#
发表于 2006-11-23 18:02:13 | 只看该作者
再麻烦一下,将那一段导入到注册表,是给刚加载的那三个都分别导入吗?还是怎么弄,麻烦指点一下,谢谢!
回复

使用道具 举报

6#
发表于 2006-11-27 13:39:18 | 只看该作者
学习了两天,明白了,搞定。
回复

使用道具 举报

7#
发表于 2007-4-20 09:09:04 | 只看该作者
在哪里打开注册表?本机?如何加载?不明白。这和要刻录的ISO有啥关系?
回复

使用道具 举报

8#
发表于 2007-4-25 22:56:44 | 只看该作者
好复杂。。。没看明白。。。。
这种东西还是要自己动过手才知道呀~~~~:)
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2024-12-29 22:04

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表