• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Forum moderator applications are now open! Click here for details.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

GBA Music Looping

Status
Not open for further replies.

clonex25

Just droppin' by...
74
Posts
16
Years
I think I've pretty much given up on successfully looping. Just too hard a concept for me to grasp. I mean it's like, how do you know what measure it is? How do you know where to loop? Too complicated. When the thing started crashing I pretty much said screw it because looping doesn't make sense to me(Could've sworn I put a loop in like 3 different places on a track and it still looped the same thing, I mean what sense does that make?).

I know, it's hard to know exactly where to loop. But to make things simple, know the parts which you want to hear over and over again. Then, place a marker (in the MIDI) to mark the parts you want to loop. Open the S file and find the measure number of the loop start (mark it Start/Begin in the MIDI) and subtract it by 1. For example, the measure is at 10, you must find @009 in the S file and place the loop label.
 

destinedjagold

You can contact me in PC's discord server...
8,593
Posts
16
Years
  • Age 33
  • Seen Dec 23, 2023
nope...
you can put those to all tracks...

or at least, that's what I know... :\
 

Magnius

Pokemon Music Hacking Guru
295
Posts
18
Years
  • Seen Feb 17, 2014
I know, it's hard to know exactly where to loop. But to make things simple, know the parts which you want to hear over and over again. Then, place a marker (in the MIDI) to mark the parts you want to loop. Open the S file and find the measure number of the loop start (mark it Start/Begin in the MIDI) and subtract it by 1. For example, the measure is at 10, you must find @009 in the S file and place the loop label.
I think it might even be giving me the wrong track numbers in the s file though. For instance I found something like "Fs, G, A" which is exactly the notes the song plays where I want to loop, but then I put the loop before that and nothing happens.
 

clonex25

Just droppin' by...
74
Posts
16
Years
Is the following possible also when looping? (It's in the spoiler)
Spoiler:

I haven't tried this before, but it may work. Post here if something goes wrong.
 

Teh Baro

In my times...!
521
Posts
18
Years
I'm glad you posted this because, although it all started with a post by me, I never had it clear.
Give and you shall receive.
 
7
Posts
16
Years
  • Seen Sep 1, 2014
how do you loop D/P music? my brother's working on a hack of his own, and he wants to use the Cyrus battle music for one of the 3 rivals in it.
 

Master_Track

ROM Reaverz Scripter
916
Posts
16
Years
with the help of midi2agb, just drag it onto the .exe file and a s-file will be created in the same folder.
the midi file will still be there.
 

Master_Track

ROM Reaverz Scripter
916
Posts
16
Years
it's been some time since the last post, so I hope my double posting is okay.
I've read your tutorial really carefully and I completely understand it now (though I have still problems figuring out where to loop xD But I'll get this too).
There's only one thing bothering me, this part of ther tes_r:
tes_r said:
@ 050 ----------------------------------------
.byte N92 , Fs3 , v064
.byte W92
.byte W02
.byte GOTO
.word tes_7_loop
.byte FINE

@**************** Track 8 (Midi-Chn.10) ****************@

Is it a mistake in the tes_r file or am I not understanding everything?
here, the w values together are w92 + w02 = w94, but it has to be w96 like in all the other tracks.
So, a mistake or is there a rule I don't know? ^^
(it's the same like the normal tes file, I checked it. the only difference is the loop, the values are the same).

Hope you read this ^^
 

clonex25

Just droppin' by...
74
Posts
16
Years
it's been some time since the last post, so I hope my double posting is okay.
I've read your tutorial really carefully and I completely understand it now (though I have still problems figuring out where to loop xD But I'll get this too).
There's only one thing bothering me, this part of ther tes_r:


Is it a mistake in the tes_r file or am I not understanding everything?
here, the w values together are w92 + w02 = w94, but it has to be w96 like in all the other tracks.
So, a mistake or is there a rule I don't know? ^^
(it's the same like the normal tes file, I checked it. the only difference is the loop, the values are the same).

Hope you read this ^^

Well, first of all, I would like to thank you for that (I didn't notice that because I was in a rush that time, I forgot to double check). To make it equal to 96 just modify the Wxx code (without anything before it) to W04 to make it W96.
 
Last edited:
12
Posts
15
Years
  • Seen Jul 5, 2010
help me

can someone tell why this will not work. it assembles in sappy but in the game there is silence. this tune worked when i hadn't tried to loop it.
PHP:
.include "MPlayDef.s"

    .equ    Zelda_grp, voicegroup000
    .equ    Zelda_pri, 0
    .equ    Zelda_rev, 0
    .equ    Zelda_mvl, 127
    .equ    Zelda_key, 0
    .equ    Zelda_tbs, 1
    .equ    Zelda_exg, 0
    .equ    Zelda_cmp, 1

    .section .rodata
    .global    Zelda
    .align    2

@**************** Track 1 (Midi-Chn.1) ****************@

Zelda_1:
    .byte        VOL   , 127*Zelda_mvl/mxv
    .byte    KEYSH , Zelda_key+0
@ 000   ----------------------------------------
    .byte    TEMPO , 148*Zelda_tbs/2
    .byte        VOICE , 71
    .byte        N48   , As3 , v064
    .byte    W64
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 001   ----------------------------------------
Zelda_1_001:
    .byte        N07   , As3 , v064
    .byte    W16
    .byte        N05   , Gs3 
    .byte    W08
    .byte        N32   , As3 
    .byte    W40
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte    PEND
@ 002   ----------------------------------------
    .byte    PATT
     .word    Zelda_1_001
@ 003   ----------------------------------------
    .byte        N08   , As3 , v064
    .byte    W12
    .byte        N04   , Fn3 
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N08   
    .byte    W12
@ 004   ----------------------------------------
Zelda_1_004:
    .byte        N16   , As3 , v064
    .byte    W24
    .byte        N32   , Fn3 
    .byte    W42
    .byte        N05   , As3 
    .byte    W06
    .byte        N05   
    .byte    W06
    .byte                Cn4 
    .byte    W06
    .byte                Dn4 
    .byte    W06
    .byte                Ds4 
    .byte    W06
    .byte    PEND
@ 005   ----------------------------------------
Zelda_1_005:
    .byte        N44   , Fn4 , v064
    .byte    W60
    .byte        N08   
    .byte    W12
    .byte        N07   
    .byte    W08
    .byte                Fs4 
    .byte    W08
    .byte                Gs4 
    .byte    W08
    .byte    PEND
@ 006   ----------------------------------------
    .byte        N54   , As4 
    .byte    W56
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte                Gs4 
    .byte    W08
    .byte                Fs4 
    .byte    W08
@ 007   ----------------------------------------
    .byte                Gs4 
    .byte    W16
    .byte                Fs4 
    .byte    W08
    .byte        N44   , Fn4 
    .byte    W48
    .byte        N23   
    .byte    W24
@ 008   ----------------------------------------
    .byte        N11   , Ds4 
    .byte    W12
    .byte        N05   
    .byte    W06
    .byte                Fn4 
    .byte    W06
    .byte        N44   , Fs4 
    .byte    W48
    .byte        N11   , Fn4 
    .byte    W12
    .byte                Ds4 
    .byte    W12
@ 009   ----------------------------------------
    .byte                Cs4 
    .byte    W12
    .byte        N05   
    .byte    W06
    .byte                Ds4 
    .byte    W06
    .byte        N44   , Fn4 
    .byte    W48
    .byte        N11   , Ds4 
    .byte    W12
    .byte                Cs4 
    .byte    W12
@ 010   ----------------------------------------
Zelda_1_loop:
Zelda_1_010:
    .byte        N11   , Cn4 , v064
    .byte    W12
    .byte        N05   
    .byte    W06
    .byte                Dn4 
    .byte    W06
    .byte        N44   , En4 
    .byte    W48
    .byte        N23   , Gn4 
    .byte    W24
    .byte    PEND
@ 011   ----------------------------------------
    .byte        N08   , Fn4 
    .byte    W12
    .byte        N04   , Fn3 
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N08   
    .byte    W12
@ 012   ----------------------------------------
    .byte    PATT
     .word    Zelda_1_004
@ 013   ----------------------------------------
    .byte    PATT
     .word    Zelda_1_005
@ 014   ----------------------------------------
    .byte        N68   , As4 , v064
    .byte    W72
    .byte        N23   , Cs5 
    .byte    W24
@ 015   ----------------------------------------
    .byte        N12   , Cn5 
    .byte    W24
    .byte        N40   , An4 
    .byte    W48
    .byte        N23   , Fn4 
    .byte    W24
@ 016   ----------------------------------------
    .byte        N52   , Fs4 
    .byte    W72
    .byte        N23   , As4 
    .byte    W24
@ 017   ----------------------------------------
    .byte        N12   , An4 
    .byte    W24
    .byte        N40   , Fn4 
    .byte    W48
    .byte        N23   
    .byte    W24
@ 018   ----------------------------------------
    .byte        N44   , Fs4 
    .byte    W72
    .byte        N23   , As4 
    .byte    W24
@ 019   ----------------------------------------
    .byte        N11   , An4 
    .byte    W24
    .byte        N44   , Fn4 
    .byte    W48
    .byte        N23   , Dn4 
    .byte    W24
@ 020   ----------------------------------------
    .byte        N44   , Ds4 
    .byte    W72
    .byte        N23   , Fs4 
    .byte    W24
@ 021   ----------------------------------------
    .byte        N11   , Fn4 
    .byte    W24
    .byte        N44   , Cs4 
    .byte    W48
    .byte        N23   , As3 
    .byte    W24
@ 022   ----------------------------------------
    .byte    PATT
     .word    Zelda_1_010
@ 023   ----------------------------------------
    .byte        N08   , Fn4 , v064
    .byte    W12
    .byte        N04   , Fn3 
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N08   
    .byte    W08
    .byte    FINE

@**************** Track 2 (Midi-Chn.2) ****************@

Zelda_2:
    .byte        VOL   , 127*Zelda_mvl/mxv
    .byte    KEYSH , Zelda_key+0
@ 000   ----------------------------------------
    .byte        VOICE , 71
    .byte        PAN   , c_v-1
    .byte        N48   , Dn3 , v060
    .byte    W64
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 001   ----------------------------------------
    .byte        N07   , Cn3 
    .byte    W16
    .byte        N05   
    .byte    W08
    .byte        N32   
    .byte    W48
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 002   ----------------------------------------
    .byte        N07   , Cs3 
    .byte    W16
    .byte        N05   
    .byte    W08
    .byte        N32   
    .byte    W40
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 003   ----------------------------------------
    .byte        N11   
    .byte    W12
    .byte        N04   , An2 
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N08   
    .byte    W12
@ 004   ----------------------------------------
Zelda_2_004:
    .byte        N16   , Dn3 , v060
    .byte    W24
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte                Cn3 
    .byte    W08
    .byte        N11   , Dn3 
    .byte    W18
    .byte        N05   
    .byte    W06
    .byte        N05   
    .byte    W06
    .byte                Ds3 
    .byte    W06
    .byte                Fn3 
    .byte    W06
    .byte                Gn3 
    .byte    W06
    .byte    PEND
@ 005   ----------------------------------------
Zelda_2_005:
    .byte        N17   , Gs3 , v060
    .byte    W18
    .byte        N05   , As3 
    .byte    W06
    .byte        N05   
    .byte    W06
    .byte                Cn4 
    .byte    W06
    .byte                Dn4 
    .byte    W06
    .byte                Ds4 
    .byte    W06
    .byte        N11   , Fn4 
    .byte    W12
    .byte        N11   
    .byte    W12
    .byte        N07   , Gs3 
    .byte    W08
    .byte                As3 
    .byte    W08
    .byte                Cn4 
    .byte    W08
    .byte    PEND
@ 006   ----------------------------------------
    .byte        N17   , Cs4 
    .byte    W18
    .byte        N05   , Fs3 
    .byte    W06
    .byte        N05   
    .byte    W06
    .byte                Gs3 
    .byte    W06
    .byte                As3 
    .byte    W06
    .byte                Cn4 
    .byte    W06
    .byte        N11   , Cs4 
    .byte    W12
    .byte        N11   
    .byte    W12
    .byte        N07   
    .byte    W08
    .byte                Cn4 
    .byte    W08
    .byte                As3 
    .byte    W08
@ 007   ----------------------------------------
    .byte                Cs4 
    .byte    W16
    .byte                Gs3 
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte                Fs3 
    .byte    W08
    .byte                Gs3 
    .byte    W16
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte                Fs3 
    .byte    W08
    .byte                Gs3 
    .byte    W08
@ 008   ----------------------------------------
    .byte        N14   , Fs3 
    .byte    W16
    .byte        N03   
    .byte    W04
    .byte                Fn3 
    .byte    W04
    .byte        N16   , Fs3 
    .byte    W16
    .byte        N03   
    .byte    W04
    .byte                Gs3 
    .byte    W04
    .byte        N23   , As3 
    .byte    W24
    .byte        N11   , Gs3 
    .byte    W12
    .byte                Fs3 
    .byte    W12
@ 009   ----------------------------------------
    .byte        N16   , Fn3 
    .byte    W16
    .byte        N03   
    .byte    W04
    .byte                Ds3 
    .byte    W04
    .byte        N16   , Fn3 
    .byte    W16
    .byte        N03   
    .byte    W04
    .byte                Fs3 
    .byte    W04
    .byte        N23   , Gs3 
    .byte    W24
    .byte        N11   , Fs3 
    .byte    W12
    .byte                Fn3 
    .byte    W12
@ 010   ----------------------------------------
Zelda_2_010:
    .byte        N23   , En3 , v060
    .byte    W24
    .byte        N17   
    .byte    W18
    .byte        N05   , Fn3 
    .byte    W06
    .byte        N16   , Gn3 
    .byte    W16
    .byte        N03   
    .byte    W04
    .byte                An3 
    .byte    W04
    .byte        N11   , As3 
    .byte    W12
    .byte                Cn4 
    .byte    W12
    .byte    PEND
@ 011   ----------------------------------------
    .byte        N08   , An3 
    .byte    W12
    .byte        N04   , An2 
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N08   
    .byte    W12
@ 012   ----------------------------------------
    .byte    PATT
     .word    Zelda_2_004
@ 013   ----------------------------------------
    .byte    PATT
     .word    Zelda_2_005
@ 014   ----------------------------------------
    .byte        N68   , Cs4 , v060
    .byte    W72
    .byte        N23   , En4 
    .byte    W24
@ 015   ----------------------------------------
    .byte        N12   , Ds4 
    .byte    W24
    .byte        N40   , Cn4 
    .byte    W48
    .byte        N23   , An3 
    .byte    W24
@ 016   ----------------------------------------
    .byte        N52   , Bn3 
    .byte    W72
    .byte        N23   , Cs4 
    .byte    W24
@ 017   ----------------------------------------
    .byte        N11   , Cn4 
    .byte    W24
    .byte        N40   , An3 
    .byte    W48
    .byte        N23   
    .byte    W24
@ 018   ----------------------------------------
    .byte        N44   , Bn3 
    .byte    W72
    .byte        N23   , Cs4 
    .byte    W24
@ 019   ----------------------------------------
    .byte        N11   , Cn4 
    .byte    W24
    .byte        N44   , An3 
    .byte    W48
    .byte        N23   
    .byte    W24
@ 020   ----------------------------------------
    .byte        N44   , Fs3 
    .byte    W72
    .byte        N23   , Bn3 
    .byte    W24
@ 021   ----------------------------------------
    .byte        N11   , As3 
    .byte    W24
    .byte        N44   , Fn3 
    .byte    W48
    .byte        N23   , Cs3 
    .byte    W24
@ 022   ----------------------------------------
    .byte    PATT
     .word    Zelda_2_010
@ 023   ----------------------------------------
    .byte        N08   , An3 , v060
    .byte    W12
    .byte        N04   , An2 
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N04   
    .byte    W06
    .byte        N04   
    .byte    W06
    .byte        N08   
    .byte    W12
    .byte        N08   
    .byte    W08
    .byte    FINE

@**************** Track 3 (Midi-Chn.3) ****************@

Zelda_3:
    .byte        VOL   , 127*Zelda_mvl/mxv
    .byte    KEYSH , Zelda_key+0
@ 000   ----------------------------------------
    .byte        VOICE , 85
    .byte        N16   , As1 , v127
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N16   
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 001   ----------------------------------------
    .byte        N16   , Gs1 
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N16   
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 002   ----------------------------------------
    .byte        N16   , Fs1 
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N16   
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 003   ----------------------------------------
    .byte        N11   
    .byte    W24
    .byte        N08   , Fn1 
    .byte    W24
    .byte        N08   
    .byte    W24
    .byte        N11   , Gn1 
    .byte    W12
    .byte                An1 
    .byte    W12
@ 004   ----------------------------------------
Zelda_3_004:
    .byte        N08   , As1 , v127
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte                Gs1 
    .byte    W08
    .byte        N08   , As1 
    .byte    W24
    .byte        N08   
    .byte    W24
    .byte    PEND
@ 005   ----------------------------------------
Zelda_3_005:
    .byte        N08   , Gs1 , v127
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte                Fs1 
    .byte    W08
    .byte        N08   , Gs1 
    .byte    W24
    .byte        N08   
    .byte    W24
    .byte    PEND
@ 006   ----------------------------------------
Zelda_3_006:
    .byte        N08   , Fs1 , v127
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte                En1 
    .byte    W08
    .byte        N08   , Fs1 
    .byte    W24
    .byte        N08   
    .byte    W24
    .byte    PEND
@ 007   ----------------------------------------
    .byte        N11   , Cs2 
    .byte    W24
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte                Bn1 
    .byte    W08
    .byte        N11   , Cs2 
    .byte    W24
    .byte        N11   
    .byte    W24
@ 008   ----------------------------------------
    .byte                Bn1 
    .byte    W24
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte                As1 
    .byte    W08
    .byte        N11   , Bn1 
    .byte    W24
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
@ 009   ----------------------------------------
    .byte        N11   , As1 
    .byte    W24
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte                Gs1 
    .byte    W08
    .byte        N11   , As1 
    .byte    W24
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
@ 010   ----------------------------------------
    .byte        N11   , Cn2 
    .byte    W24
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte                As1 
    .byte    W08
    .byte        N11   , Cn2 
    .byte    W24
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
    .byte        N07   
    .byte    W08
@ 011   ----------------------------------------
    .byte        N08   , Fn1 
    .byte    W24
    .byte        N08   
    .byte    W24
    .byte        N08   
    .byte    W24
    .byte        N11   , Gn1 
    .byte    W12
    .byte                An1 
    .byte    W12
@ 012   ----------------------------------------
    .byte    PATT
     .word    Zelda_3_004
@ 013   ----------------------------------------
    .byte    PATT
     .word    Zelda_3_005
@ 014   ----------------------------------------
    .byte    PATT
     .word    Zelda_3_006
@ 015   ----------------------------------------
    .byte        N08   , Fn1 , v127
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N07   , Ds1 
    .byte    W08
    .byte        N08   , Fn1 
    .byte    W24
    .byte        N08   
    .byte    W24
@ 016   ----------------------------------------
Zelda_3_016:
    .byte        N05   , En1 , v127
    .byte    W08
    .byte                As1 
    .byte    W08
    .byte                Cs2 
    .byte    W08
    .byte                En2 
    .byte    W08
    .byte                As2 
    .byte    W08
    .byte                Cs3 
    .byte    W08
    .byte        N08   , En3 
    .byte    W48
    .byte    PEND
@ 017   ----------------------------------------
Zelda_3_017:
    .byte        N08   , Fn3 , v127
    .byte    W24
    .byte        N05   , Fn1 
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N08   
    .byte    W48
    .byte    PEND
@ 018   ----------------------------------------
    .byte    PATT
     .word    Zelda_3_016
@ 019   ----------------------------------------
    .byte    PATT
     .word    Zelda_3_017
@ 020   ----------------------------------------
    .byte        N08   , Bn1 , v127
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte                As1 
    .byte    W08
    .byte        N08   , Bn1 
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 021   ----------------------------------------
    .byte        N08   , As1 
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte                Gs1 
    .byte    W08
    .byte        N08   , As1 
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 022   ----------------------------------------
    .byte        N08   , Cn2 
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N08   
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 023   ----------------------------------------
    .byte        N08   , Fn1 
    .byte    W24
    .byte        N08   
    .byte    W24
    .byte    W02
    .byte        N08   
    .byte    W22
    .byte        N11   , Gn1 
    .byte    W12
    .byte                An1 
    .byte    W11
    .byte    FINE

@**************** Track 4 (Midi-Chn.10) ****************@

Zelda_4:
    .byte        VOL   , 127*Zelda_mvl/mxv
    .byte    KEYSH , Zelda_key+0
@ 000   ----------------------------------------
    .byte        VOICE , 0
    .byte        N16   , Dn1 , v044
    .byte    W72
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
@ 001   ----------------------------------------
Zelda_4_001:
    .byte        N16   , Dn1 , v044
    .byte    W72
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte    PEND
@ 002   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_001
@ 003   ----------------------------------------
    .byte        N08   , Dn1 , v044
    .byte    W24
    .byte        N08   
    .byte    W24
    .byte        N08   
    .byte    W24
    .byte        N08   
    .byte    W12
    .byte        N08   
    .byte    W12
@ 004   ----------------------------------------
Zelda_4_004:
    .byte        N08   , Dn1 , v044
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N08   
    .byte    W24
    .byte        N08   
    .byte    W24
    .byte    PEND
@ 005   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 006   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 007   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 008   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 009   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 010   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 011   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 012   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 013   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 014   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 015   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 016   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 017   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 018   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 019   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 020   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 021   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 022   ----------------------------------------
    .byte    PATT
     .word    Zelda_4_004
@ 023   ----------------------------------------
    .byte        N08   , Dn1 , v044
    .byte    W24
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N05   
    .byte    W08
    .byte        N08   
    .byte    W24
    .byte        N08   
    .byte    W08
        .byte GOTO 
    .word Zelda_1_loop
    .byte W06
@ 024   ---------------------------------------- 
    .byte    FINE

@******************************************************@
    .align    2

Zelda:
    .byte    4    @ NumTrks
    .byte    0    @ NumBlks
    .byte    Zelda_pri    @ Priority
    .byte    Zelda_rev    @ Reverb.

    .word    Zelda_grp

    .word    Zelda_1
    .word    Zelda_2
    .word    Zelda_3
    .word    Zelda_4

    .end
 

pokemonlover93

The Crystal Sharder.
29
Posts
16
Years
I can't seem to loop, I don't want to be a burden but, Clonex25, do you hink you could loop my tracks for me? Or send me some .s files that are of the Johto series only? Please? That they're looped already?



EDIT: Okay I found the Problem but I can't fix it, I accidentally hit OPEN WITH. and I hit Notepad but the ALWAYS OPEN IT WITH THIS APPLICATION was Checked,I can't assemble .s files anymore, sappy closes itself and has that Don't send stuff, Anyway that I can fix it? I need to finish what I started!
 
Last edited:

clonex25

Just droppin' by...
74
Posts
16
Years
I can't seem to loop, I don't want to be a burden but, Clonex25, do you hink you could loop my tracks for me? Or send me some .s files that are of the Johto series only? Please? That they're looped already?



EDIT: Okay I found the Problem but I can't fix it, I accidentally hit OPEN WITH. and I hit Notepad but the ALWAYS OPEN IT WITH THIS APPLICATION was Checked,I can't assemble .s files anymore, sappy closes itself and has that Don't send stuff, Anyway that I can fix it? I need to finish what I started!

You must download some kernel32 fix to make this work. Worst case, you must re-install your OS (Windows XP would be fine, and I mean a full re-formatting).
 

clonex25

Just droppin' by...
74
Posts
16
Years
would like know clonex why drum (acoustic grand channel 10)no sound in rom when i use string ensemble 1 and some other instrument?
all compatile instrument work fine
why drum no drum no?
what i can do?

Have you used more than 5 tracks or more than 6 instruments in your MIDI? If yes, then some of the tracks won't play at all. Also, some voicegroups don't have a percussion or has a different instrument for drums (but always use Channel 10 for it).
 

Magnius

Pokemon Music Hacking Guru
295
Posts
18
Years
  • Seen Feb 17, 2014
Have you used more than 5 tracks or more than 6 instruments in your MIDI? If yes, then some of the tracks won't play at all. Also, some voicegroups don't have a percussion or has a different instrument for drums (but always use Channel 10 for it).
lol pretty much same answer I gave him
 
Status
Not open for further replies.
Back
Top