Research & Development Got a well-founded knack with ROM hacking? Love reverse-engineering the Pokémon games? Or perhaps you love your assembly language. This is the spot for polling and gathering your ideas, and then implementing them! Share your hypothesis, get ideas from others, and collaborate to create!

TrollandToad.com
Reply
 
Thread Tools
  #1    
Old July 14th, 2010 (3:04 PM).
wiseguy12851 wiseguy12851 is offline
     
    Join Date: Jul 2010
    Gender: Male
    Posts: 1
    I am setting up a rather complex project, I am fully reverse engineering the original B&W pokemon red. Furthermore I'm breaking it apart back into assembly form in a collection of files much like how the project would have been written then, obviously not just on one file.

    I'm stripping all the jumps, calls, and memory locations for the ROM and replacing them with more meaningful names and letting the compiler decide what the assigned hex values are and the position they'll be in

    Also breaking up the function blocks, naming them, and heavily commenting throughout the project.

    In the end it would appear much like I imagine how it was before they compiled it. My question now is I think I have run into a binary section of the ROM like where an image or sound might be because the opcodes (assembly codes) are garbage and don't make any sense at all.

    I'm stuck at location 0x01AE, can anybody help me out
    Reply With Quote

    Relevant Advertising!

      #2    
    Old July 28th, 2010 (8:54 PM). Edited July 28th, 2010 by D1Hazel.
    D1Hazel D1Hazel is offline
       
      Join Date: Jan 2009
      Gender:
      Posts: 4
      Your best bet is to ask the guys over at Sonic Retro how they did that when they made their Sonic 1 disassembly.

      P.S. Good luck.
      __________________
      This is Nudelholz. Copy Nudelholz in your signature to make better Kuchens and other Teig products!
      Reply With Quote
        #3    
      Old July 29th, 2010 (4:41 PM).
      IIMarckus's Avatar
      IIMarckus IIMarckus is offline
         
        Join Date: Oct 2007
        Gender:
        Posts: 402
        I am working on the same project. Perhaps we could work together. Are you familiar with version control (Mercurial)? What assembler are you using?

        Offset 0x1AE is indeed data—a list of pointers to map headers.

        Personally, I think the best thing to do is focus on individual routines, following jumps and calls when disassembling, rather than going through the ROM from the first offset. This way it is more obvious what things do, and the resulting ASM is usable right away.
        __________________
        iimarck.us / hax.iimarck.us

        If you want me, please contact me by email. [email protected]

        If you want to hack Pokémon RBY or GSC, read, read, and read some more. This has tons of valuable information.

        Pokémon Red disassembly project

        Rules that should be rethought: 25charlimit, bumping.
        Bad posts are bad posts, regardless of how many words are in them or how old the thread is.
        Good posts are good posts, regardless of how old the thread is—and brevity is underrated.
        Reply With Quote
        Reply

        Quick Reply

        Join the conversation!

        Create an account to post a reply in this thread, participate in other discussions, and more!

        Create a PokéCommunity Account

        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 5:00 AM.