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 May 25th, 2012 (4:25 PM).
Nick Nick is offline
Banned
     
    Join Date: Nov 2009
    Age: 19
    Posts: 5,220
    This project is for collecting and compiling all of the raws used in standard scripts, movement sequences, and possibly text sequences (if applicable) for Ruby/Sapphire, FireRed/LeafGreen, and Emerald. All of the raws will be compiled into a standards-compliant XML sheet which could be used for implementation into ROM editing tools later on, and if not it can just be read as text in Notepad++ or whatever for reference. The scripting part of the XML contains the command's hex value, what it does, and a byte syntax formula; the movement-bytes section of the reference sheet contains the command's hex value and how it acts when executed; the text-sequence portion of the sheet hasn't been implemented yet (debatable).

    I've found a lot of the values for R/S myself, but there is still a big amount of them I haven't discovered:
    Identified script command bytes: 53 out of [assumedly] 255 (~21% complete)
    Identified movement-sequence command bytes: 131 out of [assumedly] 255 (~51% complete)

    I have the so-far-incomplete XML sheet for Ruby and Sapphire in the code below.
    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    (There is a copy of this code in an attachment below)

    The XML schema for all sheets of this project is already set up and saved to my domain for ease of access. Thus, the xsi:noNamespaceSchemaLocation attribute inside elements generally shouldn't be modified.

    If you spot an error, don't hesitate to point it out. If you've found any raws that aren't in the document yet, please share them with the project.
    Attached Files
    File Type: xml hexref.xml‎ (13.0 KB, 9 views) (Save to Dropbox)
    Reply With Quote

    Relevant Advertising!

      #2    
    Old May 28th, 2012 (7:41 AM).
    Gamer2020's Avatar
    Gamer2020 Gamer2020 is offline
    Accept no Imitations!
       
      Join Date: Jun 2008
      Location: Distant Land
      Gender: Male
      Nature: Bold
      Posts: 910
      Open XSE and press F1... That's all you need to do really...
      __________________

      Reply With Quote
        #3    
      Old May 28th, 2012 (8:27 PM).
      Nick Nick is offline
      Banned
         
        Join Date: Nov 2009
        Age: 19
        Posts: 5,220
        Some people prefer other script editors over XSE (surprisingly), and even those who have and/or use it might not want to have to drag it out to check what bytes do what, for instance with scripting in hex.

        Besides, I'm not one of those people that like to credit people for things (kinda makes me look unoriginal), so I don't plan on taking what HackMew has built up.
        Reply With Quote
          #4    
        Old May 29th, 2012 (7:20 AM). Edited May 29th, 2012 by tinix.
        tinix's Avatar
        tinix tinix is offline
        PearlShipper & C Programmer
           
          Join Date: Feb 2010
          Location: Bratislava, Slovakia
          Age: 20
          Gender: Male
          Posts: 86
          I have all raws (command list) exported from XSE somewhere, if you want them i can upload them
          __________________
          Pokémon games I own:
          Pokémon Diamond
          Pokémon Platinum
          Pokémon Ranger: Shadows of Almia
          Pokémon HeartGold Version
          Reply With Quote
            #5    
          Old May 29th, 2012 (7:28 AM).
          Spherical Ice's Avatar
          Spherical Ice Spherical Ice is offline
          • Crystal Tier
           
          Join Date: Nov 2007
          Location: Bristol, UK
          Age: 19
          Posts: 5,227
          Quote:
          Originally Posted by AlexTheRose View Post
          Some people prefer other script editors over XSE (surprisingly), and even those who have and/or use it might not want to have to drag it out to check what bytes do what, for instance with scripting in hex.

          Besides, I'm not one of those people that like to credit people for things (kinda makes me look unoriginal), so I don't plan on taking what HackMew has built up.
          To be fair, XSE tells you what hex code the command is, how many bytes it needs, how many parameters are needed and everything. Sorry! D:
          Reply With Quote
            #6    
          Old May 29th, 2012 (10:00 AM).
          droomph's Avatar
          droomph droomph is offline
          weeb
          • Crystal Tier
           
          Join Date: Sep 2011
          Location: nowhere spectacular
          Age: 20
          Gender: Male
          Nature: Impish
          Posts: 4,291
          @Spherical Um but commands like lighten and darken really need to be explained more (and commands like setpokepp are wrong in their explanation) and here's a great way to explain to everyone what commands like that do.

          Besides I find the layout in XSE to be messy so here's a chance for him to start changing that trend.
          __________________
          did u no there r 21 letters in the alphabet
          o i forgot 5
          uraqt


          Reply With Quote
            #7    
          Old May 30th, 2012 (5:58 AM).
          tinix's Avatar
          tinix tinix is offline
          PearlShipper & C Programmer
             
            Join Date: Feb 2010
            Location: Bratislava, Slovakia
            Age: 20
            Gender: Male
            Posts: 86
            Here are exported XSE commands in text and binary form. Use them if you want to.
            Attached Files
            File Type: zip Commands.zip‎ (13.6 KB, 14 views) (Save to Dropbox)
            __________________
            Pokémon games I own:
            Pokémon Diamond
            Pokémon Platinum
            Pokémon Ranger: Shadows of Almia
            Pokémon HeartGold Version
            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 7:19 PM.