Whisky-App / Whisky

A modern Wine wrapper for macOS built with SwiftUI
https://getwhisky.app
GNU General Public License v3.0
12.62k stars 267 forks source link

[Bug]: Staticky sound with Steam games (Half Life, Oblivion, Skyrim) #637

Closed Howlinmoon closed 11 months ago

Howlinmoon commented 11 months ago

Description

Hi, I have been attempting to play Half Life via Whisky after getting to successfully download from my Steam account. The game seems to be running fine - except for one major issue, the sound is staticky / choppy. This is using a Mac Mini M2 Pro with 32GB of RAM and Whisky version 2.1.3 (brew installed) I was wondering if anyone had any suggestions on how to fix the static. I see there are various settings in the bottle configuration, but I didn't want to make things worse by mucking with them.

It seems to be with all Steam games - since I also tried installing Oblivion and Skyrim - both which appeared to run fine - except for the staticky audio issue.

I have tried the idea of a Windows 7 based bottle, but that gives me the same results, with the warning that steam support for Windows 7 ends in 40 days - i.e. 1/1/2025 - so that would have only been a very short term solution at best.

thanks for any suggestions on how to address this.

Steps to reproduce

Fresh install of Whisky via brew on MacOS Sonoma 14.1.1

brew install --cask whisky

Download the windows Steam installer

Creat a Windows 10 Whisky bottle

Click "Run"

Select the windows Steam installer

Once Steam has been installed and is running, select Half Life and download it.

When Half Life is finished downloading - try running it - the sound issue should be heard almost immediately.

Expected behaviour

Ideally, sound w/out static

Logs

If I knew how to get the requested logs, I would/will provide them.

What version of Whisky are you using?

<2.2.0

What version of macOS are you using?

Sonoma (macOS 14)

Issue Language

nicolinuxfr commented 11 months ago

Same issue for me with Half-Life. It's a Whisky 2.2 regression it seems, it was fine with the previous version. I will downgrade the app for now.

EDIT : unfortunately, the bug seems to remain on 2.1.3… 😢

Howlinmoon commented 11 months ago

Same issue for me with Half-Life. It's a Whisky 2.2 regression it seems, it was fine with the previous version. I will downgrade the app for now.

EDIT : unfortunately, the bug seems to remain on 2.1.3… 😢

Sorry you downgraded to 2.1.3 - that was the version I was reporting it on. I removed the reference to 2.2 if that was confusing. I was referring to the version selector when posting the bug. I am glad to see I'm not the only one seeing (hearing actually) this issue.

cgarst commented 11 months ago

Might be a duplicate #445 - seems like a broader issue with some older games

nicolinuxfr commented 11 months ago

Sorry you downgraded to 2.1.3 - that was the version I was reporting it on.

No problem, so I tried 2.1.2 and even 2.1.1 and it is not better. I'm not sure if it's Whisky's fault then, since the game has been updated a couple times since I last tried it (monday evening).

Might be a duplicate https://github.com/Whisky-App/Whisky/issues/445 - seems like a broader issue with some older games

It was working perfectly fine at the beginning of this week, so I'm not sure.

thekamilpro commented 11 months ago

Could this be also related to HOMM3 - the game runs, but sound is clunky? #252

sashok1337 commented 11 months ago

I ran into the same problem in Worms Armageddon (via Steam). Whisky 2.2.0, MBP M2 Max

EmilianoTalamo commented 11 months ago

Most sound issues from old games are fixed by installing dsound and flagging it as native.

Howlinmoon commented 11 months ago

Most sound issues from old games are fixed by installing dsound and flagging it as native.

OK - I did some googling and I failed to find anything useful when searching for "macos whisky dsound" Just what is dsound and where do I get it so I can try your solution? A google search on "macos dsound" just resulted in this: https://www.soundonsound.com/techniques/d-sound-pro-35-beta and I suspect this is not the dsound you're referring to :-)

EmilianoTalamo commented 11 months ago

where do I get it so I can try your solution?

It's available on winetricks. Then you override it with Winecfg.

For future reference, you install Windows libraries and dlls within Wine, not through your OS.

thekamilpro commented 11 months ago

where do I get it so I can try your solution?

It's available on winetricks. Then you override it with Winecfg.

For future reference, you install Windows libraries and dlls within Wine, not through your OS.

Thank you it just worked for HOMM3!

Howlinmoon commented 11 months ago

where do I get it so I can try your solution?

It's available on winetricks. Then you override it with Winecfg.

For future reference, you install Windows libraries and dlls within Wine, not through your OS.

Worked perfectly!

glenmeredith68 commented 11 months ago

Downloaded whiskey today to play half-life too!

Winetricks tells me 'wine server not found!' when I run the command 'winetricks dsound' in the terminal.

@Howlinmoon or @thekamilpro can you describe to me how you carried out the line

"It's available on winetricks. Then you override it with Winecfg.' ?

Seems like I'm missing something here.

Stooovie commented 11 months ago

I tried adding the dsound winetrick via Whiskey GUI but only got this:

/Users/stooovie/.zprofile:9: no such file or directory: /usr/local/bin/brew
PATH="/Users/stooovie/Library/Application Support/com.isaacmarovitz.Whisky/Libraries/Wine/bin:$PATH" WINE=wine64 WINEPREFIX="/Users/stooovie/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D39DBA7E-3F15-48B0-9642-C4EB1D094127" "/Users/stooovie/Library/Application Support/com.isaacmarovitz.Whisky/Libraries/winetricks" dsound
stooovie@JiriMacBook ~ % PATH="/Users/stooovie/Library/Application Support/com.isaacmarovitz.Whisky/Libraries/Wine/bin:$PATH" WINE=wine64 WINEPREFIX="/Users/stooovie/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D39DBA7E-3F15-48B0-9642-C4EB1D094127" "/Users/stooovie/Library/Application Support/com.isaacmarovitz.Whisky/Libraries/winetricks" dsound
warning: taskset/cpuset not available on your platform!
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
------------------------------------------------------
WINEPREFIX INFO:
Drive C: .
..
.DS_Store
Program Files
Program Files (x86)
ProgramData
users
windows

Registry info:
/Users/stooovie/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D39DBA7E-3F15-48B0-9642-C4EB1D094127/system.reg:#arch=win64
/Users/stooovie/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D39DBA7E-3F15-48B0-9642-C4EB1D094127/user.reg:#arch=win64
/Users/stooovie/Library/Containers/com.isaacmarovitz.Whisky/Bottles/D39DBA7E-3F15-48B0-9642-C4EB1D094127/userdef.reg:#arch=win64
------------------------------------------------------
------------------------------------------------------
warning: wine64 cmd.exe /c echo '%AppData%' returned empty string, error message "" 
mrkody commented 11 months ago

File > Kill All Bottles helped solve it

sashok1337 commented 11 months ago

I finally managed to play Worms Armageddon with normal sound! Huge thanks to everyone in this thread, but I want to point out that this is very difficult to do without detailed instructions! (like @glenmeredith68 mentioned)

So here are the steps you need to take to get it working:

  1. In your terminal run brew install cabextract
  2. Open Whisky
  3. Run File > Kill All Bottles (at the top left of your screen)
  4. At the bottom of the Whisky window you will find the Winetricks... button, click it
  5. Go to DLLs tab, find dsound, choose it and press RUN
  6. Run the game!
dima-glukhov commented 11 months ago

I finally managed to play Worms Armageddon with normal sound! Huge thanks to everyone in this thread, but I want to point out that this is very difficult to do without detailed instructions! (like @glenmeredith68 mentioned)

So here are the steps you need to take to get it working:

  1. In your terminal run brew install cabextract
  2. Open Whisky
  3. Run File > Kill All Bottles (at the top left of your screen)
  4. At the bottom of the Whisky window you will find the Winetricks... button, click it
  5. Go to DLLs tab, find dsound, choose it and press RUN
  6. Run the game!

в skyrim на заставке звук есть, а в самой игре нет((

Skyrim has sound on the splash screen, but not in the game itself((

Notacod3r commented 10 months ago

I still get the staticky sound even with dsound. Someone mentioned to flag it as native and override it with Winecfg, how do I do that?

Ok, I flagged it as Native, Bulletin but the issue still persists.

phamthohongduong commented 9 months ago

I finally managed to play Worms Armageddon with normal sound! Huge thanks to everyone in this thread, but I want to point out that this is very difficult to do without detailed instructions! (like @glenmeredith68 mentioned) So here are the steps you need to take to get it working:

  1. In your terminal run brew install cabextract
  2. Open Whisky
  3. Run File > Kill All Bottles (at the top left of your screen)
  4. At the bottom of the Whisky window you will find the Winetricks... button, click it
  5. Go to DLLs tab, find dsound, choose it and press RUN
  6. Run the game!

в skyrim на заставке звук есть, а в самой игре нет((

Skyrim has sound on the splash screen, but not in the game itself((

I tried this method in Heroic Launcher, now the game is just stuck at black screen on launch... :(

cffranco26 commented 3 months ago

Most sound issues from old games are fixed by installing dsound and flagging it as native.

this solution work for me with NFSMW 2005

Screenshot 2024-07-15 at 12 36 27
InterStelios commented 3 months ago

I finally managed to play Worms Armageddon with normal sound! Huge thanks to everyone in this thread, but I want to point out that this is very difficult to do without detailed instructions! (like @glenmeredith68 mentioned)

So here are the steps you need to take to get it working:

  1. In your terminal run brew install cabextract
  2. Open Whisky
  3. Run File > Kill All Bottles (at the top left of your screen)
  4. At the bottom of the Whisky window you will find the Winetricks... button, click it
  5. Go to DLLs tab, find dsound, choose it and press RUN
  6. Run the game!

Awesome -- this works for Heroes 3 (hd mod)

LuizSSB commented 3 weeks ago

For reference (and SEO for those wanting some help), most, if not all, Falcom games also suffer from this sound issue, and the dsound winetrick apparently solves it for them.

I've done some very basic testing with the following games, and it worked for all of them:

I imagine it would also work for other games like the Zweis and Xanadus