Logiciels & Services Duhem 21, rue La Bruyere - 75009 PARIS (France) Tel. (+33 1) 49 70 04 55 - Fax (+33 1) 49 70 04 56 e mail : 100256,1731 (CIS) 100256.1731@compuserve.com MacCD - First Steps Introduction MacCD is an utility for reading Apple Macintosh CD-ROMs on a plain PC. It offers most disk management functions, including copying from the Macintosh media to the PC, changing directories, diaplaying Macintosh file attributes, etc. As a Windows application, MacCD for Windows offers the full convenience and user friendliness of the Microsoft graphical interface. Under Windows 95, due to a bug in the VxD CDFS (CD-ROM File System virtual driver, replacing MSCDEX [Microsoft CD-ROM Extensions]), MacCD cannot access the Macintosh CD-ROMs. The bug is acknowledged and should be fixed very soon. In the mean time, we are working on a solution which doen't use this component of the Windows 95 File System. The MacCD package includes the DOS version of the program (version 3) to give users access to the specific functions of that program, in particular the command line, which makes it possible to automate certain operations. The MacCD Concept In the PC environment, the CD-ROMs come in two flavours : High Sierra, name of the hotel where a committee defined the first standard, and ISO 9660. These CD-ROMs can be read on the Macintosh when the correct extensions are installed. But the Mac also have a proprietary format, which is a pure image of a classical HFS (Hierarchical File System) Macintosh magnetical volume. CD-ROMs are a good choice for distributing images libraries, font catalogs, and so on. The price of CD-ROM engraving devices is also becoming affordable, and CD-ROMs are now used to store big files (archiving of a complete catalog, or of all files for a customer) and to deliver huge images (very high resolution scans, for an example). This development makes it possible to exchange large data volumes between the two environments, without using more expensive media like the 5.25" magneto-optical cartridges. MacCD gives PC users the capability of recovering data created on a Macintosh without having to resort to such as methods as subdividing files into smaller sub-units or using the transfer services of a heterogeneous network. These methods are unsuitable for transferring large files (such as image retouching or 'flashing' jobs) to a service bureau, if one does not want to accept a loss of resolution to reduce file sizes. Using MacCD MacCD gives PC users the capability of reading data created on a Macintosh. When you transfer data created on a Macintosh to a MS-DOS compatible medium, there are two possibilities. Either the program in which these data are to be used is capable of reading the logical format (which is the case of sibling applications such as Word, WordPerfect, Ventura, PageMaker, Xpress, which exist in both PC and Macintosh versions and can read each others formats, as well as several graphics application), or it is necessary to use a data conversion program. In the first case, it is sufficient to load the data into the destination program, which will perform any required conversion. In the second case, you need a conversion program. There are a number of programs on the market, each with its specific features and strengths (as well as their weaknesses), but that is a different matter. Hardware compatibility MacCD is interfaced to the Microsoft CD-ROM Extensions (MSCDEX) and should work with all CD-ROM devices on the market (whether SCSI, IDE or proprietary). For the time being, MacCD doesn't workunder Windows 95. We are working on a solution to this problem. Organization of this User's Guide The following pages first of all cover the installation of the program, then its basic uses (First Steps) by providing a simple example for copying files from a Macintosh CD-ROM to a PC. This part is intended for all users and requires no specific knowledge of data processing. It exists in both a DOS and a Windows version. This First Steps User Manual is only an excerpt of the real manual (80+ pages). You get the manual when you register the DOS version (shareware) or buy the Windows version. Installation After having made the indispensable backup copy of your program disk, all you need to do is copy the files it contains to your hard disk. The MacCD package includes an installation program. In the Program Manager, choose the 'File' menu, the 'Execute' item and type 'A:INSTALL' or 'B:INSTALL'. The install utility should take care of everything. Instead, you can either use the Windows file manager or the DOS command line to install MacCD in a directory of your choice. Under DOS, you simply go to the directory you have set up for MacCD or the directory that contains a previous version, in case of an update. At the DOS prompt you type : COPY A:*.* Assuming, of course, that the program diskette is in drive A. Installing an icon under Windows To start MacCD for Windows from the file manager, you need to install the MacCD icon if you choosed to copy the files manually. To do so, you return to the Program Manager. You can put the icon in an existing group that contains other similar utilities or you can create a special program group for MacCD. In the 'File' menu, choose 'New' and then either 'Program Group' (to create a new group) or 'Program Item' (to insert a new item in an existing group). Choose the 'OK' button. The 'Program Item Properties' dialog box appears. In the 'Description' box, type MacCD and in the 'Command Line' box, enter the path followed by the program name. Your installation is now complete. To familiarize yourself with the basic functions of MacCD, take a Macintosh CD-ROM and read the section "First Steps". Installing the DOS version If you want to use MacCD from any subdirectory of your hard disk, make sure that the path command in your AUTOEXEC bat file contains the directory in which MacCD is installed, because otherwise the operating system will not find he program unless you type the complete path each time you start MacCD. To display the current content of your path command, type at the DOS prompt: PATH Assuming that the directory you want to use is C:\MAC, this string must be included between semicolons in the path you now see on your screen. If it is not, you can use any word processor capable of saving ASCII files to update the path command in your AUTOEXEC.BAT file, which is normally located in the root directory. MS-DOS version 5 (and higher) provides an editor perfectly suited for this task. Your installation is now complete. To familiarize yourself with the basic functions of MacCD, take a Macintosh CD-ROM and read the section "First Steps". First Steps Overview MacCD provides you with a certain number of functions to manipulate the Macintosh volume. The underlying philosophy of both versions (DOS and Windows) of the program is to give you full control over the Macintosh volume. That is the core of MacCD and all its functions either display information from it, or copy data from the CD-ROM to your hard disk. Each version of the program has specific features which will be dealt with one by one. We will discuss one example of a work session, for a transfer between a Macintosh and a PC. This example covers all operations you are likely to perform in normal use. First Steps Under Windows The Windows graphical user interface is known for its user friendliness; most operations can be performed without having to consult the users guide. We assume that you are already familiar with other Windows applications and it is therefore not necessary to explain basic concepts such as clicking, pulling down a menu, etc. Transfer from Macintosh to PC Double-click on the MacCD icon in the Program Manager. MacCD displays its screen and directly lists the directory if it can find alone the Macintosh volume. If not, the screen will be empty, and on the message line at the bottom you will find the message "Select drive in the 'Mac Drive' menu". Open the 'Mac Drive' menu and select the item 'Select Drive'. MacCD then brings up the 'Device selection' dialog box. Click on the drive that contains your CD-ROM to start the reading process. MacCD asks you to wait while it reads the file structure of the Macintosh disk. These structures, which are located at the beginning of the disk, enable the operating system to locate your files. As soon as MacCD has loaded this information into memory, the work screen is shown. This screen includes the following elements, from top to bottom: the title bar with the application name "MacScuzzy", the menu bar with the menus 'Mac Drive', 'File', 'Options' and 'Help', the button bar for direct access to the main MacCD functions and an area showing essential disk information: KB free and used, volume name and directory name. Below, there is the file and directory display panel, and at the bottom the message line. The display panel includes 18 lines on which 36 items can be displayed in the standard mode and 18 in the extended mode. The standard mode lists the title and the length of the data contained in the file as well as the indication if the item is a directory. In the extended mode, the length of the resources of the Macintosh as well as the dates of the creation and the last modification are also listed. Click on the first item. It is now shown in inverted video to indicate that it has been selected. Clicking on it a second time will cancel the selection. All files to be copied are selected in this manner. If one of the items is a directory, double-click on its name to expand it and display its content. On a Macintosh, this is the normal way of expanding a directory. Moving to a new directory will cancel all items selected in the previous directory. After completing your selection, click on the 'Mac>PC' button or open the 'File' menu and choose the 'Copy from Mac to PC' item. MacCD then opens the 'Destination Directory' dialog box. This dialog lets you select the directory to which you want to copy the files selected on the Macintosh disk. If you have specified a working directory in the MacCD program item (during installation or later), you can choose to skip this dialog box by checking 'Use current directory' in the options menu. After you have selected the destination directory, click on 'OK'. MacCD will now copy the selected files and show the source and destination names on the message line as each successive file is copied. Type 'ALT F4' or choose 'Quit' in the 'Mac Drive' menu. You have just completed your first MacCD session. First steps under DOS The program offers a dual interface, including a semi-graphical part with a selection bar which is controlled by the cursor keys and confirmed by pressing the ENTER key, the other is the command line, comparable to the DOS prompt. Finally, there is a possibility of starting MacCD from the DOS command line to automate certain repetitive or long tasks (use of batch files). The following section illustrates the most common use of the program and includes everything you normally need to know. Transfer from Macintosh to PC To get familiar with the basic program functions, simply perform the following operations in the order in which they are presented, on a real Macintosh CD-ROM. At the DOS prompt, type: MACCDDOS and press the ENTER key. This command line corresponds to reading on a single CD-ROM drive, or on the first drive if you have more. If you're using a mouse, MacCD also displays a menu bar showing its main functions. To simplify routine work, all these functions are accessible directly. Less frequently used functions are grouped in a menu ("menu..."). MacCD asks you to wait a moment while the disk is analyzed. Then it displays the volume name, the program prompt (**MACCDDOS**> if you did not change the program name) and the content of the root directory. The list of files and directories is displayed in two columns. Directories are followed by and files by the size of the data fork. You can ask for a selective listing. Just type 'DIR M*' to display only files beginning with a 'M' (note that this command is case-sensitive). If the root directory contains a subdirectory you want to expand, place the bar on it and type 'CD'. With the mouse, click on its name and click on the 'CD' button. Conversely, there are 'CD ..' and 'CD \' commands to open the parent directory and the root directory. We assume that the files you're interested in are listed in the display. If this is not the case, refer to the detailed description of the display modes in the next section. If you're not using a mouse, an inverted video bar marks the first item listed. This bar can be moved by means of the cursor control keys and the tab keys (TAB to move right, SHIFT TAB to move left). If you are using a mouse, the cursor will be in the center of the screen. Place the bar on the file to be copied and confirm by pressing the ENTER key. Move the bar to a different item. You will notice that a selection bar (on VGA screens it may have a different color) remains on the selected item. With the mouse, you simply click on the items you want to select. If you change your mind and press the ENTER key or click on the item a second time with the mouse, the selection is canceled and the item is no longer marked when you move the cursor to a different position. Multiple selections are possible. Now type COPY on the command line. If you now use the LEFT and RIGHT keys, you will notice that they no longer move the selection bar but the cursor on the command line. As soon as you've entered a character on the command line, these two keys no longer move the selection bar but revert to their original function as cursor control keys (of the command line). That way, you can make corrections without having to retype the complete command. But you can still select or deselect an item by using the other control keys (TAB and SHIFT TAB). Confirm by pressing the ENTER key. A message will ask you to wait while the files are copied to the default directory of the MS-DOS disk. The status line will indicate the source name (on the Macintosh disk) and the destination name (on the MS-DOS volume). Enter 'QUIT' to leave the program. You have just completed your first MacCD session. Editing the program internal table After having made a backup copy of the .EXE file, search for a 'TEXT????' string. That will bring you to a table of the following structure: TXT 00 TEXT???? 00 DOC 00 WDBNMSWD 00 TIF 00 TIFF???? 00 WP4 00 WP42SSIW 00 WP5 00 WP50SSIW 00 MW4 00 WORDMACA 00 MW2 00 MW2DMWII 00 XLS 00 XLS3XCEL 00 ... COM 00 APPL???? 00 EXE 00 APPL???? 00 In this table, the 00 character stands for a binary 0, while all other characters are ASCII characters. The table includes 40 lines i.e. COM and EXE correspond to lines 38 and 39. The suspension points stand for empty lines you can use. You can also modify the existing entries with the exception of the first one, which is used by default if no other corresponding item is found. The search is performed in the order of the entries; you should therefore not place a DOC 00 MW2DMWII string after DOC 00 MDBNMSWD if you want the DOC extension to be assigned to MacWrite II files.. If you do not know the strings used by the files you want to work with and if you do not have a Macintosh utility to find out, you can use the MacCD 'ATTRIB' command. To find the string you are interested in, simply copy a file produced by the same application to a disk and analyze it with the help of this command. As always, the Macintosh distinguishes between upper case and lower case and spaces are considered to be acceptable characters. ( c ) Pierre Duhem November 1995 All rights reserved All trademarks aknowledged Logiciels & Services Duhem 21, rue La Bruyere - 75009 PARIS (France) Tel. (+33 1) 49 70 04 55 - Fax (+33 1) 49 70 04 56 e mail : 100256,1732 (CIS) 100256.1732@compuserve.com duhem_log@msn.com