Using Cheats in DeSmuMe

From DeSmuME
Revision as of 22:51, 27 January 2010 by Shukr (Talk | contribs)
Jump to: navigation, search

Contents

Foreword

This manual explains the 'raw' or 'internal' cheat system in desmume. The 'raw' or 'internal' cheats include cheat-finding facilities where you may manually search for and alter the memory positions which work to your advantage. This article will provide a rundown of the cheat searching menu and functions, followed by a pair of examples. Please note that, in post-0.9.2 versions, there is also the support for Action Replay cheat codes. The cheat system described here is referred to as 'raw' or 'internal' cheats.

The Cheat Menu

The cheat searching menu can be found in the toolbar under : Emulation | Cheats | Search. The initial cheat window has the following options:

Select Size

Select the memory addresses' size for the value you are searching for. Choose the smallest range applicable to the value you're trying to change. If you're trying to change an energy value which maxes out at 100, choose 1 byte (which has a range of 0 to 255). If you're trying to change HP and it maxes out in the game at 9999, choose 2 bytes (which has a range of 0 to 65536), etc. It usually is inadvisable to use larger memory sizes than required, as it may have undesirable effects on your game.

Sign

Select whether the memory address should be signed or unsigned. A signed memory refers to a memory that can include both positive or negative numbers. So if the value you're searching for can be less than zero, it is likely to be a signed memory type. Do note that when choosing a memory as signed, the range is halved in both directions. 1 byte, rather than covering a range of 0 to 255, will cover a range of -128 to +127 (not -255 to +255). This option does not work in 0.9.2

Select Search Type

Select the type of search you would like to perform. In some cases, the exact value you're searching for is unknown - such as hidden, or non-numerical values. Exact searches allow you to enter a known value (say, 100 for energy), and then continue with known values. A comparative search allows you to search for an unknown value by comparison - You run an initial search, and in following searches you narrow the possible values down by choosing whether the value increased, decreased, changed in any direction, or remained the same.

Examples Of Usage

The following provide theoretical examples for using the cheat searching system in both exact and comparative search modes.

Example 1: Modifying A Known Value

Let's assume you are playing a game in which your character currently has 100 health points. What we'll try to do is freeze his health at that value.

1. First thing you'll need to do is figure out the size of the memory address you're attempting to modify. Your character in the game has 100 health points, and that is the highest value it can reach throughout the game. You'll choose "1 byte", unsigned, exact search. "1 byte" because you need to use the smallest possible memory size which fits the value you're changing, unsigned because the hero's health points can not be less than zero, and exact search because his health points can be clearly seen.

2. Click "search", and enter the health points value in the next window. In this case, it's 100. Click "search again".

3. Close the cheat searching window and keep playing until you get hurt. The character's health points are now no longer at 100. Let's assume they are now at 90.

4. Go back into the search menu, and this time run a search for 90. What actually happened is that in the above search the emulator found all of the addresses that at the time of the search were equal to 100 and saved them. This second search is called a filter search - it goes through the previous found addresses and finds the ones that changed to 90. This essentially weeds out addresses that matched the initial search by coincidence in order to find the desired address.

5. After the second search, the number of results shown should be considerably lower. At this time there are three options: either there is only one result left, there are more than one, or there are none. If there are more than you you'll need to continue getting hurt in the game in order for the health point value to change, and running more filter searches until there is one result left. until I get the results down to 1. If it's 1 we're ready to set the value to what we want. If there are no results remaining, either the initial search parameters (size, sign) were wrong, or one of the searches was run with a wrong value. If there's one result left, continue to the next step.

6. Click "view", and a window with the address and the value will appear. Click the line that holds the current health points value, and click "Add".

7. Change the value in the new window to 100, add a description if you want, and choose whether you want the value to be frozen or not. If it's frozen, the value will remain at 100. If not, it will simply be set once to the value you chose, but will not be frozen and will be free to change later. Click "Add", and the value should now be frozen at 100.


Example 2: Modifying an Unknown Value Via Comparative Searches

Let's assume you're playing a game in which after your character is hit, he flashes for three seconds during which he is invulnerable (like in megaman games). What happens behind the scenes of the game is that when you get hit, some address is set to some value (usually 1, but not always) that tells the game that right now, your character is invulnerable. What we want to do is make that value always be in the "invulnerable" state.

1) First thing you do is get hit in the game, to have the invulnerability flashing on.

2) Begin a search. Choosing a memory size for unknown values is trickier because they're, well, unknown. However, in situations such as these (on/off functions, or boolean functions as they are called), memories are usually saved as booleans (1 or 0), or as flags (1,2,4,8,16...). Both of those are 1 byte memory addresses, so you'll first attempt the comparative search with a 1 byte size and if it fails - you'll try with increasing sizes.

2) After clicking "search", you won't be asked to enter a value of course. Don't be alarmed by seeing that there are 0 results. What actually happened is that the emulator just saved all of the addresses of our specified memory size. At this time you'll return to the game and wait for the invulnerability to wear off. When it does, go back to the search menu where you'll be presented with a couple of options. As you don't know how the game saves the invulnerability state, you can't actually know if the value is now higher or lower, so the first two options are irrelevant for this search. What you do know is that the value has changed. Choose "new value is != old value" --  ! in programming means not, so != means "not equal". Click search, and go back to the game.

3) In these kinds of searches youu'll usually need to do quite a couple of filtering searches. Do note that you can also use the "new value is = old value" searches. For example, when you're not invulnerable you run the first search, then seconds later when you're still not invulnerable, you run the "new value is = old value" search. This will usually have very little effect on the amount of values remaining, though.

4) After finally weeding the amount of values down to 1, You'll need to get hit again so the value will be set at the invulnerable state. Go to the search menu, hit "view", click the remaining value, click add, and do not change the value (the current value is the state for invulnerability), make sure "frozen" is checked, and click add. Your character is now invulnerable for as long as the cheat is on.


Warnings

Still a work in progress, the cheat engine has a couple of quirks.

Cheats

(it is a little tacky to list release groups here. also in the filenames in the dct rar...)


0118 - GoldenEye - Rogue Agent (E)

  • Infinite Health

620c2b54 00000000 b20c2b54 00000000 10000128 00001388 d2000000 00000000

  • Infinite Armor

620c2b54 00000000 b20c2b54 00000000 1000012c 00000200 d2000000 00000000

  • Infinite RMI Vision

620c2b54 00000000 b20c2b54 00000000 100001de 000002ae d2000000 00000000


  • Left Hand Weapon Modifier (& Extra Ammo)
  • Start with Machine Gun

620c2b54 00000000 b20c2b54 00000000 1000015c 00000007 10000160 000003e7 d2000000 00000000

  • Start with Paintgun

620c2b54 00000000 b20c2b54 00000000 1000015c 00000001 10000160 000003e7 d2000000 00000000

  • Start with Golden Gun

620c2b54 00000000 b20c2b54 00000000 1000015c 00000002 10000160 000003e7 d2000000 00000000

  • Start with Gun

620c2b54 00000000 b20c2b54 00000000 1000015c 00000003 10000160 000003e7 d2000000 00000000

  • Start with Sniper

620c2b54 00000000 b20c2b54 00000000 1000015c 00000004 10000160 000003e7 d2000000 00000000

  • Start with Mamba (Shotgun)

620c2b54 00000000 b20c2b54 00000000 1000015c 00000006 10000160 000003e7 d2000000 00000000

  • Start with Sniper (Exploding Bullet)

620c2b54 00000000 b20c2b54 00000000 1000015c 00000008 10000160 000003e7 d2000000 00000000

  • Start with HS-90

620c2b54 00000000 b20c2b54 00000000 1000015c 00000009 10000160 000003e7 d2000000 00000000

  • Start with Mines

620c2b54 00000000 b20c2b54 00000000 1000015c 0000000a 10000160 000003e7 d2000000 00000000

  • Start with Laser Gun

620c2b54 00000000 b20c2b54 00000000 1000015c 0000000b 10000160 000003e7 d2000000 00000000

  • Start with Laser Gun 2

620c2b54 00000000 b20c2b54 00000000 1000015c 0000000c 10000160 000003e7 d2000000 00000000

  • Start with Zapper

620c2b54 00000000 b20c2b54 00000000 1000015c 0000000d 10000160 000003e7 d2000000 00000000

  • Start with Grenades

620c2b54 00000000 b20c2b54 00000000 1000015c 0000000e 10000160 000003e7 d2000000 00000000

  • Start with KO Gun

620c2b54 00000000 b20c2b54 00000000 1000015c 0000000f 10000160 000003e7 d2000000 00000000

  • Start with Gun

620c2b54 00000000 b20c2b54 00000000 1000015c 00000010 10000160 000003e7 d2000000 00000000


  • Right Hand Weapon Modifier (& Extra Ammo)
  • Start with Machine Gun

620c2b54 00000000 b20c2b54 00000000 10000184 00000007 10000188 000003e7 d2000000 00000000

  • Start with Paintgun

620c2b54 00000000 b20c2b54 00000000 10000184 00000001 10000188 000003e7 d2000000 00000000

  • Start with Golden Gun

620c2b54 00000000 b20c2b54 00000000 10000184 00000002 10000188 000003e7 d2000000 00000000

  • Start with Gun

620c2b54 00000000 b20c2b54 00000000 10000184 00000003 10000188 000003e7 d2000000 00000000

  • Start with Sniper

620c2b54 00000000 b20c2b54 00000000 10000184 00000004 10000188 000003e7 d2000000 00000000

  • Start with Mamba (Shotgun)

620c2b54 00000000 b20c2b54 00000000 10000184 00000006 10000188 000003e7 d2000000 00000000

  • Start with Sniper (Exploding Bullet)

620c2b54 00000000 b20c2b54 00000000 10000184 00000008 10000188 000003e7 d2000000 00000000

  • Start with HS-90

620c2b54 00000000 b20c2b54 00000000 10000184 00000009 10000188 000003e7 d2000000 00000000

  • Start with Mines

620c2b54 00000000 b20c2b54 00000000 10000184 0000000a 10000188 000003e7 d2000000 00000000

  • Start with Laser Gun

620c2b54 00000000 b20c2b54 00000000 10000184 0000000b 10000188 000003e7 d2000000 00000000

  • Start with Laser Gun 2

620c2b54 00000000 b20c2b54 00000000 10000184 0000000c 10000188 000003e7 d2000000 00000000

  • Start with Zapper

620c2b54 00000000 b20c2b54 00000000 10000184 0000000d 10000188 000003e7 d2000000 00000000

  • Start with Grenades

620c2b54 00000000 b20c2b54 00000000 10000184 0000000e 10000188 000003e7 d2000000 00000000

  • Start with KO Gun

620c2b54 00000000 b20c2b54 00000000 10000184 0000000f 10000188 000003e7 d2000000 00000000

  • Start with Gun

620c2b54 00000000 b20c2b54 00000000 10000184 00000010 10000188 000003e7 d2000000 00000000

  • Extra Ammo (All Weapons)

620c2b54 00000000 b20c2b54 00000000 10000160 000003e7 10000188 000003e7 d2000000 00000000

  • Infinite Mini Gun Ammo

620c2b54 00000000 b20c2b54 00000000 1000018c 000003e7 d2000000 00000000

  • Infinite AR4 Commando Ammo

620c2b54 00000000 b20c2b54 00000000 10000190 000003e7 d2000000 00000000

  • Infinite Paint Gun Ammo

620c2b54 00000000 b20c2b54 00000000 10000194 000003e7 d2000000 00000000

  • Infinite Golden Gun

620c2b54 00000000 b20c2b54 00000000 10000198 000003e7 d2000000 00000000

  • Infinite Jackal Ammo

620c2b54 00000000 b20c2b54 00000000 1000019c 000003e7 d2000000 00000000

  • Infinite Sniper Ammo

620c2b54 00000000 b20c2b54 00000000 100001a0 000003e7 d2000000 00000000

  • Infinite Mamba

620c2b54 00000000 b20c2b54 00000000 100001a8 000003e7 d2000000 00000000

  • Infinite Machine Gun

620c2b54 00000000 b20c2b54 00000000 100001ac 000003e7 d2000000 00000000

  • Infinite Sniper (Exploding Bullets)

620c2b54 00000000 b20c2b54 00000000 100001b0 000003e7 d2000000 00000000

  • Infinite HS-90 Ammo

620c2b54 00000000 b20c2b54 00000000 100001b4 000003e7 d2000000 00000000

  • Infinite Mines

620c2b54 00000000 b20c2b54 00000000 100001b8 000003e7 d2000000 00000000

  • Infinite Laser Gun

620c2b54 00000000 b20c2b54 00000000 100001bc 000003e7 d2000000 00000000

  • Infinite Laser Gun 2

620c2b54 00000000 b20c2b54 00000000 100001c0 000003e7 d2000000 00000000

  • Infinite Zapper

620c2b54 00000000 b20c2b54 00000000 100001c4 000003e7 d2000000 00000000

  • Infinite Grenades

620c2b54 00000000 b20c2b54 00000000 100001c8 000003e7 d2000000 00000000

0120 - FIFA 06 (U)

  • Home Team Score = 1EEE90
  • Away Team Score = 1EEE91


0226 - Burnout Legends (E)

  • Burnout Points = 12F198
  • TakeDowns = 12AEE0
  • Crash Points = 1149D8
  • Infinite Boost (Action Replay) = 0212aed8 00002000

With The 1st 3 Codes, You Unlock All The Cars

0296 - Greg Hastings' Tournament Paintball Max'd (U)

  • Experience Points = 1ED7BC

0566 - Megaman ZX (U)

Every address is 2 bytes big, values are in brackets.

  • Infinite Health - 14fbb2(20)
  • Infinite Special Attack HX - 14fc94
  • Infinite Special Attack FX - 14fc96
  • Infinite Special Attack LX - 14fc96
  • Infinite Special Attack PX - 14fc98

Note that FX and LX have the same address, so you have to choose between those two and find out the value which modifies it.

0711 - Totally Spies 2 - Undercover (U)

  • Health (The Value Must Be 4) = 177484
  • Opened % Of Van (Mission 1) = 1C8454
  • Tornado Health (Mission 3) = 177488

0765 - Full Metal Alchemist Dual Sympathy (U)

Combo = 23BAE8

0865 - Cartoon Network Racing (E)

  • OverAll Points (Cowardly Championship) = 2B4FD8
  • OverAll Points (Booger Championship) = 2F41D8
  • Money (Activate It Once Then Deactivate) = 1DB9F8

1617 - Call Of Duty 4 (U)

  • Health (Action Replay) = 020180F0 E0410000
  • Ammo = 1B3AC4
  • Grenades = 237014

1806 - Ferrari Challenge (E)

  • OverAll Points = 177734

2809 - Castlevania Order of Ecclesia (U)

  • HP = 1002B4
  • MP = 1002B8
  • EXP = 10030C
  • STR = 0FFD38
  • Hearts = 1002BC
  • Gold = 100310
  • ATK 1 (Both Must Be The Same Value) = 0FFD48
  • ATK 2 (Both Must Be The Same Value) = 0FFD5C

3517 - Grand Theft Auto Chinatown Wars (U)

  • Money 1 (Both Must Be The Same Value) = 341914
  • Money 2 (Both Must Be The Same Value) = 341918
  • Uzi Ammo 1 (Both Must Be The Same Value) = 35EFB0
  • Uzi Ammo 2 (Both Must Be The Same Value) = 35EFB2
  • Infinite Body Armor (Action Replay) =

a4000130 fcf30000 22340cb2 0000007f d2000000 00000000

  • Infinite Health (Action Replay) =

a4000130 fcf30000 22340cb1 0000007f d0000000 00000000

  • WASTED: Press L+R+START+SELECT (Action Replay) =

94000130 fcf30000 22340cb1 00000000 22340cb2 00000000 d2000000 00000000

  • Pistol Ammo 1 = 35EF50
  • Pistol Ammo 2 = 35EF54

3798 - Up (U)

  • Baloons = 04991A
  • Butterflys = 049918
  • Time (Seconds) = 04A11D


3978 - Powerbike (U)

Money = 164624

4004 - G-Force (U)

  • Health = 1BD18A
  • Chips = 1BCCE0

4106 - CORE (U)

  • Ammo 1 (Both Must Be The Same Value) = 129F1E
  • Ammo 2 (Both Must Be The Same Value) = 130E3C

4113 - Wizards Of Waverly Place (U)

  • Coins = 216020
  • Time = 18711C
  • Preparing Sandwiches (Time) = 187104

4158 - Mini Ninjas (U)

  • Shuriken Ammo = 0969D3

4191 - Zorro Quest For Justice (E)(M5)

  • Coins = 0BD038
  • Health Bottles = 0BD4C8
  • Stamina Bottles = 0BD4D8

4245 - Star Wars The Clone Wars Republic Heroes (E)(M5)

  • Combo (The Value Must Be 4) = 12C9B8
  • No Reload = 144878
  • Score = 12C9D4

4261 - Pokemon Mystery Dungeon Explorers of Sky (U)

  • Pokemon 1 HP = 1BA538
  • Pokemon 2 HP = 1BA778
  • Pokemon 1 EXP = 1BA548
  • Pokemon 2 EXP = 1BA788

4296 - Bakugan Battle Brawlers (U)

  • BP Points = 0D440C
  • All Bakugan Available At The Store

02080c44 e3a000ff 02080c6c e3a000ff

  • All Cards Available At The Store

02080d7c e3a000ff 02080d70 e3a000ff 02080da4 e3a000ff

  • Start With 2 Rounds Won (Player 1)

722e25ce ff000002 222e25ce 00000002 222e25d4 00000002 d2000000 00000000

  • Full SP (Press L+R) (Player 1)

94000130 fcff0000 222e25d3 000000be d2000000 00000000

  • Bakugan 1 - 990 GP (Press L+R) (Player 1)

94000130 fcff0000 122e24f0 000003de d2000000 00000000

  • Bakugan 2 - 990 GP (Press L+R) (Player 1)

94000130 fcff0000 122e24fc 000003de d2000000 00000000

  • Bakugan 3 - 990 GP (Press L+R) (Player 1)

94000130 fcff0000 122e2508 000003de d2000000 00000000

  • Never Win A Round (Player 2)

222e272e 00000000 222e2734 00000000

  • No SP (Player 2)

222e2733 00000000

  • Never Win A Round (Player 3)

820d43b3 ff000002 222e288e 00000000 222e2894 00000000 d2000000 00000000

  • No SP (Player 3)

820d43b3 ff000002 222e2893 00000000 d2000000 00000000

  • Zero Play Time

020d4434 00000000

  • Max Play Time

020d4434 80bbb070

  • Press SELECT to Fast Forward Play Time

94000130 fffb0000 220d4434 000000ff d2000000 00000000

  • Max Bakugan Points

020d440c 3b9ac9ff

  • Max Ranking Points

020d4410 3b9ac9ff

4310 - Shaun The Sheep Off His Head (E)

  • Chicks = 034F40
  • Health = 034F68

4321 - Ben 10 Alien Force Vilgax Attacks (U)

  • Lives = 19F2F7
  • XP = 181F74
  • Score = 221164

Those Codes Work Only On The 1st Screen Of The 1st Mission So Put A Huge Value

4331 - Where The Wild Things Are (E) (M5)

  • Scepter Crowns (Mission 01) = 29D458
  • Scepter Crowns (Mission 02) = 29F718
  • Big Chimps Bug (Change The Value To Change The Shape) = 2C6091

4334 - Nostalgia (U)

  • HP (Gilbert) = 0B793C
  • MP (Gilbert) = 0B794C
  • HP (Eddie) = 0B737C
  • XP (Eddie) = 0BEEEC
  • Gold (Eddie) = 0B35E4

4337 - Hero's Saga Laevatein Tactics (U)

  • HP (Player 1) = 1942C0
  • HP (Player 2) = 194350
  • HP (Player 3) = 1943E0
  • Money = 193A58

4338 - Astro Boy The Video Game (U)

  • Score = 045238
  • Combo (Metro City 1-1) = 045248

4339 - Cars Race-O-Rama (E) (M3)

  • Position (At The End Of The Race) = 37B608


4350 - Dragon Ball Z Attack Of The Sayans (E) (M5)

  • Krillin HP = 0CD9E4
  • Krillin KI = 0CD9F4
  • Tien HP = 0CDC30
  • Tien KI = 0CDC40
  • Yamcha HP = 0CDE7C
  • Yamcha KI = 0CDE8C
  • Bonus Points For All = 0CC84C

4366 - Star Wars Battlefront Elite Squadron (E) (M2)

  • ShotGun Ammo = 21DD74
  • Grenades = 21DD7C

4406 - Call Of Duty Modern Warfare Mobilized (E)

  • SMG Ammo = 32A094
  • Pistol Ammo = 309AE4
  • Grenades = 328A40
  • Flash Bang = 321E80

WARNING : If You Die Once The Codes Will Not Work

4408 - Teenage Mutant Ninja Turtles Arcade Attack (U)

  • Health (Player 1) = 205BB4
  • Score (Player 1) = 15B670
  • Score (Player 2) = 15B68C
  • Combo = 15BFC8

4413 - Call Of Duty Modern Warfare Mobilized (U)

  • SMG Ammo = 32A0D4
  • Pistol Ammo = 309B24
  • Grenades = 328A80
  • Flash Bang = 321EC0

4447 - Sideswiped (U)

  • Score 1 (Both Must Be The Same Value) = 177608
  • Score 2 (Both Must Be The Same Value) = 1B8A50
  • Money = 169748


4492 - Might And Magic Clash Of Heroes (U)

  • HP = 26AE94
  • Player XP = 27F2A4
  • Units XP = 29FFE4
  • Nr. Of Turns = 26AEF8

4506 - The Legend Of Zelda Spirit Tracks (U)

  • Aboda Village Rupees = 2C3B00
  • Train Time = 0BB584
  • Castle Town Rupees 1 (Both Must Be The Same Value) = 2C41DC
  • Castle Town Rupees 2 (Both Must Be The Same Value) = 264908

4512 - Street Football II (E)

  • Nr. Of Cans = 1E6264
  • Nr. Of Obstacles = 1C4530

Because this game dosen't work so good on version 0.9.5 , these are the only codes i found


4541 - Balloon Pop (U)

  • Stage (Puzzel Mode) = 056A38
  • Score (Endless Mode) = 041DD4

Activate Stage (Puzzel Mode) When You Need It Because Will Make The Game Crash

4542 - Dragon Ball Z Attack Of The Saiyans (U)

  • Krillin HP = 0CDDE4
  • Krillin KI = 0CDDF4
  • Krillin AP = 0CDF88
  • Tien HP = 0CE030
  • Tien KI = 0CE040
  • Tien AP = 0CE1D4
  • Yamcha HP = 0CE27C
  • Yamcha KI = 0CE28C
  • Yamcha AP = 0CE420
  • Points 'Til Next Level Up (Krillin) = 0CDF84
  • Points 'Til Next Level Up (Tien) = 0CE1D0
  • Points 'Til Next Level Up (Yamcha) = 0CE41C
  • Bonus Points = 0CCC4C
  • Pw = 0CCC64
  • Df = 0CCC66
  • Rc = 0CCC68
  • Tc = 0CCC6A
  • Sp = 0CCC6C
  • Lk = 0CCC6E

4560 - Countdown The Game (E)

  • Player 1 Points = 1BCE54
  • Player 2 Points = 1BD0DC

4573 - Our House (U)

  • Time = 0A0ACC

Because This Game Dosen't Work So Good On Version 0.9.5 This Is The Only Code I Found

4617 - Reversal Challenge (U)

  • Score = 1031E0
  •  % = 1031E8
  • Basic = 1031E4

4624 - Polar Rampage (E)

  • Icebergs = 2792C0
  • Score = 277F5C
  • Money = 277F60

4628 - Sands Of Destruction (U)

  • Rajiy HP (Some Times This Is The Enemy HP) = 159854
  • Maja & Kyrie HP = 1585F4
  • Gold = 0AA888
  • EXP = 29288C

Some Times The Game Will Crash So Activate The Codes When You Need Them...

4635 - Glory Of Heracles (U)

  •  ??? Player HP = 218368
  •  ??? STR = 2183DE
  • Leucos HP = 218768
  • Leucos MP = 21876A
  • Leucos STR = 2187DE
  • Earth Nymph HP = 218B68
  • Earth Nymph MP = 218B6A
  • Water Nymph HP = 218F68
  • Water Nymph MP = 218F6A
  • Wind Nymph HP = 219368
  • Wind Nymph MP = 21936A
  • Pink Apple # = 214990
  • Blue Apple # = 214984
  • Green Apple # = 214978
  • Yellow Apple # = 214960
  • Red Apple # = 21496C
  • Money = 2143D8
  • Nr Of Camping kit = 14420A

Warning : "Nr Of Camping Kit's" May Affect The Battle So Activate It When You Need It

Download All Those Codes In .DCT Format

Last Update 28-01-2010

Cheating Tutorial

Personal tools