A certain someone asked me for this. So here it is for all to see and make use of. It's not done, but it's enough to get started. And PLEASE don't ask questions related to BIOS, ISO's etc, etc. Thanks. Code: 012345678901234567890123456789012345678901234567890123456789012345678 [79 Character reference line. Pay no attention.] -[How to hack Kingdom Hearts 2]- -[A simple coding tutorial by Erkz]- =Disclaimer= First, and foremost, by 'hack', I mean make codes for, and by 'coding', I refer to making cheat codes used by various cheat devices of the PS2. I'm not here to teach you how to compromise Square-Enix, their affiliates, or the security of Kingdom Hearts 2. I AM, however, going to show you how to make some basic codes for KH2, using tools I specify. I WILL NOT tell you how to obtain any of these tools, and you are assumed to have them prior to attempting any parts of this tutorial, and it is assumed that they are working [to an extent] and that you feel comfortable using them. I WILL NOT take questions which pertain to the use of said tools, unless they SPECIFICALLY REFER TO A PART OF THIS GUIDE. Just making that clear. You are also understood to have a basic understanding of hexadecimal, and decimal systems of counting, their differences, and how to convert between them. If not, you are at the very least expected to know how to set Windows Calculator to Scientific Mode and use it for that purpose. Lastly, you are required to know the difference between 2, 1, and 0 type raw codes and how and when to use them. [E.G. 2AAAAAAA XXXXXXXX, 1AAAAAAA 0000XXXX and 0AAAAAAA 000000XX.] Now, let us begin... =You WILL need= I will be referring heavily to the following programs/items, and you are expected to have them already, and they are working. If you do not, GET THEM. NAOW. DO NOT CONTINUE OTHERWISE OR YOU WILL BE SCREWED. -PCSX2 0.9.4 or later. [Earlier versions will not work with KH2, and you will be screwed.] [ALSO, you will be using the PCSX2t version. the 't' is very important.] -Windows Calculator. [Unless you can count fluently in hex, you will need this.] -Kingdom Hearts 2 [NTSC or PAL]. [Region does not matter. It's just the example I'm using.] -A Cheat Device [Codebreaker, Gameshark, AR MAX, Swap Magic Coder. I use the latter.] -A PS2 [Well, you need to test out your hard made codes, right?] -Common Sense. [Absolutely vital. You cannot code without this.] =Optional= These are things that might make your life easier, but are not an absolute necessity. -Multiple Savestates [Handy for changing values rapidly.] -Coder's Intuition [Meh, it helps sometimes.] =Introduction= Joking aside, I will be doing this tutorial in phases, which get progressively harder. I will, of course, start with the easier codes, and from there, work upwards. I am not a super coder; there is a limit to my abilities, but I do feel that what I know can benefit others. As such, you have this tutorial. Enjoy. =Basic Codes-[HP and MP codes]= =A.K.A "When you know the value" Codes= Let's kick things off with the easiest codes to make via PCSX2. The HP/MP codes. First, boot the game in PCSX2t, and get to a place with enemies, but do not engage them in battle. First, press start, and make a note of how much HP Sora has. Make a note of it, then hit escape to bring up the main window. Go to the "Misc" menu, and click "Patch Finder". Hit the Reset button, then change the setting from 'Old Value' to 'Specific Value'. We're looking for an HP code, right? And we just made a note of Sora's HP, right? So, put it into the little white box at the bottom, then hit 'Search'. BAJILLIONS of possible addresses should pop up, but that's okay. Just wait for them to finish load, then hit the 'Close' button [NOT THE 'X', the 'Close' button in the bottom right corner!]. Now, go to the "Run" menu, and hit "Execute". The game should put you back where you were. Now, we must find a way to get rid of those bajillion values, and get a code that works. Trigger the battle with the enemies. Let them hit you ONCE, then get out into another area as fast as you can before Donald can heal you. You may be asking, "The hell was the point of that?" Press 'Start'. O.O SORA'S HP HAS CHANGED! Make a note of the new value, and go back to the Patch Finder [Misc -> Patch Finder]. In the little white box under 'Specific Value', put the new HP value in. Then hit 'Search'. The bazillion values should have dropped drastically. You have 2 choices now. A] You continue to randomly change Sora's HP, making notes of the values, then searching for them until you narrow it down to one address. This address, is your completed HP code. OR B] You start testing addresses until you hit the one that changes his HP to whatever you set it to. This is your code. And THERE. You've made a code. 8D One of the most basic, but HEY! It's a Code nonetheless, and one of the most requested types to. Pat yourself on the back. =To Be Continued...= Hope it benefits everyone. ^_^
Pretty much. Unless they're using some weird number compression. [MegaMan Zero comes to mind.] But once you see actual figures, you're good to go!
nah man i ment stuff like for example your moveset codes, HP codes are simple as hell even without a emulator. like in my pcsx2 everytime i narrow it down to one line i think "i found what i was looking for" but then once i go to the value in 2 seperate dumps (both dumps are different in some way so i can see a difference in whatever i was doing) the value has no difference, it's the same in both dumps. and even when i test the code in pcsx2 (which im guessing is wrong since the dumps tell me it has no difference) it obviously does nothing. basically pscx2 is telling me there was a value change when there really wasn't
side note, 90% of the time, MP codes are usually on the same address or the next address as the HP codes.
Eh, you have to use a little intuition there. Sometimes, to make codes, you have to use codes too. Also, values only tend to change when needed, so that sometimes happens with PCSX2. It's annoying as hell, but there's nothng you can do. One of those self-same addresses was stopping me from finding the UWM, but I found it anyway. XD Also, another thing about PCSX. If you search for a code, expecting the value to change, and it DOESN'T change, you're screwed. So, if you know the original value, you can search for it in PCSX2, then check the dumps to see which one of the addresses is most likely it. THAT's how I found the UWM. Yup. =P
this is kinda like my other hacking. if i could use PCSX2t i could hack codes easily, but mostly ones already hacked. namely, HP mods and stuff like that.coes like this are VERY easy, and i learned how to do this from SNES Emulators and hacking Flash Games lol.
can someone explain why it wont search for codes over 2 digits? i looked to see if i cold find the UCM for a test. i typed in "005A" which it did okay. then i went to play as riku, and when i typed in "0819" it would only search for "81" even though its set to 16 bit...
Eh... I don't think I'll be continuing this. I can't remember where I got it from, it was someone here though, but I picked up a neat little program called Emuhaste. If anything, I'll rewrite the tutorial incorporating that into it. It's sooo much easier.