I forgot to say those compiling LS under Windows have to create an empty Instruments DB before running it. just do:
mkdir "%USERPROFILE%\.linuxsampler" linuxsampler.exe --create-instruments-db "%USERPROFILE%\.linuxsampler\instruments.db" in the final release the installer will either do it for you and provide an entry in the start menu to create the DB or as Andreas proposed LS could automatically create the DB at startup time in case it is not found. cheers, Benno 2009/6/6 Benno Senoner <benno.seno...@googlemail.com>: > Hi all, > thanks for the patch Andreas, I applied it. > > I commited some updates to Instruments DB support under Windows to CVS > and now it > works in both standalone and VST mode. > > Together with Andreas we decided to place the instruments DB file in > %USERPROFILE%\.linuxsampler\instruments.db > (USERPROFILE points to the user's home dir usually C:\Documents and > Settings\username) > > which is multi user friendly and allows each Windows user to have his > own instruments DB. > > Now Windows users should have no reason to be envious of Linux or OS/X users > :) > > cheers, > Benno > > > > > 2009/6/6 Andreas Persson <andreas.pers...@adamomail.se>: >> On 06/05/2009 05:58 PM, Benno Senoner wrote: >>> >>> With the help of Andreas and Grigor I was able to implement >>> Instruments DB support on Windows I already commited the changes to >>> CVS. >> >> I get some ugly warnings when I cross-compile. I did a patch to get rid of >> them, maybe you can test it so I didn't break the functionality? >> >>> In order to work correcty so that both the standalone and VST version >>> of LS use the same Instruments DB file it is necessary to add support >>> for relative paths >>> for the instruments DB file similar to what the editor plugin loader >>> does. This was implemented by Andreas so perhaps it would be nice if >>> Andreas could add this >>> to the instruments DB class too (or give some hints what's the best >>> way to add it to the Instruments DB class). >> >> Yes, sure, I can give you a hint. :) The function I added is called >> Sampler::GetInstallDir(). >> >> /Andreas >> >> >> ------------------------------------------------------------------------------ >> OpenSolaris 2009.06 is a cutting edge operating system for enterprises >> looking to deploy the next generation of Solaris that includes the latest >> innovations from Sun and the OpenSource community. Download a copy and >> enjoy capabilities such as Networking, Storage and Virtualization. >> Go to: http://p.sf.net/sfu/opensolaris-get >> _______________________________________________ >> Linuxsampler-devel mailing list >> Linuxsampler-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel >> >> > ------------------------------------------------------------------------------ OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get _______________________________________________ Linuxsampler-devel mailing list Linuxsampler-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel