News: 11 March 2016 - Forum Rules

Author Topic: Replacing music in Bubble Bobble on NES  (Read 1043 times)

CaveOfMonsters

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
    • Cave Of Monsters
Replacing music in Bubble Bobble on NES
« on: April 11, 2022, 07:02:23 am »
I've been attempting to do this now for about 3 years and have had absolutely no success. The most I was able to achieve was making the music silent which also messed up a lot of other things in the rom.

Is there any documented information on how to do this?

I just need new music to replace the NES Bubble Bobble music and any help, advice or assistance is very appreciated.

Thank in advance.
« Last Edit: April 11, 2022, 02:19:08 pm by KingMike »

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 865
  • I am the baldest romhacker
    • View Profile
Re: Replacing music in Bubble Bobble on NES
« Reply #1 on: April 11, 2022, 04:28:18 pm »
Create new music and sfx in Famistudio and replace sound engine in the game.
https://famistudio.org

Jorpho

  • Hero Member
  • *****
  • Posts: 5226
  • The cat screams with the voice of a man.
    • View Profile
Re: Replacing music in Bubble Bobble on NES
« Reply #2 on: April 11, 2022, 07:04:28 pm »
I've been attempting to do this now for about 3 years and have had absolutely no success.
Have you learned anything in three years that you would care to share..?

Quote
Is there any documented information on how to do this?
As it is entirely likely that its sound engine is unique, it would not be surprising if there was no documented information.

As noted in the other post, sometimes completely replacing the sound engine is the best option.
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

CaveOfMonsters

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
    • Cave Of Monsters
Re: Replacing music in Bubble Bobble on NES
« Reply #3 on: April 12, 2022, 07:21:49 am »
That sounds like a great option I didnt even realise that was possible. How would I go about this? What will I need to replace the sound engine?

The progress I made was so far being able to locate the music blocks in the rom with a hex editor. Changing it to anything good has had no luck at all. I can make good soundtracks with things like Famitracker though so if I can replace the sound engine then that is the route I will take. But I need some advice on how to do it since I never even knew it was possible to do this.
« Last Edit: April 12, 2022, 09:34:26 am by CaveOfMonsters »

Jorpho

  • Hero Member
  • *****
  • Posts: 5226
  • The cat screams with the voice of a man.
    • View Profile
Re: Replacing music in Bubble Bobble on NES
« Reply #4 on: April 12, 2022, 10:00:32 am »
The progress I made was so far being able to locate the music blocks in the rom with a hex editor. Changing it to anything good has had no luck at all.
So, what makes you think you've located the music blocks if you can't change any of it..?
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 865
  • I am the baldest romhacker
    • View Profile
Re: Replacing music in Bubble Bobble on NES
« Reply #5 on: April 12, 2022, 10:44:52 am »
You'll need NES assembly knowledge and experience with assemblers. The program has docs with examples on the site.

CaveOfMonsters

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
    • Cave Of Monsters
Re: Replacing music in Bubble Bobble on NES
« Reply #6 on: April 13, 2022, 10:25:02 am »
So, what makes you think you've located the music blocks if you can't change any of it..?
Oh I've been able to change it. Sometime make it entirely silent. The hex glows blue with my NES debugging tools so that's how I found it. But it's not one block. The bassline is in a sperate block it seems to the main melody. Changing it into something that sounds good is the problem. Hex music making is a pretty horrendous task. Famitracker is good because it follows the same technique as cubase etc.

You'll need NES assembly knowledge and experience with assemblers. The program has docs with examples on the site.

Ah thank you I'll check this out.

Jorpho

  • Hero Member
  • *****
  • Posts: 5226
  • The cat screams with the voice of a man.
    • View Profile
Re: Replacing music in Bubble Bobble on NES
« Reply #7 on: April 13, 2022, 11:31:59 am »
I should add that if you can find an NSF for Bubble Bobble (and I'm sure there must be one out there somewhere), then that should contain the exact same code used in the ROM – just re-arranged. If you can figure out how to make changes to the NSF, then you can make corresponding changes to the complete ROM. But that will make it only marginally less of a pain in the neck.

While some programs like Famitracker can make NSF files, you can't use those in an arbitrary ROM without replacing the sound engine, as previously noted.
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

CaveOfMonsters

  • Jr. Member
  • **
  • Posts: 7
    • View Profile
    • Cave Of Monsters
Re: Replacing music in Bubble Bobble on NES
« Reply #8 on: April 13, 2022, 01:49:10 pm »
Ahh I see. I'll see if I can find that NSF though. It might at least help a bit. I'm honestly surprised that a game this iconic and classic hasnt been completely reverse engineered by now. Music editing in NES games is one if the most awkward things I've ever had to tackle.

Cyneprepou4uk

  • Hero Member
  • *****
  • Posts: 865
  • I am the baldest romhacker
    • View Profile
Re: Replacing music in Bubble Bobble on NES
« Reply #9 on: April 14, 2022, 09:53:43 pm »
https://www.zophar.net/music/nintendo-nes-nsf/bubble-bobble

Quote
But that will make it only marginally less of a pain in the neck.

I agree, NSF by itself doesn't help much. At the very least you won't be distracted by other gameplay code stuff while debugging it.