Custom Type Rubies
Code: Select all
alloc(ConvertRoutine,1024)
alloc(ConvertBackRoutine,1024)
alloc(TypeName,256)
alloc(ByteSize,4)
alloc(UsesFloat,1)
alloc(CallMethod,1)
TypeName:
db 'Resonance of Fate Rubies',0
ByteSize:
dd 4
UsesFloat:
db 0
CallMethod:
db 1
ConvertRoutine:
mov eax,[rcx]
shr eax,3
and eax,7FFFFFF
ret
ConvertBackRoutine:
mov eax,0002CCD1
add ecx,eax
cmp ecx,eax
mov eax,05F8ADD0
jl @f
cmp ecx,eax
cmovl eax,ecx
@@:
lea eax,[rax*8-00166688]
or eax,07
mov [r8],eax
ret
Custom Type Items
Code: Select all
alloc(ConvertRoutine,1024)
alloc(ConvertBackRoutine,1024)
alloc(TypeName,256)
alloc(ByteSize,4)
alloc(UsesFloat,1)
alloc(CallMethod,1)
TypeName:
db 'Resonance of Fate Items',0
ByteSize:
dd 2
UsesFloat:
db 0
CallMethod:
db 1
ConvertRoutine:
mov eax,[rcx]
and eax,3FF
ret
ConvertBackRoutine:
xor eax,eax
cmp ecx,eax
mov eax,000003E7
jl @f
cmp ecx,eax
cmovl eax,ecx
@@:
//or eax,00000400 //NEW ITEM FLAG
mov [r8],eax
ret
Searching for exact values on a new scan may result in a "Scan error:thread 7:Access violation". Workarounds below.
Option 1: Enable "Query memory region routines" under Settings > Extra. (May cause some PCs to BSOD sometimes when loading up DBK64.sys)
Option 2: Limit the memory scan range e.g. 0-6FFFFFFFFFFF
Option 3: Search for "Unknown initial value" first, then search for the exact values on the next searches
Not sure if this is a CE bug or anti-cheat measure, try asking this on CEF or GitHub
NOP this or change it to ADD so selling/dismantling/using items and placing hex does not use up items.
Code: Select all
Resonance of Fate.exe+17B756 - 29 D8 - sub eax,ebx
NOP this so Hero Actions does not consume bezel
Code: Select all
Resonance of Fate.exe+87F4A7 - 44 2B C0 - sub r8d,eax
NOP this or change it to ADD so moving does not consume resonance points
Code: Select all
Resonance of Fate.exe+882FF3 - 41 01 D0 - sub r8d,edx
NOP this so Tri-Attack does not consume resonance points
Code: Select all
Resonance of Fate.exe+88977C - E8 AFA9FFFF - call "Resonance of Fate.exe"+884130
NOP this so Hero Gauge cannot be broken
Code: Select all
Resonance of Fate.exe+8BB913 - 41 2B C7 - sub eax,r15d
CHEAT TABLE:
1. Items/Hexes Cannot Decrease ───────────────── Use one or the other
2. Items/Hexes Increase When Used/Sold/Dismantled ──────────┛
3. Infinite Bezels (Increase on Hero Action/Enemy Defeated/Gauge Cannot Be Broken)
4. Infinite Resonance Points (Increase When Moving)
5. Infinite Movement/Aiming Bar
6. EXP Multiplier
7. 100% Bonus Shot Chance
8. No Hex Restrictions (Can Place Out of Bounds/No Connecting Color)
9. Terminal Effect Always Active