Geej Posted August 9, 2008 Share Posted August 9, 2008 (edited) I remembered when I want to change the default XP theme in HFSlip, I search the forum for some answers but could not find any complete informations. There are some post mentioned in MSFN-nlite & RyanVM forum but not in HFslip forum. After some searching, most useful info is from Gosh, plus trial & errors, I finally got it working in HFSlip.Hence sharing this info with HFslip users. After all, default XP theme is so old now.BTW, this method is useful only if you use user-attended mode or without Winnt.sif method.First get your fav theme. Majority of themes can be found from various forums :(MSFN-nlite, RyanVM or Wincert.net)Here is how to make your fav theme as default theme :As I like Kel's Midnight theme v1.8 by Kelsenellenelvian, I choose this theme as the default theme for demonstration.Making your fav theme to your default theme mainly consist of 3 parts:Part 1: Modify your fav theme to fit the default theme requirementPart 2: Insert Default theme infPart 3: Included a patched uxtheme.dll accroding to your OS (or see post #10 for download link for English XP)Part 1:=====Download the theme & modify the following:1)a. Unpack Themes_Kels_Midnight_Addon_1.8.cab to it's own subfolderb. Unpack MIDNIGHT.CAB to its subfolder again. Convert Midnight Blue.jpg to Midnight Blue.bmp using any image editor Remember to delete Midnight Blue.jpgc. Edit 'Midnight Blue.Theme' using any text editor: (I use notepad++) Scroll to [Control Panel\Desktop] section Change Wallpaper=%WinDir%Web\Wallpaper\Midnight Blue.jpg to Wallpaper=%WinDir%Web\Wallpaper\Midnight Blue.bmpd. While we are editing, you may want to change [Theme] section[Theme]; My Computer From DefaultValue=C:\WINDOWS\Explorer.exe,0 to DefaultValue=%windir%explorer.exe,0 ; My Documents To DefaultValue=%windir%SYSTEM32\mydocs.dll,0; My Network Places To DefaultValue=%windir%system32\SHELL32.dll,17; Recycle Bin to full=%windir%System32\shell32.dll,32 empty=%windir%System32\shell32.dll,31e. There are 3 more themes (Midnight Green.Theme, Midnight Grey.Theme & Midnight Pink.Theme) which you might want to convert to environment variable styleSave Midnight Blue.Theme, Recab back the whole folder back to MIDNIGHT.CAB (& remember to delete MIDNIGHT folder)2) Next, decompress MIDNIGHT.IN_ to MIDNIGHT.INFReplace any text reference of 'Midnight Blue.jpg' to 'Midnight Blue.bmp' (use the Find/replace feature in your text editor)(There are only 2 text references to replace)Edit the following: [SourceDisksFiles] Midnight Blue.jpg=1 <-- located at line 54 [wall] Midnight Blue.jpg <--- located at line 141to [SourceDisksFiles] Midnight Blue.bmp=1 [wall] Midnight Blue.bmpRecompress MIDNIGHT.INF back to MIDNIGHT.IN_Then Delete MIDNIGHT.INF3) Repack the whole package back to Themes_Kels_Midnight1.8.cab (this is now the modified one) Give a slightly differently name, such as Default_Themes_Kels_Midnight1.8.cabPart 2:=====Create an .inf, say DefaultthemeMidnightBlue.INF in HFGUIRUNONCE folder with the following code: (attachment available for download, after the codebox)[Version]Signature=$Windows NT$[Optional Components]MyThemesRegTweaks[DefaultInstall]OptionDesc ="Registry Entries"Tip ="Registry Entries"Modes =0,1,2,3AddReg =REGEntries.AddRegDelReg =REGEntries.DelReg[MyRegTweaks]OptionDesc ="Registry Entries"Tip ="Registry Entries"Modes =0,1,2,3AddReg =REGEntries.AddRegDelReg =REGEntries.DelReg[REGEntries.AddReg]; Reg2Inf v0.37 - http://tinyurl.com/fgqyfHKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Themes","InstallTheme",0,"%%SystemRoot%%\Resources\themes\Midnight Blue.Theme"HKCU,"Software\Microsoft\Windows\CurrentVersion\Themes\LastTheme","Wallpaper",0x00020000,"%%SystemRoot%%\Web\Wallpaper\Midnight Blue.bmp"HKCU,"Software\Microsoft\Windows\CurrentVersion\Themes\LastTheme","ThemeFile",0x00020000,"%%SystemRoot%%\resources\Themes\Midnight Blue.Theme"or download DefaultthemeMidnightBlue.inf hereDefaultthemeMidnightBlue.INFFor changing to other themes of your choice, you need to edit DefaultthemeMidnightBlue.inf file.Under [REGEntries.AddReg] section, modify the 3 system paths accordingly to your own theme.Part 3:=====Download patched theme uxtheme.dll with XP SP3 version 6.0.2900.5512_EN.rar. Extract the package until you see uxtheme.dllYou need to compress to uxtheme.dl_ formatWhere to place the files:Put Default_Themes_Kels_Midnight1.8.cab in HFAAO folderPut DefaultthemeMidnightBlue.INF in HFGUIRUNONCE folderPut uxtheme.dl_ in REPLACE\i386 folder (create the folder if doesn't exist)Done. Pls test in Virtual PC first.Suggested Tools:----------------------1) Add the following cabtool registry tweak to your OS. These will allow you to convert .dll to .dl_ type and vice versa. Cabtool Registry Tweak2) CabTool v1.8 in SendTo style Build2, 2008/04/07 or Kels_Uber_Addon_v13.7.CAB. (CabTool v1.8 in SendTo style is already included in Kels_uberpack)3) Any archiver tool such as IZArc or TUGzip The above works during testing for hfslip-1.7.9_beta_m.cmd, slipstreaming SP3, WMP11 & IE7 with clean XPSP2 source. All using TommyP's method as stated in his website. It will not override XP own default theme (Luna.theme). There is not need to add any code in Winnt.sif for the theme part, even if you are using unattended mode.I hope you will find this info useful. Edited September 5, 2009 by Geej Link to comment Share on other sites More sharing options...
LeveL Posted September 27, 2008 Share Posted September 27, 2008 Does anyone know how Windows converts a JPG to a BMP in the background?If we knew that and could do that on the command line it could save space if JPG images are used.It seems it has to be a BMP and they are huge! Like 2Mb per image. Link to comment Share on other sites More sharing options...
Geej Posted September 27, 2008 Author Share Posted September 27, 2008 (edited) U could do a format conversion from jpg to bmp thru irfanview executable (i_view32.exe)If you have i_view32.exe located in c:\windows, then the command would be:i_view32.exe "%windir%\web\wallpaper\friend.jpg" /convert="%windir%\web\wallpaper\friend.bmp"del "%windir%\web\wallpaper\friend.jpg"exitJust ensure your jpg files exists on your hard-disk before this conversion takes places(You may wish to deploy cWnd.exe to hide the console)Alternatively, since HFSlip support autoit directly (which I appreciate it very much), you can add a script (say Convert2bmp.au3) in HFEXPERT\AUTOIT folder with the code to hide the console. Note: requires AutoIt3.exe in the same HFEXPERT\AUTOIT folder.FileChangeDir (@WindowsDir&"\web"&"\Wallpaper")Runwait ("i_view32.exe friend.jpg /convert=friend.bmp","",@SW_HIDE)FileDelete (@WindowsDir&"\web"&"\Wallpaper"&"\friend.jpg"); delete friend.jpg after conversion;Just ensure your jpg files exists on your hard-disk before this conversion takes placesNote: Put i_view32.exe in HFEXPERT\WIN folder if you wish to use any of the above 2 methodsNOTE: Default theme wallpaper still requires bmp format though.You can read an article here (Read post #5) Edited October 25, 2008 by Geej Link to comment Share on other sites More sharing options...
Geej Posted October 25, 2008 Author Share Posted October 25, 2008 When you right-click Desktop -> Properties, in the Themes Tab, More themes online... link is no longer valid.Below is registry tweak to point to another url. I has it set to themes.belchfire.netYou may wish to change the url of your choice.Place this reg file in HFSVCPACK folderMore_themes_online.reg Link to comment Share on other sites More sharing options...
riosilente Posted June 3, 2009 Share Posted June 3, 2009 Please help me.i don't use HFSlip is possible to fit similar guide to $OEM$ Distribution Folders and runonceex?sorry for my bad english! Link to comment Share on other sites More sharing options...
Geej Posted June 3, 2009 Author Share Posted June 3, 2009 Hi riosilenteNot sure how to do it using nlite. Have u look at this guide?The easiest way to set your own theme is thru WINNT.SIF Link to comment Share on other sites More sharing options...
riosilente Posted June 4, 2009 Share Posted June 4, 2009 tanks man!I have been read the guide but I am creating an autoextract package "for dummies" and I would want to use folder & regtweak via runonceexunfortunately i undestarnd how to change WINNT.SIF "universal for all people"exist any software to apply automatically this string at WINNT.SIF?in my (crazy) project i don't use nLite Link to comment Share on other sites More sharing options...
Geej Posted June 5, 2009 Author Share Posted June 5, 2009 Hi riosilenteI don't really understand what u are saying...U don't use nlite & HFslip. R u using RMVi...?If not at all, r u saying u want to apply a default theme using RunonceEx together with your choice theme in a normal environment?If not, then what r u trying to achieve?What is "universal for all people"? I interpret as ... u already understand that everyone is using WINNT.SIF to set default theme.?For "any software to apply automatically this string at WINNT.SIF', I do not know of any. Maybe someone out there knows... Link to comment Share on other sites More sharing options...
riosilente Posted June 5, 2009 Share Posted June 5, 2009 Hi riosilenteI don't really understand what u are saying...U don't use nlite & HFslip. R u using RMVi...?If not at all, r u saying u want to apply a default theme using RunonceEx together with your choice theme in a normal environment?If not, then what r u trying to achieve?What is "universal for all people"? I interpret as ... u already understand that everyone is using WINNT.SIF to set default theme.?For "any software to apply automatically this string at WINNT.SIF', I do not know of any. Maybe someone out there knows...i'm so sorry but my english is very ugly... i find solution to my problem i look the http://unattended.msfn.org/unattended.xp/view/web/76/ and i found solution with a simple file bat!!!this file is in a autoextract file (make with winrar) an when extract the file, it puts in$$\Resources\Themes\MyTheme.themeand Modify.CMD in i386 with this code echo. >> WINNT.SIFecho [shell] >> WINNT.SIFecho CustomDefaultThemeFile = "%WinDir%\Resources\Themes\MyTheme.theme" >> WINNT.SIFthis bat modify and save the new WINNT.SIFp.s. i think a project similar to VistaPackp.p.s. tanks for your attention to me! Link to comment Share on other sites More sharing options...
Geej Posted June 14, 2009 Author Share Posted June 14, 2009 (edited) This is a patched UXTHEME.DLL ( source) for use with 3rd party visual style. For WindowsXP (SP3) File version: 6.00.2900.5512 (xpsp.080413-2105)Note: For use with English XP system onlyPatchedUXTHEME.cab (Put in HFAAO)Size: 99.09 Kb (101,470 bytes)MD5: FA3B761FDA22A46C97FE4C06DCB38CC8(If you put this file in HFAAO, then i386\REPLACE\uxtheme.dl_ is not required) Edited September 5, 2009 by Geej Link to comment Share on other sites More sharing options...
ZEUS__ Posted November 20, 2009 Share Posted November 20, 2009 @Geej;what am I doing for Turkish language? Link to comment Share on other sites More sharing options...
Geej Posted November 21, 2009 Author Share Posted November 21, 2009 I'm sorry ZEUS. I dun know about Turkish language. You can try using http://www.softpedia.com/get/System/OS-Enh...tiPatcher.shtml to patch your host OS. Thenslipstream that file if it works. Link to comment Share on other sites More sharing options...
ZEUS__ Posted November 22, 2009 Share Posted November 22, 2009 ok thanks, I'll look at that. Link to comment Share on other sites More sharing options...
Geej Posted February 1, 2010 Author Share Posted February 1, 2010 XP Theme Randomizer--------------------------This program was made from a post [Trick] How to Set Windows theme from command line by Ken@friThis is an autoit compiled program that select and apply randomly an existing theme. Requirement:1) XP OS only2) At least have 2 themes, excluding Windows Classic Theme must be availableThis program does not check whether your OS has patched UXTHEME.DLL or not.Features:Support console mode. The parameter is the full Theme's filename. XPThemeRandomizer Luna.themeIf Full file name contains space, you need to double quote it. Eg. XPThemeRandomizer "Windows Classic.theme"Access the program thru shortcut created in Accessories Group.Additional features (but disabled):You can adjust the inf for a normal unattended installation & immediately follow up with the program execution with your own choosen theme, either in randomized mode or specific theme in console mode.The supplied inf are included for these possible modes but you need to uncomment or comment the inf line yourself.This has no effect in unattended installation as the theme you set will be override to default (or specified in WINNT.SIF) when you 1st boot to desktop. At the most, only the wallpaper is applied. The only way I know is via RUNONCE key but it has the disadvantage that it requries 2nd reboot to work. Experiment/test at your own side.XPThemeRandomizer_Addon.cabSize: 567.87 Kb (581,496 bytes)MD5: 4B19198234D3F3A2DAD7D3ECF4A24DE7Since this is theme-related stuff, you might like to check out Random Wallpaper Changer utility.Enjoy Link to comment Share on other sites More sharing options...
Geej Posted February 1, 2010 Author Share Posted February 1, 2010 (edited) delete -- double post #14 Edited March 4, 2010 by Geej Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now