PSP Coding


 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | 
 

 [HELP] OTHER JOKER.

Go down 
Go to page : 1, 2  Next
AuthorMessage
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: [HELP] OTHER JOKER.   Wed Oct 20, 2010 10:40 pm

[HELP] OTHER JOKER.

How to make joker.
If you only press or hold the button and the code will work.

EXAMPLE:
#SEE THROUGH WALLS
;Hold L button to ON
;Stop Holding L to OFF
0xIWILLEAT 0xPEOPLE:P
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
EternalDarkness



Posts : 16
Points : 22
Reputation : 0
Join date : 2010-09-29
Age : 26

PostSubject: Re: [HELP] OTHER JOKER.   Thu Oct 21, 2010 3:01 am

just do this

Code:

lui t0 $[first half of the see through wall code +08800000 +1 more if 2nd half is 8000 or more]
lui t1 $[first half of controller address]
lh t1 $[2nd half of controller address(t1)]
ori t2 zero $[Lpad button button]
bne t1 t2 $branch to (here)-----------------------------------------------------
nop                                                                                                     
lui t3 $[first half of see through wall code ACTIVATED value]             
ori t3 t3 $[2nd half of see through wall code ACTIVATED value]   
sw t3 $[2nd half of the see through wall code(t0)]                           
jr ra                                                                                                   
nop                                                                                                   
lui t3 $[first half of see through wall code ORIGINAL value]    <---(here)           
ori t3 t3 $[2nd half of see through wall code ORIGINAL value]
sw t3 $[2nd half of the see through wall code(t0)]
jr ra
remember to put a hook
N deduct 08800000 from the address when u r done

i think that will do

Anyone correct me if im wrong
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Thu Oct 21, 2010 4:00 am

Anyone what i will type here?
bne t1 t2 $branch to (here)-----------------------------------------------------
--------------------
This is the joker on/off at OHG.

j $(Hook Value - copy the first line of Address on your Subroutine)
lui t0, $(1/2 - Controller Address + 0880/+ 0001 if the 2/2 of Controller Address is more than 8000)
lh t0, $(2/2 - Controller Address)(t0)
lui t1, $(1/2 - Code Address + 0880/+ 0001 if the 2/2 of Code Address is more than 8000)
ori t2, zero, $(Button Value to Activate)
ori t3, zero, $(Button Value to Deactivate)
lui t4, $(1/2 - hacked/on value)
ori t5, t4, $(2/2 - hacked/on value)
lui t6, $(1/2 - original/off value)
ori t6, t6, $(2/2 - original/off value)
bne t0, t2, $(branches to the next bne)
nop
sw t5, $(2/2 - Code Address)(t1)
bne t0, t3, $(branches to the jr ra)
nop
sw t6, $(2/2 - Code Address)(t1)
jr ra

IDK what i will type there.
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


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

PostSubject: Re: [HELP] OTHER JOKER.   Thu Oct 21, 2010 6:57 am

The (Branch to the next bne) is saying put the bne address in there, if I had my next bne address at 0x08801200 then I would say bne t0 t1 $08801200, same with the next branch, but put the address of the jr ra in it.
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Thu Oct 21, 2010 4:03 pm

will you make an example?
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


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

PostSubject: Re: [HELP] OTHER JOKER.   Thu Oct 21, 2010 5:32 pm

Brian_000 wrote:
will you make an example?

Yeah:

-LeetGamer- wrote:
The (Branch to the next bne) is saying put the bne address in there, if I had my next bne address at 0x08801200 then I would say bne t0 t1 $08801200, same with the next branch, but put the address of the jr ra in it.

Razz
Back to top Go down
View user profile
EternalDarkness



Posts : 16
Points : 22
Reputation : 0
Join date : 2010-09-29
Age : 26

PostSubject: Re: [HELP] OTHER JOKER.   Thu Oct 21, 2010 5:56 pm

Brian_000 wrote:
[HELP] OTHER JOKER.

How to make joker.
If you only press or hold the button and the code will work.

EXAMPLE:
#SEE THROUGH WALLS
;Hold L button to ON
;Stop Holding L to OFF

0xIWILLEAT 0xPEOPLE:P

LOL i thought u were saying ONE button, not two
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Fri Oct 22, 2010 9:47 pm

EternalDarkness wrote:
Brian_000 wrote:
[HELP] OTHER JOKER.

How to make joker.
If you only press or hold the button and the code will work.

EXAMPLE:
#SEE THROUGH WALLS
;Hold L button to ON
;Stop Holding L to OFF

0xIWILLEAT 0xPEOPLE:P

LOL i thought u were saying ONE button, not two
Broom!

Dont worry i know now what is bne. Razz
Here:

#SEE THROUGH WALLS (L)
;Credits to Brian_000
;Hold L to See Through Walls
0x00060414 0x0A360040
0x00580100 0x3C0808D4
0x00580104 0x850842B0
0x00580108 0x3C090898
0x0058010C 0x340A0100
0x00580110 0x3C0C03E0
0x00580114 0x358D0008
0x00580118 0x3C0E27BD
0x0058011C 0x35CEFF90
0x00580120 0x150A0002
0x00580128 0xAD2D8F0C
0x0058012C 0x150B0002
0x00580134 0xAD2E8F0C
0x00580138 0x03E00008
--------------------

Help me what is wrong with with this joker?

#EXPLOAD GRENADES (DPAD DOWN)
;Credits to Brian_000
;Press DPAD DOWN to Explode Grenades
0x00339D78 0x0A360080
0x005929A4 0x00000065
0x00580200 0x3C0808D4
0x00580204 0x850842B0
0x00580208 0x3C09089D
0x0058020C 0x340A0040
0x00580210 0x3C0C0000
0x00580214 0x358D0000
0x00580218 0x3C0E4500
0x0058021C 0x35CE000B
0x00580220 0x150A0002
0x00580228 0xAD2D3990
0x0058022C 0x150B0002
0x00580234 0xAD2E3990
0x00580238 0x03E00008
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


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

PostSubject: Re: [HELP] OTHER JOKER.   Fri Oct 22, 2010 9:50 pm

Can you post the MIPS used and not the code please?
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Sat Oct 23, 2010 4:41 pm

-LeetGamer- wrote:
Can you post the MIPS used and not the code please?
UPDATED.
--------------------
beq a0, zero, $0000007c
j $(Hook Value - Copy the first line of Address on your Subroutine)
lui t0, $(1/2 - Controller Address + 0880/+ 0001 if the 2/2 of Controller Address is more than 8000)
lh t0, $(2/2 - Controller Address)(t0)
lui t1, $(1/2 - Code Address + 0880/+ 0001 if the 2/2 of Code Address is more than 8000)
ori t2, zero, $(Button Value to Activate)
lui t4, $(1/2 - Code Value = Activate)
ori t5, t4, $(2/2 - Code Value = Activate)
lui t6, $(1/2 - Code Value = Deactivate)
ori t6, t6, $(2/2 - Code Value = Deactivate)
bne t0, t2, $(Branches to the next bne)
nop
sw t5, $(2/2 - Code Address)(t1)
bne t0, t3, $(Branches to the jr ra)
nop
sw t6, $(2/2 - Code Address)(t1)
jr ra
or zero, zero, zero
----------
If You Press Down Rockets/Grenades will Expload.
But if you Press Down and Press Any Button the Value of Delay Grenades not working.
Please tell me what is wrong in my joker?

#EXPLODE GRENADES (DOWN)
;Credits to Brian_000
;Press DPAD DOWN to Explode Grenades
0x001D3990 0x00000000;Instant Expload Grenades
0x001F0544 0x0A360080;Hook
0x00580200 0x3C0808D4;1/2 of Controller Address
0x00580204 0x850842B0;2/2 of Controller Address
0x00580208 0x3C09089D;1/2 of Code Address - Not Delay Grenades/Delay Grenades
0x0058020C 0x340A0040;Button of Down
0x00580210 0x3C0C1480;1/2 of Original Code Value = Not Delay Grenades
0x00580214 0x358D0007;2/2 of Original Code Value = Not Delay Grenades
0x00580218 0x3C0E1080;1/2 of Code Value = Delay Grenades
0x0058021C 0x35CE0007;2/2 of Code Value = Delay Grenades
0x00580220 0x150A0002;Branches to the next bne
0x00580228 0xAD2D39A0;2/2 of Code Address = Not Delay Grenades
0x0058022C 0x150B0002;Branches to the jr ra
0x00580234 0xAD2E39A0;2/2 of Code Address = Delay Grenades
0x00580238 0x03E00008;jr ra
0x005929A4 0x00000065;Code for Cant Crouching
--------------------
New Question.

How to add more button, value, Address.
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


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

PostSubject: Re: [HELP] OTHER JOKER.   Sat Oct 23, 2010 5:52 pm

Brian_000 wrote:

New Question.

How to add more button, value, Address.

You would just check another value with a bne, if it's not equal then branch a few addresses down, and in those addresses you turn on another code.
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Sat Oct 23, 2010 7:00 pm

-LeetGamer- wrote:
Brian_000 wrote:

New Question.

How to add more button, value, Address.

You would just check another value with a bne, if it's not equal then branch a few addresses down, and in those addresses you turn on another code.
Here:
How to add more value.

lui t4, $(1/2 - Code Value 1)
ori t5, t4, $(2/2 - Code Value 1)
lui t6, $(1/2 - Code Value 2)
ori t6, t6, $(2/2 - Code Value 2)

What is next MIPS at the Code Value 2.
Post the MIPS Please.
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
WeeD+



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

PostSubject: Re: [HELP] OTHER JOKER.   Sat Oct 23, 2010 7:05 pm

this is gonna help me bigtime thanks to all the posters in this thread.!
Back to top Go down
View user profile
-LeetGamer-
Admin


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

PostSubject: Re: [HELP] OTHER JOKER.   Sat Oct 23, 2010 7:59 pm

You just take your MIPS template to turn on a code:

Code:

Lui t0 $Upper code address
Lui t1 $Upper code value
Ori t1 t1 $Lower code value
Sw t1 $Lower code address(t0)

And add in a button check:

Code:

Lui t0 $Upper controller address
Lw t0 $Lower controller address(t0)
Addi t1 zero $Button Value
Bne t0 t1 $To jr ra or next bne
Nop

And maybe two more button checks"

Code:

Lui t0 $Upper controller address
Lw t0 $Lower controller address(t0)
Addi t1 zero $Button Value
Addi t2 zero $Button Value Two
Bne t0 t1 $To next Bne
Nop
// Here you would turn on your code
Bne t0 t2 $To next Jr ra
Nop
// Here you would turn on a different code
Jr ra

And you get this:

Code:

Lui t0 $Upper controller address
Lw t0 $Lower controller address(t0)
Addi t1 zero $Button Value One
Addi t2 zero $Button Value Two
Addi t3 zero $Button Value Three
Bne t0 t1 $To next Bne
Nop
// Turn a code on with the normal way (Shown at top)
Bne t0 t2 $To next Bne
Nop
// Turn a code on with the normal way (Shown at top)
Bne t0 t3 $To Jr ra
Nop
// Turn a code on with the normal way (Shown at top)
Jr ra

Just add in a button check (bne command) and branch to the next bne/jr_ra. After the button check add a nop and then the MIPS to turn your code on (Check the top of this post)

Hope that helped.
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Sat Oct 23, 2010 8:37 pm

Thanks You Very Much!
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Sun Oct 24, 2010 5:34 pm

lui t2 $(1/2 - DMA Pointer One + 0880)
lw t2 $(2/2 - DMA Pointer One)
lui t3 $(1/2 - DMA Pointer Two + 0880)
lui t4 $(2/2 - DMA Pointer Two)

What is the next MIPS at 1/2 and 2/2 DMA Pointer Two?
I mean the DMA Pointer Three.
Please post the MIPS...
Thanks Leet.
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


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

PostSubject: Re: [HELP] OTHER JOKER.   Sun Oct 24, 2010 6:29 pm

I don't understand what you mean Sad
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 4:28 pm

Tell me what is wrong here...
Its not working on me. Sad
--------------------
JOKER DMA
----------
j $(Hook Value - Copy the first line of Address on your Joker)
lui t0, $(1/2 - Controller Address + 0880)
lw t1, $(2/2 - Controller Address)(t0)
lui t2, $(1/2 - DMA Pointer One + 0880)
lw t2, $(2/2 - DMA Pointer One)
lui t3, $(1/2 - DMA Pointer Two + 0880)
lui t4, $(2/2 - DMA Pointer Two)
addi t5, zero, $(Button Value One)
addi t6, zero, $(Button Value Two)
bne t0, t5, $(Branches to the next bne)
nop
lui t7, $(1/2 - DMA Value One)
ori t7, t7, $(2/2 - DMA Value One)
sw t7, $(DMA Offset)(t2)
bne t0, t6, $(Branches to the jr ra)
nop
lui t7, $(1/2 - DMA Value Two)
ori t7, t7, $(2/2 - DMA Value Two)
sw t7, $(DMA Offset)(t2)
jr ra
--------------------
SUBROUTINE DMA
----------
j $(Hook Value - Copy the first line of Address on your Subroutine)
lui t0, $(1/2 DMA Pointer + 0880)
lw t0, $(2/2 DMA Pointer)(t0)
lui t1, $(1/2 DMA Value)
ori t1, t1, $(2/2 DMA Value)
sw t1, $(DMA Offset)(t0)
--------------------


Last edited by Brian_000 on Mon Oct 25, 2010 7:08 pm; edited 1 time in total
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


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

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 4:59 pm

On the subroutine did you add a jr ra line? Also when does your joker freeze? When you turn it on or when you press a button?
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:12 pm

Joker DMA,
Cant write this at PS2Dis lw t2, $(2/2 - DMA Pointer One)
----------
Subroutine DMA,
Even i add jr ra, the code also not working.
--------------------
Watch Carefully at the MIPS tell me if there is a wrong part there.
Smile
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


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

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:23 pm

In the joker this line: lui t4, $(2/2 - DMA Pointer Two) should be a lw command

Everything else you posted looks right.
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:26 pm

lui t4, $(2/2 - DMA Pointer Two)
that is saying at your PM.
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


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

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:28 pm

Surprised I messed up then, it should be lw Razz
Back to top Go down
View user profile
Brian_000

avatar

Posts : 33
Points : 45
Reputation : 0
Join date : 2010-10-02
Age : 28
Location : Brgy. Binan Pagsanjan Laguna, Philippines

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:29 pm

Can you post the DMA Pointer Three?
Back to top Go down
View user profile http://www.onehitgamer.com/forum/
-LeetGamer-
Admin


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

PostSubject: Re: [HELP] OTHER JOKER.   Mon Oct 25, 2010 7:36 pm

Try this:

Look at all the examples, try and make it yourself, post your try here. I will go over it and see how close you got. This is a way for you to learn Wink
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: [HELP] OTHER JOKER.   

Back to top Go down
 
[HELP] OTHER JOKER.
Back to top 
Page 1 of 2Go to page : 1, 2  Next
 Similar topics
-
» Looking for Joker figures
» Hot Toys, 1/6th scale batmobile tumbler.
» Hot Toys making Indiana Jones figures, hints at Star Wars as well...
» Hot Toys TDK. thanks again good doc.
» Jor-El's Best of 2012: #1 revealed!!!

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