I am not responsible for any damage to your hardware or software caused by this program. The use of the program can be dangerous. If you don't know what you are doing, don't do it. I am also not responsible for any misuse of the program by creating copies of CDs without permission.
USE IT AT OWN RISK !
X-CD-Roast is full X based CD-Writer-Program, and it is the successor of the cdwtools-0.93. It is a frontend for some CD related programs like cdwrite-2.1 and mkisofs-1.05. With some simple mouse-clicks you can copy or create your own CDs, without long study of any commandline-parameters.
Feature-list:
It is not possible to copy or create multisession-CDs! To copy a multisession CD, you have to mount it, copy all files to HD and master them.
This program is a mixture of C and Tcl-programs. I included all necessary source-code, except the Tcl/TK-package with the Tix-Extension. But I included a precompiled binary of a working version of Tcl/Tk/Tix. You therefore don't need to get and install Tcl/Tk/Tix yourself!
You need:
(Kernels under 1.3.57 had problems with dummy-write and kernels under 1.3.98 failed to detect CD-Rom-Media-changes correctly and read-ahead handling is working only with pre2.0.6)
Note: YOU WON'T BE ABLE TO READ IMAGES WITH A KERNEL OLDER THAN PRE2.0.6!!
Note 2: You must include SCSI-Disk, CD-Rom and Generic-Support in the kernel!
Note 3: This program is a GOOD reason to update to Kernel 2.0!
Kernel: ftp://ftp.funet.fi/pub/Linux/PEOPLE/Linus/v2.0 ftp://ftp.leo.org/pub/comp/os/Linux/Linus/v2.0 Tcl+Tk: ftp://ftp.neosoft.com/pub/tcl ftp://ftp.smli.com/pub/tcl Tix: ftp://ftp.xpi.com/pub/
Software included in this package not written by me:
For more information about these included programs look at the README-file in the src-directory.
To use this program you need the following hardware:
I recommend something like /usr/local/lib/xcdroast-0.95c
Note: I am not providing a install-script at the moment, so pick yourself a good place for the files.
cd /usr/local/lib/xcdroast-0.95c/xcdrlib).
Now check if your system is configured ok:
(do: ln -s /dev/scd0 /dev/sr0; ln -s /dev/scd1 /dev/sr1 )
%
displayed in your shell and they were no error-messages
displayed, all is well.
Then type exit to leave tixwish.
For a better system-check run the script ./syscheck and follow the instructions on the screen. The generated output is also a good base for bug-reports!
You must be user "root" to run this program. Just setting the setuid bit won't work. (You can't give a script the setuid bit)
Type xcdroast to start the program. Then you should see the title-screen and a message that no configuration-file was found. Click on Ok to enter the setup menu.
Note: If you can't start xcdroast, it is perhaps not in your path. Go in the directory where you installed xcdroast and type "./xcdroast" in this case.
In the setup menu you specify all your hardware settings, all other program modules will use the devices you set here.
Note that, currently, only SCSI-Devices are displayed, IDE and other hardware is NOT SUPPORTED. (IDE will be supported in future versions.)
There are three options:
None
After you have finished set up, press Save to create a configuration file xcdroast.conf. Please note that your hardware settings, partitions and mount points are also saved in that file.
At each startup the settings in the file are compared to your current system settings and, if there are mismatches, you are forced to enter setup again.
Note: If you have been forced to enter setup, you can't exit with Cancel, because the program can't run without all settings specified.
First the program checks in contents of your image partition and mounts it if it finds an ext2-filesystem on it.
The setup of your devices is diplayed at the top of the menu. To change any of the values, you must enter the setup menu again.
To the right you see a window titled CD-Information which identifies the CD in the read device. The window Image-Information gives you information about the contents of the image partition.
On the left, is the control panel where you choose whether you want to copy an audio/mixed-mode or an data CD. This is preselected according to the type of CD in the drive.
The button Rescan updates the two information windows. You should press this button after inserting a new CD.
Cancel quits to the main menu.
Copy a Data-CD in four steps:
First read the entire contents of the CD to a HD-Partition. Then optionally verify the data by comparing the partition with the CD. Next write the CD-image from the HD to a CD-Recordable. The last step is the verification of burned CD-R with the image on the HD.
Here, you can choose whether you want to read the image to a file or raw to the partition. I recommended a read to the partition because this is a little bit faster.
If you insert a non-ISO9660 CD (like Mac or Sun-CDs) you have to read the image to file because this is only way to determine the image size when writing.
Note: If you read the image to a file, you can enter a filename. Always make sure you have the extention ".raw".
Note: You should not need to change any of the settings displayed in the verify-menu. They are correctly set when you enter the menu after reading the image.
You can specify the type of your CD-R and some write options:
Some notes about audio CDs:
Audio CDs are divided into tracks. Each track usually contains a song and, between tracks, there is a two-second pause. Some CDs, however, do not have these two seconds pauses between tracks, which makes it tricky to copy them. This software writes audio CDs in the track-at-once-mode, which means that the hardware (the writer) itself ALWAYS creates the two-second pause. There is NO way to get around this at the moment. So, if you want to copy a CD without the two-second pause, you have to read in the whole CD as ONE big track (see merging below). It is also not possible to set or read CD-indexes at present. This will change when cdwrite allows this.
Copying audio or mixed-mode is very similar to copying data CDs. First read in the tracks (can be data or audio). Next verify the tracks. Verification by comparison is only possible with data tracks. To verify audio tracks, you must listen to them (soundcard required). Then you can write the CD. The last step is verification of the data track written on CD.
Example: If you have a track with 2 minutes and you want record only 30 sec. beginning after the first minute, you would enter a start offset of 60 sec. and an end offset of -30 sec.
Global Offsets: Global Offsets means that all tracks are assigned the same offset.
Skip last 2 sec. of track: Most audio CDs have a 2 sec. pause between the tracks. The CD-Writer automatically creates these 2 sec. pauses when writing audio tracks. If you skip the 2 sec. pause at recording time, you get the 2 sec. back when writing the track so the track retains its original length. Nevertheless, I recommend listening to the track before burning the CD to make sure to complete song has been recorded.
Time-Offset Units: Here you choose whether you want the offsets displayed in seconds or in frames (1/75 sec.).
In the main-window you select which tracks you want to read. There you can enter a track title for audio tracks (for your information only). The columns Preemphasis and Copy permitted show this information, you can't change them.
The playbuttons pre-play the audio-track exactly like they will be recorded. The play quality may be not very good. This depends on your hardware. You need a soundcard for this feature.
Merging: If you want record several tracks into one track, e.g., to get around the automatic 2 sec. pause between tracks, you can merge tracks. Just select several tracks in order and click on "Merge Tracks". You will see a black arc connecting these tracks. Offsets between connected tracks are ignored.
The play-audio window should be self-explanatory. Note that you can jump around in the track by left-clicking somewhere in the process display.
Total length shows the total length of all tracks on the HD.
Size of sel. tracks HD shows total size of all tracks selected in the left window.
Total size of track on CD reports how much already is scheduled to be written to the CD. The 2 sec. pause between each track is already included.
With the two arrows between the two main windows you can select and deselect tracks to write.
After pressing "Continue" a window pops up similar to the one by "Write Image". (See "Write Image" for a description.)
Quick Copy-CD allows copying of a pure ISO9660-Data-CD without the need of creating an image on HD. You need a seperate CD-ROM device in addition to your writer to utilize this feature. In this mode, data is read off the CD-ROM device and written immediately to the writer. Please note that your read device should be faster than your writer (alternatively, decrease write speed) - I recommend that the read device is twice as fast as the writer, but I successfully burned CDs with 4.4x read speed and writing with 4x speed - and that any errors (e.g., read errors) result in a wasted CR-R!
I strongly recommend experimenting with this option only with simulation write enabled. The write options have been already explained in the write-image section of this README file.USE THIS FEATURE WITH CAUTION !!!!!
Master a CD means that you setup a directory tree containing up to 650 MB of data that is to be burned on a CD. Because the filesystem on a CD is completely different from a filesystem on the harddrive, we must convert the data to the CD-ROM format ISO9660. This takes quite some time.
After you set this dir, the HD-Content Preview-window displays its contents. Use this to check if you have choosen the right directory. The files displayed in this window are the files that will be in the root directory of the CD.
You can choose:
Clear Entries clears all entries.
Read ID's from CD reads all values from a CD in the drive.
With the Calculate Size button you can find out the approximate size of the image before you master it.
Please note that this size is just the size the data occupies on the harddisk. Usually the generated image is a little bit smaller because the ISO9660-filesystem stores files more efficiently.
After mastering the Image-Content-Preview is updated and shows the contents of the image. Use this to check whether the correct files have been mastered. The way filenames are displayed can differ a little on other systems.
Please consider that the ISO9660 standard does not allow more than 8 directory levels. If you have more than that, a directory "RR_MOVED" will be created in the root of your CD containing all the files that are beyond the eighth directory level.
If you enabled Rock Ridge on the CD, then this directory will be invisible mapped back at the correct position when you mount the CD on Rock-Ridge capable systems (Unix).
When you see a directory "rr_moved" in the Image-Content preview window and Rock-Ridge was not enabled, you had more than 8 directory levels.
READ THIS - It will help!
I was able to write a CD successfully with 4x-speed, on a Yahama Writer with an ISA-Adaptec 1542B, 486/50. So there is enough power in Linux. Don't worry. But do user simulation writes to play safe.
Unless your SCSI controller and driver support discon- nect/reconnects, you will probably not be able to write a CD correctly if the CD writer and hard disk are on the same SCSI bus. It is not recommended that IDE drives are used on CD-writing system; if they are, it is imperative that interruptible operation is enabled using the hdparm command.
It is not recommended to use more than single speed when reading data off a filesystem (as opposed to a raw disk partition).
cdwrite does not verify that the input data will fit on the media. In the case of media overrun, the resulting disc is usually unreadable.
A Compact Disc can have no more than 100 tracks.
When creating a disc with both audio and data tracks, it is conventional to place the data on track 1. Some CD players or CD-ROM drives may respond incorrectly to any other arrangement, although the specifications permit it.
Many systems are not able to read more than a single data track, or need special software to do so.
Some CD players have problems reading "gold" CD's, and some have problems reading the outermost tracks (i.e. very long CD's).
It is best to use your CD-Writer for audio read. They should all perform perfectly.
Example: To convert a file "sound.wav" (44.1kHz, 16-bit, Stereo) to CDDA do this:
sox sound.wav -x sound.cdda
Hint: After creating your own audio-tracks and copying them to the image directory, use the "Play Audio-Tracks"-Option to listen to your track. If it plays ok, you made everything right. (The audio-files must have a ".cdda"-extension to be recognized by X-CD-Roast)
Q: I am using the predecessor of this program, "cdwtools-0.93", what is new with X-CD-Roast?
A: Really new is the much easier to use X-Interface, the automatic SCSI setup, better audio-track control and a log facility.
Q: Why do you only support SCSI-Hardware?
A: All SCSI-Hardware can be accessed in the same way, this is easier to code and avoids problems. IDE harddrive and non-SCSI CD-ROM support is in the work, and will be available in a future version.
Q: Is it safe to burn CDs under X?
A: Any 486 should be fast enough to handle this, but if you are in doubt try simulated writes to check if errors occur. -
Q: What about Multisession-support?
A: I am just supplying a frontend for existing programs like cdwrite-2.1 and mkisofs-1.05. As long this programs does not support multisession, I can't either. But multisession is in the works, and when it is ready, I will (hopefully) release a new version supporting it. -
Q: Hey, my backspace or delete key doesn't work in entry-fields. Is this a bug?
A: No, this is not a bug, it is just an incorrect key mapping in X11. You can fix it by putting this line in your .xinitrc (or if you have an Xmodmap-file, by changing the corresponding line.) xmodmap -e "keycode 22 = BackSpace"
-
Q: I fail to compile X-CD-Roast, all I get are error-messages.
A: You have probably a kernel that is too old. Install 1.99.6 or above.
-
Q: X-CD-Roast failed to detect any of my SCSI-Hardware, what can I do?
A: Check if you compiled generic SCSI support in the kernel, and if the generic devices exist. To create the generic devices run
./MAKEDEV.sg
in the xcdroast-0.95c directory. -
Q: I think I found a bug, what should I do?
A: Before you send me a bug-report, check to see whether I mentioned this behavior somewhere in the README file. Then check if all your software and hardware meet the requirements listed in the requirement section of the documentation.
Also check to see whether there is a new version of this program is available, look at the primary site:
http://www.fh-muenchen.de/
/home/ze/rz/services/projects/xcdroast/e_overview.html
Ok, you've done all this and the error persist.
Supply me with the following information:
Thanks go to:
These CD-Writers are known to work with this Version of X-CD-Roast. A lot more may work, but you have to try yourself.