https://bugs.winehq.org/show_bug.cgi?id=42705
Bug ID: 42705 Summary: Hardwood Solitaire III: no music Product: Wine Version: 2.4 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: legluondunet@free.fr Distribution: ---
Created attachment 57677 --> https://bugs.winehq.org/attachment.cgi?id=57677 HSIII wine 2.4 staging no music
Hello,
Hardwood Solitaire III has no music with Wine.
How to reproduce: download the trial version here: http://www.silvercrk.com/downloads/solitaire_iii/
Install and launch it with wine, there is no music, only interface sounds. Play trial, go to the options, more options, sound and music, devices, try different options, no music.
Thank you for your help.
Tested with Wine 2.4 staging.
https://bugs.winehq.org/show_bug.cgi?id=42705
--- Comment #1 from legluondunet@free.fr legluondunet@free.fr --- Created attachment 57678 --> https://bugs.winehq.org/attachment.cgi?id=57678 HSIII wine 2.4 staging no music
https://bugs.winehq.org/show_bug.cgi?id=42705
--- Comment #2 from legluondunet@free.fr legluondunet@free.fr --- Bug still present in Wine 2.16
https://bugs.winehq.org/show_bug.cgi?id=42705
--- Comment #3 from legluondunet@free.fr legluondunet@free.fr --- Finally it is not a Wine bug. On Wine you need a software synthesizer installed and running on Linux to hear MIDI from a Windows application. Do you have a software synthesizer already installed? test: find a .mid file on your hard drive: locate .mid or on the internet. Then launch: aplaymidi -p128:0 midi_file.mid Do you hear the music? Good, Wine should play midi in Windows applications too. If you hear nothing, you need to install a software synthesizer. On Ubuntu: sudo apt-get install fluid-soundfont-gm fluidsynth then launch it as a server, in a terminal: fluidsynth -a pulseaudio -m alsa_seq -r 4800 -l /usr/share/sounds/sf2/FluidR3_GM.sf2 If you don not use pulseaudio on your Linux distribution, replace "-a pulseaudio" by "-a alsa" aplaymidi -p128:0 midi_file.mid --> you should now hear music, so you can now launch Hardwood Solitaire III and hear music. If you still can not hear music in HSIII, go to options, more options, sound and music, verify in the music tab that "Enable" box is checked.
https://bugs.winehq.org/show_bug.cgi?id=42705
--- Comment #4 from legluondunet@free.fr legluondunet@free.fr --- It's not a wine bug BUT Wine should inform user when it plays midi files that it needs a software synthetizer.
https://bugs.winehq.org/show_bug.cgi?id=42705
--- Comment #5 from legluondunet@free.fr legluondunet@free.fr --- Instead of Fluidsynth you can also use timidity. launch it: $ timidity -iA -Os -x soundfont /usr/share/sounds/sf2/FluidR3_GM.sf2
$ aconnect -l client 0: 'System' [type=noyau] 0 'Timer ' 1 'Announce ' client 14: 'Midi Through' [type=noyau] 0 'Midi Through Port-0' client 128: 'TiMidity' [type=utilisateur,pid=813] 0 'TiMidity port 0 ' Connecté Depuis: 129:0 1 'TiMidity port 1 ' 2 'TiMidity port 2 ' 3 'TiMidity port 3 ' client 129: 'WINE midi driver' [type=utilisateur,pid=1121] 0 'WINE ALSA Output' Connexion À: 128:0 1 'WINE ALSA Input '
With this command you can see Timidity is on port 128:0
https://bugs.winehq.org/show_bug.cgi?id=42705
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID CC| |dark.shadow4@web.de
--- Comment #6 from Fabian Maurer dark.shadow4@web.de --- Sent in a patch to provide a warning: https://source.winehq.org/patches/data/137338
This should do the trick, if I didn't miss something. Anyways, this is no wine issue, so let's close it.
https://bugs.winehq.org/show_bug.cgi?id=42705
--- Comment #7 from legluondunet@free.fr legluondunet@free.fr --- Nice patch Fabian, thanks.
https://bugs.winehq.org/show_bug.cgi?id=42705
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Austin English austinenglish@gmail.com --- Closing.