Jump to content

Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  Mig64 : (30 June 2020 - 08:24 PM) By the way, is everyone alright? What with the ongoing pandemic and everything...
@  Mig64 : (30 June 2020 - 08:22 PM) :(
@  Fire Blazer : (13 June 2020 - 05:21 AM) :(
@  Fire Blazer : (13 June 2020 - 05:21 AM) not really, it's pretty dead around here
@  Mig64 : (12 June 2020 - 06:53 PM) Anyway, did I miss anything?
@  Mig64 : (12 June 2020 - 06:25 PM) Whew, I FINALLY got my password right
@  Fire Blazer : (24 May 2020 - 11:23 AM) sigh
@  xcrash1998 : (24 April 2020 - 12:35 PM) I will let blazer know
@  Fujisaki : (23 April 2020 - 08:16 PM) Yeah, sure. Hopefully that'll be more livelier than here.
@  xcrash1998 : (23 April 2020 - 09:37 AM) Just came here after I saw you replying to my PM lol
@  xcrash1998 : (23 April 2020 - 09:36 AM) We have a discord now, maybe you want to join
@  Fujisaki : (22 April 2020 - 10:33 PM) Oh well. If anyone's interested, hit me up on discord. I'm usually active on there...
@  Fujisaki : (22 April 2020 - 10:17 PM) Thought the place would liven up with Three Houses being released last year...lol...whoops.
@  Fujisaki : (22 April 2020 - 10:13 PM) HOLY FUCK I REMEMBERED MY LOGIN SHIT.
@  Fire Blazer : (18 March 2020 - 03:18 AM) hope everyone is managing ok...
@  kirant : (03 March 2020 - 05:41 AM) New challenger approaching!
@  xcrash1998 : (26 February 2020 - 09:55 AM) Not anymore
@  Mage Girl : (17 February 2020 - 02:33 AM) I can safely say I'm so far the only person to post to this shoutbox in 2020...
@  Fire Blazer : (24 December 2019 - 03:17 AM) naw, it's when the bots make collaborated efforts to crawl places, lol
@  kirant : (23 December 2019 - 05:20 AM) What do we do on Index Day? Give each other bots?


Music Looping Info from the Pokémon Community

  • Please log in to reply
4 replies to this topic

#1 Team Fail

Team Fail


  • Members
  • Pip
  • 2 posts

Posted 21 February 2013 - 05:48 AM

So Arch posted the Sappy Mod information on PokeCommunity forums, and I thought it'd be fair to share with the FE hacking community what I've discovered, which I believe, should be more known. Anyways, after downloading a special program called "NITRO-SoundMaker", which is an in-house tool to develop music for the NDS, I discovered how to loop, and it was ridiculously simple. Following on a hunch, I decided to ask someone to send me a MIDI, I added the needed data to it, send it back, and have him insert it. But, there was one condition: do not touch the .s file. And my hunch was correct: the file did loop. So, this tutorial is killing two birds with one stone, as the same official tools for converting MIDI files for use on the GBA use the exact same command to loop as the official NDS tools. And it's been overlooked for many years, so it's beyond me how this was totally missed. Anyways, let's get started.

You will need:
1. Your MIDI file
2. Anvil Studio
3. Official NDS/GBA conversion tools (Based on what system you want to use)
-MID2AGB and Sappy for GBA
-smfconv, and seqconv for NDS

Oh, and don't ask me where to find the Nintendo programs. I will not link to them.

Now, as I said, it's ridiculously simple to loop, and I'm not kidding. These commands are built into both MID2AGB and smfconv, but they've been overlooked until today. Here's how to tap into the hidden potential:

1. Open your MIDI file in Anvil Studio, and view your MIDI in the Piano Roll Editor (View -> Piano Roll Editor)

Now, to start, go right to the end of the song, and head to the top of the window. Look for a button called "New cue" and click on it:

user posted image

Now, since we're at the end of the file, we're going to add one special character to the box that shows up, simply, "]":

user posted image

Now, here comes the hardest part, and it's not even that hard. In the piano roll editor, place the marker arrow at the point in the song you want the game to loop it to, then go back up to the top and add a new cue, "[":

user posted image

And that's all! Now, export your MIDI file (MIDI-Format 0 File), and compile it using your choice of tools (mid2agb for GBA, or smfconv + seqconv for NDS), and insert. Don't even touch your .s file, as there is no need to, well, unless you need to adjust something. If you're having conversion errors, try repairing the song in Anvil Studio, then try again. Have fun looping music!

And as a note that I want to toss in at the end of this, I noticed that all of this loop data is present in the MIDI files in the Fire Emblem 7 Sound Source as well, so you can see that this is, in fact, the in-house method and will not get any easier than this to loop.

#2 Fire Blazer

Fire Blazer

    You ready?

  • Creator
  • 12,103 posts
  • Gender:Male
  • Location:U.S.A.
  • Interests:Too many to list. =P

Posted 21 February 2013 - 07:24 AM

Huh, so this means we don't have to add manual loops, eh? Sounds interesting. Sadly I'm pretty much done music inserting and hacking as a wholebut this looks really nifty. Thanks for the share!


Signature thanks to Shu.

#3 boney



  • Members
  • PipPipPipPipPipPipPipPip
  • 493 posts

Posted 21 February 2013 - 03:23 PM

might be a little helpful but

what the fack is a .s file

#4 SmashedFish


    Tom is not for opening

  • Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1,858 posts
  • Gender:Not Telling
  • Interests:fictional characters

Posted 21 February 2013 - 03:51 PM

Says FE's music expert. GGWP, Pokemon hackers.

Nice find! Thanks a bunch, mate.

Images - 11/22 Writing - 5/17 FE: Immortal Shrine



Need help with hacking? Post in the subforum, or Skype me (smashedfish76).

#5 Team Fail

Team Fail


  • Members
  • Pip
  • 2 posts

Posted 21 February 2013 - 08:39 PM

QUOTE (Boney99 @ Feb 21 2013, 08:23 AM)
might be a little helpful but

what the fack is a .s file

Basically, it's a file with all of the MIDI data in a text format that Sappy interprets as note data when inserting music.
QUOTE (SmashedFish @ Feb 21 2013, 08:51 AM)
Says FE's music expert. GGWP, Pokemon hackers.

Nice find! Thanks a bunch, mate.

No problems. Anything to make hacking easier is always better.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users