PDA

View Full Version : How can burn an XCD with nerocmd.exe?


Beave
6th July 2002, 02:16
I love XCD. It works great! It even spins down my screaming Pioneer DVD-Rom when playing the movie, which I didn't know before.

I made a VBScript, so that I can rightclick on the OGM file and it starts Mode2CDMaker and copies everything in the *.bin.
It works great, but now I also want to start Nero over the Commandline to burn that *.bin in Mode2.

I tried for a couple hours but couldn't do it. It always says there is not enough space on the CD(which is not true, of course).

Any suggestions? Is there maybe another tool to control nero over the commandline? I want it to pass the path and so on...
Is that maybe even possible over Visual Basic directly?

Beave
6th July 2002, 06:24
Well, got it to work with cdrdao.

It seems that I have to be in the same dir like the *.bin file to get it work. SO:

D:\>D:\cdrdao write --device 2,1,0 --driver generic-mmc F:\image.toc

will not work, but:

F:\>D:\cdrdao write --device 2,1,0 --driver generic-mmc F:\image.toc

will work. I find that quite strange. Cost me a lot of time figuring that out.

avih
6th July 2002, 09:55
glad you could make it work... but i just can't see the difference between the 2 cli commands...

ChristianHJW
6th July 2002, 10:30
d:/...

f:/...

Beave
6th July 2002, 14:30
I have to first write
f:
to make it work. If the image.toc is in 'f:\divx\MyMovies\' I have to write
f:
cd divx\MyMovies
and so on.

I have to 'be' in the directory where the image.toc is so that cdrdao recocgnizes the image.bin.

Here is the actual output:

D:\>cdrdao write --device 2,1,0 --driver generic-mmc F:\Heat\XCD\Heat.toc
WARNING: Environment variable 'HOME' not defined - cannot read .cdrdao.
Cdrdao version 1.1.5 - (C) Andreas Mueller <andreas@daneb.de>
SCSI interface library - (C) Joerg Schilling
L-EC encoding library - (C) Heiko Eissfeldt
Paranoia DAE library - (C) Monty

Check http://cdrdao.sourceforge.net/drives.html#dt for current driver tables.

ERROR: Track 1: Cannot open data file "Heat.bin": No such file or directory
ERROR: Track 2: Cannot open data file "Heat.bin": No such file or directory
ERROR: Toc file "F:\Heat\XCD\Heat.toc" is inconsistent.

And this works:
F:\Heat\XCD\>D:\cdrdao write --device 2,1,0 --driver generic-mmc F:\Heat\XCD\Heat.toc

The TOC file looks like this:
CD_ROM_XA

// Track 1: Header with ISO 9660 file system
TRACK MODE2_RAW
DATAFILE "Heat.bin" 00:20:41

// Track 2: data from E:\Heat\CD\Heat.ogm
TRACK MODE2_RAW
DATAFILE "Heat.bin" #3624432 79:54:00

If I insert absolute pathes in the Heat.toc I get a mistake for the backslashes.
The workaround in VBScript was:
"cmd /K CD /d " & XCDFolder & " & " & cdrdaoOpts

Any ways, it works now. With one click on *.ogm the mode2cdmaker starts, deamon loads the image and cdrdao waits for confirmation. :D

Now if oggmux could be controlled by command line... ;)