Info on How To Create or Modify (.CHT) files

Discussion in 'M3 Adapter' started by PkmnInferno, Apr 7, 2009.

Apr 7, 2009
  1. PkmnInferno
    OP

    Newcomer PkmnInferno Newbie

    Joined:
    Apr 6, 2009
    Messages:
    2
    Country:
    United States
    I have heaps of .cht file dat i got from dohclude for gba games

    How do you create or modify these files because some of the ones in the things i downloaded don't work or give random cheats that don't work.

    Can someone plz give me STEP BY STEP INSTRUCTIONS ON HOW TO CREATE OR MODIFY THESE FILES?
     
  2. Densetsu

    Former Staff Densetsu Pubic Ninja

    Joined:
    Feb 2, 2008
    Messages:
    3,435
    Location:
    Wouldn't YOU like to know?
    Country:
    United States
    There's no clear-cut way to create the codes because a lot of it involves trial-and-error by testing the codes out on an emulator. You're probably better off asking this question in dohclude's thread. I'm sure he or elixirdream could give you some good pointers.
     
  3. dohclude

    Member dohclude GBAtemp Fan

    Joined:
    Oct 12, 2006
    Messages:
    384
    Location:
    The Patch Walks!
    Country:
    United States
    You can open them in a simple text editor like notepad, etc. Some of the cheats only work on some games, or some carts, or a combination of the two. Some cheats just don't work, and some games don't allow the cheats to run very well. It is a very hit or miss type of thing when cheating on GBA games, but we are trying our best to get the cheats that are in Chinese translated into English, then we will probably work on adding some new cheats whenever that day comes. If you are interested in making your own or editing cheats, there is only a very limited amount of info out there (on English sites anyways). I would take a look at http://m3wiki.com/index.php?title=GBA_Cht if I were you. The methods described here work with some cheats, but not always. Good Luck!
     
  4. Chuck Norris

    Newcomer Chuck Norris Newbie

    Joined:
    Apr 20, 2009
    Messages:
    2
    Country:
    United States
    It is way more difficult than it needs to be. [​IMG] I don't know what kind of fool came up with this system, but I guess we should be glad it is available at all.. [​IMG]

    The m3wiki link above is the only guide I have found for making .cht files for GBA games and it's not very good. But it is sufficient to use some simple cheats. These codes I believe are in Action Replay format; if you get Code Breaker codes you will need to somehow convert them into AR. I don't know how to do that.

    I will give a short summary of the guide using Final Fantasy 5 Advance. I am getting the codes I used from this website, which has lots of great codes for GBA games and more.

    1.Create a new .cht file. It doesn't matter what you name it as long as it ends in .cht . I named mine FFV.cht.
    Now open it with a text editor. I recommend Notepad++. It's free.

    Let's use the code for Infinite HP for Character 1:
    Code:
    8201E1A0 270F
    You name codes by surrounding its name in [] brackets.
    Code:
    [Infinite HP Character 1]
    8201E1A0 270F
    2.Go ahead and copy/paste that into your cht file.
    3.Now we need to put the ON= tag next to the code line. While we're here you can remove the space in the code so it's just one long code.
    Code:
    [Infinite HP Character 1]
    ON=8201E1A0270F
    4.Next, delete the first three characters of the code. That would be the 8, the 2, and the 0. I have no idea why we're supposed to do this, but it's what works.
    Code:
    [Infinite HP Character 1]
    ON=1E1A0270F
    5.Next, place a comma after the 5th character of the code. That would be after the first 0 and before the 2.
    Code:
    [Infinite HP Character 1]
    ON=1E1A0,270F
    6.
    Next, place a comma after the 7th character of the code. That would be after the 7 and before the 0.
    Code:
    [Infinite HP Character 1]
    ON=1E1A0,27,0F
    7.
    Lastly, take the last two pairs of values and switch them.
    Code:
    [Infinite HP Character 1]
    ON=1E1A0,0F,27
    And there is the final code. Save the .cht file to your GBA directory and select the cheat file for the game in TouchPad. After the GBA logo shows, it should take you to your cheat menu where you can select which cheats you want.

    Some notes:
    4b.
    You can delete any leading zeros from the front of your code. Take for instance the FFV Advance Save Anywhere code:
    Code:
    320096ED0080
    We normally cut out the first 3 numbers and then add our commas.
    Code:
    096ED,00,80
    See how there's that zero in the front there? On the left? We can delete that to make the code shorter and easier to read. I guess the GBA cheat engine is designed to ignore leading zeros anyway.
    Code:
    96ED,00,80
    Finally, we're supposed to switch the last two pairs.
    Code:
    96ED,80,00
    7b.
    But--see how there are just two zeros at the end there? If the last pair of numbers is 00 after you switch the two pairs, you can delete it.
    Code:
    [Save Anywhere]
    96ED,80
    This 'guide' should work for most simple cheats for GBA games. Nobody seems to know how to do more complex cheats, or if they do know, they don't want to give up their secrets. [​IMG]
     
  5. fragler

    Newcomer fragler Member

    Joined:
    Sep 22, 2007
    Messages:
    12
    Country:
    United States
    hmm.. i've read about this method a few places.. but i cannot find out how to convert the code if it's more than one line.. nobody knows? or isit that there is just too much involved, it'd take forever to explain?

    for example say..

    0999 Castlevania - Aria of Sorrow
    [Access Warp Gates start+up]
    74000130 03B7
    32000064 0007
    32000378 00FF
     
  6. ironmaiden12369

    Newcomer ironmaiden12369 Member

    Joined:
    Jun 21, 2009
    Messages:
    14
    Country:
    Australia
    Well me and Crystal go way back when we did it and my rubies turned to saphires and i grew a second emeraled i was like woa *Vomit*

    Posts merged

    Well me and Crystal go way back when we did it and my rubies turned to saphires and i grew a second emeraled i was like woa *Vomit*
     

Share This Page