RibShark / SafeDiscShim

SafeDiscShim is a compatibility tool that allows for SafeDisc protected games which utilize the insecure Macrovision Security Driver ("secdrv.sys") to run on modern versions of Windows .
Other
413 stars 13 forks source link

Debugging help #25

Open Evan-Burch opened 3 months ago

Evan-Burch commented 3 months ago

Been trying to use this tool to get Medal of Honor Allied Assault working on Windows 10. When I run the game exe, I get the "Please insert the correct CD_ROM, select OK and restart application message." I am trying to determine if I am dealing with SafeDiskShim not working, or some other issue.

When I run the game exe, I see that the SECDRV.SYS file appears at C:\Windows\SysWOW64\drivers. And if I delete it and run again, it is created once more. Here are a couple of Windows Event logs that are output each time I try and run the game exe:

The description for Event ID 1060 from source Application Popup cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

\??\C:\windows\SysWow64\drivers\SECDRV.SYS

The message resource is present but the message was not found in the message table

and

The SecDrv service failed to start due to the following error: 
This driver has been blocked from loading

Also, here is the output from the SafeDiscShim.log file: MOHAA.exe_SafeDiscShim.log

I have also tried deleting drvmgt.dll as mentioned in the README but alas it does not have any affect.

Any help to narrow down the issue would be appreciated. Even if I could know for sure the SafeDiskShim is not the issue

mirh commented 3 months ago

In https://github.com/RibShark/SafeDiscShim/issues/24 we figured W11 should have smart app control disabled. Can you try that?

Evan-Burch commented 3 months ago

I'm actually using Windows 10 not 11. Realized I had said 11 in my initial post. Any ideas for W10?

Evan-Burch commented 3 months ago

btw This game requires you insert 2 disks. They are both mounted when I try and run the game exe

mirh commented 3 months ago

Check the Microsoft-Windows-Application-Experience/Program-Telemetry event log and see if InjectDll is getting applied to a .tmp file in the temp folder.

Evan-Burch commented 3 months ago

yup this event log comes through twice.

Compatibility fix applied to C:\Users\hotsh\AppData\Local\Temp\~f51e43.tmp.
Fix information: InjectDll, {3432bc96-d181-4529-b261-1a3964961b6c}, 0x10205.
mirh commented 3 months ago

Well.. for some reason the injection isn't working good/soon enough and the original safedisc driver is (attempted to be) load. More than trying to rename the executable and playing randomly with compatibility options, I wouldn't know.