User Tag List

Results 1 to 10 of 10

Thread: Subroutine Tut For Nubs

  1. #1
    Subroutine Tut For Nubs

    User Info Menu

    Talking Subroutine Tut For Nubs

    ok the template i used here is from WarCrazy he also tough me this whole process

    The Things You Will Need To Do this

    1. Ps2dis
    2. A safe hook (i will give this in tut)
    3. A Code (i will give this in tut)
    4. A Template (i will give this in tut)
    5. A FTB2 Dump I made mine from nite pr i duped mine to slot zero
    6. Time And Hex Calculator

    Ok first off load up ps2dis then i want you to drag your dump into ps2dis then a box should pop up go to the bottom text box and load address from
    Code:
    08800000
    Now ps2dis should turn light blue (thats good) Now Click Analyzer now click invoke analyzer. Count To 10 Mississippi's then click Cancel

    Now Hit G on your keyboard then type
    Code:
    09000000
    then click Enter.
    so here is the code im gonna be subbing for you
    Code:
    #Anti 12
    0x005044dc 0x00000003
    yerp dats right anti 12
    now here is are template
    Code:
    j $xxxxxxxx
    lui t0 $firsthalfofadress <-Have to add 1 if it is over 07ff
    sw t1 $secondhalfofadress
    ori t1 zero $FIRSTANDSECONDOFDATAakahex
    jr ra
    Code:
    Warning DO NOT FREAK OUT WHEN YOU SEE THIS IT GETS EASY
    How To Use This Template in noob terms
    Code:
    HOOK
    FIRST HALF OF ADDRESS(+0880)(+1)
    SECOND HALF OF ADDRESS(+0880)
    FIRST AND SECOND OF DATA
    END
    How your template should look when done.
    Code:
    lui t0 $08d1 
    sw t1 $44dc(t0)
    ori t1 zero $0003
    jr ra
    Now On Ps2dis double Click your address " 09000000" and go to command and enter this
    Code:
    lui t0 $08d1
    then click ok now keep doing this going down ps2dis and your template

    Now Your Ps2dis should look like this
    Code:
    0x09000000 0x3c0808d1 //lui t0
    0x09000004 0xad0944dc //sw t1
    0x09000008 0x34090003 //ori t1  zero
    0x0900000c 0x03e00008 //jr ra
    Now here is your hook 0x00000098 0x0a400000 //Hook

    now combined and this is wut you got
    Code:
    0x00000098 0x0a400000
    0x09000000 0x3c0808d1
    0x09000004 0xad0944dc
    0x09000008 0x34090003
    0x0900000c 0x03e00008
    Now To make it work in ftb2 and not freeze
    #Anti 12 Sub
    ;Subroutine by ImMoRtAl-
    0x00000098 0x0a400000
    0x00800000 0x3c0808d1
    0x00800004 0xad0944dc
    0x00800008 0x34090003
    0x0080000c 0x03e00008


    Tut By ImMoRtAl-
    Last edited by Dubstepper; 01-05-2010 at 11:00 PM.

  2. #2
    Subroutine Tut For Nubs

    User Info Menu

    Re: Subroutine Tut For Nubs

    Great tutorial immortal, it's great help.

    +Rep

  3. #3
    Subroutine Tut For Nubs

    User Info Menu

    Re: Subroutine Tut For Nubs

    Np it all cause i love u guys =)

  4. #4
    Subroutine Tut For Nubs

    User Info Menu

    Re: Subroutine Tut For Nubs

    wow i think im starting to understand how to use it, thanks great guide

  5. #5
    Subroutine Tut For Nubs

    User Info Menu

    Re: Subroutine Tut For Nubs

    Np throw some rep my way then....

  6. #6
    Subroutine Tut For Nubs

    User Info Menu

    Re: Subroutine Tut For Nubs

    FAIL, this almost as shitty as Xx958xX's first sub "guide." This isn't teaching ANYTHING!

    lui t0 $XXXX
    Loads the first 16Bits of your address +0880 and shifts it left 16Bits. you add one here because store word must use the negative rule.

    lui t1 $XXXX
    Loads the first 16Bits of your on value and shifts it left 16Bits. you add one here because ADDIU (NOT ORI, thats for nubs unless you know how ori really works!) uses the negative rule.

    ADDIU t1 t1 $XXXX
    Adds the last 16Bits of your on value to t1 and stores the result into t1.
    t1 = t1 + Last 16Bits of on value

    sw t1 $XXXX(t0)
    Stores the contents of t1 to the last 16Bits of the address, it also stores t1 to the first 16Bits trough (t0)

    jr ra
    Returns the addresses (and values) back to the games original values, turning are subroutine off

    j $XXXXXXXX
    Jumps to the start of are subroutine, this is your hook and it keeps the subroutine on because of the jr ra's turning it off

    You do NOT need the Negative rule with or immediate. You probably don't even know what ori dose.

    I don't mean to bash you so much but you need to explain what the hell is going on! In the PSP community it is hard to find any one who knows the BASICS!

    -FBD

  7. #7
    Subroutine Tut For Nubs

    User Info Menu

    Re: Subroutine Tut For Nubs

    Dude ShutThe Fuck up this is just for the begginers like who started today... so go put a bannanna up your ass and sux a cock

  8. #8
    MiLk = Da BoMb

    User Info Menu

    Re: Subroutine Tut For Nubs

    dont matter if u gunna teach teach the right way atleast u need to teach the 7fff rule / negative + you dont need to analyze for a simple sub routine, analyze would be for if you we looking for shit in ps2 dis... other wise its pretty much useless

    ~ DeToX

  9. #9
    Subroutine Tut For Nubs

    User Info Menu

    Re: Subroutine Tut For Nubs

    thanks for reminding me about that.....


    sorry for the bump

  10. #10
    Subroutine Tut For Nubs

    User Info Menu

    Re: Subroutine Tut For Nubs

    idk i never use that template i use this one


    lui t0 $[First Half Of Address + 1 If Second Half Is 8000 Or More]
    lui t1 $[First half Of Value]
    ori t1 t1 $[Second Half Of Value]
    sw t1 $[Second Half Of Address](t0)
    JR RA

    and soem safe hooks that are good:
    Safe HOOKS:
    00000004
    00000024
    0000004C
    00000098

    idk but sometime when i do my sub they freeze. plz tell me what is wrong with this sub. i dont do to much sub b/c sometimes i do them wrong. plz tell me what is wrong in this sub i made and why does it freez in game.

    real code:
    #inf ammo
    0x0006b554 0x00C52821

    SUB:
    #Inf ammo
    ;D1rty-Hacker/jony1
    ;Hook Address-Value
    0x00008a0c 0x0a200027
    0x0880009c 0x3c080886
    0x088000a0 0x3c0900c5
    0x088000a4 0x35292821
    0x088000a8 0xad09b554
    0x088000ac 0x03e00008

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •