EXT Gaming
Welcome to EXTPortable, Guest!

At the moment, you are viewing the forum as a guest. As a guest you can't make post and participate in discussions. You need to register and become a member of the forum. Click the register link below and become a part of this forum. But please, don't become part of the site just for the Downloads, If you Register, do it because you want to have fun and get to know people, if NOT then don't Register at all.

Thank You,

Bou
Latest topics
» [Forum Game]Yum or Yuck
Sat Aug 09, 2014 2:10 am by AvieD1ne

» True or False
Sat Aug 09, 2014 1:53 am by AvieD1ne

» EXT
Fri Aug 08, 2014 7:30 pm by AvieD1ne

» 'Ello there!
Fri Aug 08, 2014 6:49 pm by AvieD1ne

» Sup son! What You Doing Now 2
Fri Aug 08, 2014 6:38 pm by AvieD1ne

» What are you currently playing?
Fri Aug 08, 2014 6:31 pm by AvieD1ne

» Hai :3
Thu Aug 07, 2014 11:40 am by Neff Anselmo

» Anime Ramen
Fri Jan 31, 2014 5:58 am by Bou

» Happy New Year
Mon Jan 27, 2014 8:26 am by Ziyi

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 29 on Sun Aug 12, 2012 2:09 am

Sub-routine Using NitePR with ScreenShot! [By Sniper7410]

View previous topic View next topic Go down

bgrin Sub-routine Using NitePR with ScreenShot! [By Sniper7410]

Post by Guest on Thu Dec 22, 2011 12:49 am

Hey, here im going to show you how to write a sub in NitePR

First off put this in your DB.
Code:
#Test SUB
0x00000000 0x00000000
0x00000000 0x3C080000
0x00000000 0x3C090000
0x00000000 0x25290000
0x00000000 0xAD090000
0x00000000 0x03E00008

Ok so First we will want to sub this code:

#Inf Ammo
;Sniper7410
0x0017EC74 0x10000000

Ok we are going to put this code in REAL adressing:

Code:
0x0017EC74 + 0x08800000 = 0x0897EC74.

Notice 0x0897EC74 is bigger than 7FFF. We will have to add 0x0001 so the new code will be 0x0898EC74.

Ok now we need to find a area of nops to use as an area for the sub. Go to PRX and set REAL addressing to True in the decoder. And change the 0x08804000 to 0x08D00000. You should see a bunch of nop's.

ScreenShot:



ok 0x08D00000 in REAL addressing will be 0x00500000 so we will add this to all the addresses of our code

ScreenShot:



So the new code will look like this

Code:
#Test SUB
0x00000098 0x00000000
0x00500000 0x3C080000
0x00500004 0x3C090000
0x00500008 0x25290000
0x0050000C 0xAD090000
0x00500010 0x03E00008

Now we need to make the first line hex = our area of 0x00500000. So now go into the decoder and put in 0x08804098 since 98 is our hook.

ScreenShot:


Now the hex in the decoder should be 34050001, change it so its a j so make it
0A3400000. Now if you look under the Args you will notice your area or nop in real addressing

Screen Shot:



This is the new code
Code:
#Test SUB
0x00000098 0x0A340000
0x00500000 0x3C080000
0x00500004 0x3C090000
0x00500008 0x25290000
0x0050000C 0xAD090000
0x00500010 0x03E00008

Ok so take 0x0898EC74 and fill in the blanks.

Code:
#Test SUB
0x00000098 0x0A340000
0x00500000 0x3C08____[First half of address +0880]
0x00500004 0x3C09____[First half of hex]
0x00500008 0x2529____[Second half of hex]
0x0050000C 0xAD09____[Second half of address]
0x00500010 0x03E00008

ScreenShot:


This is the new and finished code:

Code:
#Inf Ammo SUB
0x00000098 0x0A340000
0x00500000 0x3C080898
0x00500004 0x3C091000
0x00500008 0x25290000
0x0050000C 0xAD09EC74
0x00500010 0x03E00008


7FFF Rule:

Ok if the last part of your address is bigger than 7FFF then we have to add 0x0001 like so:

0x0897EC74 Ec74 is bigger than 7FFF so ad 0x0001 so the new code is

0x0898EC74





Credit -Sniper7410

Will be updated...

Guest
Guest


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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