Feature request: offset in "Compare by content" binary mode

Here you can propose new features, make suggestions etc.

Moderators: petermad, Stefan2, Hacker

Post Reply
Wox
New Member
New Member
Posts: 1
Joined: 2021-12-06, 12:17 UTC

Feature request: offset in "Compare by content" binary mode

Post by *Wox »

Hi,

First of all, thanks for great file manager!

Now quickly about my problem: sometimes i need to compare files with some extra bits in front of one of comparable files and i should always trim these bytes with hex editor before compare. It would be nice to have offset input field (decimal, hex or both) in "Compare by content" binary mode.

Thank you
User avatar
MVV
Power Member
Power Member
Posts: 8753
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: Feature request: offset in "Compare by content" binary mode

Post by *MVV »

I agree that it would be nice to be able to compare binary files from any locations. Also perhaps support binary gaps. Currently there is a 'resync from here' feature for text files, it would be nice to be able to use it to specify exact bytes to resync from. But I think for such specification TC should allow selecting exact bytes, in such case it should highlight (or border with a frame) corresponding hex/char values for current byte like most hex editors do.
User avatar
Guillaume
Member
Member
Posts: 120
Joined: 2003-04-08, 16:51 UTC

Re: Feature request: offset in "Compare by content" binary mode

Post by *Guillaume »

I'd like to revisit this feature request.

Binary comparison in TC is very fast, even for large files, whereas e.g. WinMerge doesn't support them and Beyond Compare simply crashes (like it always does).

Example use case: I made two images of the same disk, but with different programs at different times. I want to compare them (they should be identical), but one of the imaging programs added a header, which is not recognized as an offset by TC. As such, without the offset/resync feature, I can't compare the files with TC.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 53149
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Feature request: offset in "Compare by content" binary mode

Post by *ghisler(Author) »

Unfortunately binary mode does not re-sync like text mode.
Author of Total Commander
https://www.ghisler.com
User avatar
Guillaume
Member
Member
Posts: 120
Joined: 2003-04-08, 16:51 UTC

Re: Feature request: offset in "Compare by content" binary mode

Post by *Guillaume »

Hmz, I would expect that using a user-specified read offset should be possible without much hassle, although simply using a read offset would prevent TC from visualizing the data before the offset.
JOUBE
Power Member
Power Member
Posts: 1929
Joined: 2004-07-08, 08:58 UTC

Re: Feature request: offset in "Compare by content" binary mode

Post by *JOUBE »

Guillaume wrote: 2025-09-05, 15:03 UTC Hmz, I would expect that using a user-specified read offset should be possible without much hassle, although simply using a read offset would prevent TC from visualizing the data before the offset.
...then make a suggestion about this in the corresponding forum
User avatar
Guillaume
Member
Member
Posts: 120
Joined: 2003-04-08, 16:51 UTC

Re: Feature request: offset in "Compare by content" binary mode

Post by *Guillaume »

JOUBE wrote: 2025-09-05, 15:41 UTC
Guillaume wrote: 2025-09-05, 15:03 UTC Hmz, I would expect that using a user-specified read offset should be possible without much hassle, although simply using a read offset would prevent TC from visualizing the data before the offset.
...then make a suggestion about this in the corresponding forum
Or someone can move this topic to https://www.ghisler.ch/board/viewforum.php?f=14
User avatar
white
Power Member
Power Member
Posts: 6941
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: Feature request: offset in "Compare by content" binary mode

Post by *white »

Moderator message from: white » 2025-09-05, 21:30 UTC

Moved topic
» from Total Commander (English) to TC suggestions (English)
Post Reply