http://bugs.winehq.org/show_bug.cgi?id=10492
Summary: SDL-based game won't start unless you copy timidity.cfg into current directory Product: Wine Version: CVS/GIT Platform: Other URL: http://www.kloonigames.com/blog/games/crayon/ OS/Version: other Status: NEW Keywords: download, source Severity: enhancement Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
See http://www.libsdl.org/projects/SDL_mixer/
To reproduce: 0) download a game that uses sdl midi, e.g. crayon.zip from http://www.kloonigames.com/blog/games/crayon/ unzip it, cd into directory 'crayon' 1) you have to have the Visual C++ 6 runtime redistributable libraries installed. Easiest way to get them is wget kegel.com/wine/winetricks sh winetricks vcrun6 2) you have to have timidity configured and working. First make sure timidity is up by downloading a .mid file from somewhere and making sure you can play it with timidity foo.mid Then copy /etc/timidity/timidity.cfg to the current directory before starting the game. (It also looks in \TIMIDITY\timidity.cfg.)
Timidity seems to be statically linked into SDL_mixer.dll.
Perhaps wineprefixcreate should create a symlink c:\timidity -> /etc/timidity, but that only works if the current drive when running the game is C:. To get around that, the wine installer could create a symlink /timidity -> /etc/timidity, but that'd be an unholy hack. Alternately, Wine could simulate such a symlink internally -- also an unholy hack, but at least one that works even without really installing wine, and without screwing up the user's root directory.
http://bugs.winehq.org/show_bug.cgi?id=10492
--- Comment #1 from Dan Kegel dank@kegel.com 2007-11-18 07:35:55 --- By the way, don't be fooled... the normal SDL's SDL_mixer doesn't seem to have midi support; you have to go here to see it: http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL_mixer/
I filed an enhancement request with the SDL folks, including a suggested patch, that would move the SDL timidity.cfg somewhere easier for wine to support; see http://bugzilla.libsdl.org/show_bug.cgi?id=517
http://bugs.winehq.org/show_bug.cgi?id=10492
--- Comment #2 from Austin English austinenglish@gmail.com 2008-11-24 00:17:14 --- Please retest in 1.1.9.
http://bugs.winehq.org/show_bug.cgi?id=10492
--- Comment #3 from Dan Kegel dank@kegel.com 2008-11-24 00:20:16 --- c'mon, I gave a nice repro script. This bug is essentially "too hard to use midi with wine", so if you're having trouble with my recipe, you've reproduced the problem :-)
It seems unlikely that our midi has gotten any love, so this bug is probably still open...
http://bugs.winehq.org/show_bug.cgi?id=10492
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #4 from Austin English austinenglish@gmail.com 2008-11-24 02:22:50 --- (In reply to comment #3)
c'mon, I gave a nice repro script. This bug is essentially "too hard to use midi with wine", so if you're having trouble with my recipe, you've reproduced the problem :-)
I was trying to avoid installing timidity, and thought that would coax you into verifying your own bugs ;-).
It seems unlikely that our midi has gotten any love, so this bug is probably still open...
Actually, works fine, though it may have been fixed on SDL/crayon's end.
Really addicting game btw.
http://bugs.winehq.org/show_bug.cgi?id=10492
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2008-12-05 11:13:14 --- Closing bugs fixed in 1.1.10.
http://bugs.winehq.org/show_bug.cgi?id=10492
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified