Hello @Pieman711, can you test how this game behaves with Proton Experimental?
I've updated the report above to fill in some more details.
I've tried with proton 8 and proton eperimental. Both times it gets to the same point but instead of crashing back to steam it freeze and then I get a dialogue asking if I want to "wait" or "force quit". I don't get a log for it then. Is there anyway to get a log output even if I force quit?
with proton-GE 6 it doesn't start at all and I think this may be the error
wine: failed to open L"C:\windows\system32\steam.exe": c0000135
1362.189:00f4:00f8:trace:module:FindResourceExW 0000000140000000 #0006 #0007 0000
1362.189:00f4:00f8:trace:module:LoadResource 0000000140000000 000000014000A188
Application could not be started, or no application associated with the specified file.
ShellExecuteEx failed: Module not found.
I've found the problem with not getting logs when the programme freezes rather than crashes. If I use PROTON_LOG=1 rather than WINDDEBG it works properly and I get logs.
When I use Proton 8, 9 or experimental the game doesn't crash/close at that point but does hang/freeze.
The log file for this was about 300mb big, but seemed to be the same 255 lines repeating over and over.
This is the output immediately before the recurring 255 lines of log:
1780.731:0124:0128:trace:loaddll:build_module Loaded L"Z:\media\data\steamlibrary\steamapps\common\Franchise Hockey Manager 10\texttospeech\qtexttospeech_sapi.dll" at 00006FFFFBB20000: native
1780.732:0124:0128:trace:loaddll:build_module Loaded L"C:\windows\system32\Speech\Common\sapi.dll" at 00006FFFFBAC0000: builtin
1780.732:0124:0128:fixme:sapi:spvoice_SetInterest (000000001407BBD8, 24000fffe, 24000fffe): stub.
1780.732:0124:0128:fixme:sapi:spvoice_SetNotifyCallbackInterface (000000001407BBD8, 0000000001A5CE90, 0, 0): stub.
1780.733:0124:0128:fixme:sapi:data_key_EnumValues stub
1780.733:0124:0128:warn:seh:OutputDebugStringW L"ISpDataKey::EnumValues failed\n"
this is the recurring lines of log output:
steam-2384610_recurring_snippet.log
I tried with the launch options:
WINEDLLOVERRIDES=sapi=d
nd
WINEDLLOVERRIDES=sapi=N
and it would revert to the previous behaviour with the crash rather than the freeze, and the log looked like how it did with the proton 5.10 log at the top of this report.
I'm sure the issue is the text to speech part and the sapi.dll, but could wrong.
I think I've cracked it!
The issue is the texttospeech dll that's included with the game. Deleting the dll file seems to stop it crashing or hanging. It means the text to speech function won't work, but it's a big improvement than not running at all.
The "fix" seems to be to remove:
qtexttospeech-sapi-dll
(or rename it qtexttospeech-sapi-dll.BACKUP)
from the path:
steamlibrary\steamapps\common\Franchise Hockey Manager 10\texttospeech\
(alternatively you can use the launch option:
WINEDLLOVERRIDES=qtexttospeech-sapi-dll=d
To have the same effect)
then it appears to behave properly!
I haven't had a full play to see if there are any other errors, but if this was fixed more formally I think it would make the game 100% playable
As far as I can see it now works flawlessly on my ubuntu computer, but there are some serious graphic glitches on my steam deck (players, stadium, puck, goals not displayed. It's a grey screen with a logo in the middle). Do I need to open that as a new issue or continue working through it here?
More testing and pouring through logs...
I think the issue may be how the steam deck handles QPainter.
I see this issue in the deck log that I don't see in the Ubuntu log (where the graphics render properly)
QPainter::begin paint device returned engine == 0, type 2.
Does anyone have a suggestion as to why this may only happen on the deck?
I've deleted and reinstalled the game and the graphics bug has gone. It's not a steam deck/proton issue after all.
With the workaround above to disable the text to speech dll it now seems to work perfectly on the deck and Ubuntu.
proton 5.10x1 2024-03proton experimentalx1 2024-03proton 5.0-10bx1 2024-03WINEDLLOVERRIDES=qtexttospeech-sapi-dll=dx1 2024-03PROTON_LOG=1x1 2024-03WINEDLLOVERRIDES=sapi=Nx1 2024-03WINEDLLOVERRIDES=sapi=dx1 2024-03qtexttospeech_sapi.dllx1 2024-03sapi.dllx1 2024-03steamclient64.dllx1 2024-03
Compatibility Report
System Information Steam deck without modification
I confirm:
steam-2384610.log
Symptoms
The game runs fine, unless you try to watch a simulated ice hockey match. It then crashes completely.
I wonder if the issue is to do with the text to speech API
this is the start of the backtrace:
=>0 0x0000000003ee4774 EntryPoint+0xffffffffffffffff() in qtexttospeech_sapi (0x0000000000219d39)
It looks like text to speech was added for the part of the game where it crashes in the iteration of the game prior to this one (FHM9)
Reproduction
This is fully reproduceable. It happens on my steam deck and on my PC.
Steps to reproduce:
Happens any time a game is "watched" rather than autosimulated but the quickest way to reproduce is:
start game
select "new exhibition game"
click play
click continue
click play game
this is when it crashes
I've also attached a log where the programme hasn't crashed (opened and closed the game properly without attempting to watch a game).
steam-2384610_NO_CRASH.log
Here is the part of the log from the unhandled exception from when it did crash: