Kodewerx

Our culture has advanced beyond all that you could possibly comprehend with one hundred percent of your brain.
It is currently Fri Apr 19, 2024 1:10 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Feb 25, 2009 8:07 am 
Offline
Kommunist
Kommunist
User avatar

Joined: Wed Jul 11, 2007 6:42 pm
Posts: 24
Location: Germany
Hello I wanted to make a hack so when you push the "/"-Button (0x2f in hex) the output on your screen is a NEW LINE (0x0a in hex).
the game is metroid prime hunters eu 1.0 here.
Code:
there are more values that i found:
2259be8 beginning of string
2147E54 at the moment entered symbol
2149348 length of the string you entered


and here is the code i want to have in a loop, but i dont know how to do this so i need your help plz :(
Code:
92259be8 0000002f
22259be8 0000000a
D0000000 00000000

92259be9 0000002f
22259be9 0000000a
D0000000 00000000

92259bea 0000002f
22259bea 0000000a
D0000000 00000000

92259beb 0000002f
22259beb 0000000a
D0000000 00000000

92259bec 0000002f
22259bec 0000000a
D0000000 00000000

92259bed 0000002f
22259bed 0000000a
D0000000 00000000

92259bee 0000002f
22259bee 0000000a
D0000000 00000000

92259bef 0000002f
22259bef 0000000a
D0000000 00000000

92259bf0 0000002f
22259bf0 0000000a
D0000000 00000000

92259bf1 0000002f
22259bf1 0000000a
D0000000 00000000

92259bf2 0000002f
22259bf2 0000000a
D0000000 00000000

92259bf3 0000002f
22259bf3 0000000a
D0000000 00000000

92259bf4 0000002f
22259bf4 0000000a
D0000000 00000000

92259bf5 0000002f
22259bf5 0000000a
D0000000 00000000

92259bf5 0000002f
22259bf5 0000000a
D0000000 00000000

92259bf6 0000002f
22259bf6 0000000a
D0000000 00000000

92259bf7 0000002f
22259bf7 0000000a
D0000000 00000000

92259bf8 0000002f
22259bf8 0000000a
D0000000 00000000

92259bf9 0000002f
22259bf9 0000000a
D0000000 00000000

92259bfa 0000002f
22259bfa 0000000a
D0000000 00000000

92259bfb 0000002f
22259bfb 0000000a
D0000000 00000000

92259bfc 0000002f
22259bfc 0000000a
D0000000 00000000

92259bfd 0000002f
22259bfd 0000000a
D0000000 00000000

92259bfe 0000002f
22259bfe 0000000a
D0000000 00000000

92259bff 0000002f
22259bff 0000000a
D0000000 00000000

92259c00 0000002f
22259c00 0000000a
D0000000 00000000

...

_________________
Image
Image

Metroid Prime Hunters Namehack v2.0
see opponents hand fixed 2.0


Last edited by h2o-drache on Fri Feb 27, 2009 5:39 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 25, 2009 8:46 am 
Offline
Kommunist
Kommunist

Joined: Sun Dec 30, 2007 4:44 am
Posts: 32
0x02147E54 = last added char?

mabye so:
92147E54 FFFF002f // if last char == /
22147E54 0000000a // then last char = \n
D0000000 00000000



Loop:

d5000000 0000000a
// stored = 0x0000000a
c0000000 0000000a
// Repeat 10 times
// {
d8000000 22259be8
// (0x22259be8 + offset++) = stored
d2000000 00000000
// } End-repeat


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 25, 2009 10:45 am 
Offline
Kommunist
Kommunist
User avatar

Joined: Wed Jul 11, 2007 6:42 pm
Posts: 24
Location: Germany
Quote:
0x02147E54 = last added char?

yes it saves the last added symbol or char.



Do you mean it this way???
Code:
023FE26C E1D320B0 // Offset Support for the if 9
023FE270 E1E03004

d5000000 0000000a  // stored = 0x0000000a
c0000000 0000000a  // Repeat 10 times
// {

92259be8 FFFF002f   // if string current position == /
(2147E54 i dont like this adress because when im deleting sth it dont saves 0x00 it saves only symbols and 0x20...)

d8000000 22259be8   // then last char = \n
D0000000 00000000  // (0x22259be8 + offset++) = stored

// }

d2000000 00000000  // End-repeat

023FE26C E1D320B0 // NO Offset Support for the if 9
023FE270 E1E03004



or did i made sth wrong?

_________________
Image
Image

Metroid Prime Hunters Namehack v2.0
see opponents hand fixed 2.0


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 26, 2009 5:33 am 
Offline
Kommunist
Kommunist

Joined: Sun Dec 30, 2007 4:44 am
Posts: 32
yeah its right (Conditional Code Adresses are not changed by the offset register)


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 33 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group