PE Viewer 3.0
Moderators: Hacker, petermad, Stefan2, white
Re: PE Viewer 3.0
heh...
finally I was able to find this exe...
https://stefansundin.github.io/xn_resource_editor/
and I was a slightly shocked that inside the size of ~2MB a developer could fit the proper editor! of all controls!
and images/icons too!
So I would like to vote for the same at least - I mean the visual representation of all controls.
Ok let's forget about the editor possibilities, but to view controls we definitely should prefer by they full GUI forms.
and not as a text code like it was done right now in a code of the subj.
https://i.ibb.co/qmRcLYq/2024-07-23-192510.png
vs
https://i.ibb.co/58N0Fpc/2024-07-23-192554.png
And at the same time, in the viewing/editing functionality it is possible to select exactly all the controls located
on the open form/dialog! That is, you can interact with an open form/dialog. And all its controls are completely working!
BUT the funny thing is that the very moment about some special art of "_slower_ getting icons", which is discussed in the
last posts of the current topic in this editor for the file I chose - somehow it didn't work at all.
In the pictures we can see that there is no ICON resource Completely in this editor! As well as the CURSOR resource!
finally I was able to find this exe...
https://stefansundin.github.io/xn_resource_editor/
and I was a slightly shocked that inside the size of ~2MB a developer could fit the proper editor! of all controls!
and images/icons too!
So I would like to vote for the same at least - I mean the visual representation of all controls.
Ok let's forget about the editor possibilities, but to view controls we definitely should prefer by they full GUI forms.
and not as a text code like it was done right now in a code of the subj.
https://i.ibb.co/qmRcLYq/2024-07-23-192510.png
vs
https://i.ibb.co/58N0Fpc/2024-07-23-192554.png
And at the same time, in the viewing/editing functionality it is possible to select exactly all the controls located
on the open form/dialog! That is, you can interact with an open form/dialog. And all its controls are completely working!
BUT the funny thing is that the very moment about some special art of "_slower_ getting icons", which is discussed in the
last posts of the current topic in this editor for the file I chose - somehow it didn't work at all.
In the pictures we can see that there is no ICON resource Completely in this editor! As well as the CURSOR resource!
#146217 personal license
Re: PE Viewer 3.0
Search, download and try XN-Resource-Editor to dissipate you obeys.AntonyD wrote: 2024-07-23, 16:14 UTC I described the point that it is NOT clear from your proposal WHAT makes this tool so unique and convenient.
Re: PE Viewer 3.0
2iteg
Thanks for the update.
Thanks for the update.
- Unfortunately, I didn't see the priority improvements (that I wrote about) in the new keys, except that you can change the height of the general font, the highlight color and the active tab.
There are no separate background color and font color/size/weight settings for tabs and tabstops, font color of the active tab (colors can merge), background and font colors for highlighting list items, border colors, scrollbar element colors, font color of the list item under the mouse cursor.
I hope you will add all this. - The very fact that the tabs don't fit into one row along the width of the panel is very depressing. It would be great to be able to customize the display of tabs (at least these: Digital Signatures, Debug, Load Configuration, CLR Header, [PE*, Intel ...]).
- As for the updated arrow in the active tabstop, it changes to a rectangle on XP after color settings.
The choice of the arrow itself doesn't seem optimal to me. I would choose something bigger, closer to the one in TC.
Also, please align it vertically with the text and make a small indentation. - Also, ReadMe lacks descriptions for new keys. For example, I didn't understand what ImportantColor refers to.
Overquoting is evil! 👎
Re: PE Viewer 3.0
Test version 3.0.15.1:
- Fixed an error in parsing the import table.
- Improved light theme (original appearance).
- Renamed the configuration file parameter "ImportantColor" to "HighlightColor2".
- In the archive, the PEViewer.ini file contains the current color values.
https://dropmefiles.com/16QFU
- Fixed an error in parsing the import table.
- Improved light theme (original appearance).
- Renamed the configuration file parameter "ImportantColor" to "HighlightColor2".
- In the archive, the PEViewer.ini file contains the current color values.
https://dropmefiles.com/16QFU
Re: PE Viewer 3.0
2iteg
Are you ignoring me?
It didn't get any better. Only additional problems appeared in the light theme:
1. BackColor2 is no longer supported.
2. With the classic XP/7 theme, the borders of the tabs, unlike the dark theme, look bold.
Are you ignoring me?
It didn't get any better. Only additional problems appeared in the light theme:
1. BackColor2 is no longer supported.
2. With the classic XP/7 theme, the borders of the tabs, unlike the dark theme, look bold.
Overquoting is evil! 👎
Re: PE Viewer 3.0
2Fla$her
Thank you for your interest in the project.
The purpose of this revision was to correct the light theme to its previous appearance. For most users the view has improved.
I have noted your comments. I won’t be able to implement all your wishes due to significant overlap in the behavior of standard components.
Yes, certain problems have arisen that I will fix as I have free time.
Thank you for your interest in the project.
The purpose of this revision was to correct the light theme to its previous appearance. For most users the view has improved.
I have noted your comments. I won’t be able to implement all your wishes due to significant overlap in the behavior of standard components.
Yes, certain problems have arisen that I will fix as I have free time.
Re: PE Viewer 3.0
I didn't really understand what you mean. All without exception? Or just some of them?iteg wrote: 2024-08-19, 19:49 UTC I won’t be able to implement all your wishes due to significant overlap in the behavior of standard components.
And what do you mean by overlapping components?
Overquoting is evil! 👎
Re: PE Viewer 3.0
2Fla$her
Incorrectly written. I meant that for the listed components it is necessary to override the window procedure and process drawing messages (WM_PAINT and others) to draw certain parts of these components.And what do you mean by overlapping components?
Re: PE Viewer 3.0
Test version 3.0.15.2:
- The plugin has been rebuilt on Embarcadero RAD Studio 12.2.
- Parsing of the 'TYPELIB' resource of the 'MSFT' format has been implemented. Please test the output generation. I will improve it based on comments. What utilities are there to view (besides fileinfo) TypeLib?
- Implemented check of hash sums for the OH.CheckSum and RichHeader.CheckSum fields. If the value of these fields is incorrect, the field is marked in red and the correct value is inserted in brackets.
- For the PEViewer.ini configuration file for theme sections, a new parameter "GridLines" has been added for displaying the grid in the list component.
- On the "Info" tab, the error in displaying "Entry Point Raw Offset" from 8 to 4 bytes has been fixed.
- Improved algorithm for opening a file in Ctrl+Q mode on the '..' element when unpacking a file with the wcx plugin.
- On the "Info" tab, a field for the full path of the file has been added. Relevant when viewing a file from unpacking.
- For the light theme, the tsButtons bookmark style has been returned so that the BackColor parameter can be applied correctly - the problem of frames around the tab text will be eliminated.
If you still need to set the style of flat buttons for the theme and the standard color will not change, then you need to add the line to the configuration file:
[PEViewer]
...
MainForm.tcToolbar.Style=tsFlatButtons
- Code optimization and minor GUI improvements.
https://www.upload.ee/files/17114196/PEViewer.rar.html
- The plugin has been rebuilt on Embarcadero RAD Studio 12.2.
- Parsing of the 'TYPELIB' resource of the 'MSFT' format has been implemented. Please test the output generation. I will improve it based on comments. What utilities are there to view (besides fileinfo) TypeLib?
- Implemented check of hash sums for the OH.CheckSum and RichHeader.CheckSum fields. If the value of these fields is incorrect, the field is marked in red and the correct value is inserted in brackets.
- For the PEViewer.ini configuration file for theme sections, a new parameter "GridLines" has been added for displaying the grid in the list component.
- On the "Info" tab, the error in displaying "Entry Point Raw Offset" from 8 to 4 bytes has been fixed.
- Improved algorithm for opening a file in Ctrl+Q mode on the '..' element when unpacking a file with the wcx plugin.
- On the "Info" tab, a field for the full path of the file has been added. Relevant when viewing a file from unpacking.
- For the light theme, the tsButtons bookmark style has been returned so that the BackColor parameter can be applied correctly - the problem of frames around the tab text will be eliminated.
If you still need to set the style of flat buttons for the theme and the standard color will not change, then you need to add the line to the configuration file:
[PEViewer]
...
MainForm.tcToolbar.Style=tsFlatButtons
- Code optimization and minor GUI improvements.
https://www.upload.ee/files/17114196/PEViewer.rar.html
Re: PE Viewer 3.0
Will this further help fix the color and font problems I listed in the first item?
And what about the rest (excluding tabs, arrow+indent, keys in ReadMe)?
Thank you. It became like in fileinfo. I looked at several dlls, but didn’t see any problems.iteg wrote: 2024-09-15, 18:35 UTC - Parsing of the 'TYPELIB' resource of the 'MSFT' format has been implemented. Please test the output generation.
Only in fileinfo there was no need to expand this in the tree. Why not remove nodes for single-page resources?
Comments and links are here, if you haven't forgotten.iteg wrote: 2024-09-15, 18:35 UTC I will improve it based on comments. What utilities are there to view (besides fileinfo) TypeLib?
It's desirable that short paths be replaced with absolute ones. On XP, for example:iteg wrote: 2024-09-15, 18:35 UTC- On the "Info" tab, a field for the full path of the file has been added. Relevant when viewing a file from unpacking.
C:\DOCUME~1\User\LOCALS~1\Temp\_tc\$q\Program.exe
>
C:\Documents and Settings\User\Local Settings\Temp\_tc\$q\Program.exe
BackColor2 for the light theme still doesn't work.iteg wrote: 2024-09-15, 18:35 UTC- For the light theme, the tsButtons bookmark style has been returned so that the BackColor parameter can be applied correctly
In the next version? Now the problem has also been added to the dark theme. tsFlatButtons have no effect.

Overquoting is evil! 👎
Re: PE Viewer 3.0
Test version 3.0.15.3:
- Significantly improved parsing of the TYPELIB resource.
- Implemented the ability to view all TYPELIB resources in a file, and not just the very first one, as in fileinfo. (C:\Windows\HelpPane.exe, Windows 11).
- Reading of all resources for the "Resources" tab has been changed to use the file-to-memory mapping mechanism. All file operations and intermediate buffers are removed.
- For the "Info" tab, the order of data blocks has been changed. The first block is the file block. For the file path parameter, conversion of a short path (name~1) to a long path has been implemented.
- For the "Info" tab, displaying a file information block of data is implemented, even if the file type is not supported.
- Fixed an error in completing the auxiliary thread for calculating hashes and obtaining the VT status when quickly running through files in Ctrl+Q mode (quick view).
- The block of copied information has been expanded when clicking on the brief information tab "PE32 ...". Implemented changing the mouse cursor when hovering. Also for a bookmark with a description of the error.
- Fixed a bug in reading the header of a PNG image.
- Fixed error reading the PACKAGEINFO resource.
- Internal errors have been fixed.
- Code optimization.
https://www.upload.ee/files/17200202/PEViewer.rar.html
- Significantly improved parsing of the TYPELIB resource.
- Implemented the ability to view all TYPELIB resources in a file, and not just the very first one, as in fileinfo. (C:\Windows\HelpPane.exe, Windows 11).
- Reading of all resources for the "Resources" tab has been changed to use the file-to-memory mapping mechanism. All file operations and intermediate buffers are removed.
- For the "Info" tab, the order of data blocks has been changed. The first block is the file block. For the file path parameter, conversion of a short path (name~1) to a long path has been implemented.
- For the "Info" tab, displaying a file information block of data is implemented, even if the file type is not supported.
- Fixed an error in completing the auxiliary thread for calculating hashes and obtaining the VT status when quickly running through files in Ctrl+Q mode (quick view).
- The block of copied information has been expanded when clicking on the brief information tab "PE32 ...". Implemented changing the mouse cursor when hovering. Also for a bookmark with a description of the error.
- Fixed a bug in reading the header of a PNG image.
- Fixed error reading the PACKAGEINFO resource.
- Internal errors have been fixed.
- Code optimization.
https://www.upload.ee/files/17200202/PEViewer.rar.html
Re: PE Viewer 3.0
2Fla$her
Thank you very much for your participation in supporting the project!
I have little free time, so I can’t answer quickly.
1)
2)
3)
4)
5)
6)
Thank you very much for your participation in supporting the project!
I have little free time, so I can’t answer quickly.
1)
The transition to Embarcadero RAD Studio 12.2 was made for the subsequent use of the built-in visual themes of the controls. But new problems emerged.Will this further help fix the color and font problems I listed in the first item
2)
Added it to my ToDo. I will do it gradually.And what about the rest (excluding tabs, arrow+indent, keys in ReadMe)
3)
Please explain in more detail.Only in fileinfo there was no need to expand this in the tree. Why not remove nodes for single-page resources?
4)
Made it in 3.0.15.3.It's desirable that short paths be replaced with absolute ones
5)
BackColor2 for the light theme defines the background for the list, tree, memo and other controls. Setting the color via BackColor2 works. If this is not the case, then describe the problem in detail.BackColor2 for the light theme still doesn't work.
6)
TTabControl has a problem when setting the color, if the style is tsFlatButtons, then a white frame appears around the text. With the tsButtons style there is no such problem, but the bookmarks are voluminous. Therefore, I explicitly removed the style setting from the program code and made it possible to assign a style through a configuration file. But tsFlatButtons works ONLY for the light theme and ONLY without changing the color using BackColor. A dark theme means setting a dark color, which also leads to a problem with tsFlatButtons.In the next version? Now the problem has also been added to the dark theme. tsFlatButtons have no effect.
Re: PE Viewer 3.0
Would be possible to make UPX packer accessible with %COMMANDER_PATH% variable in the UPXPath?
Re: PE Viewer 3.0
2macleod
Already implemented and will be released in the next version.Would be possible to make UPX packer accessible with %COMMANDER_PATH% variable in the UPXPath?
Re: PE Viewer 3.0
Test version 3.0.16.1:
- UPX unpacking error has been fixed. If you open an executable file from an archive, totalcmd will place it in "%TEMP%\_tc", which is also used by the plugin for unpacking UPX. To avoid conflicts with directory paths, the temporary directory "%TEMP%\_tc\pv" is set for the plugin.
- For the TMemo component, the error in setting the font size to small for the light theme has been fixed.
- Support for environment variables has been implemented for the UPXPath parameter. For example, UPXPath=%COMMANDER_PATH%\Utils\upx\upx.exe.
- Improved output of the VarFileInfo structure with the output of all “Language” and “Code Page” pairs.
- Expanded output of VS_FIXEDFILEINFO structure.
- Improved function for displaying the code page name. 1200 is processed correctly.
https://www.upload.ee/files/17357210/PEViewer_3.0.16.1.rar.html
- UPX unpacking error has been fixed. If you open an executable file from an archive, totalcmd will place it in "%TEMP%\_tc", which is also used by the plugin for unpacking UPX. To avoid conflicts with directory paths, the temporary directory "%TEMP%\_tc\pv" is set for the plugin.
- For the TMemo component, the error in setting the font size to small for the light theme has been fixed.
- Support for environment variables has been implemented for the UPXPath parameter. For example, UPXPath=%COMMANDER_PATH%\Utils\upx\upx.exe.
- Improved output of the VarFileInfo structure with the output of all “Language” and “Code Page” pairs.
- Expanded output of VS_FIXEDFILEINFO structure.
- Improved function for displaying the code page name. 1200 is processed correctly.
https://www.upload.ee/files/17357210/PEViewer_3.0.16.1.rar.html