what you need:

1.A ram dump from the game your making the code for
2.PS2DIS
3.basic mips knowledge
4.you need to know the negative rule and how to make a dump
5. how make a hook

STEP 1. open your ramdump on ps2dis.

STEP 2. address from anything 08800000+.

STEP 3. Find your a zone with a lot of nops to start your code in (a nop cave).

STEP 4. here are your templates

Auto Increase

-hook
-lui t0 $first half of code address REAL
-lw t1 $second half of address(t0)
-addiu t2 zero $inc value
-add t3 t1 t2
-sw t3 $second half of address(t0)
-jr ra


Auto Decrease

-hook
-lui t0 $first half of code address REAL
-lw t1 $second half of address(t0)
-addiu t2 zero $dec value
-sub t3 t1 t2
-sw t3 $second half of address(t0)
-jr ra


STEP 5. double click your first nop. then change the command from "nop" "to lui t0 $" the first half of your code address after the $ (dont forget to put it in-real addressing.

STEP 6. lw t1 $ put the second half of your code's address after the $ (dont forget to put (T0) after your address.

STEP 7. change the command to "addiu t2 zero $" after the $ put your decrease value.

STEP 8. Just go down to the next nop and change the command to sub t3 t1 t2

STEP 9. sw t3 $ put the second half of your address after the $ and remember to put the (t0) behind your address.

STEP 10. go one line down and change the command from "nop" to "jr ra".

STEP 11. Go to your first line and press "P" then say copy and paste your code in to note pad then put your code in to real addressing and add the 0x's and your good to go.

(note you still have to make a hook know how to do this is one of the requirement's so you should be able to do it yourself.