diff options
Diffstat (limited to 'docs/tutorial')
| -rw-r--r-- | docs/tutorial/beginning_decomp.md | 4 | ||||
| -rw-r--r-- | docs/tutorial/data.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/tutorial/beginning_decomp.md b/docs/tutorial/beginning_decomp.md index 49f25784e..54fde940b 100644 --- a/docs/tutorial/beginning_decomp.md +++ b/docs/tutorial/beginning_decomp.md @@ -229,7 +229,7 @@ which initialises common properties of actor using an InitChain, which is usuall The InitChain script is also in the tools directory, and is called `ichaindis.py`. Simply passing it the ROM address will spit out the entire contents of the InitChain, in this case: ``` -$ ./tools/ichaindis.py baserom.z64 80A88CE0 +$ ./tools/ichaindis.py baseroms/gc-eu-mq-dbg/baserom-decompressed.z64 80A88CE0 static InitChainEntry sInitChain[] = { ICHAIN_VEC3F_DIV1000(unk_50, 87, ICHAIN_CONTINUE), ICHAIN_F32(unk_F4, 4000, ICHAIN_CONTINUE), @@ -240,7 +240,7 @@ static InitChainEntry sInitChain[] = { However, some of these variables have now been given names in the Actor struct. Pass it `--names` to fill these in automatically: ``` -$ ./tools/ichaindis.py --names baserom.z64 80A88CE0 +$ ./tools/ichaindis.py --names baseroms/gc-eu-mq-dbg/baserom-decompressed.z64 80A88CE0 static InitChainEntry sInitChain[] = { ICHAIN_VEC3F_DIV1000(scale, 87, ICHAIN_CONTINUE), ICHAIN_F32(uncullZoneForward, 4000, ICHAIN_CONTINUE), diff --git a/docs/tutorial/data.md b/docs/tutorial/data.md index 421bc0fe6..a96d26d84 100644 --- a/docs/tutorial/data.md +++ b/docs/tutorial/data.md @@ -557,7 +557,7 @@ Ignore the first line: `gDmaDataTable` is always different if the ROM is shifted To fix this, we use a binary diff program. A suitable one is `vbindiff`: run it on the baserom and the zelda_whatever one the compiler generates: ``` -vbindiff baserom.z64 oot-gc-eu-mq-dbg.z64 +vbindiff baseroms/gc-eu-mq-dbg/baserom-decompressed.z64 oot-gc-eu-mq-dbg.z64 ``` In this, press `g` to open up goto position, and paste in the address `0xE3ED10` from the first important line of the `first_diff` output. This gives us the following: |
