Browse Source

Add notes on watching build directory with devilution-comparer

pull/4/head
Robin Eklind 8 years ago committed by Dennis Duda
parent
commit
32d93f8170
  1. 8
      Support/CONTRIBUTING.md

8
Support/CONTRIBUTING.md

@ -191,3 +191,11 @@ Clone Devilution nightly, build and compare against the original Diablo binary:
3. `cp /path/to/diablo-v1.09b.exe .`
4. `../devilution-comparer/target/debug/devilution-comparer diablo-v1.09b.exe Diablo.exe <function name>` (replace `<function name>` with e.g. `InitMonsterTRN`)
5. `code --diff orig.asm compare.asm` (or `diff -u orig.asm compare.asm`)
To watch build directory for changes use the `-w` command line flag:
```bash
$ ./devilution-comparer -w diablo-v1.09b.exe Diablo.exe InitMonsterTRN
Found InitMonsterTRN at 0x4322EC, size: 0x8C; orig size: 0x8C
Started watching Diablo.pdb for changes. CTRL+C to quit.
```

Loading…
Cancel
Save