Jump to content



Toggle shoutbox Shoutbox Open the Shoutbox in a popup

@  Oblivion Knight : (26 February 2024 - 11:30 AM) Whoa I can edit a typo. The technology.
@  Oblivion Knight : (26 February 2024 - 11:29 AM) Obligatory message.
@  Elwood : (02 January 2024 - 04:19 AM) Happy New Year!!!
@  Aaron : (13 February 2023 - 09:19 PM) I'm still out here alive. If you remember me, I hope you're doing well!
@  Aaron : (13 February 2023 - 09:09 PM) 2023 and this place is still up huhh
@  Elwood : (05 January 2023 - 07:58 AM) Ah a Christmas greeting from Wolfie! Even if I saw it way late Merry Christmas and Happy New Year to everybody!
@  Cero : (31 December 2022 - 09:27 PM) Man that bot went crazy
@  Whitewolf8 : (24 December 2022 - 10:02 AM) I return once more on the eve of Christmas to haunt you all again!... Mainly Elwood. Hello!
@  Elwood : (25 November 2022 - 04:58 AM) A bot! Ah the nostalgia!
@  Elwood : (02 November 2022 - 02:30 PM) Yo ho ho ho! Thar be the white wolf!
@  Whitewolf8 : (24 October 2022 - 12:29 AM) Well, blimey it's been a while. Hoy there! If anyone's still alive here anyway.
@  Valke : (21 April 2022 - 12:12 PM) im taking the 2nd shout of 2022 😂
@  Elwood : (03 March 2022 - 10:12 PM) Mwuhahaha! The first shout of 2022 is mine!
@  Fire Blazer : (12 November 2021 - 05:22 PM) *also stretches arms a little*
@  xcrash1998 : (07 November 2021 - 08:42 PM) "streches arms"
@  Ezra : (07 May 2021 - 05:20 AM) Maybe I'll pop on the discord soon
@  Fire Blazer : (01 April 2021 - 08:08 PM) Aaaaaaand done~ :P
@  xcrash1998 : (29 March 2021 - 08:52 AM) I guess we are one more post away from counting to 2500
@  Fire Blazer : (10 March 2021 - 11:39 PM) but I have bad memory and can't remember ;(
@  Elwood : (15 February 2021 - 10:23 AM) I'd like to but I've told you about my issues with discord before.

Photo

Music Looping Info from the Pokémon Community


  • Please log in to reply
4 replies to this topic

#1 Team Fail

Team Fail

    Newbie

  • 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!

Bblazer2.png

Signature thanks to Shu.


#3 boney

boney

    noob

  • 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

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
forum_signature__aeiou_by_sakowfniapqf-d

 

Spoiler


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


#5 Team Fail

Team Fail

    Newbie

  • 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.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users