|
|
Line 27: |
Line 27: |
| | | |
| == Features == | | == Features == |
| + | |
| + | [[CopyAs]] |
| + | |
| + | [[TAGs]] |
| + | |
| === Save as Dump=== | | === Save as Dump=== |
| Do you need save a part of the file in binary? This feature for you. | | Do you need save a part of the file in binary? This feature for you. |
Line 37: |
Line 42: |
| With this feature, you can fill the selected area with any hex value that you want. | | With this feature, you can fill the selected area with any hex value that you want. |
| | | |
− | === CopyAs ===
| |
− |
| |
− | You can copy a part of the file for showing at Internet, Wiki, C/C++ , ASM code or as many other formats.
| |
− |
| |
− | Before, sharing an hex information is a painful experience. You need to take a screenshot, cut it, find a picture host, upload to internet, generate an url for forum or Wiki...
| |
− |
| |
− | Now, you can '''just use CopyAs''' function! Than wxHexEditor will copy the block to system clipboard with selected formatting.
| |
− |
| |
− | Here is some examples using part of testfile.swp file.
| |
− |
| |
− | ==== Full Text Format ====
| |
− | CopyAs Full Text Format just copy the selection, without TAGs.
| |
− |
| |
− | Options: Offset, Hex and Text outputs with Byte Per Line support.
| |
− |
| |
− | Here we show Hex + Text output with 16 byte per line only.
| |
− |
| |
− | <pre>74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 7A AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA zªªªªªªªªªªªªªªª
| |
− | AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA ªªªªªªªªªªªªªªªª
| |
− | AA AA AA AA AB 69 6C 65 74 65 73 74 66 69 6C 65 ªªªª«iletestfile
| |
− | 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 74 65 73 74 66 69 BB BB BB BB BB BB BB BB BB BB testfi»»»»»»»»»»
| |
− | BB BB BB 74 66 69 6C 65 74 »»»tfilet
| |
− | </pre>
| |
− |
| |
− | ==== Special Hex Format ====
| |
− | Selected block converted to specially formated hex stream with this.
| |
− |
| |
− | Options: RAW Hex, With Space, Quad Hex, with 0x, with 0x and period, also with Byte Per Line option.
| |
− |
| |
− | In all examples used 16 byte per line settings.
| |
− |
| |
− | ===== RAW Hex =====
| |
− | <pre>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
| |
− | AAAAAAAAAB696C657465737466696C65
| |
− | 7465737466696C657465737466696C65
| |
− | 7465737466696C657465737466696C65
| |
− | 7465737466696C657465737466696C65
| |
− | 746573746669BBBBBBBBBBBBBBBBBBBB
| |
− | BBBBBB746669</pre>
| |
− | ===== With Space =====
| |
− | <pre>AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA
| |
− | AA AA AA AA AB 69 6C 65 74 65 73 74 66 69 6C 65
| |
− | 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65
| |
− | 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65
| |
− | 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65
| |
− | 74 65 73 74 66 69 BB BB BB BB BB BB BB BB BB BB
| |
− | BB BB BB 74 66 69 </pre>
| |
− | ===== Quad Hex =====
| |
− | <pre>AAAA AAAA AAAA AAAA AAAA AAAA AAAA AAAA
| |
− | AAAA AAAA AB69 6C65 7465 7374 6669 6C65
| |
− | 7465 7374 6669 6C65 7465 7374 6669 6C65
| |
− | 7465 7374 6669 6C65 7465 7374 6669 6C65
| |
− | 7465 7374 6669 6C65 7465 7374 6669 6C65
| |
− | 7465 7374 6669 BBBB BBBB BBBB BBBB BBBB
| |
− | BBBB BB74 6669 </pre>
| |
− |
| |
− | ===== with 0x =====
| |
− | <pre>0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA
| |
− | 0xAA 0xAA 0xAA 0xAA 0xAB 0x69 0x6C 0x65 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65
| |
− | 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65
| |
− | 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65
| |
− | 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65 0x74 0x65 0x73 0x74 0x66 0x69 0x6C 0x65
| |
− | 0x74 0x65 0x73 0x74 0x66 0x69 0xBB 0xBB 0xBB 0xBB 0xBB 0xBB 0xBB 0xBB 0xBB 0xBB
| |
− | 0xBB 0xBB 0xBB 0x74 0x66 0x69 </pre>
| |
− |
| |
− | ===== with 0x and period =====
| |
− | <pre>0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA,
| |
− | 0xAA, 0xAA, 0xAA, 0xAA, 0xAB, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65,
| |
− | 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65,
| |
− | 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65,
| |
− | 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65,
| |
− | 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB, 0xBB,
| |
− | 0xBB, 0xBB, 0xBB, 0x74, 0x66, 0x69, </pre>
| |
− |
| |
− | ==== Internet Format ====
| |
− | ===== WIKI Format =====
| |
− | You can copy selection as a mediawiki stream with TAGs support.
| |
− |
| |
− | Options: Offset, Hex and Text outputs with Byte Per Line support.
| |
− |
| |
− | Here an example output with all of the panels, using 16 byte per line representation.
| |
− |
| |
− | TAG List:
| |
− | <span style="background-color:#FFE27F;color:#000000;">Sample: First corruption on file.</span>
| |
− | <span style="background-color:#FFF07F;color:#000000;">Sample: Here second corruption at file</span>
| |
− | <span style="background-color:#7FFF83;color:#000000;">Third corruption</span>
| |
− | <span style="background-color:#FF7F7F;color:#000000;">Different Corruption type</span>
| |
− |
| |
− | 000020h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C <span style="background-color:#FFE27F;">AA </span> testfiletestfil<span style="background-color:#FFE27F;">ª</span>
| |
− | 000030h <span style="background-color:#FFE27F;">60 6F FA AA AA AA </span>6C 65 74 65 73 74 66 69 6C 65 <span style="background-color:#FFE27F;">`oúªªª</span>letestfile
| |
− | 000040h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000050h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000060h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000070h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000080h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000090h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 0000A0h 74 65 73 74 66 69 6C 65 <span style="background-color:#FFF07F;">AA AA AA AA AA AA AA AA </span> testfile<span style="background-color:#FFF07F;">ªªªªªªªª</span>
| |
− | 0000B0h <span style="background-color:#FFF07F;">AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA </span> <span style="background-color:#FFF07F;">ªªªªªªªªªªªªªªªª</span>
| |
− | 0000C0h <span style="background-color:#FFF07F;">AA </span>65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 <span style="background-color:#FFF07F;">ª</span>estfiletestfile
| |
− | 0000D0h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 0000E0h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 11 65 testfiletestfi.e
| |
− | 0000F0h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000100h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000110h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000120h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000130h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000140h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000150h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 000160h <span style="background-color:#7FFF83;">7A AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA </span> <span style="background-color:#7FFF83;">zªªªªªªªªªªªªªªª</span>
| |
− | 000170h <span style="background-color:#7FFF83;">AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA </span> <span style="background-color:#7FFF83;">ªªªªªªªªªªªªªªªª</span>
| |
− | 000180h <span style="background-color:#7FFF83;">AA AA AA AA AB </span>69 6C 65 74 65 73 74 66 69 6C 65 <span style="background-color:#7FFF83;">ªªªª«</span>iletestfile
| |
− | 000190h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 0001A0h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 0001B0h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfile
| |
− | 0001C0h 74 65 73 74 66 69 <span style="background-color:#FF7F7F;">BB BB BB BB BB BB BB BB BB BB </span> testfi<span style="background-color:#FF7F7F;">»»»»»»»»»»</span>
| |
− | 0001D0h <span style="background-color:#FF7F7F;">BB BB BB </span>74 66 69 6C 65 74 <span style="background-color:#FF7F7F;">»»»</span>tfilet
| |
− |
| |
− | Generated by [http://www.wxHexEditor.org/ wxHexEditor]
| |
− |
| |
− | ===== phpBB Forum style Format =====
| |
− | Copy format for phpBB forums. Unfortunately wxHexEditor does NOT support TAGS with it.
| |
− | If there is a way to do that, please contact with author to add support for it!
| |
− |
| |
− | Options: Offset, Hex and Text outputs with Byte Per Line support.
| |
− |
| |
− | [code]000020h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C AA testfiletestfilª[/code]Generated by [url=http://www.wxHexEditor.org]wxHexEditor[/url]
| |
− |
| |
− | ===== HTML Format =====
| |
− | You can copy selection as a HTML stream with TAGs support.
| |
− |
| |
− | Options: Offset, Hex and Text outputs with Byte Per Line support.
| |
− |
| |
− | Here an example output with all of the panels, using 32 byte per line representation.
| |
− |
| |
− | Also note that, there are unwanted stings on this show due using html tags under wikimedia to show you.
| |
− |
| |
− | <<nowiki/>pre><code style="color:#000000;">TAG List:<br><span style="background-color:#FFE27F;color:#000000;">Sample: First corruption on file.</span><br><span style="background-color:#FFF07F;color:#000000;">Sample: Here second corruption at file</span><br><span style="background-color:#7FFF83;color:#000000;">Third corruption</span><br><span style="background-color:#FF7F7F;color:#000000;">Different Corruption type</span><br><br>000020h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C <span style="background-color:#FFE27F;">AA 60 6F FA AA AA AA </span>6C 65 74 65 73 74 66 69 6C 65 testfiletestfil<span style="background-color:#FFE27F;">ª`oúªªª</span>letestfile<br>000040h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfiletestfiletestfile<br>000060h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfiletestfiletestfile<br>000080h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfiletestfiletestfile<br>0000A0h 74 65 73 74 66 69 6C 65 <span style="background-color:#FFF07F;">AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA </span> testfile<span style="background-color:#FFF07F;">ªªªªªªªªªªªªªªªªªªªªªªªª</span><br>0000C0h <span style="background-color:#FFF07F;">AA </span>65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 <span style="background-color:#FFF07F;">ª</span>estfiletestfiletestfiletestfile<br>0000E0h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 11 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfi.etestfiletestfile<br>000100h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfiletestfiletestfile<br>000120h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfiletestfiletestfile<br>000140h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfiletestfiletestfile<br>000160h <span style="background-color:#7FFF83;">7A AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA AA </span> <span style="background-color:#7FFF83;">zªªªªªªªªªªªªªªªªªªªªªªªªªªªªªªª</span><br>000180h <span style="background-color:#7FFF83;">AA AA AA AA AB </span>69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 <span style="background-color:#7FFF83;">ªªªª«</span>iletestfiletestfiletestfile<br>0001A0h 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 74 65 73 74 66 69 6C 65 testfiletestfiletestfiletestfile<br>0001C0h 74 65 73 74 66 69 <span style="background-color:#FF7F7F;">BB BB BB BB BB BB BB BB BB BB BB BB BB </span>74 66 69 6C 65 74 testfi<span style="background-color:#FF7F7F;">»»»»»»»»»»»»»</span>tfilet<br><br></code></pre><font size="-3">Generated by <a href="http://www.wxHexEditor.org">wxHexEditor</a></font>
| |
− |
| |
− | ==== ASM Source Format ====
| |
− | You can also use CopyAs functions for convert binary into ASM program source.
| |
− |
| |
− | You can use 8, 16, 32 and 64 bit options with Big Endian and Bytes per line options.
| |
− |
| |
− | And here an ASM Source format example with 8 bit option:
| |
− |
| |
− | ;Generated by wxHexEditor
| |
− | db 074h 066h 069h 06Ch 065h 074h 065h 073h 074h 066h 069h 06Ch 065h 074h 065h 073h
| |
− | db 074h 066h 069h 06Ch 065h 074h 065h 073h 074h 066h 069h 06Ch 065h 074h 065h 073h
| |
− | db 074h 066h 069h 06Ch 065h 07Ah 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh
| |
− | db 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh
| |
− | db 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0AAh 0ABh 069h 06Ch 065h 074h 065h 073h
| |
− | db 074h 066h 069h 06Ch 065h 074h 065h 073h 074h 066h 069h 06Ch 065h 074h 065h 073h
| |
− | db 074h 066h 069h 06Ch 065h 074h 065h 073h 074h 066h 069h 06Ch
| |
− |
| |
− | ==== C/C++ Source Format ====
| |
− | You can also use CopyAs functions for convert binary into C/C++ program source.
| |
− |
| |
− | You can use 8, 16, 32 and 64 bit options with Big Endian and Bytes per line options.
| |
− |
| |
− | Here is C/C++ Source format with 8 bit option example:
| |
− |
| |
− | // Generated by wxHexEditor //
| |
− | int8_t hexData[0x6c] = {
| |
− | 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73,
| |
− | 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73,
| |
− | 0x74, 0x66, 0x69, 0x6C, 0x65, 0x7A, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA,
| |
− | 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA,
| |
− | 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAA, 0xAB, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73,
| |
− | 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73,
| |
− | 0x74, 0x66, 0x69, 0x6C, 0x65, 0x74, 0x65, 0x73, 0x74, 0x66, 0x69, 0x6C }
| |
− |
| |
− |
| |
− | === TAGs ===
| |
− | With TAG system, users could put brain notes / bookmarks to files.
| |
− |
| |
− | ==== Quick TAG ====
| |
− | Generally, developers doesn't want to define TAGs with proper label. With this feature, wxHexEditor will create a TAG from current selection with random color and empty label. Since it's empty mouse over TAG doesn't show any label also.
| |
− |
| |
− | ==== New TAG ====
| |
− | With TAGs, you can define any part of the file with given note and color. I use this feature to understand Matroska format. When you see the structure at binary file directly, you can undestand what you can do and could code a parser to fix broken MKV files like [[http://mkvrepair.com Meteorite Project]].
| |
− |
| |
− | You can select color of the TAG that you creating and could enter a label into a TAG, or you can leave it empty. Normally TAGs will popup a windows that shows label of the TAG. You can also see labels at TAG panel. But if you create a TAG without a label, that you can see only offset of the TAG at the TAG Panel and no window popups when you move the mouse cursor into it.
| |
− |
| |
− | ==== TAG Edit ====
| |
− | You can edit generated TAGs with this. Just press Right Click into a TAG and select edit. You can delete a TAG by pressing REMOVE on tag edit dialog.
| |
− |
| |
− | ==== TAGs Import & Export ====
| |
− | You can load TAGs from a file. wxHexEditor also support saving TAGs into file.
| |
− | Normally, on close of the file, TAGs will saved to <filename+".tags"> file.
| |
− |
| |
− | If the path of the opened file doesn't support writing (like block devices, write permissions etc...) wxHexEditor also asks about where you want to save TAGs.
| |
| | | |
| === Delete and Injection Operations === | | === Delete and Injection Operations === |