NesComp Readme
Version 1.5
By Casmaster

        Neat-o Emulator Savestate Comparer
   That is the new name of this product, enjoy!

whats new!
~~~~~~~~~
v1.5
-Modified the Zero search. I now made it so you tell it what the value of Zero is. Why?
I did this because when editing DW3 savestates the value FF or 255 was used to signify 
an empty slot in the item list, i thaught it would be 00 which is why Zero was defaulted
at 0 but that value equaled the Cypress Stick.
-Added a few colors and made it so that you can search again without resarting the app. 
This is long overdue as i would have to open it again everytime i was searching for the 
character stats in DW3
v1.1
-great new feature, its called zero
what it does it compare the two files and checks 1 for zero and the other
to be not zero. this is good(?) for when you get new items, since you replace and empty
slot whos value should be 0 with a value that is not zero  this will find ONLY  those.
Intro
~~~~~

This is a program i made to compare files. It was originally
for nesticle savestates because thats what  i was working on but
this can be used for more then that. im not sure how big the 
files can get but NESticle savestates work so thats why it was called NesComp.
        Neat-o Emulator Savestate Comparer
           N     E      S       COMP 
     thats why the name stays and it fits don't it.


How To
~~~~~~
first step is type the name of the first file.
next it asks for the name of the second file
third it asks what file to dump the results into. Try making a .TXT file for easy reading
if the files are all in the same folder as the program the names are enough, but if they
 aren't you'll have to type the full address. 
  C:\windows\desktop\emu\nes\saves\dragonwarrior1.st1
isnt that a bit long? for ease of use make a copy and edit that
move the file into the same folder etc. 


after you selected the files it askes what kind of search you want.
Exact search: when you tell it a value to find in file 1 and a value to find in file 2
 at the same address. If you have a save of an RPG, you would save before you go up a
 level, then after you go up make a second save. If you went from 5 agility to 7 you would
 put 5 for the value in file 1 and 7 for the value in file 2. 
Difference: This will output every difference between the 2 files. If your not sure what your
 looking for try this.

Next it will ask the bytes. This is asking how big the value is. 
1 byte=0-255
2 byte=0-65535
3 byte=0-16777215
4 byte=0-4294967295
If that makes no sense i'll try to explain, 1 byte is based on hex data storage. values
are stored as 00-FF where FF=256. that FF takes up 1 byte. FFFF takes up 2 bytes and has
a max value of 65535.
so what this means is, when you play the games and hack the saves it is VERY important you
know how many bytes it should take to find them accuratly. In the above example for agility
in most games it goes up to 255, some only 128. these are 1 byte values so you select 1 byte.
For the gold/exp in Dragon warrior 1 the limit is 65535 so it is a 2 byte search.
for Dragon Warrior 2 from what i have seen the exp limit is 1,000,000 so that would place it
in the 3 byte search.


Then it should say 'Processing...' then when it is done it says 'Done!'
-note, the bigger the files compared the longer the search.
-also the bigger the byte search the longer it will take too.

Now you go take a look at the file you told it to output to.
The file will be headed by 
    "# offset file1 file2"
     a  b     c      d
which means...
a: the number of differences in the files
b: the location to find the address. (not in hex form)
c: the value in file 1
d: the value in file 2


that should be everything.. have fun!