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

[Not a SafeDiscShim issue] Certain SafeDisc 2 protected executables do not start #1

Open
RibShark opened this issue Feb 3, 2024 · 6 comments
Labels
help wanted Extra attention is needed

Comments

@RibShark
Copy link
Owner

RibShark commented Feb 3, 2024

Certain SafeDisc 2 executables seem to not launch on modern Windows. This happens even when using the official driver rather than SafeDiscShim, so it isn't a problem with this tool. Regardless, I will list the affected titles here and continue to look for a solution:

  • Command & Conquer: Red Alert 2 (SETUP.EXE)
  • Kao the Kangaroo [US release] (kao.exe)
@RibShark RibShark added the help wanted Extra attention is needed label Feb 3, 2024
@RibShark RibShark changed the title Certain SafeDisc 2 protected executables do not start [Not a SafeDiscShim issue] Certain SafeDisc 2 protected executables do not start Feb 3, 2024
@mirh
Copy link

mirh commented Feb 3, 2024

Setup.exe doesn't look like the kind of thing that would have drm? Maybe even the other game doesn't really have a problem with safedisc itself

@RibShark
Copy link
Owner Author

RibShark commented Feb 3, 2024

Setup.exe doesn't look like the kind of thing that would have drm?

It actually does, surprisingly. Seems to be an unusual case.

I can tell if it's a compatibility issue or not by running the EXE with the disc ejected; if I get a "Cannot locate the CD/DVD-ROM" error, I know that SafeDisc is working fine. Anything else and there is some sort of incompatibility, and if it happens even when using the official driver rather than SafeDiscShim (as is the case with these two), it seems to be some sort of non-driver related compatibility issue.

@mirh
Copy link

mirh commented Feb 4, 2024

Interestingly there was a wine problem that hit just the same.
I suppose everything is smooth with good ol' windows 7 rtm?

@tomsons26
Copy link

tomsons26 commented Feb 4, 2024

Same result on win 10 for RA2, instantly closes.
Cracked setup.exe runs fine btw, so it is a SD issue.

There was seemingly a screwup in multiple Westwood games where the setup.exe also had SD applied, RA2 and Emperor are two such examples,
Emperor's SD issues got so bad they released a official crack for it as well as a unprotected setup.exe that can be run from hard drive.

Log isn't being created at all so something fails, race condition while doing logging init perhaps? That leads to a heap crash which usually is a instant close unless the binary is built with all sorts of CRT memory features are enabled?

@tomsons26
Copy link

tomsons26 commented Feb 4, 2024

If i try to run setup.exe in a debugger i do get to see "Fault tolerant heap shim applied to current process. This is usually due to previous crashes" so a heap corruption is indeed occurring.

Quick way you can test if setup reaches its actual code is with command line -v, v shows version info as a message box and closes setup so no need to launch a fullscreen application every time(tho if you do want to do that you can use -w to run it windowed). Currently it doesn't get that far.

@Stavanger1
Copy link

Stavanger1 commented Feb 7, 2024

Currently testing out Command & Conquer The First Decade with SafediscShim. I believe all the C&C games aside from the original C&C and Red Alert use Safedisc.

Tiberian Sun and Firestorm gave a "Cannot locate the CD/DVD-ROM" error but deleting drvmgt.dll got it working.

Renegade worked fine as did Red Alert 2.

However Yuri's Revenge and both Command and Conquer Generals and Zero Hour both gave "Cannot locate the CD/DVD-ROM" error and deleting drvmgt.dll didn't resolve.

With both Generals games I would get a different error when trying to run the game which I don't believe is DRM related but setting the .exe files compatibility to Windows XP Service Pack 2 would give me Cannot locate the CD/DVD-ROM" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

4 participants