PDA

View Full Version : How to: Using DVD Rebuilder under Wine


KpeX
30th May 2005, 22:42
Following up on the DVD Shrink & DVD Decrypter guide (http://forum.doom9.org/showthread.php?t=91078), DVD Rebuilder completes the trifecta of extremely useful windows-only DVD apps (IMO).

Part One - Wine Installation

As always, I recommend installing wine from source as described here (http://forum.doom9.org/showthread.php?t=91078) or in the FAQ (http://forum.doom9.org/showthread.php?s=&postid=628824#post628824). The windows version emulated isn't critical for dvd-rb, but the nt40 recommended in the above guides will work fine.

Part Two - Wine configuration for DVD Rebuilder

First we'll need the visual basic 6 runtime files from here (http://support.microsoft.com/kb/q192461/). Download and install vbrun60.exe: $ wine vbrun60.exeSay yes when the dialogue pops up and this should install some dll's to your wine windows drive.

DVD-RB also needs mfc42.dll, ole32.dll, oleaut32.dll, and msvbvm60.dll in your wine windows drive. If you have a windows partition, these will be in your system directory (C:\windows\system32\ for XP). If not, use google.$ cp mfc42.dll ~/.wine/drive_c/windows/system/
$ cp ole32.dll ~/.wine/drive_c/windows/system/
$ cp oleaut32.dll ~/.wine/drive_c/windows/system/
$ cp msvbvm60.dll ~/.wine/drive_c/windows/system/ (Using default wine location). Tab completion is your friend.

Finally, we'll need to set up wine to use these native dll's instead of wine's builtin versions. Since we don't want to screw up any other programs, we'll set this for rebuilder only. Add the following section to your wine config file (usually ~/.wine/config): [AppDefaults\\Rebuilder.exe\\DllOverrides]
"ole32" = "native"
"oleaut32" = "native"Part Three - Dependent Programs

AviSynth is critical to DVD rebuilder working at all. Avisynth version 2.53 is very stable under wine in my experience, download it from sourceforge (http://prdownloads.sourceforge.net/avisynth2/AviSynth_253.exe?download) and install: $ wine AviSynth_253.exeAviSynth shouldn't need any additional steps.

As far as an encoder goes, I prefer QuEnc or the HC encoder, mainly because they're free. Download QuEnc from Nic's homepage (http://nic.dnsalias.com) or HC encoder from <a href="http://hank315.dyndns.org/HC_014.zip">hank315's</a> and unzip it anywhere you like. Neither of these encoders normally need additional configuration.

DVD Rebuilder also needs an mpeg-2 plugin for avisynth, recent versions come with Donald Graft's dgdecode.dll, which should work fine.

Part Four - Installing DVD Rebuilder

Grab the zip file from the one of the dvd-rb download sites (see the dvd-rb forum) and unzip it into a directory. $ mkdir rb
$ cd rb
$ unzip ~/DVD-RBv091Free.zip
$ cd ..
$ mv rb/ "~/.wine/drive_c/Program Files/"Then start dvd-rb: $ wine .wine/drive_c/Program\ Files/rb/Rebuilder.exeYou can then configure DVD-RB's options as you like. Make sure to specify the directories for your encoder and dgdecode.dll.

Good luck and happy rebuilding. As usual post any steps I missed :).

uopjohnson
2nd September 2005, 00:52
Any chance of doing an update of this guide? Wine seems to have canged a LOT since May.

KpeX
2nd September 2005, 04:12
Unforunately I probably won't be updating it, I've had some problems with dvd-rb output when using it under wine, but I haven't had time to investigate it further.

However the wine parts shouldn't be that different than they were in May other than using winecfg for the settings, but that's easy enough to figure out.