SViewX - 4th Dec 2003
~~~~~~
 2003 Steve Nicklin

SViewX is a front-end tool for Paul Gausden's excellent SView Shape File Viewer.
Its goal is to provide Paul's SView tool with the seamless ability to view
uncompressed S files.  I wrote this tool because most of the models I create
and use are uncompressed to allow tweaking with Wordpad.

Installation
------------
- To install SViewX, simple copy the supplied SViewX.exe file into the same 
  folder as SView.exe

- The folder containing SView.exe and SViewX.exe must not be read-only.  SviewX
  copies MSTS files and writes temporary files in this folder.

- SViewX can only run on machines with MSTS fully installed (specifically the
  Utils\FFEdit folders must exist and contain the ffeditc_unicode files).
  Note: This is purely a limitation of SViewX, NOT Sview.

Usage
-----
- Double click SViewX to run it.  At this point, if it has not already done so,
  SViewX will attempt to copy the MSTS ffeditc_unicode tool and associated files 
  into the SView/SViewX folder.

- Use the Load Shape button to load an S file as you would with SView.  SViewX 
  defaults to the MSTS Train Simulator folder.

- SViewX will examine the selected file to see if it is compressed.  If it is
  compressed, SViewX will simply start SView and pass the S file to it.  If the
  file is not compressed, SViewX copies it to the SView/SViewX folder and calls
  ffeditc_unicode to compress it.  If successful, it copies the compressed file
  back to the original folder (renamed with a _compressed.s suffix) and passed
  this file to SView for display.


Notes
-----
- SViewX will leave _compressed.s files in the Shapes folders - on the one hand this 
  is handy if you want to display a shape again quickly because SViewX will reuse 
  this _compressed.s file if it finds it; but on the other your Shapes folders can 
  get clogged up with these unnecessary files.

- As yet, SViewX can not be set up to be the default viewer for .S files
