Compass.zip  -   A skinnable compass which uses SiRF or NMEA0183 data from your GPS.  Not required for XPort, but still neat. :)
Get at least one skin and load it to set up item positions more easily.

Version 1.10 3/05/08
  This version ignores the jumpiness when you're not moving

Skins:



Move the compass by dragging it.

Menu functions:

   Configure - Right-click on the compass or use the menu from the tray icon to open the config window
   Start With Windows - Start when Windows starts
   Always On Top - Always on top, otherwise normal
   Hide Mouse - Hide cursor arrow after 5 seconds of inactivity
   GPS Log - logs only valid GPS sentences to C:\GPSLog\GPS.n.gps (Each time you shutdown or hibernate, it will start a new log).
   Trip Log - logs each trip to C:\GPSLog\Trip.log as comma delimited text lines (Start-date,Start-time,End-time,Miles)
 

Config window:
The COM port can be changed here, but it's set when you close the config dialog.  Set it to COM0 to disable any input.
19200 or 38400 is the usual baudrate for SiRF III.
4800 is the usual baudrate of NMEA.
Opacity can be set to full to turn off transparent mode, or none for invisible if you don't want to actually look at it.

Click the arrows to the right of Heading to change to:
  Heading - Heading in degrees
  Speed - MPH  or KPH
  Compass  - The arrow (sizing is disabled)
  Knots - Knots
  Altitude - Feet or Meters
  Odometer - Adds up disatance
  Longitude
  Latitude
  Time   - Display is based on locale settings
  Short Date - ""
  Long Date - ""
  Trip - Distance in miles/kilometers since start or hibernate
  Distance Home - Distance in miles/kilometers from the marked point
  Signal - Signal strength bars.  Size is based on font size.
  Sats - Round display of satellite locations
  X - Reserved
  Home Target - Box drawn relative to current location (if "Set Home" waypoint is set)
  Trails  - Breadcrumb trails
  Lock - Shows 2D and 3D lock as a sort of round thing

Uncheck the box to the left to disable the selected item.
Pos is the position of the current item
   Note: Sats, Home Target, and Trails positions are locked together.
Size is the size of the font (width / height) unless it's on home target or trails.
   Note: Home Target Size Up/Down = size of box
            Trails Size Up/Down = Size of Sat/HT/Trails view, Size Left/Right = Trails + HT zoom
Then below that is the font and text color at the bottom.
Stop, log files, and speed slider are for playback of logs.  Just click on a file to start it.  If XPort is running, logs will be broadcast to other GPS apps and the compass clock and all displays will reflect the original data.

Metric - Sets all displays to metric values
Fixed North - Inverse rotation of compass.  Display of Sats, Home Target, Trails and compass will be north up.

The skin list shows folders which contain 2 bmp files (Background.bmp and Arrow.bmp) and are in the same folder as Compass.exe
If Background.bmp is missing it will have an empty background.

Arrow.bmp should be the same width and height (square), and the transparent color is determined by the top left pixel.

Background.bmp doesn't need to be square but uses the same top left pixel for its transparent color.

Command Line Parameters for embedding:

  Compass <Parent Window> <X offset> <Y offset> <Foreground Skin.bmp> <Background Skin.bmp>

Examples:
  Compass "Command Prompt" 30 10   (Will attach to a command prompt window)
  Compass "Command Prompt" -40 -40   (Will attach to a command prompt window in the bottom left corner)

With the current version, to change log filenames, open Regedit and go to:

    HKEY_CURRENT_USER\Software\CuriousTech\Compass

    LogPath is the GPS log
    TripLogPath is the trip log path