For version 1.04
Code: Select all
{ Game : OPWS.exe
Version:
Date : 2021-05-20
Author : Edale
This script does blah blah blah
}
[ENABLE]
aobscanmodule(INJECT,OPWS.exe,F3 0F 11 73 5C 8B) // should be unique
alloc(newmem,$1000,"OPWS.exe"+2CCAF6)
label(code)
label(return)
newmem:
code:
NOP
jmp return
INJECT:
jmp newmem
return:
registersymbol(INJECT)
[DISABLE]
INJECT:
db F3 0F 11 73 5C
unregistersymbol(INJECT)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "OPWS.exe"+2CCAF6
"OPWS.exe"+2CCACD: 75 07 - jne OPWS.exe+2CCAD6
"OPWS.exe"+2CCACF: C6 43 76 01 - mov byte ptr [rbx+76],01
"OPWS.exe"+2CCAD3: 88 43 6E - mov [rbx+6E],al
"OPWS.exe"+2CCAD6: 48 8B 7C 24 40 - mov rdi,[rsp+40]
"OPWS.exe"+2CCADB: 80 7B 6E 00 - cmp byte ptr [rbx+6E],00
"OPWS.exe"+2CCADF: 0F 84 EB 00 00 00 - je OPWS.exe+2CCBD0
"OPWS.exe"+2CCAE5: 44 8B 43 40 - mov r8d,[rbx+40]
"OPWS.exe"+2CCAE9: F3 0F 58 73 5C - addss xmm6,[rbx+5C]
"OPWS.exe"+2CCAEE: 48 8B 53 20 - mov rdx,[rbx+20]
"OPWS.exe"+2CCAF2: 49 6B C8 38 - imul rcx,r8,38
// ---------- INJECTING HERE ----------
"OPWS.exe"+2CCAF6: F3 0F 11 73 5C - movss [rbx+5C],xmm6
// ---------- DONE INJECTING ----------
"OPWS.exe"+2CCAFB: 8B 44 11 68 - mov eax,[rcx+rdx+68]
"OPWS.exe"+2CCAFF: 85 C0 - test eax,eax
"OPWS.exe"+2CCB01: 0F 84 C9 00 00 00 - je OPWS.exe+2CCBD0
"OPWS.exe"+2CCB07: 0F 57 C0 - xorps xmm0,xmm0
"OPWS.exe"+2CCB0A: F3 48 0F 2A C0 - cvtsi2ss xmm0,rax
"OPWS.exe"+2CCB0F: 0F 2F F0 - comiss xmm6,xmm0
"OPWS.exe"+2CCB12: 72 57 - jb OPWS.exe+2CCB6B
"OPWS.exe"+2CCB14: F6 83 10 02 00 00 02 - test byte ptr [rbx+00000210],02
"OPWS.exe"+2CCB1B: 48 8B 4B 18 - mov rcx,[rbx+18]
"OPWS.exe"+2CCB1F: 74 25 - je OPWS.exe+2CCB46
}
Don't know if it does anything to the timers for any other missions.
*edit- It also freezes the timer in the "Mussel Training" and "Buttons of Admiration" challenge missions, so it may work on all timers.
*edit2- Tested in all post-game challenge missions, it stopped the timer in them all.
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1