A Basic Guide on How to Create AR codes

Discussion in 'NDS - Console and Game Discussions' started by Curley5959, Nov 17, 2008.

Thread Status:
Not open for further replies.
Nov 17, 2008
  1. Curley5959
    OP

    Member Curley5959 CCC Member!

    Joined:
    Feb 2, 2008
    Messages:
    2,572
    Location:
    Australia
    Country:
    Australia
    <img src="http://img90.imageshack.us/img90/1254/mybannerglitterdf66d5a5fk2.gif" border="0" class="linked-image" />
    <b><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro--><!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo-->Before Continuing on Down The Page, Read through these Rules<!--sizec--></span><!--/sizec--><!--colorc--></span><!--/colorc--></b>

    <!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><b>Coders And Helpers</b><!--sizec--></span><!--/sizec-->
    Without the Help of <b>ElixirDream,</b> I would not be making this guide.. He taught me everything I know and will be assisting me in helping you guys out... Other members helping out include <b> Narin, Hehe Moo</b> and <b>polle123</b>. If you want to help out in this guide, give me a <b>PM</b> and I will make my mind up from that.

    <!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><b>Rules:</b><!--sizec--></span><!--/sizec-->
    <b> Members will need to pay attention to these rules or otherwise I will delete the Guide temporarily until you can obey them.. This means everyone. Im being serious.</b>
    <b>1</b>. This Thread is to be used in conjunction with Questions regarding How to Create Codes. It is also going to be used as a testing area for your codes. However, You shall not post any codes which you know do not work. You must post codes which you believe will work. This thread has nothing to do with The New Massive Cheat Compilation Thread. You must not post your codes there, knowing they do not work. You must post them here for testing first
    <b>2.</b> Any questions which you believe will get you flamed or you are afraid of getting embarassed, Just PM myself, Narin, Elixir, Polle123 or Hehe Moo regarding these.
    3. You must not hassle us on having private tutorials. If you are unable to get passed one step without getting help, Dont bother creating codes. This thread is only for those who are willing to learn and have the ability to.
    <b>4.</b> Stupid questions and excess flaming will result in a temporary deletion of the guide, for 12 hours. I know this sounds harsh but you must learn to control yourselves.
    <b>5.</b> No Requesting Ridiculous Codes for every game you want.. You are allowed a couple of requests but not too much.. Your requests will not be fulfilled if you have too many..

    <!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><b>Programs Needed and Starting Off..</b><!--sizec--></span><!--/sizec-->
    <a href="http://www.mediafire.com/?zwd4aml4zyr" target="_blank">Download Link Here</a>
    I am providing Emucheat, a program you need to create codes.
    You will need to search for No$GBA 2.6A yourself.. There will be no requesting a link to this.. And no posting a link to it
    <b>Steps to setting up your Emucheat</b>
    <b>1.</b> Extract all files
    <b>2.</b> Place the EMU folder on the main root of Emucheat, along with the other folders.
    <b>3.</b> Make sure it looks like below
    <img src="http://www.mediafire.com/imgbnc.php/4aaa43bad3a7ab6c4d1e76be2d3bafe95g.jpg" border="0" class="linked-image" />

    <!--sizeo:4--><span style="font-size:14pt;line-height:100%"><!--/sizeo--><!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro--><b>Extras:</b>
    8 bit = 1 bytes
    16 bits = 2 bytes
    32 bits = 4 bytes
    Each byte coontains two nibbles or a half a hexdicimal
    So
    8 bits = 00
    16 bits = 0000
    32 bits is 00000000<!--colorc--></span><!--/colorc--><!--sizec--></span><!--/sizec-->

    <!--coloro:#006400--><span style="color:#006400"><!--/coloro--><b><!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo-->Understanding the Concept of Codes Even more...<!--sizec--></span><!--/sizec--></b>

    The idea when to use 0 , 1 , 2 is pretty straight forward....
    Y - Address, X - Value

    1-2 digit value will always be 8 bit - use 2 infront - 22YYYYYY 000000XX
    3-4 digit value will always be 16 bit - use 1 infront - 12YYYYYY 0000XXXX
    5-8 digit value will always be 32 bit - use 0 infront - 02YYYYYY XXXXXXXX<!--colorc--></span><!--/colorc-->

    Im afraid if you dont understand this, you will only be able to create basic codes..
    <!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo-->
    VERY IMPORTANT INFORMATION.. PLEASE READ!!
    Warning: Spoilers inside!

    <b>
    The Beginning of Creating Codes - Ninjatown Money Code</b><!--sizec--></span><!--/sizec-->

    1. Open up a rom of "Ninjatown" with No$GBA 2.6A.
    2. Open up Emucheat, And click on the tab (Emulator Select) at the bottom and select No$GBA.
    <img src="http://www.mediafire.com/imgbnc.php/665c680b78c5dace46fc15a609cecab14g.jpg" border="0" class="linked-image" />
    3. Next, go to "Search" and on Search Type select 32bit
    <img src="http://www.mediafire.com/imgbnc.php/3501df859066d063c5eb41e27b443bec4g.jpg" border="0" class="linked-image" />
    4. Get into your game of Ninjatown. (Be aware some pics and buttons to not show up on the glitchy No$GBA [Also Press Enter to skip Intro]) Your money should be 140
    5. Type 140 in the target box and click on the bincoluars. There should be around 5000 Addresses
    6. Next Buy a Wee Ninja Hut which costs you 40 cookies. Type 100 in the Target box and press on binoculars. There should be around 2 addresses. If not, continue updating building and typing in money amount left until you get 1-3 addresses.
    7. Double Click on First code. Type 9999 in the value DEX box. You will notice the Value HEX is 270F.
    8. In Desc. Box, Type in Money or something similar. Untick the Locked box.
    9. Click OK.
    10. Go to Table, and you will see your address. This is basically the code, you just have to piece it together.
    11. You have to put 12 in front of the first part of the code, so it should look similar to this:
    12211F74
    12. The next part of the code is the 270F. So you have to put 0000 in front of this to add up to eight digits.
    13. Your code should look like this: 12211F74 0000270F

    Testing Your code
    Go back into No$GBA 2.6A and go here
    <img src="http://img444.imageshack.us/img444/1183/nogbacheatsiconlt8.jpg" border="0" class="linked-image" />
    Go Add New, add your code along with the title, click on Action Replay, and ok.. Next double click on the tick box and go ok.. See if your code works

    Although, Some codes require an activator.. I will talk about these below..
    <b>
    Activators and Codes</b>
    To acquire an activator for your code, Its very simple.. Just go to R4CCE08. Add your code and at the bottom of the window should be a whole lot of numbers and boxes e.g STA SEL etc.. Picture Provided below
    <img src="http://img243.imageshack.us/img243/9930/activatorsgj8.jpg" border="0" class="linked-image" />
    All you have to do is click on one and Then Add..
    An Offset is often needed but I will talk about this later
    <b>
    <!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo-->Other Coding Methods<!--sizec--></span><!--/sizec--></b>
    <a href="http://www.youtube.com/watch?v=v7ncoUAkaBw" target="_blank">http://www.youtube.com/watch?v=v7ncoUAkaBw</a>
    <a href="http://www.youtube.com/watch?v=038ETKmT8qE" target="_blank">http://www.youtube.com/watch?v=038ETKmT8qE</a>
    <a href="http://www.youtube.com/watch?v=zAS97DiCVJg" target="_blank">http://www.youtube.com/watch?v=zAS97DiCVJg</a>


    <u><b>Some Useful Info on Code Types..</b></u>
    Warning: Spoilers inside!

    Thanks to Hehe Moo for this second example

    <b>Another example - Ninjatown Infinite Lives/Hearts Code</b>

    1. Open up a rom of Ninjatown on No$gba Emulator 2.6a.
    2. Open up EmuCheat, and click on the Emulator Select tab at the bottom. Click on No$gba Emulator 2.6a.
    3. Click on "Search" at the top of EmuCheat, and click leave the "Search Type" as 8bit.
    4. Start a new game of Ninjatown, and build a Wee Ninja Hut.
    5. It will ask you to upgrade the building, so after upgrading, destroy the hut. This ensures that your ninjas do not attack the Devils. You want the devils to escape.
    6. Click on the fast forward icon on the Emulator, and click "Pause Emulator" on EmuCheat.
    7. Type "10" into the search box on EmuCheat, see how many results you receive. There should be thousands of results.
    8. Click "Run Emulator", and your Emulator will continue. One of the Devils will eventually escape. As soon as it does, click "Pause Emulator".
    9. Enter the new number of Lives, that is, 9.
    10. You should receive about 4 results. Double click on the first one. Type 9999 in the value DEX box. The HEX value becomes 270F.
    11. The the Desc. Box, type in "Infinite Lives/Hearts", or whatever you would like it to be called.
    12. Untick the Locked box, click OK, and click on "Table".
    13. This brings you to another page, and now you can piece together your code.
    14. Click on Utility, type in the first part, with "02" at the start.
    15. Hit the spacebar, and type 270F, with "0000" at the start to sum up to 8 digits.
    16. After clicking on the words "Action Replay DS" and OK, double click on your cheat and it should become ticked.
    17. Click OK.
    18. Your cheat is complete. You should now have infinite lives.

    <u><b>A Tougher Example</b></u>
    Warning: Spoilers inside!

    <!--sizeo:2--><span style="font-size:10pt;line-height:100%"><!--/sizeo--><b>
    <!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->Coming Soon<!--colorc--></span><!--/colorc--></b><!--sizec--></span><!--/sizec-->
    Offsets
    Pointers (maybe <img src="style_emoticons/<#EMO_DIR#>/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> )

    <!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->
    <b>NOTE:</b> Information will be added often, so keep looking back..<!--colorc--></span><!--/colorc-->

    <b><!--sizeo:5--><span style="font-size:18pt;line-height:100%"><!--/sizeo-->NEW:<!--sizec--></span><!--/sizec--></b>
    <!--coloro:#FF0000--><span style="color:#FF0000"><!--/coloro-->
    <!--sizeo:3--><span style="font-size:12pt;line-height:100%"><!--/sizeo--><b>Enchanted Folk and the School of Wizardry (E)<!--sizec--></span><!--/sizec-->
    Speed Modifying Code Tutorial</b>

    1. Open no$gba and select Enchanted Folk. Also open up EmuCheat and click the tab at the bottom and link it to no$gba.
    2. Click on Options>Controls Setup and make the key B into a key close to the arrow keys on the keyboard. This will be explained later.
    3. Click the Search tab on EmuCheat and we can now begin making the code.
    4. First, walk right using your left hand, then use your right hand to click Pause Emulator on EmuCheat. Make sure your character is paused while he's walking, or this won't work.
    5. Type ? into the Target box, and press enter.
    6. Now unpause the emulator, but keep walking. Now pause it again, while the character's still walking, and type = into the Target box.
    7. Unpause, and hold B while walking to run. Do both of these with the same hand, and click Pause with the other hand while the character is running. Make sure you character is paused while running, or this won't work
    8. Now type ! into the Target box. This finds any values that have changed since the last time you pressed Enter.
    9. Unpause the game, and go back to walking rather than running. Pause, and type ! into the Target box.
    10. Keep repeating the above steps until you only have about 6-8 results. From there, start testing every code in this format:
    XXXXXXXX 00000014 <------ X = the code, 00000014 = the speed you want. (for those who understand hexadecimal, 14 = 20)

    When you've found the correct code, your character will move at an uncontrollable speed. You might even fly through the wall, so this is the best way to find out whether the code works. Now just lower the speed of the code somewhere between 7-9.

    The code should be: 2236A485 00000007
    However, there's a chance that you could find a better code than this one; post it up and let us try it out.

    Also, try the above code outdoors; it doesn't work. So repeat all the above steps while you're outside to make a new code, one for indoors and one for outdoors.

    Happy Cheating!

    - Hehe Moo.<!--colorc--></span><!--/colorc-->

    <b>ANOTHER EXAMPLE - POINTER</b>

    <!--coloro:#000080--><span style="color:#000080"><!--/coloro-->Here is a pointer example. The game that we will be using for this example will be Giana Sisters DS. What we will be doing here is that we will fill the "Red Crystals" that we currently have, to their total ( the total crystals address), without overfilling. Of course we could just find the current crystals address and input 999, but that would look weird (999/3 etc.).

    First off, we will need to; find the addresses of the current and total crystals. Open up EMUCheat or whatever you use.

    For the current address, you can simply input the number of crystals you currently have collected, and then collect more and search again etc. for example; if you have 1 crystal, search 1, when you get another, search 2, and so on, until you only get a few addresses, and then test them. If you did it correctly, you should have come up with (02)0A3012. For the total, you can just get onto a level, search the total number of crystals you need (3 etc.), jump onto another level with a higher or lower total (2 etc.) and search that, and then repeat until you get a few addresses. Alternatively, you could have just looked at the addresses when you were looking for the current crystals variable, and just changed one of them to change the total variable (which means they are right beside each other in memory). You should have came up with (02)0A3010.

    Now that we've found those, we will start to build the code.

    We need to set the offset value to our total crystals address, which means we will use the D3 code type. This will set the total crystals address as the internal "pointer" register.

    D3000000 XXXXXXXX , XX being the address.

    Next, we will need to copy memory (bytes), using the 0F code type, which works in conjunction with the code types (D3, DC or B) to set the offset beforehand. Doing this will copy the bytes specified, from the internal pointer register (0A3010 or the first line), to our current crystals address (0A3012).

    FXXXXXXX YYYYYYYY , XX being the address (current crystals), and YY being the number of bytes to copy. We'll do only 1 byte, so 00000001.

    And then, we finish off with the terminator D2000000 00000000, which clears AR's internal registers. If you followed correctly, the code should be:

    D3000000 020A3010
    F20A3012 00000001
    D2000000 00000000

    This means that it will copy only the total to the current variable, no more, no less. Test that out on hardware. Remember that no$gba isn't a proper AR, so it will not work there (will bring up a ?)

    -anandjones
    <!--colorc--></span><!--/colorc-->


    <a href='irc://irc.gbatemp.net:5190/NDSCheats'>#NDSCheats</a>
     


  2. elixirdream

    Member elixirdream GBAtemp Legend

    Joined:
    May 27, 2008
    Messages:
    10,007
    Location:
    6th Dimention
    Country:
    Malaysia
    good job ~!
     
  3. Curley5959
    OP

    Member Curley5959 CCC Member!

    Joined:
    Feb 2, 2008
    Messages:
    2,572
    Location:
    Australia
    Country:
    Australia
    Thanks.. I owe it all to you and Narin.. Have one on me [​IMG]

    btw.. Been working on this for a week.. So Im glad its up.. That was the hard part kinda, but harder is to come..
     
  4. Narin

    Former Staff Narin The Cheat Master, kupo!

    Joined:
    Feb 19, 2008
    Messages:
    2,624
    Country:
    United States
    Some useful info on the AR Code Types [​IMG]
    Warning: Spoilers inside!
     
  5. Curley5959
    OP

    Member Curley5959 CCC Member!

    Joined:
    Feb 2, 2008
    Messages:
    2,572
    Location:
    Australia
    Country:
    Australia
    Thanks Narin.. Ill leave it where it is because people will see it where it is, Im sure.. [​IMG]
     
  6. iPikachu

    Member iPikachu C3's personal flamebot and fail artist

    Joined:
    Oct 27, 2008
    Messages:
    2,062
    Country:
    Singapore
    do other emulators or only NO$GBA work? like iDeaS
     
  7. Curley5959
    OP

    Member Curley5959 CCC Member!

    Joined:
    Feb 2, 2008
    Messages:
    2,572
    Location:
    Australia
    Country:
    Australia
    I guess that would work.. As long as Emucheate picks it up.. [​IMG]
     
  8. Hehe Moo

    Member Hehe Moo Moo?

    Joined:
    Jul 14, 2008
    Messages:
    1,137
    Location:
    Australia
    Country:
    Australia
    I find that iDeaS is not as user friendly iPikachu.. if that answers your question.


    BTW, Well done with the thread Curley, I couldn't have asked for a better guide =]
     
  9. elixirdream

    Member elixirdream GBAtemp Legend

    Joined:
    May 27, 2008
    Messages:
    10,007
    Location:
    6th Dimention
    Country:
    Malaysia
    iPikachu~!

    yes it is definately compatible with iDeas~!
    and
    it is also compatible with many other emulators for GBA,NES,SNES,GC,n64,Sega roms [​IMG]

    enjoy
    however... the format for the cheatcodes might be different [​IMG]
     
  10. iPikachu

    Member iPikachu C3's personal flamebot and fail artist

    Joined:
    Oct 27, 2008
    Messages:
    2,062
    Country:
    Singapore
    so hexadecimal is(from wikitionary)hexa+decimal...hexa=six in ancient greek and decimal i already know.. so...

    (arithmetic, computing) A number system with base 16, using the digits 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E and F, useful in computing as numbers in hexadecimal can be stored in four bits. Informal short form used in computing: hex

    so any number system that has 16 as its base... is a hexadecimal.... so its numbers above 16....where does A B C D E F go into.... since they are letters not numbers....do they appear after a number like 23F?... or before...

    Extras:
    8 bit = 1 bytes
    16 bits = 2 bytes
    32 bits = 4 bytes
    so 64 bits = 8 bytes?
    Each byte coontains two nibbles or a half a hexdicimal
    so half a hexadecimal is either a number system that has 8 as its base.. or something...
    So
    8 bits = 00
    16 bits = 0000
    32 bits is 00000000
    so:
    64bits is 0000000000000000? and so on?
     
  11. Hehe Moo

    Member Hehe Moo Moo?

    Joined:
    Jul 14, 2008
    Messages:
    1,137
    Location:
    Australia
    Country:
    Australia
    Well if that's 16 zeros, then yes.
     
  12. elixirdream

    Member elixirdream GBAtemp Legend

    Joined:
    May 27, 2008
    Messages:
    10,007
    Location:
    6th Dimention
    Country:
    Malaysia
    FFFFFFFFFFFFFFFF'..'0000000000000000' -> 64bit? hahaha, hell lots of information can be contained inside there
     
  13. fa_demion

    Member fa_demion Member

    Joined:
    Apr 26, 2008
    Messages:
    28
    Location:
    Near Hamburg - Winsen / Luhe
    Country:
    Germany
    D8?????? XXXXXXXX means 8bit store and increment - not 32bit.

    There is a mistake in the help manual from datel.

    Greetings
    Holger
     
  14. Gundam Eclipse

    Member Gundam Eclipse True Demon Route

    Joined:
    Sep 23, 2008
    Messages:
    1,167
    Location:
    Vortex World
    Country:
    India
    i absolutely suck at math
    does that mean i cant create meh custom Dawn Of Sorrow Code? T_T
    the code i need is...one which makes soul drop everytime y' kill a monster D:<
    T_T
     
  15. Berthenk

    Member Berthenk Epitome of Awesomeness

    Joined:
    May 16, 2008
    Messages:
    1,314
    Country:
    Netherlands
    Okay. I think i understand it... Thanks for that, Curley! Zomg, the first steps, the ones to locate the address (steps 3 till 6), look like the searching stuff you need to do in cheat engine... So i think i'll get it pretty fast (the locating stuff)...
    Edit : Mediafire is offline...
    Edit 2: It's online again...
     
  16. dragonbladerxx1

    Member dragonbladerxx1 GBAtemp Regular

    Joined:
    Sep 12, 2008
    Messages:
    270
    Country:
    United States
    thx curley for everything and i kinda dont get the codey parts which narin posted but i think i could figure it out someday [​IMG]
    thx for the guide !
     
  17. polle123

    Member polle123 GBAtemp Fan

    Joined:
    Aug 11, 2008
    Messages:
    369
    Location:
    Home :)
    Country:
    Belgium
    nice job mate [​IMG]
    to bad it doesn't say anything about pointers [​IMG]
    maybe if we awsk really nice elix will fill it in ^^

    btw: just a little note, when you go test the code in NO$GBA, it it a good idea to exit emucheat and reset NO$GBA, as I noticed some cheats "linger" until you restart (I learned that the hard way [​IMG] )

    EDIT: (please don't take this as critics, just want to help [​IMG]
    "11. You have to put 02 in front of the first part of the code, so it should look similar to this: 02211F74
    "
    note that it would have to be "22", "12", "02", if your value would be respectively 8bit, 16bit, 32bit
    If you are not sure wath the limts of you value are just use "02" as it is most common
    but there are codes that would HAVE TO be "22" or "12" couse they would else result in to a non working code (I AGAIN learned this the hard way [​IMG] )
     
  18. Curley5959
    OP

    Member Curley5959 CCC Member!

    Joined:
    Feb 2, 2008
    Messages:
    2,572
    Location:
    Australia
    Country:
    Australia
    I will update it tonight.. Thanks.. [​IMG]

    Im glad most of you understand
     
  19. elixirdream

    Member elixirdream GBAtemp Legend

    Joined:
    May 27, 2008
    Messages:
    10,007
    Location:
    6th Dimention
    Country:
    Malaysia
    REFER TO FIRST POST FOR THE INFORMATION OF CODETYPE


    Polle123 he learnt from the hard way ... and this is why he is a fast learner~!
    whereas if everything is spoon fed to your mouth.. steps must be given... image must be shown
    then when will you learn the HOW...
     
  20. kjean

    Member kjean GBAtemp Advanced Fan

    Joined:
    Sep 15, 2008
    Messages:
    550
    Location:
    where I'm from
    Country:
    Korea, South
    Nice guide for the beginners like me. Keep up the good job guys. xD
     
Thread Status:
Not open for further replies.

Share This Page