Miscellaneous Stuff

Home  /   Misc

Miscellaneous items page. While many of these were created during the age of Visual C++ 6 and Visual C++ 2003, they have all been recompiled using Visual C++ 2005 SP1.

Calendar
Here is a Gregorian yearly calendar created using Excel named Calendar2177.

Beside the normal dates Calendar2177 can also automatically calculate and mark the dates of Western Christianity Good Friday, Easter Sunday, and Easter Monday.

Further, the calendar can also calculate Chinese calendar dates and mark them on the Gregorian calendar. This allows the automatic marking of Chinese holidays such as Chinese New Year, Lantern festival, Dragon Boat festival, Mid-Autumn festival, Mid-Winter festival, to name a few. For an explanation on the Chinese calendar click here

You can also insert custom fixed holiday dates that will automatically be marked on the calendar.

Download Calendar2177 version 1.00 here

Calendar2177 uses Visual Basic so it requires macros to be enabled when prompted by Excel.
New Moons, Full Moons, Equinoxes, and Solstices
Times of the lunar phases as well as the solar longitudes according to JPL DE-405, from year 1600 to 2200. The lunar phases are given in 45 degrees increment, so include times of new moon, first-quarter moon, full moon, last-quarter moon (0, 90, 180, 270 degrees), and more. The solar longitudes are given in 5 degrees increment, so include times of March equinox, June solstice, September equinox, and December solstice (0, 90, 180, 270 degrees), and more. These times are essential for anyone interested in the Chinese calendar, as well as the Japanese, Korean, and Vietnamese calendar.

Download the moon times here and the apparent solar longitude times here

The times are given in Terrestrial time (TT or TDT). To convert to Universal time (UT) for civil use, you will need the delta-T values, where delta-T = TT - UT

The latest delta-T values as well as predicted delta-T values are available from the US Naval Observatory here

The NASA Jet Propulsion Lab DE-405 ephemeris files are available from here
Console Dump
Here is a simple program that will save all the text in a command prompt to a file. Run this program in the command prompt whose text you want to save.

The whole console buffer will be copied and written to a text file except end of line spaces.

Download ConDump version 1.01 here
PC Remote Control
If you have an AverMedia remote control (say from your DVB-T card) you can use this Girder plugin to let you control your computer using the AverMedia remote.

Download AverMRem version 1.01 here

This plugin was created for Girder version 3.29, which is a freeware (version after that is shareware). Version 3.29 is still available on the web.

Beside Girder, you can also use HIP (Human Interface Programmer), which is free for personal use and is available from here
Sudoku Logic Solver
SDKSolve is a "trainer" for sudoku, whereby the program tries to solve the sudoku by logic only (subjective definition!) - although a brute force method is also included, which can find all the valid solutions for a grid (if there is more than one solution).

SDKSolve is a sudoku "learning tool", or "suggest a move".

The solve methods have been constructed (I believe) in a way that is more amicable for human solvers (while keeping in mind that sudoku is an NP-complete problem).

More information on SDKSolve here
Word Finder
Word Finder solves word puzzles found in magazines and TV guides.

Given letters and essential letters, the program gives all possible words from the combination of letters. The program searches through possible words from a supplied dictionary file.

Download Word Finder version 1.0 here

List of English words can be downloaded here and also a much bigger list here
Tic Tac Toe
Play a simple game of tic-tac-toe (also called noughts & crosses).

Click on the system menu to change the difficulty level (Clueless or Advanced). Use mouse or numpad to mark the board (Num0 to start). Timer is measured to nearest second.

Try this and test your power of concentration and see if you ever lose at all...

Download TTacToe version 1.02 here
DVPiper
DVPiper allows recording, displaying, and manipulation of transport streams from digital capture devices. Currently DVPiper supports ATSC, DVB-C, DVB-S, and DVB-T.

In particular it allows simultaneous multiple recording of any channel on the same frequency multiplex with one device. Through the same principle, any channel can also be displayed and manipulated using any application that reads from stdin, for example, saving the stream as MPEG-PS using ffmpeg, mencoder, or VLC. DVPiper also has built-in UDP streaming for direct streaming to a network/LAN.

Before you can use DVPiper you will need to register the Streamer Directshow filter first by double-clicking on register.bat. The Streamer Directshow filter was created for DVPiper and receives data from a BDA Directshow device.

For recording and previewing channels with DVPiper using a web interface see here

More information on DVPiper here
XMLTV Manager Editor
This program allows you to combine EPG data from multiple sources, with error checking and correction. The correction algorithm uses the user-supplied ranking of each EPG data source. Errors, if found, will be added to the description.

You can additionally supply an XML stylesheet (XSL) to format the output to the desired style. A simple XML stylesheet is included in the package.

See the sample config.xm2 and Execute.cmd in the package. If you live in Sydney you can run Execute.cmd (double-click) without any modification. It uses DVBGuide to get EPG from the transport stream, and WGet to get EPG from the web. EPGScan can also be used instead of DVBGuide.

For further details on XMLTVedt click here


DVB Teletext Subtitle
This is a modification of the original DVBTextSub to allow reading of live transport stream and the use of real-clock time-stamp for the teletext subtitle. This allows for more accurate subtitle time-stamps, and doesn't rely on program time-stamps. It now also supports color tags for the SubViewer subtitle format (SRT).

This modified version is intended for use with DVPiper

Click here for further details.
ProjectX
A simple modification of the original ProjectX to support color tags for the SubViewer subtitle format (SRT). While you can previously save the subtitle in SSA format to get colored subtitles, the SSA format also defines the subtitle positions, fonts, etc, so settings like fonts, automatic line breaking, etc in your subtitle viewer would be overridden and not used when you view the subtitles.

ProjectX is useful if you don't have a good DVB-T (digital TV) signal reception. Using DVPiper you can save the transport stream to a file and use ProjectX to delete erroneous streams, and allows you to keep the video and audio in-sync before converting to other formats.

The modified ProjectX version 0.90.5u can be downloaded here and modified source here

As ProjectX is written in Java, you will need the Java run-time files, see here
DV Scheduler
DV Scheduler is an application for TV viewing, recording, and streaming. It currently supports ATSC, DVB-C, DVB-S, DVB-T, analogue TV, FM radio, USB cameras, and other DirectShow enabled devices. Once installed it allows control and use of the capture devices through a standard web browser, either locally or through a network or internet.

Main features:
  • Unrestricted multiple recording, viewing, and streaming of channels in the same frequency multiplex with one capture card. Multiple recording, viewing, and streaming of different channels in the same frequency multiplex will use only one card, optimizing card usage.
  • Watch TV locally and over a network/LAN. The TV client is multi-platform including Windows, Linux and Mac.
  • Preview and watch multiple channels at the same time on multiple independent windows.
  • Saving recording as an MPEG program stream (MPEG-PS) and at the same time saving the teletext subtitle in SubViewer format (SRT).
  • Streaming over a network (UDP, RTP, HTTP, etc).
  • Vertical and horizontal EPG themes with color categories. If used in conjunction with XMLTVedt multiple EPG sources can be combined and conflicting EPG times can be shown in red.
  • One-click recording and Auto-Add feature to automatically schedule recordings based on keywords.
  • Customizable output format to allow watching, network streaming, on-the-fly transcoding, and more, of the digital broadcast.
  • Capture engine(s) used are configurable, allowing use of different capture engines.
More details here


Spots an error, suggestions? email me