Log in

View Full Version : Two Installs Of FFDshow.. What Should I Do?


ripburnlearn
20th May 2011, 22:37
I love BD-Rebuilder and I also love Ripbot. The problem is that both programs require different versions of FFDshow. I'm not sure what I should do to satisfy both programs. It seems as though ripbot stores all of its programs within the "tools" folder of the program. Is there a standalone version of FFDshow (all files in one folder) that I can just copy and paste into Ripbot? If so, would that solve this issue or would BD-Rebuilder see this new version and grab it?

:thanks:

Groucho2004
20th May 2011, 23:33
FFDShow stores its settings including path, version, etc. in the registry.

One approach off the top of my head:

1. Install one version of ffdshow (for ripbot), configure it and export the settings to "ripbot.reg". Install path could be "%PROGRAMFILES%\ffdshow_ripbot".

2. Delete the registry keys ("HKEY_LOCAL_MACHINE\Software\GNU\ffdshow" and "HKEY_CURRENT_USER\Software\GNU\ffdshow") and un-register ffdshow.ax (regsvr32 /u %PROGRAMFILES%\ffdshow_ripbot\ffdshow.ax).

3. Install the other version of ffdshow into another directory, "%PROGRAMFILES%\ffdshow_bdrb" for example. Configure and export the settings again (bdrb.reg).

4. Write a batch file that simply "exchanges" the registry settings for the version you want to use.

Here are the batch commands that will delete all ffdshow registry settings in one go (which you should do before importing the settings for the other version:

echo REGEDIT4 > "%TEMP%\$DelOld$.reg"
echo [-HKEY_CURRENT_USER\Software\GNU\ffdshow] >> "%TEMP%\$DelOld$.reg"
start/wait regedit -s "%TEMP%\$DelOld$.reg"
del "%TEMP%\$DelOld$.reg" > nul

echo REGEDIT4 > "%TEMP%\$DelOld$.reg"
echo [-HKEY_CURRENT_USER\Software\GNU\ffdshow_audio] >> "%TEMP%\$DelOld$.reg"
start/wait regedit -s "%TEMP%\$DelOld$.reg"
del "%TEMP%\$DelOld$.reg" > nul

echo REGEDIT4 > "%TEMP%\$DelOld$.reg"
echo [-HKEY_CURRENT_USER\Software\GNU\ffdshow_dxva] >> "%TEMP%\$DelOld$.reg"
start/wait regedit -s "%TEMP%\$DelOld$.reg"
del "%TEMP%\$DelOld$.reg" > nul

echo REGEDIT4 > "%TEMP%\$DelOld$.reg"
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\GNU\ffdshow] >> "%TEMP%\$DelOld$.reg"
start/wait regedit -s "%TEMP%\$DelOld$.reg"
del "%TEMP%\$DelOld$.reg" > nul

echo REGEDIT4 > "%TEMP%\$DelOld$.reg"
echo [-HKEY_LOCAL_MACHINE\SOFTWARE\GNU\ffdshow_audio] >> "%TEMP%\$DelOld$.reg"
start/wait regedit -s "%TEMP%\$DelOld$.reg"
del "%TEMP%\$DelOld$.reg" > nul


After that, just import the settings you saved earlier and register ffdshow.ax:

start/wait regedit -s ripbot.reg
regsvr32 %PROGRAMFILES%\ffdshow_ripbot\ffdshow.ax
or
start/wait regedit -s bdrb.reg
regsvr32 %PROGRAMFILES%\ffdshow_bdrb\ffdshow.ax

Haven't tried this but it should work.

ripburnlearn
21st May 2011, 03:11
Nice info, I'll see if I can do it.