You are not logged in.
Pages: 1
Hey all, as the title says I was wondering if it was possible to add new music directly into the disassembly without a rom. I haven't seen any tutorials on it, only ones to implement new music into a rom. If anyone's tried it I would appreciate some insight, as I'm at a loss to adding my own tracks.
Offline
I've been doing this with music by Mmmmmm and Pum for Polished Crystal.
First you'll need an .asm file defining the music. (I can't help you with writing those.) Let's use littleroottown.asm, which defines Music_LittlerootTown.
• Put littleroottown.asm in audio/music.
• Edit audio/music_pointers.asm to append:
dba Music_LittlerootTown
• Edit constants/music_constants.asm to append:
const MUSIC_LITTLEROOT_TOWN
• Edit audio.asm to add in one of the music sections:
INCLUDE "audio/music/littleroottown.asm"
If you get an error like "Unable to load fixed ROMX section into bank $1F", you can start your own section like this:
SECTION "Custom Songs", ROMX
INCLUDE "audio/music/littleroottown.asm"
• Now use it in a map! Edit maps/map_headers.asm and replace one of the MUSIC constants, maybe MUSIC_NEW_BARK_TOWN, with MUSIC_LITTLEROOT_TOWN. It should simply work! (Assuming the music file was written correctly.)
Last edited by Rangi (2016-08-09 00:56:20)
My projects on GitHub:
• Polished Map 4.5.4 or 2.5.4++
• Tilemap Studio 3.2.2
• Pokémon Polished Crystal 2.2.0 or 3.0.0 beta
• Pokémon Red★/Blue★: Space World Edition 2020-11-01
Offline
Thanks for the answer. For sure solves at least half my problems, now I just need to find out if I can convert a midi to an .asm file without too much trouble.
Offline
Thanks for the answer. For sure solves at least half my problems, now I just need to find out if I can convert a midi to an .asm file without too much trouble.
Its pretty easy to do. If you're using Anvil Studio, the only 2 things you need to do are to save all the channels of your MIDI file separately, and to save them as 0-format.
Here you can see it being done in a video
Last edited by Pum (2016-08-10 23:19:53)
Offline
Thank you, Pum.
Offline
Pages: 1