View Full Version : How to: Wine Installation & using DVD Shrink and DVD Decrypter under linux
KpeX
6th March 2005, 18:17
Once upon a time, using DVD Decrypter under linux required scsi emulation in your kernel. Thankfully those dark days are gone, and the guide that follows is now much simpler. If for some odd reason you'd like to see the old deprecated method, please see here (http://dhost.info/kpex/guides/dvd-winehowto-oldscsi.html).
One of the most common questions asked about dvd ripping under linux is how to set up DVD Decrypter and DVDShrink. At this time there is no full-disc compressed-domain DVD transcoder for linux, which is where DVDShrink emulation helps out. Although there are very many excellent DVD rippers for linux (such as vobcopy (http://vobcopy.org) and dvdbackup (http://dvd-create.sf.net)), DVD Decrypter can be useful for ArCCos-protected discs and other 'new' copy protections. In this document we'll discuss how to setup and install wine to use these programs properly. As usual, a '$' before a command indicates it should be run as user, a '#' prompt indicates it should be run as root.
Part One - Installing Wine
Many distributions now include binary wine packages; however, I strongly recommend compiling it from source; on every box I've installed it on a source installation works better. Make sure the development packages from your distribution have been installed, and then you can either download the latest wine snapshot from here (http://www.ibiblio.org/pub/Linux/ALPHA/wine/development/) and untar it: $ tar xvzf wine-20xxxxxx.tar.gz
$ mv wine-20xxxxxx wine or check out the latest CVS of wine: $ export CVSROOT=:pserver:cvs@cvs.winehq.org:/home/wine
$ cvs login
(password is 'cvs')
$ cvs checkout wine Later when you want to update your source, you can just enter the command:$ cvs update -PAd from the wine source directory.
You'll now have a wine/ directory (either from tarball or CVS) containing the wine source code. Wine is always in heavy development and is still considered alpha software, keep that in mind.
Now, from the wine directory, run $ ./tools/wineinstallThis will first configure wine and then ask you if you want to build wine, su root, and install wine. Enter 'yes' and then sit back and wait while wine compiles. After it's finished wine will ask you for your root password, enter it and wine will be installed.
Wine will then ask if you want to create a ~/.wine/config file; say yes. The wine installer will then search for an existing 'real' windows installation on your hard drive, and ask if you want to use it for the wine install. Saying 'yes' to this option usually causes lots of problems, it's usually much stabler and safer to say 'no' and wine will create a clean install. Wine will then ask you where you want to put your 'fake' C:\ drive, you can stick with the default ~/.wine/drive_c.
Now your wine install should be complete. You can test it by running the wine-built in 'notepad' command. If a window that looks something like windows notepad.exe pops up, you're in good shape.
Part Two - Configuring Wine
Now before we install any programs, we'll set up wine to work well with Shrink and DD. Open up the ~/.wine/config file we created earlier, and scroll down to the '[Version]' section. Change the Windows version to win2k for compatibility with DVDShrink, and make sure the line is uncommented (remove the semicolon at the start). The start of your version section might then look something like this:[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
"Windows" = "win2k"
This is a very important change, skipping this will render Dvd Decrypter and DVD Shrink virtually useless. This is the only change you'll need to make to your config file. Save and close the file.
We'll now need to set up wine to recognize our hardware. Change to the ~/.wine/dosdevices/ directory: $ cd ~/.wine/dosdevices/ Virtual wine drives in this section are set up with symbolic links. To set up a drive linking to a directory, use a symbolic link like a: If the directory is the mount point for a device (such as for CD and DVD drives), link to the mount point with b: and the device file with b:: For example, to set up a virtual drive at c: pointing to a folder /path/to/folder on your hard drive, execute the command $ ln -s /path/to/folder c: To set up a virtual drive at d: pointing to a drive /dev/hdc mounted on /mnt/cdrom, execute the commands $ ln -s /mnt/cdrom d:
$ ln -s /dev/hdc d:: Set up links in this fashion for all drives you want to access for wine. My dosdevices directory looks like this:a: -> /mnt/floppy
a:: -> /dev/fd0
c: -> /home/jpryor/.wine/drive_c
d: -> /d
f: -> /home/jpryor
g: -> /mnt/dvd
g:: -> /dev/hdc
h: -> /mnt/dvdrw
h:: -> /dev/hdd
z: -> / Note the DVD drives set up as g: and h: . You can test if these drives have been set up properly by running notepad again and checking if you can read files in the various drives. Now we should be all set to install programs.
Part Three - Installing DVD Shrink and DVD Decrypter
We can now install DVD Decrypter by running its installer with wine: $ wine SetupDVDDecrypter_3.5.4.0.exe This should run the DVD Decrypter installer. After the installer finishes, you can run decrypter by executing (if you used the default install location): $ wine "~/.wine/drive_c/Program Files/DVD Decrypter/DVDDecrypter.exe" You can add a shortcut to this command in your window manager menu if you like. After DD starts up, make sure that Dvd Decrypter is using the SPTI interface - in the Tools > Settings menu > I/O tab change the Interface to "SPTI - Microsoft". An error in DVD Decrypter's log that starts with "DeviceIoControl" is normal under wine, it shouldn't cause problems. Now you should be set up to rip and burn with DVD Decrypter. Choosing a destination location in DD has issues under wine, you may have to use the automatically generated location for ripping or specify the destination from commandline.
You can then install DVD Shrink by running its installer: $ wine dvdshrink32setup.exe DVDShrink shouldn't need any additional configuration at this point, if your wine devices are set up you should be able to rip encrypted discs and do full backups. You can run it by executing: (default location) $ wine "~/.wine/drive_c/Program Files/DVD Shrink/DVD Shrink 3.2.exe" Like DVD Decrypter, you may want to use a bash alias or desktop shortcut to execute this command. DVDShrink's "open files" button currently doesn't work under wine, so the only way to open files on your hard drive is to select the drive from commandline. For example, say i have a dvd directory called "DVD_VIDEO" in my linux filesystem in the directory that maps to drive d: in my .wine/dosdevices (and "Open VIDEO_TS folders" option is on in DVDShrink), I can open the DVD like this: $ wine dvdshrink.exe "D:\DVD_VIDEO" replacing with the correct paths to dvdshrink.exe and your DVD. Sometimes when calling DVDShrink from commandline like this, the left panel will be invisible after analyzing. The solution is simply to maximize and unmaximize or close and reopen DVDShrink.
Good luck and please post any feedback / questions / problems/ things I missed. If you use ubuntu linux or are interested in getting preview working in DVD Shrink, please see mrbass' ubuntu-specific guide of the same topic here (http://mrbass.org/linux/ubuntu/dvdshrink/). Thanks to outlyer, mrbass, M7S, and eveyone else that's pointed out things I missed.
Joe Fenton
8th March 2005, 02:51
Doesn't work in FC3 64bit. The drive shows as emulated SCSI and works in many Linux apps, but not in DVD Decrypter. It reports no devices found.
Maybe it's a 64bit thing.
outlyer
8th March 2005, 05:51
Chances are your distro already comes with SCSI emulation support, enabled or not.
If you're not sure you can check for the needed kernel module with:
$ find /lib/modules/`uname -r`/ -name 'ide-scsi.ko'
if a file is listed you have it, and you probably don't need to recompile the kernel.
Generic SCSI support is in the module sg:
$ find /lib/modules/`uname -r`/ -name 'sg.ko'
While the SCSI core is in scsi_mod
$ find /lib/modules/`uname -r`/ -name 'scsi_mod.ko'
@ KpeX:
I'm using pure linux methods, so I'm not really interested anymore in running this stuff, but there's something that makes me wonder...
Is SCSI emulation absolutely needed? Isn0t really any workaround? (like installing some windows ASPI driver or something :confused: ).
SCSI emulation can bring some side effects and it is kind of deprecated (so a lot of users won't have it active).
KpeX
8th March 2005, 06:20
Originally posted by outlyer
@ KpeX:
I'm using pure linux methods, so I'm not really interested anymore in running this stuff, but there's something that makes me wonder...
Is SCSI emulation absolutely needed? Isn0t really any workaround? (like installing some windows ASPI driver or something :confused: ).
SCSI emulation can bring some side effects and it is kind of deprecated (so a lot of users won't have it active). I did some research into this, documentation is a bit sketchy (being alpha software) but I haven't found any other option. I did try installing adaptec ASPI drivers, this didn't cause any devices to show up. I agree that it's a very sloppy workaround, but when it comes to doing full disc transcodes or ripping intentionally broken DVDs there's not much choice. I don't like using scsi emulation myself, I only use it when absolutely necessary for arccos and similar discs.
fozzieb
8th March 2005, 16:53
Bloody hell i was just about to go looking for this info.
WOOHOO
outlyer
8th March 2005, 17:12
Thank you for the research anyway :)
Originally posted by KpeX
but when it comes to doing full disc transcodes
Just guessing. but is vobcopy + DVDShrink an option? This would reduce the burden a lot.
or ripping intentionally broken DVDs there's not much choice.
Do you mean DVDs with some kind of copy protection schemes?
KpeX
8th March 2005, 19:22
Originally posted by outlyer
Just guessing. but is vobcopy + DVDShrink an option? This would reduce the burden a lot.It is an option, but DVDShrink's 'open files' button doesn't work under wine, so you would probably be limited to main movie only backup (in reauthor mode). Edit: hard disc files can be opened from commandline, making vobcopy + dvdshrink an option. See the end of the guide above.Although if I need main movie only I usually use native tools (streamdvd + dvdauthor).
Originally posted by outlyer
Do you mean DVDs with some kind of copy protection schemes? Yes, like the new arccos discs and other discs with bad sectors. AFAIK there's no native tool to rip these yet.
For the vast majority of backups I do I use either DVDShrink alone or streamDVD + dvdauthor for main movie only. I'm working on a streamDVD bash script that adds chapter points and subtitles support that I'll post when it's done.
outlyer
8th March 2005, 23:47
Originally posted by KpeX
It is an option, but DVDShrink's 'open files' button doesn't work under wine, so you would probably be limited to main movie only backup (in reauthor mode). Although if I need main movie only I usually use native tools (streamdvd + dvdauthor).
Hmmm, I just read about this... sad.
Originally posted by KpeX
Yes, like the new arccos discs and other discs with bad sectors. AFAIK there's no native tool to rip these yet.
Fortunately I haven't found one of those bitches yet, so I had no idea how to rip them :P
Joe Fenton
9th March 2005, 00:56
@outlyer: FC3 has ide-scsi compiled as a module. As I said, I was successful in getting Linux to use the DVDRW as emulated SCSI. It was WINE (or DVD Decrypter) which didn't see the emulated SCSI device. Total Commander was able to use the DVDRW as a normal removeable media drive, so WINE was able to make some use of it.
The links I made were:
/media/cdrecorder -> d:
/dev/scd0 -> d::
In Total Commander (really great Windows file manager), d: shows up as a removeable media drive and I could read DVDs inserted into it, but in DVD Decrypter, no devices showed in its scans of winaspi.dll.
The device name was correct, and I verified it worked at a hardware level (plays DVDs through xine).
KpeX
9th March 2005, 01:45
Joe: sounds like your devices are set up correctly. What version of wine?
outlyer
9th March 2005, 19:10
Originally posted by Joe Fenton
@outlyer
I wasn't talking about your case, only noting a general possibility (the "you" in my first post was plural ;))
Anyway as KpeX says your setup seems fine (as long as scd0 is the correct device, IIRC there's a small diference between scd and sr devices but I may remember wrong).
Joe Fenton
9th March 2005, 23:57
Originally posted by outlyer
I wasn't talking about your case, only noting a general possibility (the "you" in my first post was plural ;))
Okay. Sorry about the misunderstanding.
Anyway as KpeX says your setup seems fine (as long as scd0 is the correct device, IIRC there's a small diference between scd and sr devices but I may remember wrong).
FC3/udev sets up SCSI harddrives as /dev/sda#, /dev/sdb#, etc., and cd/dvds as /dev/scd#. There is no /dev/sr#.
KpeX: I'm running the Athlon FC3 RPM from 2005-01-11. I've also tried it with the i686 version, and with a few older versions. Like I said, maybe it's related to the fact I'm running 64bit linux instead of 32bit. Most things work fine, but a few still don't.
iliketowatch
17th March 2005, 23:45
Originally posted by KpeX
It is an option, but DVDShrink's 'open files' button doesn't work under wine, so you would probably be limited to main movie only backup (in reauthor mode). Although if I need main movie only I usually use native tools (streamdvd + dvdauthor).
Yes, like the new arccos discs and other discs with bad sectors. AFAIK there's no native tool to rip these yet.
For the vast majority of backups I do I use either DVDShrink alone or streamDVD + dvdauthor for main movie only. I'm working on a streamDVD bash script that adds chapter points and subtitles support that I'll post when it's done.
I use dvdbackup (http://dvd.chevelless230.com/dvdbackup.html) to backup up DVDs to HD. It requires (optional) libdvdcss and libdvdread. I forgot about DVDShrink's 'open files' button not working, but it doesn't matter. I just put the dir of the DVD contents on the command line. It does it's analysis phase for a minute or two (on my machine) and then opens the main window. However, the DVD item on the left won't expand. Again, not a problem, just quit DVDShrink and restart it with the same parameters. It will then open with all info accessible.
I also use a short shell script to run DVDShrink:
-----
#!/bin/sh
wine "C:\Program Files\DVD Shrink\DVD Shrink 3.2.exe" $*
-----
M7S
14th April 2005, 19:54
Is there any way to temporarily configure the devices for SCSI emulation, without rebooting and configuring of grub?
I'm not sure if this is the right place to ask this, but do vobcopy descramble css? If I understood it's manpage correctly it doesn't.
KpeX
14th April 2005, 20:00
Originally posted by M7S
Is there any way to temporarily configure the devices for SCSI emulation, without rebooting and configuring of grub? I was interested in this as well. I found a few sites that say it should be possible to remove and insert ide-cd and ide-scsi modules on the fly and switch between direct and scsi emulation, but it doesn't work on my kernel (2.6.12-rc2 at the moment).Originally posted by M7S
I'm not sure if this is the right place to ask this, but do vobcopy descramble css? If I understood it's manpage correctly it doesn't. Yes, as long as you have libdvdread & libdvdcss installed (I don't think vobcopy will build without them) vobcopy handles css just fine. The only thing DVD Decrypter is needed for is arccos-protected discs & other crappily authored discs.
KpeX
26th April 2005, 22:20
Originally posted by iliketowatch
I forgot about DVDShrink's 'open files' button not working, but it doesn't matter. I just put the dir of the DVD contents on the command line. It does it's analysis phase for a minute or two (on my machine) and then opens the main window. However, the DVD item on the left won't expand. Again, not a problem, just quit DVDShrink and restart it with the same parameters. It will then open with all info accessible.
----- Thanks, finally added.
mrbass
27th April 2005, 04:16
I tried this trying to install dvdshrink 3.2 on ubuntu 5.04. I didn't compile wine from source though...next time I will. Anyway I got a reference error or something like that after clicking next for the installation for dvdshrink (right after the place icon on desktop/quickstart section). I only spent about an hour trying to get it to work so it was a feeble attempt.
I tried myself on my ubuntusystem and found that I got the same problem.
Searching around a little I found this (http://www.linuxquestions.org/questions/history/308985):
Frank from Frank's Corner helped me:
quote:
Hi Myk,
I took a look at it and found the cause of the problem. The program has
problems with the builtin version of riched20.dll, so you've got to use a
native version.
Download it here:
http://www.dll-files.com/dllindex/d....shtml?riched20 and copy it to
c:\windows\system
Install with the following command:
WINEDLLOVERRIDES="riched20=n" wine dvdshrink32setup.exe
Have a nice day!
Frank
-myk
It worked for me.
Regards,
M7S
mrbass
6th May 2005, 17:38
Originally posted by KpeX
Although there are very many excellent DVD rippers for linux (such as vobcopy (http://vobcopy.org) and dvdbackup (http://dvd-create.sf.net)), DVD Decrypter can be useful for ArCCos-protected discs and other 'new' copy protections.
Open up the ~/.wine/config file we created earlier, and scroll down to the '[Version]' section. Change the Windows version to win2k for compatibility with DVDShrink, and make sure the line is uncommented (remove the semicolon at the start). The start of your version section might then look something like this:[Version]
; Windows version to imitate (win95,win98,winme,nt351,nt40,win2k,winxp,win2k3,win20,win30,win31)
"Windows" = "win2k"
This is the only change you'll need to make to your config file. Save and close the file.
I'm almost done with a ubuntu specific dvdshrink dvddecrypter guide thanks to this guide and a couple of others guides and reading a few man pages.
DVDDecrypter rips at around 2X (2,600KB/sec) when usually that drive rips at 8X I believe. I'm gonna have to try dvd:rip and vobcopy like you say. But yes dvddecrypter is REQUIRED on quite a few new dvds.
The win2k is the only thing needed in dvdshrink and the only reason it's useful to add it (which is a huge one) is if you don't you can't insert a dvd and decrypt directly from dvdshrink using 'Open Disc'. Once again though the 'analyzing' speed is around 2X or so....hmmm. Oh well it does definitely work good. I gotta try that 'open files'. You should add the riched20 to the guide as that seems to be necessary. I was using wine version 20050310 or something like that.
mrbass
7th May 2005, 08:59
I finished that guide...kinda had to redo it...long story but vmare crashed and then notepad with all my notes. So ...ah who cares...50 hours later...lol.
One major thing you should add is add quartz.dll to ~/.wine/fake_windows/Windows/System
this enables video preview in DVD Shrink using Built-in Software Renderer (directshow). Only caveat is no sound and also left panel is grey each time you open dvdshrink but is easily fixed just by Maximizing and Unmaximizing Window.
Ubuntu Linux DVD Shrink, DVD Decrypter Guide
http://mrbass.org/linux/ubuntu/dvdshrink/
RedDwarf69
11th May 2005, 00:00
Stupid question.
scsi emulation was deprecated in 2.6 because new system is "better", no? (I love to be precise :D )
Then we can expect that wine will end supporting the new system or scsi emulation is really needed for wine?
Joe Fenton
11th May 2005, 03:41
Once one of the WINE developers NEEDS SCSI emulation and can't use the normal 2.4 style emulated SCSI. ;) :D
Originally posted by RedDwarf69
Stupid question.
scsi emulation was deprecated in 2.6 because new system is "better", no? (I love to be precise :D )
Then we can expect that wine will end supporting the new system or scsi emulation is really needed for wine? SCSI emulation is not needed by wine - it's needed by DVD Decrypter (many programs, DVD Shrink for example, work just fine without SCSI emulation under wine). The reason DVD Decrypter needs it I do not know, I never reseaarched it much. I just know that I've never gotten DD to work without SCSI emulation.
mrbass
13th May 2005, 03:24
This reason, could be wrong, but from what I read is that if it's trying to using an aspi driver it's a .vxd (I know they're .dll but..hmmm) which wine can never use (forgot technical reason). Only downside to scsi emulation is it slows reading and buring to 2X and 2.4X in my experience. Not a huge showstopper at all. Just takes longer that's all.
Originally posted by KpeX
I was interested in this as well. I found a few sites that say it should be possible to remove and insert ide-cd and ide-scsi modules on the fly and switch between direct and scsi emulation, but it doesn't work on my kernel (2.6.12-rc2 at the moment).
Originally posted on KpeX Webspace
Theoretically it should be possible to switch on the fly by loading and unloading the ide-cd and ide-scsi modules, but in my tests ide-scsi takes a death grip on the kernel once loaded.
Does this mean that it's possible to load the ide-cd and ide-scsi modules on the fly but that it's necessary to reboot to unload them?
Regards,
M7S
Originally posted by M7S
Does this mean that it's possible to load the ide-cd and ide-scsi modules on the fly but that it's necessary to reboot to unload them?
Regards,
M7S That's what happened to me when I tried it. Actually I could unload ide-cd fairly successfully, but once ide-scsi was loaded it refused to unload, claiming that the module was in use. One possible solution might be to enable forced module unloading in your kernel configuration, but I haven't tried this yet.
So I should use following commands
# modprobe ide-scsi.ko
# modprobe sg.ko
# modprobe scsi_mod.ko
to load the modules, right? And just reboot to unload or do I need to remove the modules first?
Do I need to do any futher configuring of the devices to use SCSI emolution on the fly?
Regards,
M7S
mrbass
22nd May 2005, 04:04
Originally posted by KpeX
SCSI emulation is not needed by wine - it's needed by DVD Decrypter (many programs, DVD Shrink for example, work just fine without SCSI emulation under wine). The reason DVD Decrypter needs it I do not know, I never reseaarched it much. I just know that I've never gotten DD to work without SCSI emulation.
Sweet DVD Decrypter no longer requires SCSI emulation to work. I can finally rip at 8X and burn at 8X all with DVD Decrypter with DMA enabled under linux. Here's my ubuntu dvddecrypter and dvdshrink guide
http://mrbass.org/linux/ubuntu/dvdshrink/
(in a nutshell just change win2k or winxp for [Version] in your .wine/config to nt40 and use STPI in I/O in settings in DVD Decrypter.
Originally posted by mrbass
Sweet DVD Decrypter no longer requires SCSI emulation to work. I can finally rip at 8X and burn at 8X all with DVD Decrypter with DMA enabled under linux. Here's my ubuntu dvddecrypter and dvdshrink guide
http://mrbass.org/linux/ubuntu/dvdshrink/
(in a nutshell just change win2k or winxp for [Version] in your .wine/config to nt40 and use STPI in I/O in settings in DVD Decrypter. Good find, just updated to the latest CVS and it works here too. I'll update the guides soon. This is good news, SCSI emulation is really not worth it.
@mrbass: I also noticed on your guide that you said vobcopy is limited due to SCSI emulation. As far as I know vobcopy does not need scsi devices, it uses libdvdread/libdvdcss which as far as I know do not use SCSI emulation at all. Perhaps there's some other reason vobcopy only rips at 2x for you? I'll do some tests with vobcopy and see what kinds of speeds I get.
Thanks, mrbass. Finally a way to copy arccos disks without crippling the system. :)
A little thing about adding dma in Ubuntu, though. If I understood things right, enabling dma some times results in that HAL fails to initialize at startup randomly. I had this problem some times ago and I think it was because I enabled dma. On ubuntuforums I read that it was recommended to change the startup order of hdparm: sudo mv /etc/rcS.d/SXXhdparm /etc/rcS.d/S99hdparm
where XX is the number hdparm has. I don't think that Hal has failed to initzialise since I tried that. Maybe something to add to the guide?
Regards,
M7S
mrbass
22nd May 2005, 17:50
Kpex yeah when I used to use scsi emulation vobcopy obviously had to use that route. So my point at the time was using vobcopy over dvddecrypter had no speed advantage. So I'll remove that...thanks.
M7S...well I'm kinda new to ubuntu myself cuz with warty 4.10 I never could get wireless working so 5.04 does so I use it now. From what I read DMA is generally disabled on cd burner, dvd burners which wasn't the case with warty. So is what your saying applicable to 5.04 or 4.10?
Originally posted by mrbass
Kpex yeah when I used to use scsi emulation vobcopy obviously had to use that route. So my point at the time was using vobcopy over dvddecrypter had no speed advantage. So I'll remove that...thanks. I see, that makes more sense.
Guide is updated, link to the old guide is dead at the moment, will be up later.
Joe Fenton
23rd May 2005, 03:43
I'm using WINE from 2005 04 19 in Fedora Core 3 AMD64, and although it allows me to chose SPTI when set to 'nt40', it still shows no drives. I have the dosdevices set so that d: is linked /media/cdrecorder, but nothing shows in DVDDecrypter.
:(
Originally posted by Joe Fenton
I'm using WINE from 2005 04 19 in Fedora Core 3 AMD64, and although it allows me to chose SPTI when set to 'nt40', it still shows no drives. I have the dosdevices set so that d: is linked /media/cdrecorder, but nothing shows in DVDDecrypter.
:( I'm not sure when this started working in wine, but I don't think the 4/19 snapshot will work with this new method. I'd wait for the may snapshot to be released or do a CVS compile.
Just to make sure though, you do have a d:: soft link to the DVD device and a DVD in the drive and mounted?
Joe Fenton
23rd May 2005, 06:42
Originally posted by KpeX
I'm not sure when this started working in wine, but I don't think the 4/19 snapshot will work with this new method. I'd wait for the may snapshot to be released or do a CVS compile.
Just to make sure though, you do have a d:: soft link to the DVD device and a DVD in the drive and mounted?
Getting WINE to compile in 64bit systems is a pain, so I always wait for the RPM. I guess I can wait for the next one and try again.
I did have d:: linked to the device, but I hadn't tried it with a disk in place, so I just tried that... no luck. Guess it's a new feature. Gives me more reason to look forward to the next release.
mrbass
23rd May 2005, 10:40
Originally posted by Joe Fenton
I'm using WINE from 2005 04 19 in Fedora Core 3 AMD64, and although it allows me to chose SPTI when set to 'nt40', it still shows no drives. I have the dosdevices set so that d: is linked /media/cdrecorder, but nothing shows in DVDDecrypter.
:(
Ok I previously had SCSI emulation ...I removed ide-scsi in /etc/modules and rm d: the link in ~/.wine/dosdevices and removed the hdd=ide-scsi in the kernel line in /boot/grub/menu.lst
Now my old link was to /media/cdrecorder but now it's to /media/cdrom so try that
cd ~/.wine/dosdevices
rm d:
ln -s /media/cdrom d:
also I'm pretty such in my testing only d: was a factor not d::
btw I'm using wine version 20050310 straight from debs.
Originally posted by mrbass
M7S...well I'm kinda new to ubuntu myself cuz with warty 4.10 I never could get wireless working so 5.04 does so I use it now. From what I read DMA is generally disabled on cd burner, dvd burners which wasn't the case with warty. So is what your saying applicable to 5.04 or 4.10? It's for 5.4 but I saw that Ubuntu starter guide doesn't mention it. If Ubuntu starter guide doesn't mention it, it can't be necessary for your guide to mention it either, I guess.
Regards,
M7S
Originally posted by mrbass
btw I'm using wine version 20050310 straight from debs. That's interesting - it didn't work for me until I updated to latest CVS last night. The version I was running before was a couple weeks old but I think newer than the 4/19 snapshot.
I use wine 20050419 and it seems to work.
mrbass
24th May 2005, 06:22
check this out (this is from memory so I could be wrong) but when I heard about just putting nt40 I tried it and I was able to use dvdshrink to 'Open Disc' and it showed the disc just like it does with win2k and winxp in the wine config file. However my dosdevice d: was still symlinked to /media/cdrecorder. Well dvddecrypter didn't detect any device that is until I removed that d: symlink in dosdevices and made a new one to /media/cdrom d: then dvddecrypter did detect a new device. So maybe it was working in a previous wine version you perhaps just didn't have the symlink 100%..just guessing that's all. sorry for the run on sentences.
Joe Fenton
24th May 2005, 09:20
Originally posted by mrbass
Ok I previously had SCSI emulation ...I removed ide-scsi in /etc/modules and rm d: the link in ~/.wine/dosdevices and removed the hdd=ide-scsi in the kernel line in /boot/grub/menu.lst
Now my old link was to /media/cdrecorder but now it's to /media/cdrom so try that
cd ~/.wine/dosdevices
rm d:
ln -s /media/cdrom d:
also I'm pretty such in my testing only d: was a factor not d::
btw I'm using wine version 20050310 straight from debs.
This is a clean install of FC3 with kernel 2.6.11. It never had SCSI emulation or ide-scsi in /etc/modules or the grub menu. It never had an old link for d: and I don't have a /media/cdrom in any case, I have a /media/cdrecorder.
In any case, I tried removing the old links and tried just d:, I tried /media/cdrom, I tried a number of things and nothing works.
madluther
24th May 2005, 18:09
I just tried the non scsi emulation method and it works like a charm, thanks for the tip. One thing I did notice tho, The last time I used the scsi emulation method was back in the days of the 2.4 kernel, under that setup DvdDecrypter would detect the dvd drive without any media in it or with no media mounted, now to get it to work I have to have the media mounted.
Current setup is 2.6.11 kernel with wine-20050310
Mad.
mrbass
25th May 2005, 12:07
thanks for the report madluther....maybe it's a 2.6.11 thing not sure..what distro are you using? I just went downstairs to check and dvddecrypter works for me 2.6.10 ubuntu even without media loaded ...it'll have those two red X's but last it'll say "Found DVD+RW".
madluther
25th May 2005, 13:18
I'm running LFS - 6.0 , here's the output of the log on startup with media mounted
I 07:11:16 DVD Decrypter Version 3.5.4.0 started!
I 07:11:16 Microsoft Windows NT Workstation 4.0 (4.0, Build 1381 : Service Pack 6a)
I 07:11:16 Initialising SPTI...
I 07:11:16 Searching for SCSI / ATAPI devices...
E 07:11:16 DeviceIoControl(IOCTL_STORAGE_QUERY_PROPERTY) Failed! - Device: '\\.\D:'
E 07:11:16 Reason: Invalid parameter
I 07:11:16 Found 1 DVD-RW!
and with no media mounted
I 07:14:14 DVD Decrypter Version 3.5.4.0 started!
I 07:14:14 Microsoft Windows NT Workstation 4.0 (4.0, Build 1381 : Service Pack 6a)
I 07:14:14 Initialising SPTI...
I 07:14:14 Searching for SCSI / ATAPI devices...
W 07:14:14 No devices detected!
It may be a 2.6.11 thing, not that it really bothers me, it's just nice to have a backup decrypter in case I run into one of those new ARCCOS disks.
Mad.
I have the same results as madluther (no media > no drive detected) using kernel 2.6.12-rc4 on gentoo. I'll experiment with some different kernel versions and see what I find.
Joe Fenton
26th May 2005, 02:33
Fedora Core 3 AMD64, kernel 2.6.11 SMP, WINE 20050419. With a disc mounted or unmounted gives:
I 17:32:30 DVD Decrypter Version 3.5.4.0 started!
I 17:32:30 Microsoft Windows NT Workstation 4.0 (4.0, Build 1381 : Service Pack 6a)
I 17:32:30 Initialising SPTI...
I 17:32:30 Searching for SCSI / ATAPI devices...
W 17:32:30 No devices detected!
It could be 2.6.11, or SMP, or 64bit. I'll try another kernel when I get the chance.
madluther
26th May 2005, 02:53
FYI, I'm running an SMP kernel on a P4 HT processor. Hopefully that eliminates SMP as the culprit.
Mad.
mrbass
28th May 2005, 04:02
ok just tried it with SimplyMepis 3.3.1, 2.6.10 i686, wine 20050419 and it works just fine. I inserted a DVD before I installed dvddecrypter so it setup all my dosdevices links automatically.
I'll try some other distros. Installed frugalware 0.2 dvd today and wanted to check out pacman but couldn't get my wireless working so gave up. Will try arch instead.
So perhaps it's the dvd burners themselves that work with STPI. I use lite-on dvd burners. Or perhaps you need to firmware update your dvd drive perhaps. No clue how to do that without a windows computer (at least for lite-on drives).
Joe Fenton
28th May 2005, 05:44
I use a NEC 2510A. Most DVD flash updates are (can be) done in DOS off a boot floppy. This avoids any possibility of accidentally flashing malware.
There is a flasher for linux at least for NEC.
mrbass
29th May 2005, 08:09
Look at Lightning UK last post in this thread about STPI. Seems like it's a good choice.
http://forum.doom9.org/showthread.php?a&threadid=89964
LIGHTNING UK!
30th May 2005, 22:51
Ok, this Wine thing has always interested me (so far as DVD Decrypter is concerned) but I've never touched Linux and so don't really know where to start.
I don't know for sure if it's sorted now or not but I've read posts saying DVD Decrypter HAS to have SCSI emulation. Now again, I've no idea how wine works but the fact that DVD Dec works ok if you set Wine to emulate NT4 tells me something very helpful.
Wine mustn't emulate the '\\.\CdRomx' (where x is a number - i.e. 1) format of opening devices via spti unless you enable scsi emulation.
That format isn't supported under NT4 so my program reverts to the old method of just going by drive letters - '\\.\x:' (where x is a letter - i.e d).
I've noticed a few other errors (with DeviceIoControl) around the place but they're probably just caused by bits missing from Wine - because they work ok in the real OS!
Joe Fenton
31st May 2005, 04:46
I don't think it's a problem in DVD Decrypter, but in WINE. It works for some people, and not for others, and for other yet, it only works if a DVD is mounted before running. This indicates problems inside WINE associated with handling the device io - converting Windows calls to the CDVD into linux calls.
mrbass
31st May 2005, 20:24
Yea still haven't found the reason why it works on some distros and not others but when it works it with nt40 it works well. So perhaps maybe in DVD Decrypter like you say you could give us an option to 'revert to drive letters' that way maybe win2k and winxp wine emulation might work too.
LIGHTNING UK!
1st June 2005, 00:28
I'm one step ahead of you ;)
mrbass
2nd June 2005, 10:06
sweet Lightning UK! that'll be awesome. Much appreciated.
Joe Fenton
6th June 2005, 22:20
DAMN! And just when linux people were about to get a needed change...
RIP DVD Decrypter...
mrbass
7th June 2005, 01:03
that's ok...just a few more tweaks. I believe my video preview isn't working but it's just a matter of specifically saying dvdshrink to use wink2k that's all.
Lightning UK! it was awesome. You did everyone a great service and why they specifically choose to target freeware is beyond me. Why not payware is beyond me. Laws still conflict way too much so hopefully U.S. congress will clarify it. At least the broadcast flag got nipped in the rear end recently. I wonder if you even tried contacting EFF though to see if they'd defend ya.
KpeX
13th June 2005, 05:44
For Joe & everybody else trying to get this to work on 64bit:
I finally got around to trying wine in a 64 bit linux distro (btw, (k)ubuntu absolutely rocks for laptop support!) and getting Shrink/DD to work. Rather than running a 64 bit version of wine I got this to work by installing a 32 bit version of wine and using 32-bit emulation libraries (under ubuntu these are called ia32-libs, they just install some 32-bit libraries to /lib32 and /usr/lib32) and then forcing the installation of a 32 bit wine deb (dpkg --force-all -i wine_0.0.20050419-winehq-1_i386.deb ). After that Shrink & DD work fine using Version=nt40.
jernst
13th June 2005, 22:49
Hi guys,
Would you mind adding your how-to's in the relevant Wine AppDB (http://appdb.winehq.org) entries ? I'm sure it'll help a lot more users.
DVD Decrypter: http://appdb.winehq.org/appview.php?versionId=2587
DVD Shrink: http://appdb.winehq.org/appview.php?versionId=2230
If you need help with the AppDB, don't hesitate to ask me as I'm one of the AppDB devs.
Thanks !
P.S. Adding KpeX's how-to for DVD Rebuilder (http://forum.doom9.org/showthread.php?t=95199) would be much appreciated as well (just add the application in the database) !
KpeX
14th August 2005, 17:57
Some nice developments in wine CVS lately...
First I should note that for me, DVD Decrypter is not working with the 20050725 snapshot, so be forewarned using this package. A major change in the 0725 snapshot is that the winecfg utility is now fully functional, deprecating ~/.wine/config. All configuration can now be done with this easy interface:
http://img287.imageshack.us/img287/9946/wine11qu.th.png (http://img287.imageshack.us/my.php?image=wine11qu.png) http://img287.imageshack.us/img287/1984/wine28bw.th.png (http://img287.imageshack.us/my.php?image=wine28bw.png)
However in CVS as of yesterday, DVD Decrypter is working for me again, as well as the open files button in DVDShrink! Once a snapshot comes out with these features, I'll update the guide.
jernst
14th August 2005, 18:09
I can confirm that the open files button works in current release and the DVD reading regression from DVD Decrypter and DVD Shrink were fixed in CVS.
DVD Shrink work ~100% for me now (the only missing feature is the preview at the bottom left pane when using builtin quartz).
Also riched20 builtin was fixed some time ago and so I don't thnik it's usefull anymore to use native riched20.dll for dvd shrink.
Joe Fenton
14th August 2005, 21:03
Cool! The guy who maintains the FC packages for WINE has been "away" for a couple months now - I really need to start compiling it myself from the CVS.
Zainal
26th August 2005, 07:53
I'm running FC4 and I've tried compling wine from the CVS. Actually in truth it builds and installs fine but the problem comes when I try to install windows stuff, for example the dialog box for dvdshrink's installer says the folder is not a valid location. Any help on remeding this would be appreciated.
jernst
26th August 2005, 23:10
Hey, I reported the preview bug with builtin quartz and it has been fixed in cvs ! Even the sound works now. The only problem is that the preview appears on the top left instead of bottom left.
http://bugs.winehq.org/show_bug.cgi?id=3227
http://www.winehq.org/hypermail/wine-patches/2005/08/0494.html
This means that no dll overrides are necessary anymore !
Joe Fenton
27th August 2005, 06:46
I'm running FC4 and I've tried compling wine from the CVS. Actually in truth it builds and installs fine but the problem comes when I try to install windows stuff, for example the dialog box for dvdshrink's installer says the folder is not a valid location. Any help on remeding this would be appreciated.
Make sure WINE has permission to use the ~/.wine directory. Sounds like you don't have write permission. Could also be that your sym links in ~/.wine/dosdevices directory might be bad.
Zainal
30th August 2005, 05:43
For some reason on a later try in installing from cvs it inexplicable works; I didn't do anything different but for some reason it now works. It has me completely baffled, but hell I'll take it.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.