Title: Tool to convert binary UIFILES to xml text Post by: drakkar1969 on November 13, 2014, 04:44:40 pm Ok so this is a command line tool (uib2t.exe) I developed to convert binary UIFILES to readable XML format.
It can either convert a single binary UIFILE resource file (previously extracted with a resource editor) or extract multiple UIFILEs from a system file and convert them. It does not modify system files in any way. If you don't trust that, just copy the system file somewhere else and extract from the copied file ... This tool is only for 64 bit windows! Code: USAGE: Usage info above can be displayed by running the program without any parameters. I have tested this on Windows 8.1 Update 1 without any issues - but it should work on any 8+ Windows version. Please use OldNewExplorer to test this, or make a backup if you're going to modify system files (which this tool does not do). I take no responsibility if you mess up your system!!! ;) UPDATE SEPTEMBER 2015 Tool updated to version 1.0.3 BETA. Now tested with Windows 10 RTM Changes from previous version (1.0.2 BETA): * Minor tweaks to conversion code * Text output during conversion improved: - Errors and warnings are now highlighted in red - Destination folder for converted XML files now indicated in text output when conversion complete * New program icon (courtesy of http://www.iconsdb.com/ (http://www.iconsdb.com/)) * Changes to command line parameters: - In -file mode, added an optional parameter to specify a destination folder to save converted XML files - In -sys mode, destination folder parameter is now optional. If omitted, converted XML files are saved in a sub-folder of the uib2t program Updated usage information: Code: uib2t :: by drakkar1969 :: Version 1.0.3 BETA Title: Re: Tool to convert binary UIFILES to xml text Post by: drakkar1969 on November 13, 2014, 04:55:07 pm P.S. I have converted UIFILEs from the following system files with no issues (with OldNewExplorer):
- ActionCenterCPL.dll - ExplorerFrame.dll - FirewallControlPanel.dll - PowerCpl.dll - shell32.dll - SystemCpl.dll - ThemeCpl.dll - Wucltux.dll Title: Re: Tool to convert binary UIFILES to xml text Post by: Dave Senior on November 13, 2014, 06:03:44 pm Thanks mate !
Title: Re: Tool to convert binary UIFILES to xml text Post by: drakulaboy on November 13, 2014, 07:31:57 pm nice, gonna try it to some files from Windows 10, thank you!
Title: Re: Tool to convert binary UIFILES to xml text Post by: Mr GRiM on November 14, 2014, 07:52:45 pm Thanks, I already had a similar tool from tyhiy to do this but it's always good to have options, plus I was never allowed to share his tool with anyone else.
Title: Re: Tool to convert binary UIFILES to xml text Post by: 3am on November 15, 2014, 02:10:25 pm This works great. Thanks :)
For people with little command line experience, like me, here's a way to get this running: This is an example converting one UIFILE ( in this case UIFILE 23 in Shell32 extracted as 23.raw in Restorator) from the uib2t folder placed on my desktop. Change the name 3am to your name. 1) Put the 23.raw file in the uib2t folder containing uib2t.exe 2) Right-click on the uib2t folder on your desktop while holding down the SHIFT key and select 'Open command window here' from the popup menu 3) Type what you need so it looks like this: C:\Users\3am\Desktop\uib2t>uib2t -file "C:\Users\3am\Desktop\uib2t\23.raw" ( Don't forget the space between uib2t and -file) and press enter 4) You'll see the message: uib2t :: by drakkar1969 :: Version 1.0.1 BETA Convert binary UIFILE resources to XML text format Converting UIFILE C:\Users\3am\Desktop\Convert\23.raw to XML text DUIB conversion completed: UIFILE 23.raw | OK 1 of 1 UIFILE(s) successfully converted to text 5) Now you will have a converted 23.uib2t.txt in the uib2t folder that you can edit, rename and place in your SHELL32_UIFILE resource folder in your custom shellstyle to use with OldNewExplorer Title: Re: Tool to convert binary UIFILES to xml text Post by: drakkar1969 on November 15, 2014, 03:10:42 pm If you want to save yourself some typing: right-click on the uib2t folder on your desktop while holding down the SHIFT key and select 'Open command window here' from the popup menu. This will open up a command prompt already in the right folder - then just skip to step 5
Title: Re: Tool to convert binary UIFILES to xml text Post by: 3am on November 15, 2014, 03:32:22 pm Thanks for the tip. I fixed it in my post
Title: Re: Tool to convert binary UIFILES to xml text Post by: tistou77 on January 30, 2015, 08:49:23 pm Hello
Thank you for sharing I do not really understand (sorry for my english), that is to modify shell32.dll oneself and have the same result as OldNewExplorer, for example? If so, how I should proceed? Thanks for your help Title: Re: Tool to convert binary UIFILES to xml text Post by: drakkar1969 on January 31, 2015, 07:21:36 pm Hello Thank you for sharing I do not really understand (sorry for my english), that is to modify shell32.dll oneself and have the same result as OldNewExplorer, for example? If so, how I should proceed? Thanks for your help Basically some of the UIFILEs in shell32.dll and ExplorerFrame.dll (but also other system files) are encoded in a binary format that you cannot edit directly (for use e.g. with OldNewExplorer). So what most people do is use UIFILEs from previous Windows builds. What this tool does is it converts the UIFILEs from binary format to a text format, that you can edit as you want and use with OldNewExplorer (so no need to use UIFILEs from previous builds) Title: Re: Tool to convert binary UIFILES to xml text Post by: tistou77 on August 13, 2015, 12:49:45 am Hello
I try to use this "soft" to convert a binary, but it does not work This is the binary "EXPLORER_RIBBON" of explorerframe.dll (extracted with Restorator in .raw I was wrong ? Quote uib2t :: by drakkar1969 :: Version 1.0.1 BETA Convert binary UIFILE resources to XML text format Converting UIFILE C:\Users\tistou\Desktop\uib2t\test.raw to XML text DUIB conversion completed: UIFILE test.raw | Skipped: not in DUIB format 0 of 1 UIFILE(s) successfully converted to text Thanks Title: Re: Tool to convert binary UIFILES to xml text Post by: drakkar1969 on August 13, 2015, 09:28:59 am Hello I try to use this "soft" to convert a binary, but it does not work This is the binary "EXPLORER_RIBBON" of explorerframe.dll (extracted with Restorator in .raw I was wrong ? Thanks The EXPLORER_RIBBON resource in explorerframe.dll is unfortunately not a UIFILE resource (different format) and cannot be converted with this tool. sorry Title: Re: Tool to convert binary UIFILES to xml text Post by: tistou77 on August 13, 2015, 01:03:48 pm Ok, thanks for your reply
Title: Re: Tool to convert binary UIFILES to xml text Post by: MidSil on March 27, 2017, 09:40:20 pm Ok so this is a command line tool (uib2t.exe) I developed to convert binary UIFILES to readable XML format. It can either convert a single binary UIFILE resource file (previously extracted with a resource editor) or extract multiple UIFILEs from a system file and convert them. It does not modify system files in any way. If you don't trust that, just copy the system file somewhere else and extract from the copied file ... Hello, Very good job, is there a chance to do the inverse? I'm trying to edit the twinui.dll UIFILE resources to edit the XAML to prevent some items to show up (Setting, Search, ect) on a Windows 2012 server. So I need to transform the XML to binary again, so I can replace the resouce with some tool (ResoureHacker). Thanks, -- Andre Title: Re: Tool to convert binary UIFILES to xml text Post by: tistou77 on October 28, 2017, 05:00:15 pm Hello
I'm not sure I have an answer :P Once I extract the binary resource (40960 of explorerframe.dll), use the software to convert it to .txt and "reintegrate" the .txt into the dll with Restorator for example Is there anything else to do? At reboot, the changes do not apply ... As if it kept "in memory before the changes" Thanks Title: Re: Tool to convert binary UIFILES to xml text Post by: 3am on October 28, 2017, 10:04:38 pm Nothing was changed because you just converted UIFILE 40960 into a text file without editing anything inside it.
Title: Re: Tool to convert binary UIFILES to xml text Post by: tistou77 on November 01, 2017, 07:16:04 am Thanks for your reply
I extract a 40960 binary from explorerframe.dll of Win10 1703, convert to txt and integrate into explorerframe.dll of Win10 1709 not same dll version of explorerframe.dll Title: Re: Tool to convert binary UIFILES to xml text Post by: 3am on November 01, 2017, 01:04:49 pm That tells you that the 1703 40960 file is the same as the one in 1709.
Converting to a text file is done only to make it easier to read and edit. |