Join us on our own very special Reddit on /r/Linuxers.

Wine and Proton have a 'Curious Case of Phasmophobia'

By - | Views: 21,137

Want to play Phasmophobia on a Linux desktop or Steam Deck? Well, it still doesn't yet work fully as the voice recognition isn't there but support for it is coming thanks to the Wine team.

On Steam you would use Proton (which is built from Wine) since it's a Windows game, but the problem is that Phasmophobia uses Windows-specific voice recognition which you can't replicate right now. Recently though, Wine development version 7.4 was released and the changelog noted some additions for speech recognition.

To give more info, World Wine News issue 414 went up titled "The Curious Case of Phasmophobia" and as it turns out, the work involved is to directly help this game (and as a bonus of course bring speech recognition to Wine / Proton) as it's a good popular game to test with.

With the work spearheaded by developer Bernhard Kölbl (with help from others), they've created the start of an implementation of the windows.media.speech libraries. To even get there though, many other parts of Wine needed improving or some things missing entirely like adding in new "boilerplate code" for the likes of the Universal Windows Platform (UWP) and Windows Runtime (WinRT). After that, they needed some speech recognition software, as it would be crazy to write their own, so they ended up with Vosk and got it working with Wine.

This is only the beginning they say so more patches and work is yet to come. Still, it might not be too long before the ghosts will hear your screams.

Article taken from GamingOnLinux.com.
27 Likes
We do often include affiliate links to earn us some pennies. We are currently affiliated with GOG and Humble Store. See more here.
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly.
See more from me
11 comments
Page: 1/2»
  Go to:

elmapul 21 Mar
omg, i just posted this news in a forum (facebook comunity) then i update the GOL tab and here it is...
i quoted direct from WineHQ, if is saw that you posted this before i would put this news instead.
Supay 21 Mar
I wonder if this would assist the various voice control packages for Elite as well. I think you can bodge them in under Proton currently but I've never been able to get it to work correctly. They are all written for the Windows speech system anyway, so I assume this would make that easier and more reliable.
monyarm 21 Mar
So does this mean that Wine will support the `Windows Speech Recognition Engine`? If so that would be great, as it would mean i could use the Dovahkiin Speaks Naturally mod.
BielFPs 21 Mar
I remember that I've asked here if anyone knew how they workaround Cortana in this game and had no answer, but it seems that it wasn't the case yet as I suspected.

I really curious about how they intend to solve this one, since voice recognition is part of windows itself rather than a package that comes with the game. They might have to thrown those calls in another voice recognition API because they can't just use Cortana outside windows for legal reasons, and as far as I know, they also can't just translate the calls through wine because the game itself is just using a windows component instead of distributing it.

Long time ago, I've asked on their proton issue on Github if would be possible to redirect the calls to an open API like MycroftAI, but no answers on that either.

In my opinion the easiest way would be helping the original game developers to support a more independent voice API recognition (or rather Valve develop that API as part of "steam works" package), because I can't imagine the immense amount of work it would take wine developers to re implement Microsoft voice recognition, and I think there aren't universal standards on those kind of software yet.
Liam Dawe 21 Mar
Quoting: BielFPsI really curious about how they intend to solve this one, since voice recognition is part of windows itself rather than a package that comes with the game. They might have to thrown those calls in another voice recognition API because they can't just use Cortana outside windows for legal reasons, and as far as I know, they also can't just translate the calls through wine because the game itself is just using a windows component instead of distributing it.
It's noted right in the article, and in their post. They will use Vosk. Doesn't really matter if something is part of Windows, if Wine has its API updated to forward the calls once it has an implementation done - like everything it does.
BielFPs 21 Mar
Quoting: Liam DaweIt's noted right in the article, and in their post. They will use Vosk.
Missed that part of Vosk, problems of reading while doing other things at same time
Quoting: Liam DaweDoesn't really matter if something is part of Windows, if Wine has its API updated to forward the calls once it has an implementation done - like everything it does.
Yep, I've stated that in case of an attempt to use Cortana itself like some cases with media foundation codecs for example (where users include the missing libraries, not wine). Fortunately since they choose the sane option of directing the api calls to an already open source alternative (rather than develop an wine version of it), now it's a matter of how well it will performs in practice and how much time it'll be ready since it's still a lot of work to do something like this.

Also Proton might gain a few extra megabytes if Valve opt to include whatever Vosk lib they need as a dependency (judging by a scenario where more games could depend on it besides Phasmophobia).


Last edited by BielFPs on 21 March 2022 at 5:15 pm UTC
Potentially good news for the Vosk project itself, which presumably will see increased interest hopefully translating into more developers. I mean, it may well be very good already, but I'm sure it still has places it wants to go.
Quinn 21 Mar
I can't wait for the Digital Services Act (DSA) to be passed in the EU, which will cover areas such as privacy and data use, as it'll limit companies such as Valve allowing third-party services to access our data and might ultimately mean games sold in the Steam store can't use EAC and EOS, third-party services such as Windows voice-recognition or third-party launchers.

It'll mean games will just launch and run, sans shenanigans

Third-party services are precisely why Proton (and Wine) is not the solution for gaming on GNU+Linux and it's high-time Valve start advocating for native games.


Last edited by Quinn on 22 March 2022 at 7:52 am UTC
b_kuhns 22 Mar
Quoting: Quinnit's high-time Valve start advocating for native games.

Valve tried that already in the era of Steam Machines. The industry didn't listen, so Valve pivoted to Proton.
TheRiddick 22 Mar
I always thought these games just ask windows voice recog to translate it to text or something. Seems like a more open-source friendly speech recognition software could be mapped instead to do the work?

Would be neat if that was possible. Kind of silly for games to rely on MS Speech-to-Text or Cortana to do the work.


Last edited by TheRiddick on 22 March 2022 at 9:21 pm UTC
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: Liberapay or PayPal.

This ensures all of our main content remains totally free for everyone with no article paywalls. We also don't have tons of adverts, there's also no tracking and we respect your privacy. Just good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
Login / Register

Or login with...
Sign in with Steam Sign in with Twitter Sign in with Google
Social logins require cookies to stay logged in.