The PokéCommunity Forums Fan Games ROM Hacking Tools, Tutorials & Resources
Tool Mid2agbGUI

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

Reply
 
Thread Tools
  #1    
Old February 9th, 2014 (10:45 AM). Edited December 30th, 2016 by eperty234.
eperty234's Avatar
eperty234 eperty234 is offline
Backsprite Noob
     
    Join Date: Jan 2010
    Location: Denmark, Copenhagen
    Gender: Male
    Nature: Brave
    Posts: 19
    What is Mid2agb?
    It's a console program that allows you to convert .mid files into .s, allowing you to replace existing "songs" in a Pokemon game using Sappy.

    What's the difference between the original and this one?
    This makes it easier for you to convert mid to a Sappy compatible music file. How? I made a GUI. Simple as that. Although this relies on the original mid2agb console program in order to function properly.

    Features
    • Easy to use
    • Preview your .mid before actually converting them giving you the opportunity to fix any weird sounds if any
    • Basic and user friendly user interface
    • Supports Windows Vista, 7, 8 and probably XP as well
    • Switch between the console and GUI version if you want
    • Loop soundtracks

    Supported games?
    • Pokemon firered, leafgreen, emerald, sapphire and ruby

    Requirements
    .Net framework 4 (Windows 8 has it pre-installed)

    Notes
    I made this program to make my and hopefully your life easier by simply adding a simple user interface to the original mid2agb application. If you don't like the GUI, you can always switch back to the original. That is completely optional and up to you!

    Your s file will be in the same destination as your mid file.


    Instructions for the looping part (Manually adding it)
    Spoiler:
    Every track that has the "@ 000 -----" has to have this below it:
    Name of your s file_1_loop:

    Now go find ".byte FINE" on the bottom of each track. Add these above it:
    .byte GOTO
    .word Name of the .s file_1_loop
    .byte W06


    Download
    Code:
    https://github.com/Eperty123/Mid2agbGUI/releases
    __________________
    Eperty....
    Reply With Quote

    Relevant Advertising!

      #2    
    Old February 11th, 2014 (1:43 PM).
    xGal xGal is offline
    Mhm
       
      Join Date: Nov 2011
      Location: A tree
      Gender: Other
      Nature: Relaxed
      Posts: 242
      Well, that's something new! It sounds really good, i will make sure to try this out as soon I get on my computer . I wonder why nobody has commented yet lol.
      __________________
      Reply With Quote
        #3    
      Old February 11th, 2014 (3:51 PM).
      Kawaii Shoujo Duskull's Avatar
      Kawaii Shoujo Duskull Kawaii Shoujo Duskull is online now
      The Cutest Duskull
         
        Join Date: Jul 2013
        Location: Far too deep in my thoughts.
        Age: 21
        Gender: Female
        Nature: Timid
        Posts: 281
        Interesting tool idea. I don't exactly need this, but I'm sure there's plenty of people out there that'd like to use this a lot. Good job.
        Reply With Quote
          #4    
        Old February 11th, 2014 (5:04 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
          While I see this as a good tool, it's honestly not that difficult to drag a file on top of an executable. In fact, it's so easy it's kinda pointless to have to wait for a GUI to do it since you can just click+drag and be done. Nevertheless, it's good to see people making more tools. Just as a suggestion, if you're doing a .NET app, always target the lowest version possible. That way it makes it easier for Mono users. Obviously this wouldn't work very well on non-Windows platforms since it involves an external EXE but in case you do other tools, lower .NET targeting is better.
          __________________



          Reply With Quote
            #5    
          Old February 12th, 2014 (4:12 AM). Edited February 13th, 2014 by eperty234.
          eperty234's Avatar
          eperty234 eperty234 is offline
          Backsprite Noob
             
            Join Date: Jan 2010
            Location: Denmark, Copenhagen
            Gender: Male
            Nature: Brave
            Posts: 19
            Quote:
            Originally Posted by Shiny Quagsire View Post
            While I see this as a good tool, it's honestly not that difficult to drag a file on top of an executable. In fact, it's so easy it's kinda pointless to have to wait for a GUI to do it since you can just click+drag and be done. Nevertheless, it's good to see people making more tools. Just as a suggestion, if you're doing a .NET app, always target the lowest version possible. That way it makes it easier for Mono users. Obviously this wouldn't work very well on non-Windows platforms since it involves an external EXE but in case you do other tools, lower .NET targeting is better.
            Oh! Damn.. my fault. I was so focused on the progamming part that I forgot about that. Thank you very much for the suggestion. I'll update the GUI as soon as possible.

            And as for the dragging part. Yea. I honestly do agree, but if you tend to have thousands of windows open, then keep closing or finding the right window will frustate you.

            I couldn't any GUI for the original mid2agb, so I took the opportunity to create one.

            As for everyone's posts:
            Thank you. I appreciate your kind words!

            EDIT:
            Lowered framework compatibliity for older Windows versions. (XP)
            __________________
            Eperty....
            Reply With Quote
              #6    
            Old February 19th, 2014 (2:50 PM). Edited February 19th, 2014 by Uxie101.
            Uxie101's Avatar
            Uxie101 Uxie101 is offline
               
              Join Date: Apr 2013
              Location: Under your bed
              Gender: Female
              Nature: Brave
              Posts: 61
              when i click make sappy able,it shows me this
              Spoiler:

              /------------------------------------------------------/
              | MID2AGB 1.05 Standard MIDI -> AGB |
              | Copyright (c) 1999-2001, NINTENDO Co.,Ltd. |
              /------------------------------------------------------/

              Usage: MID2AGB input_file [output_file] [options]

              input_file Filename(.MID) of Standard MIDI file.
              output_file Filename(.s) for AGB file.(default:input_file)

              options -L??? Label for assembler.(default:output_file)
              -V??? master Volume.(default:127)
              -G??? voiceGroup number.(default:0)
              -P??? Priority.(default:0)
              -R??? Reverb.(default:off)
              -X 48 clock/beet.(default:24 c/b)
              -E Exact gate-time.
              -N No compression.

              what do i do?
              __________________
              Credit to xVaporeon:
              Reply With Quote
                #7    
              Old February 20th, 2014 (3:04 AM).
              AtecainCorp.'s Avatar
              AtecainCorp. AtecainCorp. is offline
              Rejishan awake...
                 
                Join Date: Jun 2008
                Location: Takoabe Town (Region Thonsu)
                Age: 24
                Gender: Male
                Nature: Hardy
                Posts: 1,228
                Nice. But Looping do not work on it.
                __________________
                - My new Project comming Soon
                Reply With Quote
                  #8    
                Old February 20th, 2014 (6:46 AM).
                Akiba's Avatar
                Akiba Akiba is offline
                • Crystal Tier
                 
                Join Date: Mar 2011
                Location: in a gap
                Age: 17
                Gender: Female
                Nature: Brave
                Posts: 4,268
                Quote:
                Originally Posted by Ksiazek Bartlomiej View Post
                Nice. But Looping do not work on it.
                I'm sure eperty will add that soon.

                It would be interesting to port mid2agb itself onto different platforms though.
                __________________
                Reply With Quote
                  #9    
                Old February 21st, 2014 (11:41 AM).
                AtecainCorp.'s Avatar
                AtecainCorp. AtecainCorp. is offline
                Rejishan awake...
                   
                  Join Date: Jun 2008
                  Location: Takoabe Town (Region Thonsu)
                  Age: 24
                  Gender: Male
                  Nature: Hardy
                  Posts: 1,228
                  Quote:
                  Originally Posted by DeltaSalamence View Post
                  I'm sure eperty will add that soon.

                  It would be interesting to port mid2agb itself onto different platforms though.
                  Meybe some advantage for your project. Making that for NDS roms? It make easier romhacking.
                  __________________
                  - My new Project comming Soon
                  Reply With Quote
                    #10    
                  Old February 22nd, 2014 (2:33 AM).
                  ipatix's Avatar
                  ipatix ipatix is offline
                  Sound Expert
                     
                    Join Date: May 2008
                    Location: Germany
                    Gender: Male
                    Nature: Relaxed
                    Posts: 145
                    Why make a loop function? mid2agb already has an inbilt function itself. Just use the [ ] marker events in your Midi editor to loop the song.

                    Some other suggestions: I'd add the possibility to use certain mid2agb arguments to tweak the s-file. I mena stuff like "-Vxxx" (xxx is the master volume level) or "-E" to increase note length accuracy.
                    __________________
                    Visit my YouTube channel (music hacking and other stuff): http://www.youtube.com/user/theipatix
                    Reply With Quote
                      #11    
                    Old February 25th, 2014 (7:16 AM). Edited February 25th, 2014 by eperty234.
                    eperty234's Avatar
                    eperty234 eperty234 is offline
                    Backsprite Noob
                       
                      Join Date: Jan 2010
                      Location: Denmark, Copenhagen
                      Gender: Male
                      Nature: Brave
                      Posts: 19
                      Quote:
                      Originally Posted by DeltaSalamence View Post
                      I'm sure eperty will add that soon.

                      It would be interesting to port mid2agb itself onto different platforms though.
                      Don't worry. I will certainly!
                      I'll update the GUI ASAP! Stay tuned till then.
                      Also, for the porting part: If anyone is able to help, then that will do the trick.

                      Quote:
                      Originally Posted by Ksiazek Bartlomiej View Post
                      Nice. But Looping do not work on it.
                      You're completely right, Ksiazek. I haven't implemented that yet. I don't know why though, but it will be soon.

                      Quote:
                      Originally Posted by Ksiazek Bartlomiej View Post
                      Meybe some advantage for your project. Making that for NDS roms? It make easier romhacking.
                      I was wondering. Does the original author provide the actual source for mid2agb?

                      Quote:
                      Originally Posted by Uxie101 View Post
                      when i click make sappy able,it shows me this
                      Spoiler:

                      /------------------------------------------------------/
                      | MID2AGB 1.05 Standard MIDI -> AGB |
                      | Copyright (c) 1999-2001, NINTENDO Co.,Ltd. |
                      /------------------------------------------------------/

                      Usage: MID2AGB input_file [output_file] [options]

                      input_file Filename(.MID) of Standard MIDI file.
                      output_file Filename(.s) for AGB file.(default:input_file)

                      options -L??? Label for assembler.(default:output_file)
                      -V??? master Volume.(default:127)
                      -G??? voiceGroup number.(default:0)
                      -P??? Priority.(default:0)
                      -R??? Reverb.(default:off)
                      -X 48 clock/beet.(default:24 c/b)
                      -E Exact gate-time.
                      -N No compression.

                      what do i do?
                      There is something wrong with your .mid file. :3
                      __________________
                      Eperty....
                      Reply With Quote
                        #12    
                      Old March 1st, 2014 (3:01 PM).
                      ipatix's Avatar
                      ipatix ipatix is offline
                      Sound Expert
                         
                        Join Date: May 2008
                        Location: Germany
                        Gender: Male
                        Nature: Relaxed
                        Posts: 145
                        Quote:
                        Originally Posted by eperty234
                        I was wondering. Does the original author provide the actual source for mid2agb?
                        Ehm, no. Mid2agb is a program by Nintendo (it is part from their SDK) and therefore we'll never be able to see the source.
                        __________________
                        Visit my YouTube channel (music hacking and other stuff): http://www.youtube.com/user/theipatix
                        Reply With Quote
                          #13    
                        Old March 5th, 2014 (1:38 PM).
                        eperty234's Avatar
                        eperty234 eperty234 is offline
                        Backsprite Noob
                           
                          Join Date: Jan 2010
                          Location: Denmark, Copenhagen
                          Gender: Male
                          Nature: Brave
                          Posts: 19
                          Quote:
                          Originally Posted by ipatix View Post
                          Ehm, no. Mid2agb is a program by Nintendo (it is part from their SDK) and therefore we'll never be able to see the source.
                          Oh, I see. Thank you for telling Ipatix. =P
                          __________________
                          Eperty....
                          Reply With Quote
                            #14    
                          Old March 20th, 2014 (5:51 AM).
                          Uxie101's Avatar
                          Uxie101 Uxie101 is offline
                             
                            Join Date: Apr 2013
                            Location: Under your bed
                            Gender: Female
                            Nature: Brave
                            Posts: 61
                            is there a way to fix this?
                            Spoiler:
                            __________________
                            Credit to xVaporeon:
                            Reply With Quote
                              #15    
                            Old April 12th, 2014 (10:50 AM). Edited April 12th, 2014 by eperty234.
                            eperty234's Avatar
                            eperty234 eperty234 is offline
                            Backsprite Noob
                               
                              Join Date: Jan 2010
                              Location: Denmark, Copenhagen
                              Gender: Male
                              Nature: Brave
                              Posts: 19
                              Quote:
                              Originally Posted by Uxie101 View Post
                              is there a way to fix this?
                              Spoiler:
                              I thought I'd fixed that. Oh well. Hang in there for now. I have exams coming up so I'm currently studying my best for great grades, lol.

                              Edit:
                              New version is up. Go check it out.
                              __________________
                              Eperty....
                              Reply With Quote
                                #16    
                              Old March 10th, 2015 (3:58 PM).
                              LordOfMinecraft LordOfMinecraft is offline
                              LordOfMinecraft
                                 
                                Join Date: Mar 2015
                                Gender: Male
                                Posts: 61
                                Is this for mac? I need a pokemon rom hacking tool other than the MEH.
                                Reply With Quote
                                  #17    
                                Old December 28th, 2016 (4:12 PM).
                                eperty234's Avatar
                                eperty234 eperty234 is offline
                                Backsprite Noob
                                   
                                  Join Date: Jan 2010
                                  Location: Denmark, Copenhagen
                                  Gender: Male
                                  Nature: Brave
                                  Posts: 19
                                  Bump! Just wanted to inform you guys that I updated the GUI to support the looping function! Enjoy.
                                  __________________
                                  Eperty....
                                  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 2:27 PM.