LostArtefacts / TR2X

Decompilation project for Tomb Raider II (1997), along with additional enhancements and bugfixes
https://lostartefacts.dev/
GNU General Public License v3.0
58 stars 3 forks source link

OG bug: Audio issue after setup #48

Open aredfan opened 8 months ago

aredfan commented 8 months ago

I've come across a very specific audio bug. These are the steps to reproduce:

  1. Delete the TR2 registry folder
  2. Launch TR2X and do setup
  3. Start the game
  4. Start Lara's Home level without doing anything else
  5. When Lara starts speaking, open and close the inventory

If done correctly, Lara would have stopped speaking and all other music tracks doesn't play. Exit to Title and there's no music on the Main Menu. Quit and reopen the game and the bug itself can be reproduced with the same steps laid out above. The bug itself persisted until after I opened the ingame Sound settings.

3

Note the "165" in MusicVolume - this is the default value when setting up TR2 for the first time. I'm guessing this is the cause of said bug because the value changed to "10" after I accessed the ingame Sound settings (which also fixed the bug).

4

aredfan commented 2 months ago

Dev snapshot: 0.2-2-g76b7a25


@rr- I did a quick test for this issue. First I deleted the TR2 registry folder then ran setup. When I got to the main menu it was very loud. I would advise lowering the volume to a very low level when testing this bug. This behaviour differs from the OG bug where the music does not play.

Edit: Meant to say the music isn't loud in OG.