Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugging help #25

Open
Evan-Burch opened this issue Aug 9, 2024 · 6 comments
Open

Debugging help #25

Evan-Burch opened this issue Aug 9, 2024 · 6 comments

Comments

@Evan-Burch
Copy link

Evan-Burch commented Aug 9, 2024

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
Copy link

mirh commented Aug 10, 2024

In #24 we figured W11 should have smart app control disabled. Can you try that?

@Evan-Burch
Copy link
Author

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

@Evan-Burch
Copy link
Author

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

@mirh
Copy link

mirh commented Aug 13, 2024

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
Copy link
Author

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
Copy link

mirh commented Aug 13, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants