Author Topic: Music Lock / Unlock bug (Fixed)  (Read 3313 times)

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Music Lock / Unlock bug (Fixed)
« on: 2016-04-08 23:49:09 »
The "music lock" [f5] opcode/function is broken on PC. It's being ignored (in blin67_3, for example).  The PC version loses the lock on map change, when it should carry.

It gets reset to 0 (unlocked)  at 63C060 on field change - when it should not.  The function in question is 613FD9.

I am unsure if nopping this will solve the issue, but it's definitely worth a shot. This may also fix a lot of other issues in the game. The turks' theme not playing and so on.

If anyone wants to test that with me - change memory 63C060 to 90 90 90 90 90 90 90

It does appear to fix the issue.  You can monitor the lock / unlock bit at CBF9C0

This should also fix the issue with Turks' Theme not playing, Cid's theme ending - and a ton more.  I need to check though.

There are two other 00 resets near this address - and I wonder if those are doing something they shouldn't.
« Last Edit: 2016-04-09 05:45:52 by DLPB »

Kaldarasha

  • *
  • Posts: 2449
  • Prince of Model Editing
    • View Profile
Re: Music Lock / Unlock bug (Fixed)
« Reply #1 on: 2016-04-13 06:23:16 »
Now I do remember that there was a bug with the original midi music, where it starts from the beginning after a battle. Maybe that's fixed by that value, too. I have the hunch that the other both 00 could be the sound channel 1 and 2 which doesn't work as they should. I always have the feeling that the sound at the motorcycle minigame didn't work correctly.

DLPB_

  • Banned
  • *
  • Posts: 11006
    • View Profile
Re: Music Lock / Unlock bug (Fixed)
« Reply #2 on: 2016-04-13 08:35:56 »
If that was a problem - then it's now fixed. Not by me. It may be Aali's driver.  I just checked in game and music continues after battle.