home *** CD-ROM | disk | FTP | other *** search
/ Groovy Bytes: Behind the Moon / groovybytes.iso / GROOVY / SND_TOOL / WM10.ZIP / DOC.DAT / wmstart.txt < prev    next >
Encoding:
Text File  |  1995-08-30  |  7.8 KB  |  143 lines

  1.  WM Startup
  2.  ──────────
  3.  
  4.  In order to start up WAVmaker, run WM.BAT. {WMstart 124}
  5.  ──────────────────────────────────────────
  6.  
  7.  This ensures that the WAVmaker runtime environment is set up correctly. 
  8.  
  9.  Running WAvmaker's user interface programs (WMmain {WMmain}, WMmenu {WMmenu}, 
  10.  WM DOSbox {DOSbox}, WM WAView {WAView}, WM Read {Read}, WM Help {Help} and 
  11.  WM PRGed {PRGed}) in standalone mode is NOT recommended unless you know 
  12.  exactly what you are doing (i.e. unless you have read the relevant 
  13.  documentation and the customization instructions {Customiz}). 
  14.  
  15.  On the other hand, all command-line driven applications can be run on their
  16.  own. This can be particularly useful with computationally intensive (slow)
  17.  programs such as WM LSTtoWAV {LSTtoWAV}. If you are using a multitasking 
  18.  environment, you may want to run these programs in the background, perhaps in 
  19.  quiet mode (/q option: no screen output). Batch files can be very convenient 
  20.  for performing sequences of several slow operations; so can running them 
  21.  overnight!
  22.  
  23.  The following sample WM.BAT exemplifies the operations performed at startup
  24.  (the details of your WM.BAT will probably differ, depending on your setup):
  25.  
  26. ────────────────────────────────────────────────────────────────────────────────
  27.  
  28.  @ECHO OFF                  Do not echo batch commands to screen.
  29.  
  30.  SET GO32=EMU C:\WM\EXE\EMU387 NODPMI
  31.  
  32.                             Needed for DFT2WAV {DFT2WAV} on 386+ systems
  33.                             without a FPU. The "EMU C:\WM\EXE\EMU387" part
  34.                             specifies the location of the floating point
  35.                             emulator (the actual path may vary). On 386+
  36.                             systems with a FPU, this part should be left
  37.                             out (or DFT2WAV will run unnecessarily slow) but
  38.                             you should keep the line "GO32=NODPMI".
  39.  
  40.  CTTY NUL                   Do not show standard output on screen.
  41.  
  42.  COPY Temp\*.INI D:\Temp    Copy all private Function key files {FnKeys} in
  43.                             WAVmaker's Temp\ subdirectory to the D:\Temp\
  44.                             directory (a random choice made for definiteness
  45.                             in this particular example). See {WMstart 79} to 
  46.                             understand why this is (optionally) done!
  47.  
  48.  PRINT /D:PRN               Make sure that the resident part of the DOS
  49.                             background printer is installed. The choice of
  50.                             printing device may vary (leaving out the /D switch
  51.                             altogether is NOT a good idea, since that would 
  52.                             cause PRINT.EXE to pause and ask for a device name;
  53.                             because of the CTTY NUL instruction above you
  54.                             would not see this question, and the system would
  55.                             appear to have "frozen"). WM Read {Read} and 
  56.                             WM Help {Help} expect PRINT to have been installed.
  57.  
  58.  SBset /M 200 /W 200        This line should be included only if you are using
  59.                             a Sound Blaster card. See {SBnotes}. It sets the
  60.                             output levels for MID and WAV (digital audio) 
  61.                             playback.
  62.  
  63.  CTTY CON                   Allow standard output to be shown on screen again.
  64.  
  65.  imgPut /e WMsun            Displays WAVmaker's graphical start screen. You 
  66.                             need a SVGA card (640x480 pixels, 256 colors) for 
  67.                             this to work. If it doesn't, leave both this and 
  68.                             the next line out, and remove the /NT option from 
  69.                             the WMmain line below {WMstart 79}. See {imgPut} 
  70.                             and {imgView}.
  71.  
  72.  EXE\WAVter Song\WMintro    Plays the Song\WMintro.WAV jingle, interrupting
  73.                             playback at the press of the Left mouse button or
  74.                             of the Enter key. Requires a correctly installed
  75.                             Sound Blaster card {SBnotes}. Remove this line if 
  76.                             you do not have a Sound Blaster, or if you have 
  77.                             removed the preceding line (imgPut).
  78.  
  79.  WMmain /TD D:\Temp\ /NT %1 %2 %3 %4 %5 %6 %7 %8 %9        
  80.  
  81.                             Starts up WMmain, WAVmaker's main menu program. The
  82.                             "/TD D:\Temp\" option causes the D:\Temp\ directory
  83.                             to be used for private and public Function key
  84.                             files {FnKeys}. This is why all existing private
  85.                             function key files were previously copied to this
  86.                             directory {WMstart 42}. The whole thing makes
  87.                             sense if the D:\Temp\ directory resides on a faster
  88.                             disk than WAVmaker's own Temp\ subdirectory (the 
  89.                             default choice if the /TD option is not used).
  90.                             The ideal choice is a RAM disk (even a small one,
  91.                             10 kB or so, should be sufficient - see {FnKeys}).
  92.  
  93.                             The /NT (No Titles) option tells WMmain not to 
  94.                             display the built-in title screen. Remove this
  95.                             option if you do not use WAVmaker's graphical
  96.                             startup screen {WMstart 65}.
  97.                             
  98.  CTTY NUL                   Silence standard output again, in preparation for
  99.                             a few clean-up operations.
  100.  
  101.  COPY D:\Temp\*.INI Temp    Copy all private Function key files {FnKeys} back 
  102.                             from the fast temporary directory D:\Temp\, and
  103.                             store them for the next session. See {WMstart 79}!
  104.  
  105.  DEL D:\Temp\*.INI          Remove all private Function key files {FnKeys} from
  106.                             the fast temporary directory D:\Temp\. See previous
  107.                             line!
  108.  
  109.  DEL D:\FnDelta.TXT         Remove the public Function key file {FnKeys} from
  110.                             the fast temporary directory D:\Temp\. See previous
  111.                             line!
  112.  
  113.  CTTY CON                   Restore standard output to screen.
  114.  
  115. ────────────────────────────────────────────────────────────────────────────────
  116.  
  117.  You can disable WAVmaker's internal screen saver by starting up WM.BAT with 
  118.  the /NS (No Saver) option. This choice can be made permament by including
  119.  the /NS option in WM.BAT's WMmain line {WMstart 79}. 
  120.  
  121.  Both the /NS and the /TD options are propagated from WMmain to all other 
  122.  WAVmaker applications.
  123.  
  124.  Notes:   WAVmaker is a DOS program. It will NOT run reliably under Windows. 
  125.           In most configurations, it will not run under Windows, period.
  126.  
  127.           You must have a MS compatible mouse with installed driver in order
  128.           to use the WAVmaker User Interface.
  129.  
  130.           If DOS reports insufficient environment space at WM startup, you 
  131.           should increase the environment size reserved with the SHELL 
  132.           directive in CONFIG.SYS. See your DOS manual for details. Note 
  133.           that some shell programs do not use the COMSPEC variable in order 
  134.           to locate the command processor. Such programs will not be affected 
  135.           by the SHELL directive. If you are using such a program and are 
  136.           experiencing environment size problems, you'll have to shut it down 
  137.           before starting up WAVmaker. This will allow DOS to use the 
  138.           environment size specified in the SHELL directive.
  139.  
  140.  WARNING: Do NOT run DFT2WAV with an unresolved environment size problem if
  141.           you have a DPMI server installed on your system and/or if you do
  142.           not have a hardware FPU! {DFT2WAV}
  143.