Using 8F to produce music.
Posted by: ravioli
Date: 2016-08-09 22:40:04
Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.
You can join Glitch City Research Institute to ask questions or discuss current developments.
You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.
It looks like he didn't actually use 8F to generate the music, he just used it to redirect the music pointers into an area of RAM where he'd inserted the song.
The RBY music format has been touched on here and there are tools such as this one that you can use to import your own songs. It says in the video that he used a save editor, so he may have used those tools and then written it into his game's SRAM.
From what I'm reading in that first link, can't you theoretically access the music header of an existing song (for example Pallet Town's music header is 822E-8236) and manually overwrite each byte of RAM that represents a note on the scale with 8F? Then you can edit the loop points and etc. If possible with 8F, I can imagine it taking an exorbitant amount of time.
It looks like he didn't actually use 8F to generate the music, he just used it to redirect the music pointers into an area of RAM where he'd inserted the song.
The RBY music format has been touched on here and there are tools such as this one that you can use to import your own songs. It says in the video that he used a save editor, so he may have used those tools and then written it into his game's SRAM.
From what I'm reading in that first link, can't you theoretically access the music header of an existing song (for example Pallet Town's music header is 822E-8236) and manually overwrite each byte of RAM that represents a note on the scale with 8F? Then you can edit the loop points and etc. If possible with 8F, I can imagine it taking an exorbitant amount of time.
How do you write it into SRAM? I thought it could only be written in RAM? Am I just stupid? I thought that tool only had use for ROMs.
This is also from his description.
''Basically, 8F is a glitch item, it jumps PC to WRAM, and you can make ASM routines with items. By doing so, and loading a song into pokemon box 1, and saving, it can be played without any external device''
Is this stuff really not documented?
How could he have done this? I'm interested.
Yep, that's what he did. He could've used 8F to write the music into the box 1 data, but it would've taken forever.
How could he have done this? I'm interested.