Installation
From Mok HTPC wiki
This page describes the needed information for installation of MokCC and related software. In addition to the Mok software, you need a machine with Windows installed on it. For playback you also need some media player and codecs.
Before starting you need to have:
- Windows 98, Windows XP or Windows 2000
- A Media player for music, movies and dvd
- Codecs to be able to play your media.
- Possibly some miscellaneous software (e.g. remote controller software)
| Table of contents |
MokCC
Mok Control Center (MokCC) is the heart of the system. It sends commands to players and accepts interaction from a remote controller. It was done using Delphi and consist of set of modules for interaction and user interface (e.g. LCD and TV).
Installation
Unzip MokCC package to a directory of your choice (eg. c:\MokCC\)
By now you should have your Windows HTPC running and MokCC unzipped. The next thing is to configure MokCC for doing the things for you.
MokCC configuration is done using .ini files as we do not like the registry. Ini files are simple text files which you can edit with a text editor of your choice (eg. notepad). Unfortunately there is no tool (yet) for configuration and you have to edit the configuration files by yourself.
mok.ini : This file is the most important file to edit. It includes
- paths to media (mp3, ogg, dvd, avi, ..)
- paths to media players
- ..and other information of interest
Plugins
Plugins are the .dll files found in the .\plugin directory. There are several plugins available from which tvgui.dll; the graphical full screen user interface is the most important for the user. Which plugins are used by MokCC are defined in Mok.ini in the PLUGIN section.
| Plugin | Description | Inifile |
|---|---|---|
| coverget.dll | Fetches CD audio covers from different sites to be used with Mok. | coverget.ini |
| dummy.dll | A dummy plugin works as an example for other developers. | N/A |
| freedb.dll | Fetches CD audio information from www.freedb.org when a CD is played. | freedb.ini |
| imdb.dll | Fetches movie information from www.imdb.com. | imdb.ini |
| joystick.dll | You can control MokCC with a USB joystick/pad. | joystick.ini |
| lcd.dll | LCD plugin for using an external screen to show information. You need to have an LCD driver also. | lcd.ini |
| quote.dll | Sets a daily quote to %QUOTE%. Serves as an example for other developers. | N/A |
| tvgui.dll | Graphical user interface plugin. Remember to install also a theme | tvgui.ini |
| webget.dll | Fetches textual information from the web according to defined parsing information. | webget.ini |
LCD drivers
| LCD driver | Description | Inifile |
|---|---|---|
| lcdemu.dll | lcdemu.ini | |
| lcdimon.dll | lcdimon.ini | |
| lcdinfo.dll | lcdinfo.ini | |
| lcdreal.dll | lcdreal.ini |
Plugin installation
lcdgui.ini and lcdthemename.ini : These files have the information on the LCD user interface. Here you can define the theme you want use and the theme specific information.
tvgui.ini and tvthemename.ini : These files have the information on the TV user interface. Here you can define the theme you want use and the theme specific information.
Players
Players are the .dll files found in the .\players directory.
Player plugins
| LCD driver | Description | Inifile |
|---|---|---|
| videolan.dll | This is the player frontend for VLC aka VideoLan player. For download and more information about the player, see http://www.videolan.org/ | videolan.ini |
Plugins installation
lcdgui.ini and lcdthemename.ini : These files have the information on the LCD user interface. Here you can define the theme you want use and the theme specific information.
tvgui.ini and tvthemename.ini : These files have the information on the TV user interface. Here you can define the theme you want use and the theme specific information.
Themes
Theme configuration
xmlgui.ini : This file has the information on how to themes are used. All the commands and examples can be found from here. This is *THE* file for theme creators.
