Windows 10: Hex editor recommendation?

Discus and support Hex editor recommendation? in Windows 10 Software and Apps to solve the problem; I'm not a techie or programmer but occasionally need to edit binary files. For example, my app Macro Express Pro creates its macro files in proprietary... Discussion in 'Windows 10 Software and Apps' started by Terrypin, Feb 26, 2017.

  1. Terrypin Win User

    Hex editor recommendation?


    I'm not a techie or programmer but occasionally need to edit binary files. For example, my app Macro Express Pro creates its macro files in proprietary (MXE) format. If I make changes to my Win 10 PC file/folder organisation then scores or even hundreds of macros have to be edited. For example, a macro script command that contains the string C:\xyz\abc might need changing to D:\wxyz\abcd.

    I have the handy freeware program HxD, which lets me make changes of the same length (such as changing C:\abc to D:\def) but I'm looking for a program that will achieve those more complex edits.

    Does anyone here use such a program that they can recommend please?

    --
    Terry, East Grinstead, UK

    :)
     
    Terrypin, Feb 26, 2017
    #1

  2. E71 Nokia Messaging removing messages older than three days old

    Any idea where are the settings stored on the device? I might as well hack at the file with a hex editor or something.
     
    Starfox---01, Feb 26, 2017
    #2
  3. lnx64 Win User
    N8: are image tags written into the image files?

    Oh, then no.

    I just checked in a hex editor, a tag I added to a picture is nowhere in the file, so that's all stored in the phone itself.
     
    lnx64, Feb 26, 2017
    #3
  4. jimbo45 Win User

    Hex editor recommendation?

    Hi there

    depending on what you need this one looks good - you probably only need the free version

    WinHex/XWI/XWF License Type Comparison

    Note also if you do go for paid versions reduced fee is available for PERSONAL use -- this type of program is actually very good even for re-building RAID !! but again depending on your needs it might be overkill.

    The paid professional things are usually better than the freebies for this type of stuff but for Free this is also good

    Free Hex Editor Neo: Fastest Binary File Editing Software for Windows OS

    Not sure about this one -- I don't like the idea of a "beta" if messing about with HDD sectors but you can have a look

    wxHexEditor - a Free Hex Editor / Disk Editor for Huge Files or Devices on Linux, Windows and MacOSX

    My recommendation would be to go for the pro version of the paid product (winhex - my top recommendation in this post) if you are going to do a lot of this stuff as it will definitely work. Argue for a "reduced" fee of course. At the top end this is used in some forensic labs (at an "Enterprise" type of price off course !!!) so it comes with decent provenance.

    If you need scripts then you could have a go in using some type of python or perl scripts in Linux - but if you aren't familiar with Linux that will entail quite a long learning curve - but for directory / file manipulations with a load of find and replace commands it is another way to go as well.

    Cheers
    jimbo
     
    jimbo45, Feb 26, 2017
    #4
  5. clam1952 Win User
    I use Hex Editor Neo which seems to be the best of the free ones and can insert as well as replace.
     
    clam1952, Feb 26, 2017
    #5
  6. Terrypin Win User
    Thanks both, much appreciate the fast responses. I'll investigate all of those.
     
    Terrypin, Feb 26, 2017
    #6
  7. pbcopter Win User
    pbcopter, Feb 27, 2017
    #7
  8. Terrypin Win User

    Hex editor recommendation?

    Has anyone here, using any hex editor, successfully made a text replacement longer than the original and not had it rejected as 'corrupt or invalid by the original application please?

    I've made several attempts with various editors over many hours today and failed. So I'm hoping to find a mutually accessible app to step through the procedure (inserting extra bytes, etc, etc).

    As per my opening post, the app I'm focusing on is called MX Pro and an example binary MEX file is viewable and downloadable here:
    https://dl.dropboxusercontent.com/u/...20%28ph%29.mex

    For my test, I'm simply trying to change the string PHOTOS to PHOTOS2.

    --
    Terry, East Grinstead, UK
     
    Terrypin, Feb 27, 2017
    #8
  9. Terrypin Win User
    I emailed the developers of MX Pro and had a prompt and thorough reply. As I expected, they are unable to provide detailed table structure documentation for their MEX files. And there are other complications (packing) which would make it impossible in practice. It seems that similar issues arise in mots proprietary binary files.

    So I'll drop my pursuit of a no-brainer global hex edit. Thanks for hex editor recommendations, most of which are now installed.

    --
    Terry, East Grinstead, UK
     
    Terrypin, Feb 28, 2017
    #9
  10. cereberus Win User
    Oh - the joys of binaary/assembler coding *Smile.

    It would be a very clever hex editor that can make a text string longer than original, as it would mean all subsequent binary code has moved out n bytes (n being additional length of text editor).

    It would depend if the binary code was using relative or absolute addresses.

    Think of it like having a formula in Excel where cell B1 point to A1 e.g. B1: =A1.
    If you moved cell B1 to C1, it would now read C1:=B1

    On other hand if B1 read B1:=$A$1
    then if you move B1 to C1, C1 would read C1:=$A$1

    How many time have you moved stuff in excel and it fell over because you used a relative reference rather than absolute (or an absolutee reference rather than a relative one).

    So a binary program would almost certainly fall over if it had absolute addresses built into the binary code, and all code after the text portion was moved out n bytes.

    So the hex editor would have to have the additional ability to reconcile all absolute addresses if the code position moved which would be a major undertaking i.e. the editor would be a binary re-compiler as well.

    This will not happen if the text is shortened, as the editor will simply fill the excess space with blanks, keeping the position of the rest of the code unaltered.
     
    cereberus, Feb 28, 2017
    #10
  11. Terrypin Win User
    Thanks Cereberus. I assume you've seen my post a couple of hours earlier acknowledging defeat?

    Terry, East Grinstead, UK
     
    Terrypin, Feb 28, 2017
    #11
  12. cereberus Win User
    Sure - I quoted it - was just explaining why it is much harder than one might think to do what you asked.

    I remember many spending many happy (aka tearing my remaining hair out) hours using assembler programming and trying to find a glitch in a reference location that usually crashed the program and OS big time - debugging was a nightmare as we do not have online debuggers or a virtual environment to assist.
     
    cereberus, Feb 28, 2017
    #12
  13. Terrypin Win User

    Hex editor recommendation?

    I meant the email exchange with the developer, which was the final clincher.

    My own 'happy hours with Assembler', decades ago, involved a sophisticated debugging procedure, namely poring over reams of continuous stationery from a high speed IBM printer, pencil at hand.
     
    Terrypin, Apr 5, 2018
    #13
Thema:

Hex editor recommendation?

Loading...
  1. Hex editor recommendation? - Similar Threads - Hex editor recommendation

  2. Decimal Hex for Persian standard

    in Windows 10 Gaming
    Decimal Hex for Persian standard: i can't find Locale Codes Decimal Hex for Persian standard, for Persian the number is 0x0429, but I want the code I wrote to select Persian standard https://answers.microsoft.com/en-us/windows/forum/all/decimal-hex-for-persian-standard/fb03b21b-f534-4595-b9b7-dbdeb17b65ab
  3. Decimal Hex for Persian standard

    in Windows 10 Software and Apps
    Decimal Hex for Persian standard: i can't find Locale Codes Decimal Hex for Persian standard, for Persian the number is 0x0429, but I want the code I wrote to select Persian standard https://answers.microsoft.com/en-us/windows/forum/all/decimal-hex-for-persian-standard/fb03b21b-f534-4595-b9b7-dbdeb17b65ab
  4. HEX from 200 50 BYTES

    in Windows 10 Software and Apps
    HEX from 200 50 BYTES: Hi, I want to dictate HEX from 0x200 and 50 BYTEs into my CODE is there a list I can copy, please. Camerart
  5. Compile C to HEX

    in Windows 10 Software and Apps
    Compile C to HEX: Hi, I program in Oshonsoft BASIC, and have some C CODE that may work if I can get the HEX from it. How can I compile it please? Camerart.
  6. Unicode hex codes not working right

    in Windows 10 Gaming
    Unicode hex codes not working right: On my personal laptop with Windows 10 Pro 2H22 all works fine – when I am using combination of Alt + **** symbol code it works like it must. But on work laptop with Windows 10 Enterprise 2H22 – it works only with right Alt and even then it works not every time. Sometimes it...
  7. Unicode hex codes not working right

    in Windows 10 Software and Apps
    Unicode hex codes not working right: On my personal laptop with Windows 10 Pro 2H22 all works fine – when I am using combination of Alt + **** symbol code it works like it must. But on work laptop with Windows 10 Enterprise 2H22 – it works only with right Alt and even then it works not every time. Sometimes it...
  8. Blank hexes instead of terrain

    in Windows 10 Gaming
    Blank hexes instead of terrain: One of my not so new games still runs except for one thing - instead of the r=terrain as it should be it gives blank hexes.If anyone knows this problem I will give you details onthe game.As I only use it for nostalgia and as a data source for mods of a a newer game and we are...
  9. Using a hex editor to find remnants of an oferwritten file?

    in Windows 10 Software and Apps
    Using a hex editor to find remnants of an oferwritten file?: I had windows crash recently and a .rtf file that I was working on and which was saved on my HDD got mangled. All the contents of it were replaced with empty spaces (like what you get when you press tab). I'm desperate to recover the file and someone suggested I might use a...
  10. Please recommend a Video Editor?

    in Windows 10 Software and Apps
    Please recommend a Video Editor?: I have some videos of me talking, and I wanted to find a FREE Video Editor application/software that has video templates where I can insert my videos into it, and make nice professional looking videos? Does such a free video editor exist for Windows 10? Or only paid ones?...