Announcement

Collapse
No announcement yet.

[GBA] CodeBreaker Advance Code Types

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [GBA] CodeBreaker Advance Code Types

    Code Type Format
    Description

    Code Type 0 = game ID/setup parameters
    Code Type 1 = enable code hook address + type
    Code Type 2 = OR type

    Code Type 3 -Bit code
    3AAAAAAA 00YY
    8 bit constant write. This only writes the value of YY into the address provided.
    value is between 00-FF


    Code Type 4= Slide code
    This is an advanced code type you can use to write multiple values with.
    4AAAAAAA YYYY
    MMMMCCCC IIII

    4AAAAAAA= The Starting address
    YYYY= Value
    MMMM= Value increment
    CCCC= Address Count. Writes the value the amount of times provided.
    IIII= how many adresses to skip (Only Even Numbers!)



    Code Type 5 - memwrite
    5xxxxxxx yyyy
    zzzzzzzz zzzz

    xxxxxxx= first address to write to
    yyyy= number of halfwords to write.
    zzzz= halfwords

    The halfword must be written in a 'byte ordering' way,
    which mean you have to switch the lower byte and the upper byte.

    Example
    82029318 8151
    8202931A 907B
    8202931C 112F
    8202931E 0000
    82029318 8151
    8202931A 907B

    will become
    52029318 0006
    51817B90 2F11
    00005181 7B90

    This allow you to divide the numbers of lines by 3 !
    If you still dont see how its done then just reverse the values starting with the starting address
    51 81 7b 90 2f 11
    00 00 51 81 7b 90

    51817b90 2f11
    00005181 7b90



    Code Type 6 - Is the same as type 2, but it "AND"s the value instead of "OR"

    Code Type 7 - like PSX "D0" code type "Equal To"
    If half-word value in location supplied is the same as value supplied do the next code. This code is useful if you only want to execute certain codes at certain points in the game (like on certain levels, or only when the game has fully loaded).
    (Address MUST BE EVEN!)

    Example:
    7008030C 01FE
    80100204 0067

    If the address 08030C holds the half-word value 01FE then do the code 80100204 0067, otherwise do nothing.


    Code Type 8 - 16 Bit Codes
    XXXXXX = Address
    YYYY = 16-Bit Value

    It simply writes the given 16 bit value, YYYY, to the given address, XXXXXX.
    Like YuGiOh! Health Codes


    Code Type 9 = decrypt type


    Code Type A = like PSX's D1 code type "Not Equal To"
    XXXXXX = Address
    YYYY = 16-Bit Value

    If half-word value in location supplied is different to the value supplied do the next code.
    (Must be EVEN Address!)

    Example:
    A008030C 01FE
    80100204 0067

    If the address 08030C doesn't hold the half-word value 01FE then do the code 80100204 0067, otherwise do nothing.


    Code Type B = like PSX's D3 "if Greater Than"
    XXXXXX = Address
    YYYY = 16-Bit Value

    If half-word value in location supplied is greater than the value supplied do the next code.
    (address must be EVEN!)

    Example:
    B008030C 01FE
    80100204 0067

    If the address 08030C is greater than the half-word value 01FE then do the code 80100204 0067, otherwise do nothing.



    Code Type C - like PSX's D2 "if Lesser Than"
    XXXXXX = Address
    YYYY = 16-Bit Value

    If half-word value in location supplied is less than the value supplied do the next code.
    (Must be EVEN address!)

    Example:
    C008030C 01FE
    80100204 0067

    If the address 08030C is less than the half-word value 01FE then do the code 80100204 0067, otherwise do nothing.


    Code Type D = PAD read

    Code Type E- increment/decrement
    Exxxxxxx yyyy
    0000 - 7FFF = increment
    8000 - FFFF = decrement for yyyy

    Fxxxxxxx yyyy = likes like PSX D0 except use uses "&" instead of "is equal to" checks 1 bit
    Current Ongoing Projects :.
    Hacking Turbo Grafx 16 & CD Games and MSX

  • #2
    Nice work; was this FAQ your doing, or a CMP team effort?

    Always good to see the sages teaching
    I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

    Comment


    • #3
      Good to see this here, even if it does appear to be copied exactly from CMP, heh.

      Comment


      • #4
        it was done along time, when i first start GBA hacking, i asked Helder for the CBA code types, but tehy were incomplete, he sent me a text that was started by DarkSerge and a convo with CMX. After that i filled in the rest and added examples. Which reminds me to add an example of ingame cheats usiing the same address just different values, i know Helder did it with Metroid, i need to added it to my RoboTech Codes
        Current Ongoing Projects :.
        Hacking Turbo Grafx 16 & CD Games and MSX

        Comment


        • #5
          So if I add this to the FAQs section, should the credit go DS, CMX, Helder, GM0?
          I may be lazy, but I can...zzzZZZzzzZZZzzzZZZ...

          Comment


          • #6
            yeah
            Current Ongoing Projects :.
            Hacking Turbo Grafx 16 & CD Games and MSX

            Comment

            Working...
            X