Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.

Reply
 
Thread Tools
  #1    
Old November 29th, 2013 (7:37 AM).
xGal xGal is offline
Mhm
     
    Join Date: Nov 2011
    Location: A tree
    Gender: Other
    Nature: Relaxed
    Posts: 243
    Hey!

    Adding extra items isn't hard at all! In this tutorial, I am going to show you how to do it!

    ITEM DATA EXTENTION

    Spoiler:
    1. Navigate to 0x3DB028 and copy 1194 bytes. Paste it into some free space in your ROM. You may need to repoint as well.

    2. Navigate back to 0x3DB028 and copy [number of new items]*12. Paste them into the end the old table you copied earlier.


    ITEM PICTURES EXTENTION

    Spoiler:
    1. Navigate to 0x3D4294 and copy C04 bytes. Paste them into some free space in your ROM. You may need to repoint as well.

    2. Navigate back to 0x3D4294 and copy [number of new items]*4. Paste them into the end of the old table you copied earlier.

    That's it! You've just extended the number of items! Wasn't that simple?

    Don't forget to edit the INI of the item editor you use!

    Also, if you found any bugs, please tell me!


    Credits:
    Me...
    __________________
    Reply With Quote

    Relevant Advertising!

      #2    
    Old November 29th, 2013 (9:52 AM).
    karatekid552's Avatar
    karatekid552 karatekid552 is offline
    What happens if I push it?....
       
      Join Date: Nov 2012
      Location: Do you really want to know? Really?
      Gender: Male
      Nature: Bold
      Posts: 1,766
      Simple and straight to the point. I like it.
      __________________

      Paired with Simba
      Reply With Quote
        #3    
      Old November 29th, 2013 (2:01 PM). Edited November 29th, 2013 by esperance.
      esperance's Avatar
      esperance esperance is offline
      • Platinum Tier
       
      Join Date: Mar 2010
      Location: Ohio
      Age: 20
      Gender: Male
      Nature: Relaxed
      Posts: 3,818
      Yeah, you go it. I wish all tutorials were this easy to follow~

      But you might wanna specify a game.
      __________________

      A Pokemon that is discriminated!
      Support squirtle and make it everyone's favourite.
      Reply With Quote
        #4    
      Old November 29th, 2013 (3:38 PM).
      xGal xGal is offline
      Mhm
         
        Join Date: Nov 2011
        Location: A tree
        Gender: Other
        Nature: Relaxed
        Posts: 243
        Quote:
        Originally Posted by agentgeo View Post
        Yeah, you go it. I wish all tutorials were this easy to follow~

        But you might wanna specify a game.
        "Adding Extra Items Into FireRed". And thanks
        __________________
        Reply With Quote
          #5    
        Old January 28th, 2014 (2:50 AM). Edited January 28th, 2014 by kearnseyboy6.
        kearnseyboy6's Avatar
        kearnseyboy6 kearnseyboy6 is offline
        Aussie's Toughest Mudder
           
          Join Date: Dec 2008
          Posts: 300
          I don't think this is right. An Item is 44 bytes long. You can verify this by (0x2C*itemNumber)+0xE and that byte will tell you the index number. So instead of selecting 4500 decimal bytes, its like 15600.

          Otherwise when you edit the ini you get errors!

          EDIT!!

          Also the image contains 2 pointers per item. an image and palette pointer. So at 3D4294 you want to copy 375*8 bytes to safely repoint it.

          EDIT 2!

          The game also doesn't support extra items... Maybe there is a limiter on the amount of items?
          __________________
          HOLIDAYING CURRENTLY!!
          Reply With Quote
            #6    
          Old January 29th, 2014 (3:40 AM).
          xGal xGal is offline
          Mhm
             
            Join Date: Nov 2011
            Location: A tree
            Gender: Other
            Nature: Relaxed
            Posts: 243
            Quote:
            Originally Posted by kearnseyboy6 View Post
            I don't think this is right. An Item is 44 bytes long. You can verify this by (0x2C*itemNumber)+0xE and that byte will tell you the index number. So instead of selecting 4500 decimal bytes, its like 15600.

            Otherwise when you edit the ini you get errors!

            EDIT!!

            Also the image contains 2 pointers per item. an image and palette pointer. So at 3D4294 you want to copy 375*8 bytes to safely repoint it.

            EDIT 2!

            The game also doesn't support extra items... Maybe there is a limiter on the amount of items?
            I have no idea. It works for me.
            __________________
            Reply With Quote
              #7    
            Old January 29th, 2014 (11:31 PM).
            kearnseyboy6's Avatar
            kearnseyboy6 kearnseyboy6 is offline
            Aussie's Toughest Mudder
               
              Join Date: Dec 2008
              Posts: 300
              Quote:
              Originally Posted by xGal View Post
              I have no idea. It works for me.
              JPAN has researched a lot on items:

              Spoiler:
              14 bytes for the name, a string in the same encoding as all in-game strings, finished by 0xff 2 bytes for the item number, that is used for some integrity checks 2 bytes for the item market price 1 byte that I know not it's use 1 byte used for item usage values, such as potion HP recovery or Repel steps 4 bytes for a pointer to a small description of the item, as seen in the market and in the bag screen 2 bytes for something else 1 byte for the number of the pocket the item is stored in (tm case and berry bag included) 1 byte that usually allow to distinguish between between types of item 4 bytes pointer for item's THUMB routine start. 1 byte for item usage location 3 bytes for something else 4 bytes for the battle routine start. 4 bytes for other uses


              An item cannot be 12 bytes long from this. Are you 100% sure this tut is correct?
              __________________
              HOLIDAYING CURRENTLY!!
              Reply With Quote
                #8    
              Old February 4th, 2014 (10:46 AM).
              xGal xGal is offline
              Mhm
                 
                Join Date: Nov 2011
                Location: A tree
                Gender: Other
                Nature: Relaxed
                Posts: 243
                Quote:
                Originally Posted by kearnseyboy6 View Post
                JPAN has researched a lot on items:

                Spoiler:
                14 bytes for the name, a string in the same encoding as all in-game strings, finished by 0xff 2 bytes for the item number, that is used for some integrity checks 2 bytes for the item market price 1 byte that I know not it's use 1 byte used for item usage values, such as potion HP recovery or Repel steps 4 bytes for a pointer to a small description of the item, as seen in the market and in the bag screen 2 bytes for something else 1 byte for the number of the pocket the item is stored in (tm case and berry bag included) 1 byte that usually allow to distinguish between between types of item 4 bytes pointer for item's THUMB routine start. 1 byte for item usage location 3 bytes for something else 4 bytes for the battle routine start. 4 bytes for other uses


                An item cannot be 12 bytes long from this. Are you 100% sure this tut is correct?
                I will try it once again, perhaps I miss-spelled something...
                __________________
                Reply With Quote
                Reply
                Quick Reply

                Sponsored Links
                Thread Tools

                Posting Rules
                You may not post new threads
                You may not post replies
                You may not post attachments
                You may not edit your posts

                BB code is On
                Smilies are On
                [IMG] code is On
                HTML code is Off

                Forum Jump


                All times are GMT -8. The time now is 7:34 AM.