PSP Coding
Would you like to react to this message? Create an account in a few clicks or log in to continue.

PSP Coding


 
HomeLatest imagesSearchRegisterLog in

 

 How Would I Sub and De Sub A Code?

Go down 
2 posters
AuthorMessage
WeeD+




Posts : 6
Points : 10
Reputation : 0
Join date : 2010-09-29

How Would I Sub and De Sub A Code? Empty
PostSubject: How Would I Sub and De Sub A Code?   How Would I Sub and De Sub A Code? I_icon_minitimeThu Sep 30, 2010 9:38 am

Please can someone help Sad
Back to top Go down
-LeetGamer-
Admin



Posts : 247
Points : 397
Reputation : 4
Join date : 2010-09-29
Age : 30

How Would I Sub and De Sub A Code? Empty
PostSubject: Re: How Would I Sub and De Sub A Code?   How Would I Sub and De Sub A Code? I_icon_minitimeThu Sep 30, 2010 9:40 am

Need to learn MIPS, I posted a lot of tutorials, read them and also read these:

http://www.mrc.uidaho.edu/mrc/people/jff/digital/MIPSir.html

and:

http://en.wikipedia.org/wiki/MIPS_architecture#MIPS_assembly_language

If you have a specific question on MIPS let me know.
Back to top Go down
WeeD+




Posts : 6
Points : 10
Reputation : 0
Join date : 2010-09-29

How Would I Sub and De Sub A Code? Empty
PostSubject: Re: How Would I Sub and De Sub A Code?   How Would I Sub and De Sub A Code? I_icon_minitimeThu Sep 30, 2010 9:46 am

but I do know MIPS well whats required for this..It just that like where wud i put the j..jal etc..and hooks :/..idk
Back to top Go down
-LeetGamer-
Admin



Posts : 247
Points : 397
Reputation : 4
Join date : 2010-09-29
Age : 30

How Would I Sub and De Sub A Code? Empty
PostSubject: Re: How Would I Sub and De Sub A Code?   How Would I Sub and De Sub A Code? I_icon_minitimeThu Sep 30, 2010 9:49 am

The J or Jal is your hook, now a hook is a jump that normally accurres in the game without you doing anything. So you change it's value to jump to your subroutine (This calls your subroutine). Now where do you put your subroutine? In a nop cave (Huge area of "NOP" or nothing), in every game there is one of these from address 0x00000610 to 0x00004000 so you can pick any address for your subroutine, now make your hook jump to the start of your subroutine (If I started at 0x00001000 I would have my hook's MIPS be J/Jal $08801000) then at 0x00001000 you write your MIPS at.
Back to top Go down
Sponsored content





How Would I Sub and De Sub A Code? Empty
PostSubject: Re: How Would I Sub and De Sub A Code?   How Would I Sub and De Sub A Code? I_icon_minitime

Back to top Go down
 
How Would I Sub and De Sub A Code?
Back to top 
Page 1 of 1
 Similar topics
-
» [HELP] How to Sub DMA code?
» Code help
» How Joker A Code [ Big Guide ]
» Mohh2 Killstreak Code
» How to Write a two code Subroutine!

Permissions in this forum:You cannot reply to topics in this forum
PSP Coding :: PSP Section :: PSP Chat :: PSP Coding Help-
Jump to: