FlawlessWS for Contracts

master
Sui 2016-10-17 01:09:06 +02:00
parent ddf55ef787
commit f66602026c
5 changed files with 115 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

View File

@ -0,0 +1,95 @@
require(GlobalDependencys:GetDependency("StandardBase"):GetPackageName())
--GAME VARS
fAdditionalFOV = 0
fDefaultAspectRatio = 1.33333
--ControlVars
bFOVFix = true
bHelmetFOV = true
bFixEnabled = true
bHUDFix = true
--PROCESS VARS
Process_FriendlyName = Module:GetFriendlyName()
Process_WindowName = "*"
Process_ClassName = "*"
Process_EXEName = "HitmanContracts.exe"
--INJECTION BEHAVIOUR
InjectDelay = 2500
WriteInterval = 100
SearchInterval = 500
SuspendThread = true
--Name Manual/Auto/Hybrid Steam/Origin/Any IncludeFile:Configure;Enable;Periodic;Disable;
SupportedVersions = {
{"Automatically Detect", "Hybrid", "Steam", "Configure_SignatureScan;Enable_Inject;Periodic;Disable_Inject;"},
}
function Init_Controls()
DefaultControls.AddFixToggle("FOVHack_Enable","Enable FOV hack","FOVHackEnable_Changed",25,60,180,14)
end
function Configure_SignatureScan()
local tAddress = HackTool:AddAddress("FOVFixAdr", 0xC19E0);
return true
end
function Enable_Inject()
local Variables = HackTool:AllocateMemory("Variables",0)
Variables:Allocate()
FOVCalculator1 = HackTool:InjectFOVCalculator("FOVCalculator1")
ResolutionChanged()
local asm = [[
(codecave:jmp)FOVFixAdr,FOVFix_cc:
%originalcode%
call (allocation)FOVCalculator1
jmp %returnaddress%
%end%
]]
if HackTool:CompileAssembly(asm,"FOVFixs") == nil then
return ErrorOccurred("Assembly compilation failed...")
else
Toggle_CodeCave("FOVFix_cc",bFOVFix)
end
end
function Disable_Inject()
CleanUp()
end
function ResolutionChanged()
UpdateFOVCalculator("FOVCalculator1",DisplayInfo:GetAspectRatio()/fDefaultAspectRatio,fAdditionalFOV)
end
function FOVHackEnable_Changed(Sender)
bEnableFOVhack = Toggle_CheckFix(Sender)
Toggle_CodeCave("FOVFix_cc",bEnableFOVhack)
end
function Init()
Init_BaseControls()
Init_Controls()
end
function DeInit()
DisableFix()
end

View File

@ -0,0 +1,20 @@
<StepState Schema="1.0" NameSpace="BioshockHD">
<StepStates>
<StepState Step="1">
<ControlState>
<Control Type="CheckBox" ID="CheckBox_Enable">
<CheckBoxProperties CheckState="1"/>
</Control>
<Control Type="ComboBox" ID="VersionCombo">
<ComboBoxProperties SelectedIndex="0"/>
</Control>
<Control Type="CheckBox" ID="FOVHack_Enable">
<CheckBoxProperties CheckState="1"/>
</Control>
</ControlState>
<ViewportState SBVertPos="0"/>
</StepState>
<ViewportState LastStep="1"/>
</StepStates>
</StepState>