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

Reply
 
Thread Tools
  #76    
Old April 11th, 2010 (9:33 AM).
Full Metal's Avatar
Full Metal Full Metal is offline
C(++) Developer.
  • Silver Tier
 
Join Date: Jan 2008
Location: In my mind.
Age: 21
Gender: Male
Nature: Timid
Posts: 806
Quote:
Originally Posted by Zeffy View Post

I already solved that problem, thanks anyways. But, your post is full of smileys. :/
sorry 'bout that, C:\ is equal to C: \ only without smileys (i forgot to disable them)
__________________

★ full metal.

I like to push it,
and push it,
until my luck is over.
Reply With Quote

Relevant Advertising!

  #77    
Old May 12th, 2010 (11:20 AM).
JoshuRAWRR's Avatar
JoshuRAWRR JoshuRAWRR is offline
Beginning Hacking
     
    Join Date: May 2010
    Gender: Male
    Nature: Calm
    Posts: 4
    hey, i just started pokehacking...and im very low on scripts :'(
    but hackmew this helped alot
    __________________
    much apreciated,
    JoshuRAWRR
    Reply With Quote
      #78    
    Old May 26th, 2010 (7:24 AM). Edited May 26th, 2010 by ERROR.
    ERROR ERROR is offline
       
      Join Date: Aug 2009
      Posts: 84
      i have question about compiling
      i understand how it was done and all but how was it compiled into the rom? i dont see where that happened

      and also concerning palettes if i was making a titlescreen would it be possible to repoint the palettes to a different offset wouldnt that make it easier for using images that used 32 palettes or more?
      Reply With Quote
        #79    
      Old June 26th, 2010 (11:15 AM).
      Penguins's Avatar
      Penguins Penguins is offline
         
        Join Date: Jun 2010
        Gender: Male
        Nature: Modest
        Posts: 5
        Cool you are the best Hack Mew I love using your tools they are just so convenient. Good job. Just keep on hacking.
        Reply With Quote
          #80    
        Old July 2nd, 2010 (9:09 PM).
        Samike360's Avatar
        Samike360 Samike360 is offline
        Lover of May
           
          Join Date: Mar 2009
          Location: ATL
          Gender:
          Nature: Bold
          Posts: 396
          I have a problem...I've been doing the ASM tutorial but whenever I start the debugger and the Rom, it always gives me an error and shuts out of the rom with an error report. It says "VBA-over.ini not found" on the command prompt.
          __________________





          Please warm my eggs...I'll be sure to return the favor

          From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
          Reply With Quote
            #81    
          Old July 2nd, 2010 (9:21 PM).
          X-Buster X-Buster is offline
             
            Join Date: Feb 2008
            Posts: 712
            Quote:
            Originally Posted by Samike360 View Post
            I have a problem...I've been doing the ASM tutorial but whenever I start the debugger and the Rom, it always gives me an error and shuts out of the rom with an error report. It says "VBA-over.ini not found" on the command prompt.
            if you have the ordinary VBA, copy it's .ini file and paste the same directory as the debugger.
            __________________
            Reply With Quote
              #82    
            Old July 2nd, 2010 (9:25 PM).
            Samike360's Avatar
            Samike360 Samike360 is offline
            Lover of May
               
              Join Date: Mar 2009
              Location: ATL
              Gender:
              Nature: Bold
              Posts: 396
              Quote:
              Originally Posted by X-Buster View Post
              if you have the ordinary VBA, copy it's .ini file and paste the same directory as the debugger.
              Hmm...how would I do that excatly? And what's the ordinary VBA?
              __________________





              Please warm my eggs...I'll be sure to return the favor

              From now one, if you haven't contacted me yet....I will not accept hacks unless they are at least in progressing hacks. So if you want my help, get some screenshots first.
              Reply With Quote
                #83    
              Old July 10th, 2010 (3:59 PM).
              X-Buster X-Buster is offline
                 
                Join Date: Feb 2008
                Posts: 712
                Quote:
                Originally Posted by Samike360 View Post
                Hmm...how would I do that excatly? And what's the ordinary VBA?
                here's a default ini file for the debugger, just save it the same directory as your debugger.
                Attached Files
                File Type: ini vba-over.ini‎ (1.9 KB, 15 views) (Save to Dropbox)
                __________________
                Reply With Quote
                  #84    
                Old July 28th, 2010 (9:03 AM). Edited July 28th, 2010 by FlameShocker.
                FlameShocker's Avatar
                FlameShocker FlameShocker is offline
                C++/ASM Programmer
                   
                  Join Date: Aug 2008
                  Location: Location: United States
                  Age: 23
                  Gender: Male
                  Nature: Hasty
                  Posts: 64
                  I was wondering, is the
                  Code:
                  .VAR:
                       .word 0x020270B6 + (0x800D * 2)
                  in the ASM code in lesson 1 for the buffer part of the script? I don't know since I'm still new to assembly and scripting. The main reason I'm asking is because I'd like to know how I can modify the .word portion. Additionally, what is the
                  Code:
                  + (0x800D * 2)
                  for?

                  Edit: One thing I forgot to mention: I'm hacking Fire Red.

                  I found out that 0x800D is the buffer (yay, scripting tutorials), but what's the times 2 thing for?

                  Also, what does address 0x020270B6 do (in Fire Red)?
                  __________________
                  Occasionally I do things related to ROM hacking, especially assembly stuffs.
                  Reply With Quote
                    #85    
                  Old July 28th, 2010 (10:53 AM).
                  colcolstyles's Avatar
                  colcolstyles colcolstyles is offline
                  Yours truly
                  • Crystal Tier
                   
                  Join Date: May 2008
                  Location: The Bay Area
                  Gender: Male
                  Nature: Lonely
                  Posts: 1,584
                  Quote:
                  Originally Posted by FlameShocker View Post
                  I was wondering, is the
                  Code:
                  .VAR:
                       .word 0x020270B6 + (0x800D * 2)
                  in the ASM code in lesson 1 for the buffer part of the script? I don't know since I'm still new to assembly and scripting. The main reason I'm asking is because I'd like to know how I can modify the .word portion. Additionally, what is the
                  Code:
                  + (0x800D * 2)
                  for?

                  Edit: One thing I forgot to mention: I'm hacking Fire Red.

                  I found out that 0x800D is the buffer (yay, scripting tutorials), but what's the times 2 thing for?

                  Also, what does address 0x020270B6 do (in Fire Red)?
                  That is the address of the variable '0x800D' (more commonly known as 'LASTRESULT') in the WRAM. The reason that "+ (0x800D * 2)" is appended to the main '0x020270B6' part is that if you multiply 0x800D by 2 and then add it to the main part, you get '0x020370D0' which is the actual address of '0x800D'. HackMew formatted it that way for convenience. If you wanted to use variable '0x8004' instead, all you have to do is change '0x800D' to '0x8004'. Otherwise, you'd have to calculate what address '0x8004' is at and that's just no fun.
                  __________________

                  Brother of Vrai
                  Reply With Quote
                    #86    
                  Old July 28th, 2010 (4:55 PM).
                  FlameShocker's Avatar
                  FlameShocker FlameShocker is offline
                  C++/ASM Programmer
                     
                    Join Date: Aug 2008
                    Location: Location: United States
                    Age: 23
                    Gender: Male
                    Nature: Hasty
                    Posts: 64
                    Okay, thanks. That cleared things up for me.
                    __________________
                    Occasionally I do things related to ROM hacking, especially assembly stuffs.
                    Reply With Quote
                      #87    
                    Old July 30th, 2010 (12:31 AM).
                    professional professional is offline
                       
                      Join Date: May 2008
                      Gender:
                      Posts: 23
                      the only tut that I understand
                      P.S you make ASM look easy
                      __________________
                      .
                      .
                      .




                      Reply With Quote
                        #88    
                      Old July 30th, 2010 (10:23 PM).
                      IntrOutro IntrOutro is offline
                         
                        Join Date: Jul 2010
                        Posts: 2
                        Hi, how exactly the extended script looks like regarding to the Trainer ID + Secret ID in the 1st ASM Lesson? I just manage to get the Trainer ID to show up but not the Secret ID.

                        I'll just recopy the script part from the 1st Lesson so anyone of you don't have to look back:
                        Spoiler:
                        Code:
                        #dynamic 0x800000
                        
                        #org @start
                        callasm YourOffset
                        buffernumber 0x0 LASTRESULT
                        msgbox @secret 0x2
                        end
                        
                        #org @secret
                        = Sshh! I'll tell you a secret[.]\nYour Secret ID is [buffer1]!


                        and the ASM that I'm based on (Emerald):
                        Spoiler:
                        Code:
                        .text
                        .align 2
                        .thumb
                        .thumb_func
                        .global lesson1
                        
                        main:
                        	push {r0-r1, lr}
                        	ldr r0, .PLAYER_DATA
                        	ldr r0, [r0]
                        	ldr r1, .VAR
                        	ldrh r0, [r0, #0xA]
                        	strh r0, [r1]
                        	ldr r0, .PLAYER_DATA
                        	ldr r0, [r0]
                        	ldrh r0, [r0, #0xC]
                        	strh r0, [r1, #0x2]
                        	pop {r0-r1, pc}
                        
                        
                        .align 2
                        .PLAYER_DATA:
                        	.word 0x03005D90
                        .VAR:
                        	.word 0x020275D6 + (0x800D * 2)


                        And, do you set the [buffer1] twice in the strings area or split it to something like [buffer1] and [buffer2]?

                        I really like to know how it's done because the extended script isn't covered in any of the tutorials (only the crucial asm part was covered in the end of 2nd ASM Lesson).
                        Reply With Quote
                          #89    
                        Old July 31st, 2010 (11:10 AM).
                        colcolstyles's Avatar
                        colcolstyles colcolstyles is offline
                        Yours truly
                        • Crystal Tier
                         
                        Join Date: May 2008
                        Location: The Bay Area
                        Gender: Male
                        Nature: Lonely
                        Posts: 1,584
                        Quote:
                        Originally Posted by IntrOutro View Post
                        Hi, how exactly the extended script looks like regarding to the Trainer ID + Secret ID in the 1st ASM Lesson? I just manage to get the Trainer ID to show up but not the Secret ID.

                        I'll just recopy the script part from the 1st Lesson so anyone of you don't have to look back:
                        Spoiler:
                        Code:
                        #dynamic 0x800000
                        
                        #org @start
                        callasm YourOffset
                        buffernumber 0x0 LASTRESULT
                        msgbox @secret 0x2
                        end
                        
                        #org @secret
                        = Sshh! I'll tell you a secret[.]\nYour Secret ID is [buffer1]!


                        and the ASM that I'm based on (Emerald):
                        Spoiler:
                        Code:
                        .text
                        .align 2
                        .thumb
                        .thumb_func
                        .global lesson1
                        
                        main:
                        	push {r0-r1, lr}
                        	ldr r0, .PLAYER_DATA
                        	ldr r0, [r0]
                        	ldr r1, .VAR
                        	ldrh r0, [r0, #0xA]
                        	strh r0, [r1]
                        	ldr r0, .PLAYER_DATA
                        	ldr r0, [r0]
                        	ldrh r0, [r0, #0xC]
                        	strh r0, [r1, #0x2]
                        	pop {r0-r1, pc}
                        
                        
                        .align 2
                        .PLAYER_DATA:
                        	.word 0x03005D90
                        .VAR:
                        	.word 0x020275D6 + (0x800D * 2)


                        And, do you set the [buffer1] twice in the strings area or split it to something like [buffer1] and [buffer2]?

                        I really like to know how it's done because the extended script isn't covered in any of the tutorials (only the crucial asm part was covered in the end of 2nd ASM Lesson).
                        The ASM looks fine as far as I can tell. Here's how I would do the script:
                        Code:
                        #dynamic 0x800000
                        
                        #org @start
                        callasm YourOffset
                        buffernumber 0x0 0x800D
                        buffernumber 0x1 0x800E
                        msgbox @secret 0x2
                        end
                        
                        #org @secret
                        = Sshh! I'll tell you a secret[.]\nYour Secret ID is [buffer1]! Also, your Trainer ID is [buffer2].
                        So, yes, you would use 'buffer2'. Just remember that you have to buffer the second number and use '0x01' as the first parameter. It's a little counterintuitive because the number stored in 'buffer 0x0' is accessed via 'buffer1' and the number stored in 'buffer 0x1' is accessed via 'buffer2' but you'll get the hang of it. Also note that since you stored the second number at 'r0 + #0x02', the number would be contained in the variable after LASTRESULT (0x800D), i.e., 0x800E.
                        __________________

                        Brother of Vrai
                        Reply With Quote
                          #90    
                        Old July 31st, 2010 (12:26 PM). Edited July 31st, 2010 by IntrOutro.
                        IntrOutro IntrOutro is offline
                           
                          Join Date: Jul 2010
                          Posts: 2
                          Thank you!

                          Once, I thought I had to make some comparative function. The closest thing I did was:

                          Code:
                          #dynamic 0x800000
                          
                          #org @start
                          callasm YourOffset
                          buffernumber 0x0 LASTRESULT
                          buffernumber 0x1 LASTRESULT
                          msgbox @secret 0x2
                          end
                          
                          #org @secret
                          = [buffer1] and [buffer2].
                          All this while, I thought that the LASTRESULT (0x800D) was the only carrier for an output/result, lol. I should be more careful in reading any scripts/tutorials after this.

                          Quote:
                          So, yes, you would use 'buffer2'. Just remember that you have to buffer the second number and use '0x01' as the first parameter. It's a little counterintuitive because the number stored in 'buffer 0x0' is accessed via 'buffer1' and the number stored in 'buffer 0x1' is accessed via 'buffer2' but you'll get the hang of it. Also note that since you stored the second number at 'r0 + #0x02', the number would be contained in the variable after LASTRESULT (0x800D), i.e., 0x800E.
                          Thank you again for the reminder, the actual 2nd call is at 0x800F.
                          Reply With Quote
                            #91    
                          Old August 1st, 2010 (1:34 PM).
                          ger345's Avatar
                          ger345 ger345 is offline
                          Im just like that.
                             
                            Join Date: Jul 2010
                            Location: In your brain!
                            Gender: Male
                            Nature: Quiet
                            Posts: 49
                            Wow, you know alot about hacking pokemon games!
                            __________________
                            Any one seen an HGSS Starter editor? Dose it exist, probably not. Any one know how to make an editing program? I dont. If you do and want to teach me, pm or vm me about it!
                            Ongoing challenges:
                            Ultimate Monotype Challenge: Dragon Type Johto:0/8 Kanto 0/8 Hoenn 0/8 Sinnoh 0/8
                            Unova 0/8


                            73% of teenagers would cry if they saw Justin Bieber standing on top of a skyscraper about to jump. If you are the 27% sitting there with popcorn and 3D glasses, screaming b"DO A BACKFLIP!" copy this as your signature!!!
                            What pokemon games have I finished you ask? Well. Let me start at the beging, and make it aws simple as possible: All of them. Not one of the regular seires has escape the new and everything in between, even all of the Mystery Dungeon games.
                            Rainbow

                            All the simple things in life:
                            Smiling suns, Evil Duxs, and line.
                            Reply With Quote
                              #92    
                            Old June 25th, 2011 (1:26 PM).
                            EdensElite's Avatar
                            EdensElite EdensElite is offline
                            No0b, but getting there.
                               
                              Join Date: Jun 2011
                              Location: UK
                              Gender: Male
                              Nature: Bold
                              Posts: 190
                              This has cleared a few things up for me thanks ^.^, But just a question, do you actually need ASM to script, or can I just never go near ASM and just use XSE to compile scripts without it?
                              Reply With Quote
                                #93    
                              Old June 25th, 2011 (5:19 PM).
                              Shiny Quagsire's Avatar
                              Shiny Quagsire Shiny Quagsire is offline
                              I'm Still Alive, Elsewhere
                                 
                                Join Date: May 2009
                                Location: Hoenn Safari Zone
                                Age: 19
                                Gender: Male
                                Nature: Jolly
                                Posts: 700
                                Quote:
                                Originally Posted by EdensElite View Post
                                This has cleared a few things up for me thanks ^.^, But just a question, do you actually need ASM to script, or can I just never go near ASM and just use XSE to compile scripts without it?
                                ASM and scripting are two different things. ASM is actual coding that the game uses to manage data. Scripting is string of commands used for events. While scripting can call ASM, ASM isn't needed to script.
                                __________________



                                Reply With Quote
                                  #94    
                                Old July 5th, 2011 (5:08 PM).
                                Forestpelt's Avatar
                                Forestpelt Forestpelt is offline
                                   
                                  Join Date: Jul 2011
                                  Location: USA
                                  Age: 22
                                  Gender: Female
                                  Nature: Gentle
                                  Posts: 11
                                  Hello, is there a way to change the names of the main Pokemon natures? For example instead of GENTLE, I could rename it SILLY, while keeping the same effects that GENTLE would in the game. I'm using Emerald version, by the way. Thanks!
                                  Reply With Quote
                                    #95    
                                  Old July 5th, 2011 (5:13 PM).
                                  Incineroar's Avatar
                                  Incineroar Incineroar is online now
                                  the spirit of the fighter
                                  • Moderator
                                  • Platinum Tier
                                  • Developer
                                   
                                  Join Date: May 2009
                                  Location: Iki Town
                                  Age: 22
                                  Gender: Male
                                  Nature: Brave
                                  Posts: 13,438
                                  Quote:
                                  Originally Posted by Forestpelt View Post
                                  Hello, is there a way to change the names of the main Pokemon natures? For example instead of GENTLE, I could rename it SILLY, while keeping the same effects that GENTLE would in the game. I'm using Emerald version, by the way. Thanks!
                                  You can use a Hex Editor with a GBA .tbl file, or you can use A-Text (I cannot remember if there is a better alternative.)
                                  __________________
                                  Reply With Quote
                                    #96    
                                  Old July 6th, 2011 (10:34 AM).
                                  Forestpelt's Avatar
                                  Forestpelt Forestpelt is offline
                                     
                                    Join Date: Jul 2011
                                    Location: USA
                                    Age: 22
                                    Gender: Female
                                    Nature: Gentle
                                    Posts: 11
                                    Thanks, I only have one more question. I can get my scripts to work, but only if I start a completely new file! How do I fix this? I want to be able to load my old file and see the changes I made. Oh and when I load my save-states, I can't go through any doors.
                                    __________________
                                    I hope this isn't Chris' sandwich...
                                    ~Forestpelt~
                                    Reply With Quote
                                      #97    
                                    Old August 2nd, 2011 (7:31 PM). Edited August 2nd, 2011 by Cherrysa23.
                                    Cherrysa23 Cherrysa23 is offline
                                       
                                      Join Date: Apr 2009
                                      Gender:
                                      Posts: 14
                                      please, I really can't see what I'm doing wrong

                                      when I open the rom, it's just a white screen, the rom doesn't start...

                                      that fine, I was missing the vba-over.ini file

                                      so if soemone else has the error, that solve the problems
                                      Reply With Quote
                                        #98    
                                      Old August 11th, 2011 (9:07 AM).
                                      jvpski3 jvpski3 is offline
                                      Banned
                                         
                                        Join Date: Apr 2010
                                        Location: 739 Long Street, Eterna City
                                        Age: 26
                                        Gender: Male
                                        Nature: Relaxed
                                        Posts: 177
                                        Just wondering.... Can you do a tutorial on other than BRPEE???
                                        Reply With Quote
                                          #99    
                                        Old August 16th, 2011 (5:45 AM).
                                        mihir mihir is offline
                                           
                                          Join Date: May 2011
                                          Gender: Male
                                          Posts: 24
                                          I might look like an idiot, but.... I need an advancemap tutorial.Its simple,but I'm simpler.And the tools are really good!
                                          Reply With Quote
                                            #100    
                                          Old October 31st, 2011 (11:48 PM).
                                          erusanma's Avatar
                                          erusanma erusanma is offline
                                             
                                            Join Date: Aug 2011
                                            Gender: Male
                                            Posts: 2
                                            I have a question about your debbuger,because the command prompt dysplays this message:

                                            ..............
                                            Unknown file type pokemon.

                                            Also,when trying to open a fire red rom,only a white image is displayed in the emulator.

                                            But apart from all this all your tools are exellent,specially xse because I really like scripting in an easy way(not like pokescript or scripted).

                                            Sorry for any mistake I commit but English is not my native language.
                                            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 5:41 PM.