tag:blogger.com,1999:blog-3554166144204741789.post195031817361384344..comments2023-12-31T02:16:32.747-08:00Comments on 1-800-MAGIC: Backing up software CDs - programmaticallySergey Solyanikhttp://www.blogger.com/profile/03811112928687191837noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-3554166144204741789.post-24674180323349366892008-02-21T14:39:00.000-08:002008-02-21T14:39:00.000-08:00Yeah, you are right of course, but even data ("sof...Yeah, you are right of course, but even data ("software") CD protection is a fascinating subject. :-)<BR/><BR/>http://en.wikipedia.org/wiki/CD/DVD_copy_protection#Commercial_CD_protections<BR/><BR/>I think it is very common for all kind of commercials products: all Microsoft PC games use it for example: try Halo CD that you have for example.<BR/><BR/>I guess that internet "activation" ( node locking) makes it less relevant, but ... it should be still very popular.DzembuGaijinhttps://www.blogger.com/profile/18060101061698045052noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-1950001915393316752008-02-21T10:31:00.000-08:002008-02-21T10:31:00.000-08:00No, it is not possible even theoretically.That's b...No, it is not possible even theoretically.<BR/><BR/>That's because reading redbook audio is nondeterministic: audio cds contain far less metadata than data cds, for example, they don't store current position along the track.<BR/>So dumping audio cds at speeds other than 1x requires a lot of processing - basically, you have to check whenever skip or overlay occured. That's called, as I believe, jitter correction.<BR/>Things get even funner then we've got scratch.<BR/><BR/>You can get some insights into this in man cdparanoia - look how much correctable errors it have got and how complex do they sound.Илья Казначеевhttps://www.blogger.com/profile/08047072519984995214noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-84676812317963038992008-02-20T23:18:00.000-08:002008-02-20T23:18:00.000-08:00No, it's not possible to rip an audio CD by copyin...No, it's not possible to rip an audio CD by copying the device to a file in *NIX.Alex Efroshttps://www.blogger.com/profile/04974550881781378308noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-61164203268031778142008-02-20T18:21:00.000-08:002008-02-20T18:21:00.000-08:00Ilya: you're right about unwieldy API - that's Cut...Ilya: you're right about unwieldy API - that's Cutler's roots in DEC. I have a post on it here: http://1-800-magic.blogspot.com/2007/12/unix-vs-windows.html<BR/><BR/>Dzembu: yes, this will not rip audio CDs at all. They are not block devices.<BR/><BR/>Question to Unix people: can you actually rip an audio CD by copying the device to a file?Sergey Solyanikhttps://www.blogger.com/profile/03811112928687191837noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-54287668052390952502008-02-20T16:20:00.000-08:002008-02-20T16:20:00.000-08:00Great post! Cool and fun :-) Do not forget one sma...Great post! Cool and fun :-) Do not forget one small thing: CD ISO != CD. Not with this code anyway. It is not that simple. Try to fetch almost any game CD and make ISO this way. Then burn it and try to play. Try NERO. It will not do it as well. Also, good luck with most Japanese music CD's ;-) Most likely you will not even get ISO. But, as I said, this is a terrific post and code should work with non-protected media. Btw, try to run it on venerable VISTA :-) to enjoy it UAC one more time. So, if you hit some issue and do not have enough free time and team to "productize" this great 200 lines, you may need a shot of good alcohol 120% from this barrel:<BR/>http://www.alcohol-soft.com/<BR/>They are not charging 44$ for nothing :-)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-60061506327652650552008-02-20T14:00:00.000-08:002008-02-20T14:00:00.000-08:00dd? You don't need special really powerful tools l...dd? You don't need special really powerful tools like dd just to create CD/DVD image, you can use 'cp' or even 'cat':<BR/><BR/>$ cp /dev/dvd /tmp/dvd.iso<BR/>$ file /tmp/dvd.iso <BR/>/tmp/dvd.iso: ISO 9660 CD-ROM filesystem data 'GOTHIC3'<BR/><BR/>Everything should really be a file, not just be 'like a file after 200 lines of code'. BTW, even in *NIX not everything is really a file, but in Inferno it finally is! :)Alex Efroshttps://www.blogger.com/profile/04974550881781378308noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-44380316617512412092008-02-20T13:09:00.000-08:002008-02-20T13:09:00.000-08:00That's what people do when they haven't got dd. Pe...That's what people do when they haven't got dd. Perhaps you can have some of your money back.<BR/><BR/>Also: WIN32 api is sooo long and unwieldy!Илья Казначеевhttps://www.blogger.com/profile/08047072519984995214noreply@blogger.comtag:blogger.com,1999:blog-3554166144204741789.post-82769043285384231792008-02-20T01:14:00.000-08:002008-02-20T01:14:00.000-08:00Cool-e-O! Thanks! Really like the article. Funny, ...Cool-e-O! Thanks! Really like the article. Funny, I did not know I can open a disk as a file. As an old hacker I always used some low level API... Thank you, really enjoyed the article!Eldarhttps://www.blogger.com/profile/15861918457793608316noreply@blogger.com