MBM Watcher 1.01 for Tribes 2
by Barbarian
March 1, 2004.
http://ctrl-c-ctrl-v.com/t2


What it does: Displays data from MotherBoard Monitor 5 in a hud, i.e. CPU temperature, etc.

This script requires MotherBoard Monitor's (http://mbm.livewiredev.com/) Interval Log feature.

Please note
-----------

This script displays PC health data gathered by the program MotherBoard monitor 5, such as temperature, fan speed, and system voltages while the game Tribes 2 is being played.  Please do not rely on the values given by this script if catastrophic failure of your hardware may result if they are exceeded.  In other words, don't run rely on this script alone while you play Tribes 2 if your CPU heatsink fan is failing, or your power supply is flaky.  If you are worried about a hardware failure, set audible alarms in Motherboard Monitor first.  Also note that the script only can display while you are playing a game, and not in the Lobby GUI, or Chat, or other portion of Tribes 2.

How to install the script in Tribes 2:
--------------------------------------

1. Extract mbm_watcher.zip into c:\dynamix\tribes2\gamedata\base

2. If you do not have it, download ftp://ftp.slingscripts.com/Ilys_Scripts/support/tabbed/support.vl2 and place it in c:\dynamix\tribes2\gamedata\base.  If you have PJ's scripts installed as well, you'll want ftp://ftp.slingscripts.com/Ilys_Scripts/support/options/support.vl2 instead, which puts script options on PanamaJack's options box. 


Configuring motherboard monitor:
--------------------------------

These instructions are for Motherboard Monitor 5.3.6.0.  You must use a version that allows .csv time interval logging, as 5.3.6.0 does.
You must already have a working setup of Motherboard Monitor 5 for your configuration for this to work.

- Right-click the Motherboard Monitor 5 icon on the taskbar, and go into Settings.
- Select Interval and Syslog
- Click Enable Interval Log and click ".CSV"
- Set the desired interval time.  Choose a time that allows you the appropriate level of monitoring.  At this interval, MBM 5 will write a file to disk.
- Set the location.  Browse to C:\dynamix\tribes2\gamedata\base and select this location.
- Leave the Interval Log Filename as it is.  It should be MBM 5 Interval Log
- Click Apply

- Open the MotherBoard monitor "Dashboard" and note the names of sensors that you would like to monitor.  Sensors that can be monitored are Temperatures, Fan Speeds, and Voltages.  CPU speed cannot be monitored through this method.  These names may be changed in Motherboard monitor 5 under the sensor "Visual" name, if you wish.

Configuring MBM Watcher for Tribes 2
------------------------------------

- Start Tribes 2.  Click the Scripts tab in the lower right corner of the screen. If you have PJ's scripts and installed the alternate version of support.vl2 (above), you should click start -> options -> scripts instead.
- Browse to MBM Watcher and select it in the scrolling list on the left.
- Click the Options Tab at the top of the screen.
- There are 4 blank text entry boxes.  Here you may enter up to four MBM 5 sensor names to monitor.  Examples might be Temp 1, Fan 1, +5.00, or whatever custom names you have assigned.  As noted above, these are the same as you can see in the MBM 5 program "dashboard".
- You may also select a "vertical" configuration, where the sensor values will be stacked in a hud, or deselect "Grow Vertically" for a line hud
- Choose an appropriate interval time between 1 and 30 seconds.  This is how often MBM Watcher will poll the Interval Log file that MBM 5 creates in order to read the values.  Less than 5 seconds is not advised.


You should be done!  By default, unless you have configured it otherwise, MBM Watcher will be on the left side of the screen, halfway down, in a vertical configuration.

If you use Hudmanager to move this hud, you may run into an issue if you change the number of sensors being read or if you change between horizontal and vertical configuration during a game---Hudmanager will reset the size of the hud to its previous value and cut off the text.  To get around this, wait for the next update (1-30 s) and the Hud will resize itself.  Once the size is correct, you must then open Hudmanager, move MBM Watcher if desired, click "Memorize HUDS", then click Save and choose your default layout file.  If you don't do this, Hudmanager will reset the MBM Watcher hud to the wrong size every time you respawn.

Problems?
---------

If you experience problems with my script, please go to http://ctrl-c-ctrl-v.com/t2 and email me from there.


Credits
-------

- Portions based on code written by Paul Tousignant a.k.a. UberGuy
- MotherBoard Monitor 5 is written by Alexander van Kaam
- EmuZombie, for the idea

History
-------


1.01	March 1, 2004.	Made handling of FileObject's "safer" to avoid a possible UE error
1.00	February 24, 2004.  First release.