Skeetendo

’Cause all games were better on the GBC

You are not logged in.

#1 2016-08-08 23:30:24

Kuroko Aizawa
Member
Registered: 2011-12-01
Post 318/494

Using MIDI2GSC to add new music to pokecrystal?

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

#2 2016-08-09 00:21:55

Rangi
Member
Registered: 2016-05-09
Post 76/771

Re: Using MIDI2GSC to add new music to pokecrystal?

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)


ROM hack: Pokémon Polished Crystal (GitHub) — version 2.2.0 released!

Offline

#3 2016-08-09 02:12:46

Kuroko Aizawa
Member
Registered: 2011-12-01
Post 319/494

Re: Using MIDI2GSC to add new music to pokecrystal?

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

#4 2016-08-10 23:19:06

Pum
Member
From: Spain
Registered: 2015-10-23
Post 46/71

Re: Using MIDI2GSC to add new music to pokecrystal?

Pia Carrot wrote:

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

#5 2016-08-11 19:25:36

Kuroko Aizawa
Member
Registered: 2011-12-01
Post 322/494

Re: Using MIDI2GSC to add new music to pokecrystal?

Thank you, Pum.

Offline

Board footer

Powered by FluxBB