Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources

Notices
For all updates, view the main page.

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.



Reply
 
Thread Tools
  #1    
Old February 9th, 2014 (10:45 AM). Edited April 14th, 2014 by eperty234.
eperty234's Avatar
eperty234
Backsprite Noob
 
Join Date: Jan 2010
Location: Denmark, Copenhagen
Gender: Male
Nature: Brave
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

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.


UPDATE AS OF APRIL 13TH 2014
I rewrote the GUI for cleaner codes and revamped it as well. This will be the current updated version for now as I have my exams coming up soon meaning that I won't be able to get here as often, which you may have noticed. (Probably not, lol.) If you have any questions or so feel free to contact me or ask here.

What's new then?
If you want to make your song loop you can now do so, although you'll have to manually add some parameters. Instructions are written here and in the program itself.

This is just a quick fix after having a little free time. See you again soon and thanks for trying Mid2agbGUI out.

Instructions for the looping part
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://mega.co.nz/#!SAcH0ZRa!HD-0sZUFh7--4c21h78R9AOzfFvwWwqC0-Y8WLW8k3Y
__________________
Eperty....
Reply With Quote
  #2    
Old February 11th, 2014 (01:43 PM).
xGal's Avatar
xGal
Playing some ESL
 
Join Date: Nov 2011
Location: A tree
Gender: Male
Nature: Bold
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.
__________________
Hey guys, I made a soundcloud account not long ago, and I would be very happy if you guys will check it out: https://soundcloud.com/dewombat. Thanks .

Also, if you ever wanted to make a ROM hacking tool, click here: http://www.pokecommunity.com/showthread.php?t=334348
Reply With Quote
  #3    
Old February 11th, 2014 (03:51 PM).
Merak's Avatar
Merak
Because reasons.
 
Join Date: Jul 2013
Age: 18
Gender: Male
Nature: Quiet
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.
__________________
"it is nearly 11 pm and we're discussing an alien eating the personification of humanity's evil desires
help"


Credit for the userbar goes to xVaporeon; credit for the avatar goes to Snakeyem12.
MY WRITING
Reply With Quote
  #4    
Old February 11th, 2014 (05:04 PM).
Shiny Quagsire's Avatar
Shiny Quagsire
Working on 3DS CFW. Or something.
 
Join Date: May 2009
Location: Hoenn Safari Zone
Age: 17
Gender: Male
Nature: Jolly
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 (04:12 AM). Edited February 13th, 2014 by eperty234.
eperty234's Avatar
eperty234
Backsprite Noob
 
Join Date: Jan 2010
Location: Denmark, Copenhagen
Gender: Male
Nature: Brave
Quote originally posted by Shiny Quagsire:
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 (02:50 PM). Edited February 19th, 2014 by Uxie101.
Uxie101's Avatar
Uxie101
 
Join Date: Apr 2013
Location: Under your bed
Gender: Female
Nature: Brave
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 (03:04 AM).
AtecainCorp.'s Avatar
AtecainCorp.
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 22
Gender: Male
Nature: Hardy
Nice. But Looping do not work on it.
__________________
This signature has been disabled.
Exceeds the 600px width limit.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #8    
Old February 20th, 2014 (06:46 AM).
Reisen's Avatar
Reisen
Community Supporter
 
Join Date: Mar 2011
Location: 永遠亭
Age: 15
Gender: Female
Nature: Quiet
Send a message via Skype™ to Reisen
Quote originally posted by Ksiazek Bartlomiej:
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.
Rejishan awake...
 
Join Date: Jun 2008
Location: Takoabe Town (Region Thonsu)
Age: 22
Gender: Male
Nature: Hardy
Quote originally posted by DeltaSalamence:
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.
__________________
This signature has been disabled.
Exceeds the 600px width limit.
Please review and fix the issues by reading the signature rules.

You must edit it to meet the limits set by the rules before you may remove the [sig-reason] code from your signature. Removing this tag will re-enable it.

Do not remove the tag until you fix the issues in your signature. You may be infracted for removing this tag if you do not fix the specified issues. Do not use this tag for decoration purposes.
Reply With Quote
  #10    
Old February 22nd, 2014 (02:33 AM).
ipatix's Avatar
ipatix
Sound Expert
 
Join Date: May 2008
Location: Germany
Gender: Male
Nature: Relaxed
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 (07:16 AM). Edited February 25th, 2014 by eperty234.
eperty234's Avatar
eperty234
Backsprite Noob
 
Join Date: Jan 2010
Location: Denmark, Copenhagen
Gender: Male
Nature: Brave
Quote originally posted by DeltaSalamence:
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:
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:
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:
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 (03:01 PM).
ipatix's Avatar
ipatix
Sound Expert
 
Join Date: May 2008
Location: Germany
Gender: Male
Nature: Relaxed
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 (01:38 PM).
eperty234's Avatar
eperty234
Backsprite Noob
 
Join Date: Jan 2010
Location: Denmark, Copenhagen
Gender: Male
Nature: Brave
Quote originally posted by ipatix:
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 (05:51 AM).
Uxie101's Avatar
Uxie101
 
Join Date: Apr 2013
Location: Under your bed
Gender: Female
Nature: Brave
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
Backsprite Noob
 
Join Date: Jan 2010
Location: Denmark, Copenhagen
Gender: Male
Nature: Brave
Quote originally posted by Uxie101:
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
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
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 05:03 PM.