Views: 854,138,318
16 users online:  1UPdudes, Alex_X8, Dan Drigues, Drakel, Eduard, Isikoro,  JamesD28, kiki79250,  Lazy, Narcologer,  patcdr, RaymanFan1995, Romano338, smallroguefish, WhiteYoshiEgg, Zidan3 - Guests: 35 - Bots: 62 Users: 47,132 (2,480 active)
Latest: Based Seraph
Tip: Even though good graphics may make people interested in your hack, what really counts is how fun it is to play.Not logged in.
I have discovered a AMK bug.
Forum Index - SMW Hacking - SMW Hacking Help - Custom Music - I have discovered a AMK bug.
Pages: « 1 »
When I generate a SPC (norom) with the following file (minimal test case),
#amk 1

#3 v255 o4
@24 >c4 c4<

The first note is the wrong octave, but the second is correct octave.

If I do this,
@24 o4 [>c4 c4<]2

or this,
@24 o4 > [c4 c4]2

the first note of each loop is wrong.

But if I do this,
@24 o4 > c4 [c4 c4]2

only the note before the loop is wrong.

I don't know if the bug is present in the music data inserted into the ROM.

Not exactly a bug. Due to how the engine works, percussion instruments (from @21 to @29) will always play at a given pitch (@24 plays o4c for instance). But this only affects the first note after the instrument definition, which is why we usually redefine them before every note (which does not increase insert size however).

If you want to play these at whatever pitch you want, try making a custom instrument with e.g. @24 as a base:

	@24 $FE $6A $B8 $07 $00
Where do I get the default hex values of original instruments?
What is the correspondence between the tuning hex values and the pitch?

If you scroll down a bit here you can see all of them.

I'm not really sure about the corrispondence between tuning values and the actual pitch though.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - Custom Music - I have discovered a AMK bug.

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy