JobeStroud wrote: ↑Tue Jul 20, 2021 5:15 am
Anyone have any luck getting instant fishing? I rarely ask for things so I don't really know the process.
There's a static address storing the fishs' hp (in 4 Byte) at $process+4345B6C, but that might be invalid on your end so I wouldn't count on it.
Here's a script I wrote that lets you override the fish to catch and even has an instant-catch script added to it
Copy the text below and paste it while the main-window of CheatEngine is in focus.
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>70</ID>
<Description>"Fishies"</Description>
<Options moHideChildren="1"/>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>// Game: NieR Replicant ver.1.22474487139.exe
// Executable Version: 1.0.3.0
// Author : fakerlol
[ENABLE]
aobscanmodule(CopyFishDataAOB, $process, 89 43 X 8b d0 48 8d 0d x x x x e8)
registersymbol(CopyFishDataAOB)
label(FishiesOriginalCode)
label(returnAfterCopy)
registersymbol(FishiesOriginalCode)
registersymbol(FishiesOverrideOn)
label(FishiesOverrideOn)
registersymbol(FishiesOverrideID)
label(FishiesOverrideID)
alloc(SetFishID, 64, CopyFishDataAOB)
SetFishID:
cmp byte ptr [FishiesOverrideOn], 0
je short override
mov eax, [FishiesOverrideID]
override:
mov [FishiesOverrideID], eax
FishiesOriginalCode:
readmem(CopyFishDataAOB, 5)
jmp returnAfterCopy
FishiesOverrideOn:
db 0
FishiesOverrideID:
dd #19
CopyFishDataAOB:
jmp SetFishID
returnAfterCopy:
[DISABLE]
CopyFishDataAOB:
readmem(FishiesOriginalCode, 5)
unregistersymbol(*)
dealloc(SetFishID)
</AssemblerScript>
<CheatEntries>
<CheatEntry>
<ID>71</ID>
<Description>"Fish to catch"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:Rusty Bucket
1:Old Branch
2:Rusty Bucket
3:Empty Can
4:Rusted Clump
5:Sardine
6:Blowfish
7:Bream
8:Shark
9:Blue Marlin
10:Dunkleosteus
11:Carp
12:Rainbow Trout
13:Black Bass
14:Giant Catfish
15:Royal Fish
16:Hyneria
17:Sandfish
18:Rhizodont
19:Shaman Fish
*:Invalid Fish!
</DropDownList>
<LastState Value="10" RealAddress="7FF66F030026"/>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>4 Bytes</VariableType>
<Address>FishiesOverrideID</Address>
</CheatEntry>
<CheatEntry>
<ID>72</ID>
<Description>"Override fish to catch?"</Description>
<DropDownList ReadOnly="1" DescriptionOnly="1" DisplayValueAsItem="1">0:No
1:Yes
</DropDownList>
<LastState Value="0" RealAddress="7FF66F030025"/>
<ShowAsSigned>0</ShowAsSigned>
<VariableType>Byte</VariableType>
<Address>FishiesOverrideOn</Address>
</CheatEntry>
<CheatEntry>
<ID>67</ID>
<Description>"Instant fishing"</Description>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>// Game : NieR Replicant ver.1.22474487139.exe
// Executable Version: 1.0.3.0
// Module Version :
// Script Date : 2021-10-28
// Author : fakerlol
[ENABLE]
aobscanmodule(aob_OneHPFish,$process,f3 48 0f 2c c0 89 41 10 89 41 0c)
registersymbol(aob_OneHPFish)
aob_OneHPFish:
mov eax, 0
[DISABLE]
aob_OneHPFish:
db F3 48 0F 2C C0
unregistersymbol(aob_OneHPFish)
dealloc(newmem_OneHPFish)
{
// ORIGINAL CODE - INJECTION POINT: NieR Replicant ver.1.22474487139.exe+3A45AF
NieR Replicant ver.1.22474487139.exe+3A4540: 8B 41 14 - mov eax,[rcx+14]
NieR Replicant ver.1.22474487139.exe+3A4543: 0F 57 C9 - xorps xmm1,xmm1
NieR Replicant ver.1.22474487139.exe+3A4546: F3 0F 10 1D 42 AB 9A 00 - movss xmm3,["NieR Replicant ver.1.22474487139.exe"+D4F090]
NieR Replicant ver.1.22474487139.exe+3A454E: 0F 57 C0 - xorps xmm0,xmm0
NieR Replicant ver.1.22474487139.exe+3A4551: F3 48 0F 2A C0 - cvtsi2ss xmm0,rax
NieR Replicant ver.1.22474487139.exe+3A4556: 8B 41 18 - mov eax,[rcx+18]
NieR Replicant ver.1.22474487139.exe+3A4559: F3 48 0F 2A C8 - cvtsi2ss xmm1,rax
NieR Replicant ver.1.22474487139.exe+3A455E: 8B 41 20 - mov eax,[rcx+20]
NieR Replicant ver.1.22474487139.exe+3A4561: F3 0F 5C C8 - subss xmm1,xmm0
NieR Replicant ver.1.22474487139.exe+3A4565: F3 0F 59 0D 03 AB 9A 00 - mulss xmm1,["NieR Replicant ver.1.22474487139.exe"+D4F070]
NieR Replicant ver.1.22474487139.exe+3A456D: F3 0F 58 C8 - addss xmm1,xmm0
NieR Replicant ver.1.22474487139.exe+3A4571: 0F 57 C0 - xorps xmm0,xmm0
NieR Replicant ver.1.22474487139.exe+3A4574: F3 48 0F 2A C0 - cvtsi2ss xmm0,rax
NieR Replicant ver.1.22474487139.exe+3A4579: 8B 41 24 - mov eax,[rcx+24]
NieR Replicant ver.1.22474487139.exe+3A457C: F3 0F 59 C8 - mulss xmm1,xmm0
NieR Replicant ver.1.22474487139.exe+3A4580: 85 C0 - test eax,eax
NieR Replicant ver.1.22474487139.exe+3A4582: 74 0A - je "NieR Replicant ver.1.22474487139.exe"+3A458E
NieR Replicant ver.1.22474487139.exe+3A4584: 0F 57 D2 - xorps xmm2,xmm2
NieR Replicant ver.1.22474487139.exe+3A4587: F3 48 0F 2A D0 - cvtsi2ss xmm2,rax
NieR Replicant ver.1.22474487139.exe+3A458C: EB 03 - jmp "NieR Replicant ver.1.22474487139.exe"+3A4591
NieR Replicant ver.1.22474487139.exe+3A458E: 0F 28 D3 - movaps xmm2,xmm3
NieR Replicant ver.1.22474487139.exe+3A4591: 0F 57 C0 - xorps xmm0,xmm0
NieR Replicant ver.1.22474487139.exe+3A4594: 0F 2F C8 - comiss xmm1,xmm0
NieR Replicant ver.1.22474487139.exe+3A4597: 77 03 - ja "NieR Replicant ver.1.22474487139.exe"+3A459C
NieR Replicant ver.1.22474487139.exe+3A4599: 0F 28 CB - movaps xmm1,xmm3
NieR Replicant ver.1.22474487139.exe+3A459C: 8B 41 0C - mov eax,[rcx+0C]
NieR Replicant ver.1.22474487139.exe+3A459F: 0F 57 C0 - xorps xmm0,xmm0
NieR Replicant ver.1.22474487139.exe+3A45A2: F3 48 0F 2A C0 - cvtsi2ss xmm0,rax
NieR Replicant ver.1.22474487139.exe+3A45A7: F3 0F 5E C1 - divss xmm0,xmm1
NieR Replicant ver.1.22474487139.exe+3A45AB: F3 0F 59 C2 - mulss xmm0,xmm2
// ---------- INJECTING HERE ----------
NieR Replicant ver.1.22474487139.exe+3A45AF: F3 48 0F 2C C0 - cvttss2si rax,xmm0
// ---------- DONE INJECTING ----------
NieR Replicant ver.1.22474487139.exe+3A45B4: 89 41 10 - mov [rcx+10],eax
NieR Replicant ver.1.22474487139.exe+3A45B7: 89 41 0C - mov [rcx+0C],eax
NieR Replicant ver.1.22474487139.exe+3A45BA: C3 - ret
NieR Replicant ver.1.22474487139.exe+3A45BB: CC - int 3
NieR Replicant ver.1.22474487139.exe+3A45BC: CC - int 3
NieR Replicant ver.1.22474487139.exe+3A45BD: CC - int 3
NieR Replicant ver.1.22474487139.exe+3A45BE: CC - int 3
NieR Replicant ver.1.22474487139.exe+3A45BF: CC - int 3
NieR Replicant ver.1.22474487139.exe+3A45C0: 8B 41 14 - mov eax,[rcx+14]
NieR Replicant ver.1.22474487139.exe+3A45C3: 4C 8B D9 - mov r11,rcx
NieR Replicant ver.1.22474487139.exe+3A45C6: 89 41 1C - mov [rcx+1C],eax
NieR Replicant ver.1.22474487139.exe+3A45C9: 0F 57 C9 - xorps xmm1,xmm1
NieR Replicant ver.1.22474487139.exe+3A45CC: 44 69 05 49 4C E6 00 FD 43 03 00 - imul r8d,["NieR Replicant ver.1.22474487139.exe"+1209220],000343FD
NieR Replicant ver.1.22474487139.exe+3A45D7: B8 57 86 6F 44 - mov eax,446F8657
NieR Replicant ver.1.22474487139.exe+3A45DC: 45 69 C8 FD 43 03 00 - imul r9d,r8d,000343FD
NieR Replicant ver.1.22474487139.exe+3A45E3: 45 8D 90 C3 9E 26 00 - lea r10d,[r8+00269EC3]
NieR Replicant ver.1.22474487139.exe+3A45EA: 41 C1 FA 10 - sar r10d,10
NieR Replicant ver.1.22474487139.exe+3A45EE: 41 81 E2 FF 7F 00 00 - and r10d,00007FFF
NieR Replicant ver.1.22474487139.exe+3A45F5: 41 F7 E2 - mul r10d
NieR Replicant ver.1.22474487139.exe+3A45F8: 41 8B C2 - mov eax,r10d
NieR Replicant ver.1.22474487139.exe+3A45FB: 2B C2 - sub eax,edx
NieR Replicant ver.1.22474487139.exe+3A45FD: D1 E8 - shr eax,1
NieR Replicant ver.1.22474487139.exe+3A45FF: 03 C2 - add eax,edx
NieR Replicant ver.1.22474487139.exe+3A4601: C1 E8 06 - shr eax,06
NieR Replicant ver.1.22474487139.exe+3A4604: 6B C8 65 - imul ecx,eax,65
NieR Replicant ver.1.22474487139.exe+3A4607: B8 57 86 6F 44 - mov eax,446F8657
NieR Replicant ver.1.22474487139.exe+3A460C: 44 2B D1 - sub r10d,ecx
NieR Replicant ver.1.22474487139.exe+3A460F: 41 8D 89 7A 8E 27 1E - lea ecx,[r9+1E278E7A]
NieR Replicant ver.1.22474487139.exe+3A4616: 41 83 FA 06 - cmp r10d,06
NieR Replicant ver.1.22474487139.exe+3A461A: 0F 83 EE 00 00 00 - jae "NieR Replicant ver.1.22474487139.exe"+3A470E
}
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatEntry>
</CheatEntries>
</CheatTable>