>> Saturday, October 24, 2009
Remember cdifan rumoured the upcoming CD-i File Player back in March 2008? This would give you the opportunity to extract audio files of a CD-i disc and other files, like graphics. While it's not quite there yet, cdifan introduced today the start of his CD-i Base Library. The CD-i Base library will be a collection of library functions that can be used as a base for building a CD-i application. It will ultimately contain functions to access all the commonly-used functions of the CD-i platform. The CD-i Base library will be brought to you by CD-i Fan, drawing on his extensive experience in programming the CD-i system. More information will soon appear and reported by Interactive Dreams.
Richt now the library is empty, although cdifan already uploaded the first application of the CD-i File Player. cdifan: "My cue file generation tool is now available here; as a bonus I have added raw image file extraction and direct chd file creation (the latter is implemented by calling chdman with suitable parameters). The cdifile program incorporates source code from MAME/MESS (specifically, the lib/util directory and parts of the osd and osd/windows directories) written by Aaron Giles.
The purpose of the CD-i File Extractor program (cdifile) is to extract data from CD-i files.
With the current version of cdifile you can extract the following from any CD-i disc image file that is supported by CD-i Emulator:
- raw file in mode2_raw format with 2352 bytes/sector
- cue file compatible with chdman (chd management tool from MAME/MESS)
- chd file compatible with MAME/MESS (requires chdman)
CD-i Emulator supports "raw disc image" file formats with sector sizes of 2448, 2352, 2340, 2336 and 2332 bytes, with or without two-second pregap and/or scrambling. This should cover all the "raw disc image" file formats out there. In particular, the Nero (.nrg) file format for track-at-once images is supported, as well as the IsoBuster (.bin) and CloneCD (.img) files. A future version of CD-i Emulator will also support MAME/MESS compressed hunk data (.chd) files; cdifile already supports such files and can be used to extract data from them."
Again it looks like the development of the MESS CD-i driver accelerated the development of CD-i Emulator and cdifan's CD-i tools; in the future collected in the CD-i base Library.