Difference between revisions of "Miscellaneous:Hyrule Magic"
From TLoZ: ALTTP Hacking Resources
m |
|||
Line 2: | Line 2: | ||
{{note|Differences between ROMs can be found through: | {{note|Differences between ROMs can be found through: | ||
− | ;Linux terminal | + | ;Linux terminal[https://superuser.com/questions/125376/how-do-i-compare-binary-files-in-linux] |
* gawk: byte by byte | * gawk: byte by byte | ||
− | ::<tt><nowiki>cmp -l original.smc modified.smc | gawk '{printf "0x%08X: %02X %02X\n", $1-1, strtonum(0$2), strtonum(0$3)}'</nowiki></tt> | + | ::<tt><nowiki>cmp -l original.smc modified.smc | gawk '{printf "0x%08X: %02X %02X\n", $1-1, strtonum(0$2), strtonum(0$3)}'</nowiki></tt> |
* diff: See if files differ | * diff: See if files differ | ||
** <tt><nowiki>diff -s original.smc modified.smc</nowiki></tt> | ** <tt><nowiki>diff -s original.smc modified.smc</nowiki></tt> |
Latest revision as of 02:32, 22 December 2016
This is a subpage of Miscellaneous
Note:
Differences between ROMs can be found through:
Differences between ROMs can be found through:
- Linux terminal[1]
- gawk: byte by byte
- cmp -l original.smc modified.smc | gawk '{printf "0x%08X: %02X %02X\n", $1-1, strtonum(0$2), strtonum(0$3)}'
- diff: See if files differ
- diff -s original.smc modified.smc
- vimdiff
- vimdiff <(xxd -c1 -p original.smc) <(xxd -c1 -p modified.smc)>[2]
- Windows
Table of Contents |
---|