SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files
Dialog CD WRITER (C) By Galtarossa Umberto
                                Configuration and Usage
                                   ------------
                                 www.remotehost.org
                              postmaster@remotehost.org
                    ----------------------------------------------

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

(The name of the script is now dialog-cd-writer because is not part of the GNU project but is the same program)

** Read NEWS for last update. **

  • Run the script with:

sh dialog-cd-writer

  • You must have DIALOG installed; please edit the script if your file location is different. I have dialog in /usr/bin. The variables with the path setting are at the top of the script. (Now the program search dialog and display the location)
  • The front-end uses the most common programs for unix cd-writing:
        MKISOFS=/usr/bin/mkisofs
        CDRECORD=/usr/bin/cdrecord
        CDDA2WAV=/usr/bin/cdda2wav
        BLADEENC=/usr/local/bin/bladeenc
        DIALOG=/usr/bin/dialog
        MPG123=/usr/bin/mpg123

You will find this variables with the paths at the top of the script. Please change the values
if your setting is different.
If you don't have this programs you can find it at the url:

http://bladeenc.mp3.no
http://www.remotehost.org/bladeenc-0.94.2.tar.gz

-- for bladeenc

ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/ -- for mkisofs and cdrecord

http://www.tardis.ed.ac.uk/~psyche/pc/cdrom/CDDA.html -- for cdda2wav

ftp://sunsite.unc.edu/pub/Linux/utils/shell -- for dialog

  • MPG123 is part of all GNU/Linux distributions. If you have MPG321, please make a soft link:

ln -s /usr/bin/mpg321 /usr/bin/mpg123


Almost all the operations must be executed as ROOT If you have some errors, try to run the commands as ROOT
  • When you run the script you'll see this options:
0) Basic Configuration    -     With this option you can configure 
                                the devices, the speed of your CD-W, and more
                                ***RUN THIS OPTION AS FIRST, PLEASE.***

1) Burn a Data CD         -     This option mount a data cd, make a iso-image 
                                and burn it on a cd in the CD-W device.
                                Then unmount the cd and remove the image.

2) Turn CD audio...       -     Read an audio cd located in the CD-R device, 
                                convert all tracks in cdr files in
                                the directory that you have chosen. 

3) Burn CD audio files... -     Read the audio cdr files in the directory 
                                that you have chosen and burn it 
                                on a cd. And then remove the tracks.

4) Burn an audio CD       -     Execute 2 and 3 -  Read and convert 
                                the tracks, burn it and remove it.

5) Burn on-the-fly-data   -     Burn a data cd on-the-fly. 
                                ***SEND ME BUGS PLEASE IF IT DOESN'T WORKS***
                                With this option the FIFO is not 100% full. 
                                The 1) is safer.

6) Burn on-the-fly-audio  -     Like 5) but with an audio cd. 
                                ***THIS OPTION BURN ALL TRACKS IN ONE TRACK***
                                (I'm working to fix this problem, 
                                             send me advice please).

7) Rip some Cd-track... - You can select some CD-Tracks and write mp3 files.

8) Rip a complete CD... - You can rip a CD in mp3 files.

9) Convert the mp3...     -     You can convert mp3 files in CDR Tracks.        
                                Then you can burn the tracks with the
                                option number 3).

10) Burn data files...    -     You can burn the contents of a directory, 
                                where you can place all the files or 
                                directories that you want to save.

11) Make an ISO...        -     Make an ISO image 

12) Burn an ISO...        -     Write an ISO image

13) Convert some...       -     Read some CD-tracks from CD-source and write CD-R files.
  • If you want to save the messages in a file, run the script with the options:

dialog-cd-writer 1>log 2>err

  • The CONFIGURATION is saved on the '.config' file in the same directory where the script is located. You can change the configuration options by hand or re-run the 0) option.

Ok, happy using!

If you find bugs or have some advices please write me: (english,italiano,deutsch)

Galtarossa Umberto


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.