How to use the Dark Cloud (PS2) editor to make cheat codes (Raw Game Shark, Code Breaker, etc).  By Tony H   Version 1.1  7/16/2025   t_hedstrom@yahoo.com

This guide is completely optional and I'm only included it in case anyone wants to make cheat codes for this game.  You don't need any of this to use the editor.

Version 1.2 update:
Info for Shops, Prices, and Attachments are at the bottom of this guide.


Will use the Small Sword as an example (number 027 in the weapon list in the editor) since that's what's shown in the screenshot I currently have on my website (The Code Hut).

If you click on the Small Sword, the eeMemory address shown in the lower left corner is 0027AE78.  eeMemory is the main RAM file that the PS2 uses.  Many cheat codes like Game Shark and Code Breaker also use addresses from this RAM file.  All of the weapon stats are contained within the eeMemory file in a nice orderly table which starts at 0027A6C0.  Each weapon get 0x4C bytes of data (in hex).  The very 1st weapon listed is Dagger+, then Dagger, then Baselard, etc.  You can see the entire list of weapons in the correct order from here: https://codetwink.com/view-cheats-4593-title-weapon+digits-page-27.html

To make cheat codes for the Small Sword, we'll start with Weapon Health Power and Attack stats.  This one is very easy since those two stats use the address that shown in the eeMemory box.  So our cheat code would be 2027AE78:xxxxyyyy (xxxx would be a 2 byte value for Weapon Health Power, and yyyy would be a 2 byte value for Attack).

Notice that we added a "2" at the beginning of the cheat code:

0027AE78 Before
2027AE78 After

This tells the cheat device what kind of code it is.  In this case, it means a 32 bit write (4 bytes).

So if you wanted the Small Sword to have 50 WHP and 50 Attack, your code would be:

2027AE78:00320032  (50 converted to hex is 32)

Next, we'll make a code for Endurance and Speed since they're the values next in line.  In the editor, Max Attack is next after Attack but in the eeMemory file file, Endurance and Speed are next.  I rearranged a few stats in the editor to make things easier to edit (ie putting Attack and Max Attack next to each other).

To make Endurance and Speed, just use your Windows calculator (in Programmer mode/Hex) and add 4 to the address shown:

0027AE78 + 4 = 0027AE7C

So our cheat code for Endurance and Speed would be 2027AE7C:xxxxyyyy

From here on, things get a bit more difficult for the rest of the stats since there's some 1 byte values, some unknown values, etc.  However, the elemental stats (Fire, Ice, etc) start at 0x12 bytes from the eeMemory address shown by the editor.

===================

In case you want to see what the eeMemory file looks like, it's contained within a PCSX2 save state file.  Depending on which version of PCSX2 you have, the save state file may use different compression.  If you're using version 1.6, all you have to do to extract the eeMemory file is change the file extension from P2s to zip.  Double click on the file and Windows will extract the files for you and you'll see the eeMemory file which you can open with a hex editor.

=====================================

Shop and Prices cheat code info:

The cheat codes for shops is very straight forward.  Click on the shop you want codes for. The eeMemory address shown is for the very first item for sale in that shop.  

Using 002 - Matataki Village - Wise Owl Shop as an example, the eeMemory address should be: 00292048.  So your code for the first two items that are for sale would be: 20292048:xxxxyyyy.   

Remember that we add "2" at the beginning of the code to let the cheat device know it's a 32 bit write (4 bytes).  You can use the list of Item hex ID numbers (button) to get whatever item you want in that store, including Attachments, Gems, Amulets, Power-ups, and Items.  If you wanted the Attack +1 and the Magic +1 attachments in the Wise Owl Shop, you're code would be: 20292048:005B005E.

The next two items for sale would be at: 0029204C, and so on.

The cheat codes for prices are very similar.  Just look at the eeMemory address for your item.  Using 081 - Fire as an example, the eeMemory address should be: 00291B80.  So your code for the Fire buying and selling price would be: 20291B80:xxxxyyyy (xxxx= buying price, yyyy = selling price).

If you wanted the buying price for the Fire attachment to be free, and the selling price to be $10,000, your code would be: 20291B80:00002710.  You could then buy it for nothing, then turn around and sell it for $10,000.  Easy money.

Each item you click on in the editor will have the correct eeMemory address for your buying and selling cheat code.

=====================================

Attachment cheat code info:

Similar to the shop stuff above with these notes:

The eeMemory address shown will be for Attack and Endurance (2 bytes each).  Speed and Magic would be next (2 bytes each).  However, after that, each stat boost is 1 byte.  This means you can make a single code for 4 different stats.

