(Link to AcmlmWiki) Offline: thank ||bass
Register | Login
Views: 13,040,846
Main | Memberlist | Active users | Calendar | Chat | Online users
Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album
05-19-24 07:41 AM
0 users currently in ROM Hacking.
Acmlm's Board - I3 Archive - ROM Hacking - Comparing files
  
User name:
Password:
Reply:
 
Options: - -
Quik-Attach:
Preview for more options

Max size 1.00 MB, types: png, gif, jpg, txt, zip, rar, tar, gz, 7z, ace, mp3, ogg, mid, ips, bz2, lzh, psd

UserPost
MathOnNapkins
Posts: 261/1106
Dagsha: right... like I'm going to look at a DOS file compare for a 3 megabyte file.

An easy, although probably wasteful way to do it would be to have two input files, then compare them byte by byte to the lesser of the two file lengths. Then output a file with that same file length with 00 in the place where each byte was the same, and a 01 where each byte was different. Or possibly instead of 01, you could use the difference between the two, e.g. at byte 0 we'd have $F3 in file one and at byte 0 in file two we'd have $44. That could yield $44 - $F3, which equals $53. An in C, all the underflow/overflow would be handled automatically by using an unsigned char.
Tauwasser
Posts: 12/46
Well. If it's only about hacks, then there is IPSelect. You can select exactly what IPS-change you want to have extracted and so on. That way you can analyze what was changed where and test gameplay with only a part of the IPS actually applied.
I think I even downloaded it from acmlm's domain here, but not sure.
Just a random note tho: HexWorkshop is a really great hex editor. If you pay for it, you should be using the trial version of course before you buy it. But it's really neat and stuff :)

cYa,

Tauwasser
D 2007
Posts: 17/497
There's always the old DOS tool "FC" (file compare)... simply load up your command prompt of choice:

C:\> fc /b D:\rom1.xxx D:\rom2.xxx_

and it should be working fine for your purposes, even if it is a bit old... making a new comparison chart that outputs differences in a text file wouldn't be that hard, and if you really wanted just a small file you can always learn the IPS format.
Glyphodon
Posts: 65/536
Well, quite simply, in my SMW work there are times when I would want to check out somebody's patch and see exactly what it did or try to see exactly what was changed when LM installed this hack or see what utility added something where and all that.

And simply outlining or highlighting the parts changed or a similar function would work just fine.
MathOnNapkins
Posts: 260/1106
SMILE has this feature, but you can only compare a file with a valid supermetroid rom you already have loaded. I think it would be easy to whip up such a utility, but it would depend on what type of output you would need.
Glyphodon
Posts: 64/536
I already use Translhexion. If there is a way to compare files using it, please tell me.

In the mean time, I'll check out WinHex. Thanks for the tip.

Even if I had an account I could use to buy things online, I wouldn't because crippleware really sucks. Especially crippleware I'm only buying for a single feature. I could phrase that in a nicer way because it's cool that you guys are trying to help me... but c'mon. Witholding features until you pay 'em is just such an ugly programming practice.
creaothceann
Posts: 20/43
WinHex has a compare function... almost a 'wizard'.
Zachio
Posts: 84/595
Can't translhextion compare files, too? it has no fee. there's a download on acmlm.overclocked.org.
Tauwasser
Posts: 11/46
HexWorkshop can do the trick, too
It has a simple compare mode and a resyncronizing.

It comes with a fee and timelimit, too, tho.

Link: http://bpsoft.com

cYa,

Tauwasser
Kirk Bradford Myers
Posts: 21/89
There is a program called HexCmp that I use for all of my comparision needs. The program is shareware and does cost a small fee to register, but it's well worth it in my opinion. It can compare two files side by side and highlights the differences in a different color. It also has second-to-none search functions in that regard.

Here's the link to it.

If you don't want to pay the fee and don't mind the opening nag screen, the program can be used for free for fifteen days from installation on your computer. Take my recommendation, though, and just pay whatever it costs. This is honestly the best hex compare tool I've ever used and makes finding differences a snap.

Take care...
Glyphodon
Posts: 55/536
This question doesn't just apply to rom hacks, but that's what I need it for so this is the forum I chose.

I could really use a tool that can compare two files and give me the hexadecimal difference. It sounds simple enough, but I know of no tool that does so and I know that Kyouji could use a tool like that as well.

Does anybody know of any programs that do this?
Acmlm's Board - I3 Archive - ROM Hacking - Comparing files


ABII

Acmlmboard 1.92.999, 9/17/2006
©2000-2006 Acmlm, Emuz, Blades, Xkeeper

Page rendered in 0.003 seconds; used 356.80 kB (max 409.30 kB)