Login Register
MoHH2 Legendz

Legends of Medal of honor:Heores 2.. Never forgotten RiP in piece


    You are not connected. Please login or register

    View previous topic View next topic Go down  Message [Page 1 of 1]

    Post: #1Thu Feb 09, 2012 9:37 am

    Bloodthrone

    Bloodthrone

    Senior Member


    my brother (Ace700) said that i could use his red psp if i made a sucessful subroutine.
    wth's a subroutine and how do i do it?


    https://www.youtube.com/user/xImortalxJokerx

    Post: #2Thu Feb 09, 2012 9:43 am

    Vet

    Vet

    Elite Member


    A subroutine is a routine in MIPS an example of one is this

    lui t0 $first half of controller
    lw t0 $second half of controller(t0)
    addiu t1 $button value
    lui t2 $first half enemy cord
    lui t3 $first half player cord
    bne t0 t1 $jr ra
    lw t4 $second half enemy cord X(t2)
    lw t5 $second half enemy cord Y(t2)
    lw t6 $second half enemy cord Z(t2)
    sw t4 $second half player cord X(t3)
    sw t5 $second half player cord X(t3)
    sw t6 $second half player cord X(t3)
    jr ra

    you would need to know MIPS....


    Post: #3Thu Feb 09, 2012 9:53 am

    Bloodthrone

    Bloodthrone

    Senior Member


    ...confusing


    https://www.youtube.com/user/xImortalxJokerx

    Post: #4Thu Feb 09, 2012 9:57 am

    Vet

    Vet

    Elite Member


    Cause its MIPS...


    Post: #5Thu Feb 09, 2012 10:00 am

    Bloodthrone

    Bloodthrone

    Senior Member


    off to search the web to learn mips


    https://www.youtube.com/user/xImortalxJokerx

    Post: #6Thu Feb 09, 2012 10:15 am

    Vet

    Vet

    Elite Member


    xImortalxJokerx wrote:off to search the web to learn mips
    that would take like 5 months or so to just get the basics done


    Post: #7Thu Feb 09, 2012 11:40 am

    sdrawkcab

    sdrawkcab

    Senior Member


    Fragon wrote:A subroutine is a routine in MIPS an example of one is this

    lui t0 $first half of controller
    lw t0 $second half of controller(t0)
    addiu t1 $button value
    lui t2 $first half enemy cord
    lui t3 $first half player cord
    bne t0 t1 $jr ra
    lw t4 $second half enemy cord X(t2)
    lw t5 $second half enemy cord Y(t2)
    lw t6 $second half enemy cord Z(t2)
    sw t4 $second half player cord X(t3)
    sw t5 $second half player cord X(t3)
    sw t6 $second half player cord X(t3)
    jr ra

    you would need to know MIPS....

    Smile i made that template.

    thats a slightly more advanced subroutine i suggest this.

    -hook
    -lui t0 $first half of address REAL
    -lui t1 $first half of value
    -addiu t1 t1 $second half of value
    -sw t1 $second half of address(t0)
    -jr ra


    this olny works for one line codes. download ps2dis and will expalian more


    Post: #8Thu Feb 09, 2012 12:43 pm

    Bloodthrone

    Bloodthrone

    Senior Member


    sdrawkcab wrote:
    Fragon wrote:A subroutine is a routine in MIPS an example of one is this

    lui t0 $first half of controller
    lw t0 $second half of controller(t0)
    addiu t1 $button value
    lui t2 $first half enemy cord
    lui t3 $first half player cord
    bne t0 t1 $jr ra
    lw t4 $second half enemy cord X(t2)
    lw t5 $second half enemy cord Y(t2)
    lw t6 $second half enemy cord Z(t2)
    sw t4 $second half player cord X(t3)
    sw t5 $second half player cord X(t3)
    sw t6 $second half player cord X(t3)
    jr ra

    you would need to know MIPS....

    Smile i made that template.

    thats a slightly more advanced subroutine i suggest this.

    -hook
    -lui t0 $first half of address REAL
    -lui t1 $first half of value
    -addiu t1 t1 $second half of value
    -sw t1 $second half of address(t0)
    -jr ra


    this olny works for one line codes. download ps2dis and will expalian more
    thanks...that template is alot more simpler
    and how would you write it?
    lets say the real address was 88021000, hook was a4, and the value was f8000005
    how would you write it?
    would i be like this?
    -a4
    -lui t0 $8802
    -lui t1 $F800
    -addiu t1 t1 $0005
    -sw t1 $1000
    -jr ra

    then would you use ps2dis to covert it?




    Last edited by xImortalxJokerx on Thu Feb 09, 2012 3:43 pm; edited 2 times in total (Reason for editing : forgot somthing)

    https://www.youtube.com/user/xImortalxJokerx

    Post: #9Thu Feb 09, 2012 9:03 pm

    sdrawkcab

    sdrawkcab

    Senior Member


    xImortalxJokerx wrote:
    sdrawkcab wrote:
    Fragon wrote:A subroutine is a routine in MIPS an example of one is this

    lui t0 $first half of controller
    lw t0 $second half of controller(t0)
    addiu t1 $button value
    lui t2 $first half enemy cord
    lui t3 $first half player cord
    bne t0 t1 $jr ra
    lw t4 $second half enemy cord X(t2)
    lw t5 $second half enemy cord Y(t2)
    lw t6 $second half enemy cord Z(t2)
    sw t4 $second half player cord X(t3)
    sw t5 $second half player cord X(t3)
    sw t6 $second half player cord X(t3)
    jr ra

    you would need to know MIPS....

    Smile i made that template.

    thats a slightly more advanced subroutine i suggest this.

    -hook
    -lui t0 $first half of address REAL
    -lui t1 $first half of value
    -addiu t1 t1 $second half of value
    -sw t1 $second half of address(t0)
    -jr ra


    this olny works for one line codes. download ps2dis and will expalian more
    thanks...that template is alot more simpler
    and how would you write it?
    lets say the real address was 88021000, hook was a4, and the value was f8000005
    how would you write it?
    would i be like this?
    -a4
    -lui t0 $8802
    -lui t1 $F800
    -addiu t1 t1 $0005
    -sw t1 $1000
    -jr ra

    then would you use ps2dis to covert it?

    it would look like this

    yup you got it.


    Post: #10Thu Feb 09, 2012 9:14 pm

    Vet

    Vet

    Elite Member


    sdrawkcab wrote:
    xImortalxJokerx wrote:
    sdrawkcab wrote:
    Fragon wrote:A subroutine is a routine in MIPS an example of one is this

    lui t0 $first half of controller
    lw t0 $second half of controller(t0)
    addiu t1 $button value
    lui t2 $first half enemy cord
    lui t3 $first half player cord
    bne t0 t1 $jr ra
    lw t4 $second half enemy cord X(t2)
    lw t5 $second half enemy cord Y(t2)
    lw t6 $second half enemy cord Z(t2)
    sw t4 $second half player cord X(t3)
    sw t5 $second half player cord X(t3)
    sw t6 $second half player cord X(t3)
    jr ra

    you would need to know MIPS....

    Smile i made that template.

    thats a slightly more advanced subroutine i suggest this.

    -hook
    -lui t0 $first half of address REAL
    -lui t1 $first half of value
    -addiu t1 t1 $second half of value
    -sw t1 $second half of address(t0)
    -jr ra


    this olny works for one line codes. download ps2dis and will expalian more
    thanks...that template is alot more simpler
    and how would you write it?
    lets say the real address was 88021000, hook was a4, and the value was f8000005
    how would you write it?
    would i be like this?
    -a4
    -lui t0 $8802
    -lui t1 $F800
    -addiu t1 t1 $0005
    -sw t1 $1000
    -jr ra

    then would you use ps2dis to covert it?

    it would look like this

    yup you got it.
    uhh.... he might of got it right out of luck or examining what u did in yours, but he doesnt know the commands and what they do etc etc etc etc etc..............like a whole lot of fucking shit to learn.


    Post: #11Fri Feb 10, 2012 12:02 am

    sdrawkcab

    sdrawkcab

    Senior Member


    Fragon wrote:
    sdrawkcab wrote:
    xImortalxJokerx wrote:
    sdrawkcab wrote:
    Fragon wrote:A subroutine is a routine in MIPS an example of one is this

    lui t0 $first half of controller
    lw t0 $second half of controller(t0)
    addiu t1 $button value
    lui t2 $first half enemy cord
    lui t3 $first half player cord
    bne t0 t1 $jr ra
    lw t4 $second half enemy cord X(t2)
    lw t5 $second half enemy cord Y(t2)
    lw t6 $second half enemy cord Z(t2)
    sw t4 $second half player cord X(t3)
    sw t5 $second half player cord X(t3)
    sw t6 $second half player cord X(t3)
    jr ra

    you would need to know MIPS....

    Smile i made that template.

    thats a slightly more advanced subroutine i suggest this.

    -hook
    -lui t0 $first half of address REAL
    -lui t1 $first half of value
    -addiu t1 t1 $second half of value
    -sw t1 $second half of address(t0)
    -jr ra


    this olny works for one line codes. download ps2dis and will expalian more
    thanks...that template is alot more simpler
    and how would you write it?
    lets say the real address was 88021000, hook was a4, and the value was f8000005
    how would you write it?
    would i be like this?
    -a4
    -lui t0 $8802
    -lui t1 $F800
    -addiu t1 t1 $0005
    -sw t1 $1000
    -jr ra

    then would you use ps2dis to covert it?

    it would look like this

    yup you got it.
    uhh.... he might of got it right out of luck or examining what u did in yours, but he doesnt know the commands and what they do etc etc etc etc etc..............like a whole lot of fucking shit to learn.

    ok what the hook dos is this : basicly your sub is gonna be in a nop cave in most games it just skips over nop caves because they have no function. you just find an active jr ra or jal and make it a j. j = jump what it dos it jumps to the address calculated. (i need help finding a hook & hook value pm me.)

    lui stands for load upper immediate it basicly just loads 16 bits (one half of an address in to a register.

    addiu = add immediate unsigned. basically it just register & an immediate value an then store in to a register.

    sw mean store word. it store the contents in to your address

    jr ra. this how you end most routines (it finishes the loop) it stand for jump register it jumps to the address contained in your registers.

    that covers all the commands in a basic sub. pm for more info.







    [b]
    [/b]


    Post: #12Fri Feb 10, 2012 12:27 am

    Vet

    Vet

    Elite Member


    Your post isn't going to make him know MIPS Neutral


    Post: #13Fri Feb 10, 2012 2:01 am

    sdrawkcab

    sdrawkcab

    Senior Member


    so you dont need to know mips to write a subroutine you just need to copy and paste a template and all he needs is one sub then he can use his brothers red psp. any way i was not trying to teach him mips i was just explaining the basic idea of what mips in a one line sub code work..




    Last edited by sdrawkcab on Fri Feb 10, 2012 8:40 pm; edited 1 time in total

    Post: #14Fri Feb 10, 2012 7:11 am

    Vet

    Vet

    Elite Member


    .......


    Post: #15Fri Feb 10, 2012 9:34 am

    Bloodthrone

    Bloodthrone

    Senior Member


    sdrawkcab wrote:so you dont need to know mips to write a subroutine you just need to copy and paste a template and all he needs is one sub then he can use his brothers red psp. any way i was trying to teach him mips i was just explaining the basic idea of what mips in a one line sub code work..
    yea i kinda get it, i'll just have to focus more on MIPS then otherr stuff


    https://www.youtube.com/user/xImortalxJokerx

    Post: #16Fri Feb 10, 2012 4:42 pm

    Vet

    Vet

    Elite Member


    xImortalxJokerx wrote:
    sdrawkcab wrote:so you dont need to know mips to write a subroutine you just need to copy and paste a template and all he needs is one sub then he can use his brothers red psp. any way i was trying to teach him mips i was just explaining the basic idea of what mips in a one line sub code work..
    yea i kinda get it, i'll just have to focus more on MIPS then otherr stuff
    Since you said you're a newbie in this I advise you first become a master searcher making all the simple codes using the searcher even making quality codes with the searcher you know learn how to find co oords for objects enemies yourself guns inf stuff etc just start making codes using the searcher for about 2 weeks then go to MIPS.

    @ sdrawkcab

    You do and just copying a template? well that wont lead him to no where all hes doing is just stealing someone else's work and just adding all the small stuff like co oords blah blah so he needs to know MIPS no matter what.


    Post: #17Fri Feb 10, 2012 8:34 pm

    sdrawkcab

    sdrawkcab

    Senior Member


    Fragon wrote:
    xImortalxJokerx wrote:
    sdrawkcab wrote:so you dont need to know mips to write a subroutine you just need to copy and paste a template and all he needs is one sub then he can use his brothers red psp. any way i was trying to teach him mips i was just explaining the basic idea of what mips in a one line sub code work..
    yea i kinda get it, i'll just have to focus more on MIPS then otherr stuff
    Since you said you're a newbie in this I advise you first become a master searcher making all the simple codes using the searcher even making quality codes with the searcher you know learn how to find co oords for objects enemies yourself guns inf stuff etc just start making codes using the searcher for about 2 weeks then go to MIPS.

    @ sdrawkcab

    You do and just copying a template? well that wont lead him to no where all hes doing is just stealing someone else's work and just adding all the small stuff like co oords blah blah so he needs to know MIPS no matter what.

    @ fragon i dont use templates but if all he needs to do is make a sub and show it to his brother its not a big deal its not like hes gonna just make a one line sub and then post on a 1000 site n be like hey! look at me im soo uber 1337. and you dont need to whole every single command and all of there functions in order to write a one line sub im not trying to teach him mips im just was trying to help him so he could use his brothers psp. also mips arnt even that hard its like the easiest coding language ever.. No


    Post: #18Fri Feb 10, 2012 9:04 pm

    Vet

    Vet

    Elite Member


    sdrawkcab wrote:
    Fragon wrote:
    xImortalxJokerx wrote:
    sdrawkcab wrote:so you dont need to know mips to write a subroutine you just need to copy and paste a template and all he needs is one sub then he can use his brothers red psp. any way i was trying to teach him mips i was just explaining the basic idea of what mips in a one line sub code work..
    yea i kinda get it, i'll just have to focus more on MIPS then otherr stuff
    Since you said you're a newbie in this I advise you first become a master searcher making all the simple codes using the searcher even making quality codes with the searcher you know learn how to find co oords for objects enemies yourself guns inf stuff etc just start making codes using the searcher for about 2 weeks then go to MIPS.

    @ sdrawkcab

    You do and just copying a template? well that wont lead him to no where all hes doing is just stealing someone else's work and just adding all the small stuff like co oords blah blah so he needs to know MIPS no matter what.

    @ fragon i dont use templates but if all he needs to do is make a sub and show it to his brother its not a big deal its not like hes gonna just make a one line sub and then post on a 1000 site n be like hey! look at me im soo uber 1337. and you dont need to whole every single command and all of there functions in order to write a one line sub im not trying to teach him mips im just was trying to help him so he could use his brothers psp. also mips arnt even that hard its like the easiest coding language ever.. No
    Why didn't you say it just was so he can have his brothers psp Mad Mad Mad Mad


    Post: #19Fri Feb 10, 2012 9:09 pm

    StriickeN

    StriickeN

    Admins
    Admins


    he explains it in the OT Rolling Eyes Rolling Eyes Rolling Eyes


    http://www.psvmods.net

    Post: #20Fri Feb 10, 2012 9:17 pm

    Vet

    Vet

    Elite Member


    Well OP is Joker not kcab


    Post: #21Mon Feb 13, 2012 10:00 am

    Bloodthrone

    Bloodthrone

    Senior Member


    i dont really feel like subroutining a code at this time so can some one subroutine this ftb2 code for the 1.60 patch?
    #inf Health
    0x004C9628 0x00000000

    i dont want it in TempAR format...


    https://www.youtube.com/user/xImortalxJokerx

    Post: #22Mon Feb 13, 2012 9:25 pm

    sdrawkcab

    sdrawkcab

    Senior Member


    ok.. send me an active hook an ill make it for you..


    Post: #23Tue Feb 14, 2012 9:50 am

    Bloodthrone

    Bloodthrone

    Senior Member


    sdrawkcab wrote:ok.. send me an active hook an ill make it for you..
    i d k if this is what you want but ok
    98 118 cc a4
    those are some hooks for gen, should work in FTB2


    https://www.youtube.com/user/xImortalxJokerx

    Post: #24

    Sponsored content





    View previous topic View next topic Back to top  Message [Page 1 of 1]

    Permissions in this forum:
    You cannot reply to topics in this forum