mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-02-04 05:35:49 +00:00
Unknown SafeDisc version #165
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @prklx2 on GitHub (Feb 19, 2024).
SafeDisc unknown version error.
Disc has SafeDisc 4.
MPF version 3.1.0
@TheRogueArchivist commented on GitHub (Feb 19, 2024):
Hello! What game is this on?
@prklx2 commented on GitHub (Feb 19, 2024):
Sonic Heroes for PC
@TheRogueArchivist commented on GitHub (Feb 19, 2024):
Thank you! And would you happen to know if its on redump? For example, could it be http://redump.org/disc/34445/?
@prklx2 commented on GitHub (Feb 20, 2024):
It's currently not on Redump. I was about to send it's information there but I noticed this issue detecting the copy protection.
@TheRogueArchivist commented on GitHub (Feb 20, 2024):
No problem, I think I've figured out what's going on! Can you confirm that drvmgt and secdev are both 0 bytes?
@prklx2 commented on GitHub (Feb 20, 2024):
Yes! They're both 0 bytes.
@TheRogueArchivist commented on GitHub (Feb 20, 2024):
Perfect! Feel free to ignore those files then, so just report it as being SafeDisc 4.00.000. I've updated BOS to account for the possibility of those files being 0 bytes, so I'll close this issue! Thank you for reporting this bug 😁
@Sewer56 commented on GitHub (Apr 1, 2024):
Hi, I just came across this project.
To the best of my awareness, Sonic Heroes (USA) is
04.00.01, not04.00.00.You can detect SafeDisc v2 and above by searching for the string
BoG_ *90.0&!! Yy>(
42 6F 47 5F 20 2A 39 30 2E 30 26 21 21 20 20 59 79 3E).This is usually found at offset 4052 in most EXEs, at the end of the padding after the NT Headers.
14 bytes after that signature, you will find the SafeDisc version, in Sonic Heroes' case, this is
04 00 00 00 00 00 00 00 01 00 00 00Edit: Another reliable way of detecting SafeDisc V2+ is section names. They always seem to leave executable sections named
stxt371andstxt774.@mnadareski commented on GitHub (Apr 1, 2024):
Hello, thanks for the input but we already do those things if you take a look at the code. The
BoG_string is very well known, as are the section names.@Sewer56 commented on GitHub (Apr 1, 2024):
Ah, I'm very tired, and didn't catch it, oopsie.
In any case, yeah, it's true, the US version of Heroes has an empty
secdrv.sysanddrvmgt.dll.The Japanese PC version (extremely rare) has them non blank, and a SafeDisc version of
03.20.22, for reference