Tutorial is too big, but informative! lol
- Tutorial:
(1)
A string write (06 codetype) is a codetype used in some games to change the text of a string. A "string" is a set of text. For example, "THIS IS A STRING" would be an example of a string. Strings can also be numbers as well. A string is pretty much anything that is defined as text.
(2)
If the address is 80000000 - 80FFFFFF, you use the 06 codetype.
If the address is 81000000 - 817FFFFF, you use the 07 codetype.
(3)
Obviously, you will never create a successful string write code with an address like the maxes shown above. There are certain useful address offset aspects to every game.
(4)
You want to change your player's name from "John Smith" to "I'm a N00b". Go to the link below and convert "John Smith" (without quotes) ASCII)) to Hexadecimal. The converter should return the following:
(5)
4A6F686E20536D697468
(6)
The game only allows up to 10 chars for the name! The address is 8098A7FC. Refer to (2).
06XXXXXX
XXXXXXX = Address
0698A7FC NEXTLINE
(8)
The next line tells the code handler how much bytes to write to the address. Since 10 is the max we SHOULD use, you need to convert it to Hexadecimal or the code handler would think it's supposed to write 16 bytes. Since 16 is 10 in Hexadecimal and the code handler reads only Hexadecimal not Decimal, you have to convert it.
0698A7FC 0000000A
(9)
Next, we need to convert "I'm a N00b" (without quotes) to Hexadecimal. It should return the following:
49276D2061204E303062
(10)
Paste the above into the code on the second line, breaking it into 4 bytes (2 chars) + 1 space + 4 bytes + new line & repeat until nothing is left.
0698A7FC 0000000A
49276D20 61204E30
3062
(11)
If there is nothing left on the current line that can become a complete line totalling 8 bytes, fill in remaining empty bytes with 0s. 0s are null!
0698A7FC 0000000A
49276D20 61204E30
30620000 00000000
(12)
Add a terminator to the bottom of the code.
0698A7FC 0000000A
49276D20 61204E30
30620000 00000000
E0000000 80008000
(13)
Add a button activator if you want.
BUTTON A CTIVATOR
0698A7FC 0000000A
49276D20 61204E30
30620000 00000000
E0000000 80008000(14)
ERROR!
Refer to (8). You made a mistake, but I made you do all this work to have to re-do it?! Not quite... See, that's the whole part of learning; is to correct your mistakes, so you won't keep making the same one over and over. ;)
You told the code handler to only read the first 10 bytes of code, but there's still more and it doesn't know what to do with it!
(15)
For every 2 chars that are null (0s), add 1 to the amount of bytes to read.
BUTTON A CTIVATOR
0698A7FC 00000010
49276D20 61204E30
30620000 00000000
E0000000 80008000
Refer to (8). lol You did have to use 10! xD
Congratulations! You're finished! :)