mirror of
https://github.com/atom0s/Steamless.git
synced 2024-12-19 23:07:41 +01:00
Merge branch 'master' of https://github.com/atom0s/Steamless
This commit is contained in:
commit
34afbba437
2 changed files with 8 additions and 3 deletions
|
@ -298,7 +298,12 @@ namespace Steamless.Unpacker.Variant20.x86
|
|||
// Scan for the needed data by a known pattern for the block of offset data..
|
||||
var drmpOffset = Pe32Helpers.FindPattern(this.SteamDrmpData, "8B ?? ?? ?? ?? ?? 89 ?? ?? ?? ?? ?? 8B ?? ?? ?? ?? ?? 89 ?? ?? ?? ?? ?? 8B ?? ?? ?? ?? ?? 89 ?? ?? ?? ?? ?? 8B ?? ?? ?? ?? ?? 89 ?? ?? ?? ?? ?? 8B ?? ?? ?? ?? ?? 89 ?? ?? ?? ?? ?? 8D ?? ?? ?? ?? ?? 05");
|
||||
if (drmpOffset == 0)
|
||||
return false;
|
||||
{
|
||||
// Fall-back pattern scan for certain files that fail with the above pattern..
|
||||
drmpOffset = Pe32Helpers.FindPattern(this.SteamDrmpData, "8B ?? ?? ?? ?? ?? 89 ?? ?? ?? ?? ?? 8B ?? ?? ?? ?? ?? 89 ?? ?? ?? ?? ?? 8B ?? ?? ?? ?? ?? 89 ?? ?? ?? ?? ?? 8B ?? ?? ?? ?? ?? 89 ?? ?? ?? ?? ?? 8B");
|
||||
if (drmpOffset == 0)
|
||||
return false;
|
||||
}
|
||||
|
||||
// Copy the block of data from the SteamDRMP.dll data..
|
||||
var drmpOffsetData = new byte[1024];
|
||||
|
|
|
@ -36,5 +36,5 @@ using System.Runtime.InteropServices;
|
|||
[assembly: AssemblyCulture("")]
|
||||
[assembly: ComVisible(false)]
|
||||
[assembly: Guid("a40154cd-a0fd-4371-8099-ce277e0989af")]
|
||||
[assembly: AssemblyVersion("1.0.0.1")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.1")]
|
||||
[assembly: AssemblyVersion("1.0.0.2")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.2")]
|
Loading…
Reference in a new issue