WiiRd forum

Wii & Gamecube Hacking => Wii Game hacking help => Topic started by: benny3t3 on November 18, 2010, 10:50:16 PM

Title: confused on some codetypes
Post by: benny3t3 on November 18, 2010, 10:50:16 PM
Can anyone explain this a little more for me? Is NNNNNNNN a pointer?
are the ZZZZs .... I don't know what they are... obviously the asm code.... right? I don't understand how to use my data and turn it into this.

[spoiler]C2______ NNNNNNNN
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ ZZZZZZZZ
ZZZZZZZZ 00000000

This code will replace the instruction at
ba
+______ with a branch that will point to ZZZZZZZZ.
The replaced is not saved, the code creator must then put it in his code manualy (if needed).
The instruction MUST end with ONE 00000000, because the code handler will add a "b (
ba
+______)" instruction there.
If your asm code fills all the line, add a 60000000 00000000 under it (and count this line in NNNNNNNN).


To use
po
instead of
ba
, change the codetype from C2 to D2.
For values of ______ >= 0x01000000, add one to the codetype. [/spoiler]

Also I am confused on 'storing adresses/setting base adress to' and also
...
what IS the gecko register?  ???
Title: Re: confused on some codetypes
Post by: dcx2 on November 18, 2010, 11:17:42 PM
For writing ASM codes, use PyiiASMH or Link's ASMWiiRD converter.  You will put ASM strings in, and you'll get machine code bytes out.  The machine code bytes are the Z's.  N is the number of code lines that the machine code bytes require.

"base address" is ba, it's just a value that sits in the background of the code handler, and gets added to all addresses whose code type has an even first digit.

Gecko Registers are just locations in memory where the code handler can put data.  Gecko Register Code Types can be used to do operations on these registers.
Title: Re: confused on some codetypes
Post by: benny3t3 on November 19, 2010, 03:39:47 AM
Cool. So then the N is just the the # of lines of Zs? or the number of ASM code lines that are gaoing to be added? Or are they the same?



Oh, okay, so basically it is unused RAM ?
Title: Re: confused on some codetypes
Post by: benny3t3 on November 20, 2010, 08:26:28 AM
$ python configure.py
Traceback (most recent call last):
  File "configure.py", line 66, in <module>
    sipcfg = sipconfig.Configuration()
AttributeError: 'module' object has no attribute 'Configuration'
$

What does this mean? I got this when setting up PyllASMH

, Or could I have a link to Link's? (hehe...)

I looked all over the internet for it but I couldn't find it.
Title: Re: confused on some codetypes
Post by: wiiztec on November 25, 2010, 11:47:42 PM
http://www.megaupload.com/?d=MFL34U7J