julianxhokaxhiu / FFNx

Next generation modding platform for Final Fantasy VII and Final Fantasy VIII ( with native Steam 2013 release support! )
GNU General Public License v3.0
357 stars 48 forks source link

[ FF7 ] Sound is probably set to 0 during or after cutscenes #150

Closed KondPa closed 3 years ago

KondPa commented 3 years ago

I tried playing FF7 with TSUNAMODS SYW V5 and 7th heaven and had to update to the latest stable FFNx 1.8.1 and during reactor explosion, all sound stoped as soon as cutscene started and did not return until I exited the game and reloaded on the spot after the cutscene. Next train cutscene while had sounds still caused the game to get mute after it. The same thing happened on clean reinstall of FFNx 1.8.0, but sound worked as intended when I tried to reinstall and launch the game with FFNx version that came with 7th Heaven. To Reproduce 1)Get to the part where Cloud has to jump on the train 2)Sound stops as soon as cutscene finishes

Expected behavior Game sounds should be restored after cutscenes

GPU (please complete the following information):

Windows 10 1909

Additional context Based on log file I guess that game just sets sound to 0 [00000000] INFO: FFNx driver version 1.8.0.0 [00000000] TRACE: v1: 0x99CE0805, v2: 0xAC0D8B00 [00000000] INFO: Auto-detected version: FF7 1.02 US English [00000000] TRACE: Applied Hext patch: hext/ff7/en\FFNx.FIELD.vertical_center.txt [00000000] TRACE: Applied Hext patch: hext/ff7/en\FFNx.MENU.save_everywhere.txt [00000000] INFO: Original resolution 640x480, New resolution 640x480, Internal resolution 1280x960 [00000000] INFO: Max texture size: 16384x16384 [00000000] INFO: FFMpeg movie player plugin loaded [00000000] INITIALIZE DD/D3D START [00000000] LOCK UNLOCK TEST [00000000] TRACE: XInput controller: connected. [00000001] MATRIX INITIALIZE [00000001] INITIALIZE DD/D3D END [00000001] initializing sound... [00000001] creating dsound primary buffer [00000001] reading audio file [00000001] loading static sounds [00000001] sound initialized [00000001] INITIALIZING MIDI... [00000001] selecting device 0:Microsoft GS Wavetable Synth, mid=1, pid=27, [00000001] midi data type: GENERAL MIDI [00000001] using midi data file: D:\Games\SteamLibrary\steamapps\common\FINAL FANTASY VII\data\midi\midi.lgp [00000001] midiOutGetVolume returned: ffffffff [00000001] MIDI INITIALIZED [00000001] set music volume: 127 [00000001] MIDI set volume: 127 [00000001] 100% of 127 = 127 [00000001] set music volume: 127 [00000001] MIDI set master volume: 100 [00000001] MIDI set volume: 127 [00000001] 100% of 127 = 127 [00000001] Entering MAIN [00000001] Exiting MAIN [00000001] START OF CREDITS!!! [00000081] set music volume trans: 127->0, step=60 [00000081] MIDI set volume trans: 127->0; step=60 [00000113] MIDI stop [00000113] - OK [00000145] MIDI stop [00000145] - OK [00000146] END OF CREDITS!!! [00000146] Entering MAIN [00000146] set music volume: 127 [00000146] MIDI set volume: 127 [00000146] 100% of 127 = 127 [00000146] Exiting MAIN [00000146] START OF MENU SYSTEM!!! [00000439] END OF MENU SYSTEM!!! [00000439] Entering MAIN [00000439] TRACE: MODE_UNKNOWN21 [00000443] Exiting MAIN [00000443] Field Start [00000443] MIDI play: 9 [00000443] reading midi file: KURAI.mid [00000443] current volume: 127 [00000443] MIDI is playing SUCCESSFULLY!!! [00001440] set music volume trans: 127->0, step=90 [00001440] MIDI set volume trans: 127->0; step=90 [00001503] MIDI stop [00001503] - OK [00001529] MIDI stop [00001529] - OK [00001529] set music volume: 127 [00001529] MIDI set volume: 127 [00001529] 100% of 127 = 127 [00001530] set music volume: 0 [00001530] MIDI set volume: 0 [00001530] 100% of 0 = 0 [00001530] MIDI stop [00001530] - OK [00003896] Entering MAIN [00003898] Exiting MAIN [00003898] START OF MENU SYSTEM!!! [00004193] WM_CLOSE [00004193] END OF MENU SYSTEM!!! [00004193] Field Quit [00004193] MIDI stop [00004193] - OK [00004193] resetting MIDI driver volume [00004193] - OK [00004193] UNINITIALIZE DD [00004194] END UNINITIALIZE DD

julianxhokaxhiu commented 3 years ago

Thank you for the bug report. Please try with the latest canary and report back.

KondPa commented 3 years ago

Seems the same though since I was clean installing the game every time, I tried the steam version of FFNx on clean game and there sound was working fine on canary build. Maybe error is in 1998 version or its compatibility with 7th heaven.

julianxhokaxhiu commented 3 years ago

Seems the same though since I was clean installing the game every time, I tried the steam version of FFNx on clean game and there sound was working fine on canary build. Maybe error is in 1998 version or its compatibility with 7th heaven.

If it's working fine on FFNx standalone on the latest canary I'll be happy to close this issue then. Sorry, no support for 7th here :)

Cheers!

dijidiji commented 3 years ago

I realise this is a closed issue, but I had the same problem pairing 7H with the newer version of FFNx and solved it with this option in the FFNx.toml: use_external_music = true

Perhaps something to note in the install guide?