CD-i Filesystem driver for Windows 95/98/98SE/Me
Version 2.0 (Beta)
January 2001
© Copyright 1997-2001 by Vahur Sinijarv
All rights reserved
Offically distributed by
The New International CD-i Association
www.icdia.org
CONTENTS
Introduction
Installation
Features
Important issues
Changes in this version
License
Open Source
Support
Conclusion
INTRODUCTION
A CD-i disc is based on a different filesystem than the ones used for PC systems. Where in personal computing the ISO-9660 format and its Joliet-variant are the most well known and widely used systems, CD-i discs use the filesystem format that is based on CD-i's operating systems OS-9. The OS-9 filesystem allows for filenames up to 28 characters in lenght, for the mixed usage of upper and lowercase letters and it provides options to indicate OS-9's Unix-style execution or read permission parameters.
Because of this different filesystem, the files on a CD-i disc can not be accessed in a regular way on a PC equiped with a CD-ROM drive. This was not a problem, since a CD-i program could after all not be used on a PC due to its different operating system, CPU and audio and video codecs. However, in some circumstances it would be practical just to check out the contents of a disc, particulary in CD-i development environments. Thankfully, a solution is now available in the form of this CD-i Filesystem Driver for Windows 95/98/Me, written by Vahur Sinijarv from Estonia.
INSTALLATION
To install the CD-i Filesystem driver, simply copy the two program files to the appropriate directories of your Windows 95, 98, 98SE or Me system. These directories already exist, you might need to search for them if your Windows system was not installed using the default directory settings.
cdifs.vxd --> \WINDOWS\SYSTEM\IOSUBSYS\
cdifs.cpl --> \WINDOWS\SYSTEM\
Important note for users of previous versions of the CD-i Filesystem Driver: remove the file VCDID.VXD from your \WINDOWS\SYSTEM\IOSUBSYS directory prior to installing the new version.
To uninstall the driver, remove both files and reboot your system. Please note that the driver's 'CD-i detection feature' can be disabled in the control panel applet, but the driver will remain active in the background. Remove the driver to completely disable it.
FEATURES
Once installed, a CD-i disc can be accessed in a similar way as a CD-ROM disc, using for example the Windows Explorer. You can view the discs name, browse trough directories and view the file names. In addition to this, the filesystem driver allows for the following features:
Viewing MPEG video
You might actually view the full motion video clips that are stored on a CD-i disc using version 6.0 or later of Microsoft Windows Media Player. This application is available for free download at Microsoft. Media Player allows you to view a wide variety of media formats, including the MPEG audio and video formats used in CD-i among others. CD-i allows for a much broader variety in combining audio and video rates, and hence audio and video quality, than for example Video-CD where the audio and video bitrates are fixed. Media Player plays most of them, however sometimes when an MPEG sequence is interleaved with other material on the disc, the picture may look disturbed. You can often recognize an MPEG sequence on the directory in which it is placed, for example FMV or VIDEOS. Also, look for the extension .rtf, which stands for Real Time File (and not Rich Text Format!). .rtf-files might be MPEG-video sequences, but also other, non-playable media files. Just try this out by loading the file in Media Player. Note that it is possible in this way to view movies that were released in the pre-Video-CD CD-i format, but also video sequences from other titles like games.
Viewing stills and hearing audio
Usually, all media information on a CD-i disc is stored in one large Real Time File. When this is the case, you cannot use this file on a PC. But sometimes, individual audio and video files are stored on the disc in CD-i's IFF (Interchangable File Format) format. This is the format that is used in CD-i authoring packages and studios. You can usually recognize these files from the following extensions: .d .cl3 .cl4 .cl7 .cl8 .rl3 .rl7 for video (where d stands for DYUV, cl for CLUT and rl for Run Lenght Encoding), and .aas .asm .abm .abs .acm .acs for audio (where the second letter indicates the level of ADPCM used, and the latter one indicates m for mono and s for stereo). You can view images using Robin Burrow's CDiView, a better solution might be to convert video and audio files to standard PC formats using the OptImage Conversion Utilities. All tools are available for free download at this page of the website of the New International CD-i Association.
Viewing text files
You can view text files on a CD-i disc using a regular text editor or word processor. On most CD-i discs, you can find files which are named something like copyright, abstract and bibliography. These files give more information about the content of a CD-i title and the people that developed it. On some CD-i titles, you can find additional production notes, hidden features or cheats explained in a text file, since the developers did not need to care about people outside other CD-i studios, since they were unable to access this information. Please be aware of the limitations of reading text files that are explained below.
Viewing the contents of a CD-i disc's Primary Volume Descriptor
When you access the CD-i Filesystem Driver's control applet in Windows' control panel, you can view the contents of the Primary Volume Descriptor of the mounted CD-i discs. In the PVD (sometimes refered to as Disc Label), important information about the disc is stored, such as the names of its album, volume, publisher and even the data preparer.
The driver is based on several modern technologies, resulting in such benefits as:
- Uses system disk cache (VCACHE)
- Has a few 16-bit compatibility functions (to enable browsing the CD in DOS box)
- Is active only when CD-i disc is inserted, does not affect the usage of normal CD-ROM discs
- Supports all functions to enable browsing in Windows: open, close, read files, etc.
- File copying to other media is also possible
IMPORTANT ISSUES
Although the current version of the CD-i Filesystem Driver for Windows 95/98/Me (version 2.0 Beta) offers you all of these great features, be aware of these important characteristics when using the driver to read a CD-i disc in Windows:
Errors in reading form 1 sectors
CD-i uses two sector formats: form 1 for text and program data, and form 2 for audio, video and other media information. Form 1 includes additional error correction information, which reduces the sector size with 276 bytes to 2048 bytes (the same as CD-ROM). Form 2 sectors do not need this level of correction, hence all 2324 bytes can be used for data. The CD-i Filesystem Driver reads all sectors as mode 2, and hence it can read audio and video without any problems, but it reads the 276 bytes of error correction in text and program files as data. So when you view a text file that is over 2 KB in size, it includes this information as garbage. Expect a tool to be released soon on the ICDIA website to "clear up" a messed text-file.
Unable to access CD-i discs with CD-Audio tracks
The Filesystem Driver cannot interprete the TOC (Table Of Contents) of a CD-i disc with CD-Audio files correctly. This is why such a disc is displayed as empty. When you try to view a CD-i Ready disc (a CD-Audio disc where the CD-i data is placed in the pause sectors preceeding track 1), you will only see the audio-tracks in a similar way as when a normal CD-Audio disc is loaded.
Sometimes unable to search in an MPEG file using Media Player
As explained before, CD-i allows for a great diversity in using MPEG audio and video in a broad range of combinations. Usually, Media Player plays these files as normal MPEG or Video-CD files. But in some circumstances, it is impossible to search forward and backward within a file use the slidebar. This is probably due to the existence of other information interleaved through the MPEG data.
Not suitable for usage in Windows NT-based environments
Currently, the driver can not be used in Windows NT-based environments, like Windows 2000, due to its different ways of accessing I/O devices. The driver is tested to be fully compliant with all versions of Windows 95, Windows 98, Windows 98 Second Edition and Windows Millenium Edition (Me).
CHANGES IN THIS VERSION
The current version 2.0 Beta was released in January of 2001. Relative to version 1.01, the following items were added or resolved:
Now includes a neat control applet that can be accessed in Windows' Control Panel.
You are now able to view the disc's PVD or Primary Volume Descriptor in the control applet, to access important information about the loaded CD-i disc(s).
The driver can be turned "off" in the control applet to allow Windows to try accessing a disc itself. The driver is still active in the background, remove the files to de-install it.
The previous versions did not find all entries from a directory. All files are listed now.
File times and attributes are now properly set.
The driver now supports more than one CD drive. It allows for more than one CD-i disc to be recognized at a time.
Next to IDE drives, the driver now also supports SCSI CD-ROM, CD-R and DVD-ROM drives.
The sources of this software are now released to the open source community. Please read below for more info.
LICENSE
THE CD-i FILESYSTEM DRIVER IS DISTRIBUTED "AS IS". NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS, DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING OR MISUSING THIS SOFTWARE.
You may distribute the original version of the driver only in its original unmodified archive. To use this software for commercial purposes you have to have permission from the author.
If you like this software and you feel you want to support it, you can send a fee (10$ or so would be fine) directly to the author at following address:
Vahur Sinijarv
Kitse 35-6
80031, Parnu
Estonia
OPEN SOURCE
With the release of version 2.0 Beta of the CD-i Filesystem Driver, its sources are released into the open source community. In the archive, you'll find an additional ZIP file called cdifs20b_src.zip, containing all sources and instructions on how to best compile the software.
Feel free to enhance or modify the driver for you particular needs, but please send the author (vahur@vendomar.ee) and the maintainer of the New International CD-i Association website (jorg.CDi@kennisonline.com) an e-mail with your build of the CD-i Filesystem Driver, including its modified source.
SUPPORT
The author would gladly hear your opinion about this driver, what kind of features it could have and so on. Contact him at vahur@vendomar.ee.
For any questions regarding the use of this driver, you may contact the New International CD-i Association, which is the offical distribution partner for the CD-i Filesystem Driver. Any new releases or important new information will be published at the ICDIA website. Visit www.icdia.org or e-mail jorg.CDi@kennisonline.com.
CONCLUSION
The CD-i Filesystem Driver for Windows 95/98/Me can be of great use to (former) CD-i developers, CD-i enthousiasts and everyone with a curiosity on what the true contents of a CD-i disc are. Please note that this driver is still in development, and that Vahur Sinijarv is still working on the software to improve its performace and eliminate the limitations shown above. The latest version of this software will always be available on this site at the New International CD-i Association website at www.icdia.org.
---
This text: Jorg Kennis
The New International CD-i Association
January 2001