Jump to content

how to integrate vista simhei font into i386\lang folder


Recommended Posts

Posted (edited)

hello everybody

Simhei.ttf is the default font for IME and display chinese, it located in i386\lang folder and very important to me

I found some entries about integrating vista simhei font in Ricks Windows siderbar addon,see below ,

how to integrating simhei font into "i386\lang" folder not into "i386" if only modify some codes in simhei sections?

for do this that will reduce the size of my project and replace the old simhei at the same time,Anyone can help me on this not use overwritting manually thats what I used before,if possible still keep these sections in windows siderbar addon that would be better,

thanks in advance.

[EditFile]
I386\HIVESFT.INF,AddReg,AddFonts
I386\HIVESFT.INF,Strings,AddStrings

[AddFonts]
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts","%simhei%",,"simhei.ttf"

[AddStrings]
simhei ="SimHei (TrueType)"

[dosnet_files]
d1,simheix.ttf

[txtsetup_files]
simheix.ttf = 100,,,,,,,22,0,0,simhei.ttf,1,22

[i386_compress]
rvmtemp\extracted\simheix.ttf

Edited by bjfrog
Posted

You can simply overwrite the one in lang and that will do it, but it will not be installed unfortunately unless you install support for other asian langs

The reason i put it in i386 and gave it a x on the end is because some people were having trouble with it and nLite, nLite will delete it if you choose to remove the other languages

BTW most stuff in the LANG folder is installed via INF

Posted

Copy to and overwrite is the final answer, I dont want contiue try this ,thanks alot mate

I must install eastern langusge and this simhei is only chinese font I keep in my nLited project,without this chinese IME has no possible be installed

BTW can I ask another question about ASMS integrated here ?

Thats from your nLite plus addon,after a fresh windows setup nLite still show me the problem(SEE BLOW IMAGE AND DETAILS CODES)

snap1zb8.jpg

DETAILS INFO

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.FileNotFoundException: The system cannot find the file specified. (Exception from HRESULT: 0x80070002)
at ..(String , String )
at ..(String )
at ..(String , StringCollection& , Boolean , Boolean )
at ..()
at ..()
at ..WndProc(Message& )
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
nLite
Assembly Version: 1.4.8.0
Win32 Version: 1.4.8.0
CodeBase: file:///C:/Program%20Files/nLite/nLite.exe
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
nLite
Assembly Version: 1.4.8.0
Win32 Version: 1.4.8.0
CodeBase: file:///C:/Program%20Files/nLite/nLite.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.832 (QFE.050727-8300)
CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
nlgw
Assembly Version: 1.1.0.0
Win32 Version: 1.4.8.0
CodeBase: file:///C:/Program%20Files/nLite/nLite.exe
----------------------------------------
MCDBNET2
Assembly Version: 1.32.0.0
Win32 Version: 1.32.0.1302
CodeBase: file:///C:/Program%20Files/nLite/MCDBNET2.DLL
----------------------------------------
msvcm80
Assembly Version: 8.0.50727.762
Win32 Version: 8.00.50727.762
CodeBase: file:///C:/WINDOWS/WinSxS/x86_Microsoft.VC80.CRT_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_6b128700/msvcm80.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

As soon as I copy runtime files(msvcp90.dll msvcr90.dll Microsoft.VC90.CRT.manifest msvcm90.dll) into nLite folder nLite will work again ,So I guess the runtime not right installed but they really integrated into i386/ASMS,at the same time Kels Runtime4.3 addon has been integrated,I think they should have no compatibility issues as the same stuff will overwrite,

pls take glance and help me what cause this and how check runtime installed ,thanks in advance!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...