News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: removing piece flip sound from tetris.gb  (Read 407 times)

blastfemmy

  • Newbie
  • *
  • Posts: 1
    • View Profile
removing piece flip sound from tetris.gb
« on: August 07, 2020, 12:18:51 am »
I was interested in possibly modifying original gameboy tetris' sound effects. In particular, removing and/or replacing the "piece flip" warbly noise as it is very irritating. If someone could point me in the right direction I would appreciate it.

Jorpho

  • Hero Member
  • *****
  • Posts: 4620
  • The cat screams with the voice of a man.
    • View Profile
Re: removing piece flip sound from tetris.gb
« Reply #1 on: August 07, 2020, 01:17:29 pm »
I almost reported you as a spambot.
https://www.reddit.com/r/Tetris/comments/i3vzsy/removing_piece_flip_sound_from_tetrisgb/

It looks like there have been several attempts to disassemble the code, but I'm not sure if any of them are complete yet.
https://www.google.com/search?q=tetris+game+boy+disassembly

Without an annotated diassembly, you will have to manually analyze the code on your own. This is an immensely laborious process.
This signature is an illusion and is a trap devised by Satan. Go ahead dauntlessly! Make rapid progres!

nesrocks

  • Hero Member
  • *****
  • Posts: 685
    • View Profile
    • nesrocks.com
Re: removing piece flip sound from tetris.gb
« Reply #2 on: August 07, 2020, 01:44:37 pm »
I don't know gb asm, but in the NES playing an sfx is usually done by lda, ldx or ldy a direct value, and then immediatelly calling a jsr (depends on the game). So I'd try to log as little code/data as possible during a piece flip, and then go replacing potential candidate bytes manually until jackpot is hit. It usually doesn't take too long.

Dracula X

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • My YouTube Page for ROM hacking
Re: removing piece flip sound from tetris.gb
« Reply #3 on: August 07, 2020, 07:35:28 pm »
Mesen-S emulator should help you out.
I might go back to Thunder Force II hacking again.