WiiRd forum

Videos => Tutorial Videos => Topic started by: Bully@Wiiplaza on September 22, 2012, 10:37:14 PM



Title: Video Tutorial: F2 Codetype
Post by: Bully@Wiiplaza on September 22, 2012, 10:37:14 PM
http://www.youtube.com/watch?v=1mUGV3HgSDI

http://www.youtube.com/watch?v=CKSHUVLSo5A


Title: Re: Video Tutorial: F2 Codetype
Post by: dcx2 on September 24, 2012, 05:16:41 PM
Big offsets are okay with F2 codes, because the big offset is always the same for a given region.  It is F6 codes which should avoid big offsets, because these offsets can change between regions.

You should use the context menu on the disasm tab to do your F2 codes.  There should be options for something like F2 XOR Addr and F2 XOR Y.

Right-click 801DF8AC, then "F2 XOR Addr" (I think the keyboard shortcut is x on that menu?).  It will appear like nothing happens, that's okay, the Tools tab has been populated in the background with 801DF8AC.

Now right-click 801DF8A4, which represents the end of the range you want to hash.  Click "F2 XOR Y" (keyboard shortcut y?).  This should automatically switch to the tools tab.  I think it may even automatically calculate the hash for you *and* place it in the clipboard, complete with the F2 code, except for the last byte which is the line count.

If it doesn't automatically hash, I know that just clicking the XOR button also copies the F2 code and hash into the clipboard.

Again, that is - Right-click your code's ASM address, press X, right-click last ASM address to hash, press Y, switch to Notepad and paste.  You should get "F21DF8AC F80216" (notice the last byte is missing).  Just copy and paste this over your C2 code, except for the last byte.


Title: Re: Video Tutorial: F2 Codetype
Post by: Bully@Wiiplaza on September 24, 2012, 05:35:06 PM
I wasn´t too sure about the big offsets thing, thanks for telling me. The shortcut part is nice, it works the way you described:

Rightclick address in Disassembler -> F2 XOR Address -> Press XOR button -> Paste to notepad over C2 code


Title: Re: Video Tutorial: F2 Codetype
Post by: dcx2 on September 24, 2012, 05:37:44 PM
You skipped the F2 XOR Y part.  That's kinda important.

The first F2 XOR click is on the equivalent C2's address.  The second F2 XOR (the Y) would be the last address you want included in the hash.  The F2 XOR calculator automatically figures out the correct Y (forward or backward, and how much) and automatically hashes for you.  You should not have to click the XOR button.

Once you get the hang of it you can paste directly into the GCT tab.


Title: Re: Video Tutorial: F2 Codetype
Post by: Bully@Wiiplaza on September 24, 2012, 06:30:36 PM
You skipped the F2 XOR Y part.  That's kinda important.

The first F2 XOR click is on the equivalent C2's address.  The second F2 XOR (the Y) would be the last address you want included in the hash.  The F2 XOR calculator automatically figures out the correct Y (forward or backward, and how much) and automatically hashes for you.  You should not have to click the XOR button.

Once you get the hang of it you can paste directly into the GCT tab.
Oh... this makes the tutorial even shorter. It spares the Y calculation. I need to click the XOR button, though, it doesn´t save to the clipboard otherwise :s


Title: Re: Video Tutorial: F2 Codetype
Post by: dcx2 on September 24, 2012, 07:00:15 PM
I wasn't sure if the F2 XOR Y automatically put it into the clipboard or not.  Still, it's nice that it calculates Y for you, and it's nice that it copies everything into the clipboard when you click XOR.

It's good that you made a tut for this, it's a pretty nice feature that I could never explain very well.


Title: Re: Video Tutorial: F2 Codetype
Post by: Bully@Wiiplaza on September 24, 2012, 07:13:33 PM
The new epic tutorial is now uploading, lol. :P

EDIT:
Video updated!


Title: Re: Video Tutorial: F2 Codetype
Post by: dcx2 on September 24, 2012, 07:57:43 PM
Nice job.  Seems I didn't remember exactly how it works (it will not auto-hash, and F2 XOR Address causes a tab change).  But that covers it all.  Thanks.