[PR #284] [MERGED] Remove GetVersionFromSHA1Hash from SafeDisc #451

Closed
opened 2026-01-29 21:08:21 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SabreTools/BinaryObjectScanner/pull/284
Author: @TheRogueArchivist
Created: 2/23/2024
Status: Merged
Merged: 2/23/2024
Merged by: @mnadareski

Base: masterHead: safedisc-sha1-cleanup


📝 Commits (1)

  • e46114d Remove GetVersionFromSHA1Hash from SafeDisc

📊 Changes

2 files changed (+33 additions, -35 deletions)

View changed files

📝 BinaryObjectScanner/Protection/Macrovision.SafeDisc.cs (+15 -33)
📝 BinaryObjectScanner/Protection/Macrovision.cs (+18 -2)

📄 Description

GetVersionFromSHA1Hash has only had essentially useless hashes for a while now, since all the remaining one is are for files that appear to change hash between games. Not only that, but nothing has used it, due it not being useful. I've removed it entirely, added the information that was in it to comments for the appropriate file checks, and also cleaned up a few miscellaneous comment issues that I noticed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SabreTools/BinaryObjectScanner/pull/284 **Author:** [@TheRogueArchivist](https://github.com/TheRogueArchivist) **Created:** 2/23/2024 **Status:** ✅ Merged **Merged:** 2/23/2024 **Merged by:** [@mnadareski](https://github.com/mnadareski) **Base:** `master` ← **Head:** `safedisc-sha1-cleanup` --- ### 📝 Commits (1) - [`e46114d`](https://github.com/SabreTools/BinaryObjectScanner/commit/e46114decfb68ec16874920228a98c7e1da33f08) Remove GetVersionFromSHA1Hash from SafeDisc ### 📊 Changes **2 files changed** (+33 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `BinaryObjectScanner/Protection/Macrovision.SafeDisc.cs` (+15 -33) 📝 `BinaryObjectScanner/Protection/Macrovision.cs` (+18 -2) </details> ### 📄 Description `GetVersionFromSHA1Hash` has only had essentially useless hashes for a while now, since all the remaining one is are for files that appear to change hash between games. Not only that, but nothing has used it, due it not being useful. I've removed it entirely, added the information that was in it to comments for the appropriate file checks, and also cleaned up a few miscellaneous comment issues that I noticed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 21:08:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/BinaryObjectScanner#451