[Bug 10492] New: SDL-based game won't start unless you copy timidity. cfg into current directory

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Nov 18 06:50:43 CST 2007


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 at winehq.org
        ReportedBy: dank at 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.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list