Wine Distribution for Noteworthy Composer Matt Johnson ========================================================================== IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT !! IMPORTANT ========================================================================== This distribution is COMPLETELY UNSUPPORTED by Noteworthy Software. You should NOT report issues with this distribution to them. If following these instructions breaks your system, you get to keep the pieces. I provide no guarantee, express or implied, to the functionality of this guide on your system. -------------------------------------------------------------------------- Before starting the steps listed below, you will need: * Some free diskspace. About 100Mb should be enough for the build process. * A working gcc, GNU ld, make and headers for your C library. (These should already be installed on the vast majority of systems now.) * XFree86 v4.x. It might work on v3.3.x but I wouldn't put money on it. You'll want X devel headers installed too. * FreeType 2.0.5 or higher. Debian: "dpkg -l | grep freetype" RPM: "rpm -qa | grep freetype" If in doubt, go to http://www.freetype.org and download the latest 2.x. * libjpeg * sfxload, if you are using a soundfont based card. This is usually in the awe-drv or aweutils package of your distribution. In the below, commands you are supposed to type are enclosed in backticks. You don't need to type the backticks themselves, just what's within them! -------------------------------------------------------------------------- STEP 1: Get MIDI working. Below are the steps I needed to follow when setting up my SB Live Value, an EMU10k1 based card, for MIDI. 1) Install a sound driver with MIDI support. The OSS/Free drivers in the current stable kernels tend not to do this very well! You should use the ALSA drivers from http://www.alsa-project.org/ -- I have had success with the 0.9beta series. 2) Load a soundfont. `sfxload 2mbgmsfx.sf2` should be perfectly fine. It should return to the prompt with no errors. If you get an error, you haven't loaded the appropriate kernel modules or they aren't built correctly. 3) Test using playmidi or similar. Play a standard MIDI file. If at first you don't succeed, remember to check that your mixer volumes are sane. --------------------------------------------------------------------------- STEP 2: Install WINE. In the /wine subdirectory of this archive is a known-good version of Wine (CVS of March 31, 2002 + FreeType patch) which successfully runs NWC. I will guide you through a basic installation. It assumes that you are able to become root, and are happy to install the Wine libraries and binaries into /usr/local, with the Wine fake-Windows hierarchy in /c/. If you want anything else, you are on your own (become root, run configure, make, make install and spin your own config files for Wine). 1) Become root. This probably means `su` for most folks. 2) `cd wine` 3) `./tools/wineinstall` This will wander off and run configure. If configure complains, then resolve its complaint and rerun wineinstall. Assuming the configure completes, the build will begin. This takes about 10 minutes on my K7-700. Go grab a coffee or something. When the build has finished, you'll be asked: >You are running as root. Do you want a local config file, >file, ~/.wine/config, created? >(yes/no) * MAKE SURE YOUR WINDOWS PARTITION IS UNMOUNTED BEFORE PROCEEDING! Answer "yes". You will then soon be asked: >Windows was not found on your system, so I assume you want >a Wine-only installation. Am I correct? >(yes/no) Again, answer "yes", then hit enter again to accept '/c' as the fakeroot. wineinstall will then finish itself. 4) `cd ..` 5) `cp -R fakeroot/* /c/` * PLEASE TAKE CARE WHEN ENTERING THE FOLLOWING COMMAND! 6) `chmod -R 777 /c/` 7) `exit` (Returning you to an unprivileged shell.) You should be in the same directory as this file. ...../nwc-wine/ 8) `cd wine` 9) `./tools/wineinstall` This will now skip over a large chunk of stuff: >I see that WINE has already been configured, so I'll skip that. >Hmm, looks like WINE is already compiled. I'll skip that too, I guess. >You aren't root, so I'll skip the make install. You can safely ignore the dire warnings about LD_LIBRARY_PATH. Say "yes" to create local config file, "yes" to Wine-only installation, and "/c" for the fake root. 10) `rehash` or `hash -r`, depending on your shell. Congratulations! You should now have a working Wine installation! ---------------------------------------------------------------------------- STEP 3: Install NWC! I have included the evaluation version of NWC1.75 in this archive. Registered users can get their registered version from: * https://www.noteworthysoftware.com/nwcv1upg/wizard.php And any updates from: * http://www.noteworthysoftware.com/product-news.php Registered users should redownload their files under Linux, and place them in /c/install/ Now to the fun part -- let's install! 1) `cd /c/install` 2) For unregistered users: `wine --managed ./eval-nwc175.exe` For registered users: `wine --managed ./nwcsetup.exe` During the first run, Wine may take a few moments/minutes to build font metrics. You can safely ignore any unknown registry or encoding errors. Eventually, the familiar installer will appear. Install as usual -- you should probably accept the defaults offered. 3) FOR REGISTERED USERS ONLY: Apply any web updates. `wine --managed ./nwc175sp2.exe` This will work much the same way as the installation. ----------------------------------------------------------------------------- STEP 4: Run it! 1) `cd '/c/Program Files/Noteworthy Composer'` 2) `wine --managed ./NWC32.EXE` Et voila! One working NWC! You will need to set up MIDI. Under Tools, Options, MIDI, basically try from top to bottom each entry until you get some sound! (EMU10k1 Port 0, the second one down, worked for me.) ----------------------------------------------------------------------------- STEP 5: Enjoy! Enjoy running NWC under Linux! ----------------------------------------------------------------------------- Matt Johnson April 2nd, 2002