NieR Replicant ver.1.22474487139 (Steam)

Upload your cheat tables here (No requests)
YukariArimura
What is cheating?
What is cheating?
Posts: 3
Joined: Wed Mar 31, 2021 8:40 pm
Reputation: 0

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by YukariArimura »

Awesome...
Thank you!

How to use this cheat table?
  1. Install Cheat Engine
  2. Double-click the .CT file in order to open it.
  3. Click the PC icon in Cheat Engine in order to select the game process.
  4. Keep the list.
  5. Activate the trainer options by checking boxes or setting values from 0 to 1

topia
Noobzor
Noobzor
Posts: 6
Joined: Sat Jan 30, 2021 4:37 pm
Reputation: 8

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by topia »

For someone wants to get weapon one by one or modify its level, you can use below entries.
Personally I don't use this type of cheat, so I didn't test it so much. sorry.

note: it contains lea rax,[rcx+000004AC] change, so I think "Have All" should be stable too.
note2: Words entry remains untouched, I think no changes required for it, but I didn't test it at all.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>12</ID>
      <Description>"Weapon Finder"</Description>
      <Options moHideChildren="1"/>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : NieR Replicant ver.1.22474487139.exe
  Version: 
  Date   : 2021-04-23
  Author : Zach

  This script does blah blah blah
}

[ENABLE]

aobscanmodule(Wep_Base,NieR Replicant ver.1.22474487139.exe,0F BE 84 08 AC 04 00 00) // should be unique
alloc(newmem,$1000,"NieR Replicant ver.1.22474487139.exe"+3BB858)
globalalloc(WepBase,8)
label(code)
label(return)
label(wep_idx)

newmem:
push rax
lea rax,[rcx+000004AC]
mov [WepBase],rax
pop rax
code:
  movsx eax,byte ptr [rax+rcx+000004AC]
  jmp return

wep_idx:
  dw 0 // some mem to save weapon index

Wep_Base:
  jmp newmem
  nop 3
return:
registersymbol(Wep_Base)
registersymbol(wep_idx)

[DISABLE]

Wep_Base:
  db 0F BE 84 08 AC 04 00 00

unregistersymbol(wep_idx)
unregistersymbol(Wep_Base)
dealloc(newmem)
dealloc(WepBase)
{
// ORIGINAL CODE - INJECTION POINT: "NieR Replicant ver.1.22474487139.exe"+3BB858

"NieR Replicant ver.1.22474487139.exe"+3BB849: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84A: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84B: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84C: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84D: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84E: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84F: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB850: 83 FA 3F                    -  cmp edx,3F
"NieR Replicant ver.1.22474487139.exe"+3BB853: 77 0C                       -  ja "NieR Replicant ver.1.22474487139.exe"+3BB861
"NieR Replicant ver.1.22474487139.exe"+3BB855: 48 63 C2                    -  movsxd  rax,edx
// ---------- INJECTING HERE ----------
"NieR Replicant ver.1.22474487139.exe"+3BB858: 0F BE 84 08 AC 04 00 00     -  movsx eax,byte ptr [rax+rcx+000004AC]
// ---------- DONE INJECTING  ----------
"NieR Replicant ver.1.22474487139.exe"+3BB860: C3                          -  ret 
"NieR Replicant ver.1.22474487139.exe"+3BB861: B8 FF FF FF FF              -  mov eax,FFFFFFFF
"NieR Replicant ver.1.22474487139.exe"+3BB866: C3                          -  ret 
"NieR Replicant ver.1.22474487139.exe"+3BB867: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB868: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB869: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86A: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86B: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86C: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86D: CC                          -  int 3 
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>79</ID>
          <Description>"Populate Weapon Name"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>{$lua}
[ENABLE]
if syntaxcheck then return end

local localized_text_ptrs = {}

local text_ptr = getAddress("1427de300")
local count = readInteger(text_ptr + 0xf070, true)
for i=0,count-1,1 do
    local pos = text_ptr + i * 0x10
    localized_text_ptrs[readInteger(pos, true)] = readPointer(pos+0x8)
end
local count = readInteger(text_ptr + 0xf478, true)
for i=0,count-1,1 do
    local pos = text_ptr + i * 0x10 + 0xf078
    localized_text_ptrs[readInteger(pos, true)] = readPointer(pos+0x8)
end

local dropdown = createStringList()
local weapon_info_ptr = getAddress("1447c03e0")
for i=0,0x40-1,1 do
    local pos = readPointer(weapon_info_ptr + i * 8)
    if pos ~= 0 then
        local weapon_name_id = readInteger(pos+0x14, true)
        local weapon_name_ptr = localized_text_ptrs[weapon_name_id]
        if weapon_name_ptr ~= nil then
            local weapon_name = readString(weapon_name_ptr)
            dropdown.add(i .. ":" .. weapon_name)
        end
    end
end


local weaponID = getAddressList().getMemoryRecordByDescription("weapon index")
weaponID.DropDownList.setText(dropdown.getText())
weaponID.DisplayAsDropDownListItem = true

[DISABLE]
local weaponID = getAddressList().getMemoryRecordByDescription("weapon index")
weaponID.DropDownList.clear()
weaponID.DisplayAsDropDownListItem = false

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>78</ID>
          <Description>"weapon index"</Description>
          <LastState Value="0" RealAddress="13F970020"/>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>4 Bytes</VariableType>
          <Address>wep_idx</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>80</ID>
          <Description>"weapon_level"</Description>
          <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">-1:None
0:Lv. 1
1:Lv. 2
2:Lv. 3
3:Lv. 4
</DropDownList>
          <LastState Value="1" RealAddress="144372C3C"/>
          <ShowAsSigned>1</ShowAsSigned>
          <VariableType>Byte</VariableType>
          <Address>WepBase</Address>
          <Offsets>
            <Offset>[wep_idx]</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>13</ID>
          <Description>"Have All"</Description>
          <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:On
</DropDownList>
          <LastState Value="01 FF 00 FF FF FF FF FF 00 00 FF 01 FF FF FF 00 00 FF FF FF FF FF FF FF FF FF FF FF FF 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 FF FF FF FF FF FF FF FF FF FF FF FF FF" RealAddress="144372C3C"/>
          <ShowAsHex>1</ShowAsHex>
          <VariableType>Array of byte</VariableType>
          <ByteLength>64</ByteLength>
          <Address>WepBase</Address>
          <Offsets>
            <Offset>0</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>26</ID>
          <Description>"Words"</Description>
          <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF:Have All
</DropDownList>
          <LastState Value="255 255 0 0 0 0 28 0 0 0 0 0 17 68 0" RealAddress="144372E96"/>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>Array of byte</VariableType>
          <ByteLength>15</ByteLength>
          <Address>WepBase</Address>
          <Offsets>
            <Offset>25a</Offset>
          </Offsets>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

telosei
Cheater
Cheater
Posts: 31
Joined: Sat Jan 12, 2019 4:44 am
Reputation: 2

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by telosei »

Awesome work guys

thanks for the new item editing table

it's all i needed, you guys rock !

malightydog
Noobzor
Noobzor
Posts: 7
Joined: Thu Mar 21, 2019 11:37 am
Reputation: 0

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by malightydog »

topia wrote:
Fri Apr 30, 2021 2:02 pm
For someone wants to get weapon one by one or modify its level, you can use below entries.
Personally I don't use this type of cheat, so I didn't test it so much. sorry.

note: it contains lea rax,[rcx+000004AC] change, so I think "Have All" should be stable too.
note2: Words entry remains untouched, I think no changes required for it, but I didn't test it at all.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>12</ID>
      <Description>"Weapon Finder"</Description>
      <Options moHideChildren="1"/>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : NieR Replicant ver.1.22474487139.exe
  Version: 
  Date   : 2021-04-23
  Author : Zach

  This script does blah blah blah
}

[ENABLE]

aobscanmodule(Wep_Base,NieR Replicant ver.1.22474487139.exe,0F BE 84 08 AC 04 00 00) // should be unique
alloc(newmem,$1000,"NieR Replicant ver.1.22474487139.exe"+3BB858)
globalalloc(WepBase,8)
label(code)
label(return)
label(wep_idx)

newmem:
push rax
lea rax,[rcx+000004AC]
mov [WepBase],rax
pop rax
code:
  movsx eax,byte ptr [rax+rcx+000004AC]
  jmp return

wep_idx:
  dw 0 // some mem to save weapon index

Wep_Base:
  jmp newmem
  nop 3
return:
registersymbol(Wep_Base)
registersymbol(wep_idx)

[DISABLE]

Wep_Base:
  db 0F BE 84 08 AC 04 00 00

unregistersymbol(wep_idx)
unregistersymbol(Wep_Base)
dealloc(newmem)
dealloc(WepBase)
{
// ORIGINAL CODE - INJECTION POINT: "NieR Replicant ver.1.22474487139.exe"+3BB858

"NieR Replicant ver.1.22474487139.exe"+3BB849: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84A: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84B: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84C: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84D: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84E: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84F: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB850: 83 FA 3F                    -  cmp edx,3F
"NieR Replicant ver.1.22474487139.exe"+3BB853: 77 0C                       -  ja "NieR Replicant ver.1.22474487139.exe"+3BB861
"NieR Replicant ver.1.22474487139.exe"+3BB855: 48 63 C2                    -  movsxd  rax,edx
// ---------- INJECTING HERE ----------
"NieR Replicant ver.1.22474487139.exe"+3BB858: 0F BE 84 08 AC 04 00 00     -  movsx eax,byte ptr [rax+rcx+000004AC]
// ---------- DONE INJECTING  ----------
"NieR Replicant ver.1.22474487139.exe"+3BB860: C3                          -  ret 
"NieR Replicant ver.1.22474487139.exe"+3BB861: B8 FF FF FF FF              -  mov eax,FFFFFFFF
"NieR Replicant ver.1.22474487139.exe"+3BB866: C3                          -  ret 
"NieR Replicant ver.1.22474487139.exe"+3BB867: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB868: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB869: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86A: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86B: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86C: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86D: CC                          -  int 3 
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>79</ID>
          <Description>"Populate Weapon Name"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>{$lua}
[ENABLE]
if syntaxcheck then return end

local localized_text_ptrs = {}

local text_ptr = getAddress("1427de300")
local count = readInteger(text_ptr + 0xf070, true)
for i=0,count-1,1 do
    local pos = text_ptr + i * 0x10
    localized_text_ptrs[readInteger(pos, true)] = readPointer(pos+0x8)
end
local count = readInteger(text_ptr + 0xf478, true)
for i=0,count-1,1 do
    local pos = text_ptr + i * 0x10 + 0xf078
    localized_text_ptrs[readInteger(pos, true)] = readPointer(pos+0x8)
end

local dropdown = createStringList()
local weapon_info_ptr = getAddress("1447c03e0")
for i=0,0x40-1,1 do
    local pos = readPointer(weapon_info_ptr + i * 8)
    if pos ~= 0 then
        local weapon_name_id = readInteger(pos+0x14, true)
        local weapon_name_ptr = localized_text_ptrs[weapon_name_id]
        if weapon_name_ptr ~= nil then
            local weapon_name = readString(weapon_name_ptr)
            dropdown.add(i .. ":" .. weapon_name)
        end
    end
end


local weaponID = getAddressList().getMemoryRecordByDescription("weapon index")
weaponID.DropDownList.setText(dropdown.getText())
weaponID.DisplayAsDropDownListItem = true

[DISABLE]
local weaponID = getAddressList().getMemoryRecordByDescription("weapon index")
weaponID.DropDownList.clear()
weaponID.DisplayAsDropDownListItem = false

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>78</ID>
          <Description>"weapon index"</Description>
          <LastState Value="0" RealAddress="13F970020"/>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>4 Bytes</VariableType>
          <Address>wep_idx</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>80</ID>
          <Description>"weapon_level"</Description>
          <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">-1:None
0:Lv. 1
1:Lv. 2
2:Lv. 3
3:Lv. 4
</DropDownList>
          <LastState Value="1" RealAddress="144372C3C"/>
          <ShowAsSigned>1</ShowAsSigned>
          <VariableType>Byte</VariableType>
          <Address>WepBase</Address>
          <Offsets>
            <Offset>[wep_idx]</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>13</ID>
          <Description>"Have All"</Description>
          <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:On
</DropDownList>
          <LastState Value="01 FF 00 FF FF FF FF FF 00 00 FF 01 FF FF FF 00 00 FF FF FF FF FF FF FF FF FF FF FF FF 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 FF FF FF FF FF FF FF FF FF FF FF FF FF" RealAddress="144372C3C"/>
          <ShowAsHex>1</ShowAsHex>
          <VariableType>Array of byte</VariableType>
          <ByteLength>64</ByteLength>
          <Address>WepBase</Address>
          <Offsets>
            <Offset>0</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>26</ID>
          <Description>"Words"</Description>
          <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF:Have All
</DropDownList>
          <LastState Value="255 255 0 0 0 0 28 0 0 0 0 0 17 68 0" RealAddress="144372E96"/>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>Array of byte</VariableType>
          <ByteLength>15</ByteLength>
          <Address>WepBase</Address>
          <Offsets>
            <Offset>25a</Offset>
          </Offsets>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
This is really amazing that you did this and thank you so much! I have one question: How do I turn this into a cheat/table? I tried right clicking the weapon finder script for the V3 table and replacing the text, but that just gave me an error, "not all code injectable, are you sure you want to change it to this?" and didn't change anything. I feel like a moron asking so much, but I'm trying to learn, I promise!

topia
Noobzor
Noobzor
Posts: 6
Joined: Sat Jan 30, 2021 4:37 pm
Reputation: 8

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by topia »

malightydog wrote:
Fri Apr 30, 2021 11:41 pm
topia wrote:
Fri Apr 30, 2021 2:02 pm
This is really amazing that you did this and thank you so much! I have one question: How do I turn this into a cheat/table?
That code block can be used as Cheat-engine's clipboard format. so, steps are very simple.
  1. open V3 table with Cheat Engine
  2. right click on "Weapon Finder", and delete or cut it
  3. use code block's "SELECT ALL" (or select all text in code-block manually) and copy it
  4. back to Cheat Engine and Paste
  5. if you want, drag and drop pasted entries to favorite location
  6. using it normally
By the way, I attached the CT file with my Item/Weapon finder to confirm the result.
Attachments
NieR Replicant ver.1.22474487139-temp.CT
(111.33 KiB) Downloaded 161 times

User avatar
Tsunatus
What is cheating?
What is cheating?
Posts: 2
Joined: Thu Aug 23, 2018 5:50 am
Reputation: 0

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by Tsunatus »

Does the Item finder/have all work? I have it checked but nothing happens

13xforever
Noobzor
Noobzor
Posts: 5
Joined: Sun May 02, 2021 10:01 am
Reputation: 6

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by 13xforever »

My simple inventory editor table, but also game play time so you don't have to rush Ending A to get an achievement.
Attachments
NieR Replicant inventory v1.CT
(246.04 KiB) Downloaded 268 times

Divinehero
Expert Cheater
Expert Cheater
Posts: 98
Joined: Sat Mar 25, 2017 11:29 pm
Reputation: 2

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by Divinehero »

the word thing only seems to give me a few of them

YukariArimura
What is cheating?
What is cheating?
Posts: 3
Joined: Wed Mar 31, 2021 8:40 pm
Reputation: 0

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by YukariArimura »

Words
"Have all" are not working
please help me

User avatar
EdenAndrei
Novice Cheater
Novice Cheater
Posts: 16
Joined: Sun Sep 01, 2019 6:50 am
Reputation: 4

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by EdenAndrei »

Hello! Please add reset game timer. Or to reset the time in the game save.

Divinehero
Expert Cheater
Expert Cheater
Posts: 98
Joined: Sat Mar 25, 2017 11:29 pm
Reputation: 2

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by Divinehero »

is there a working trainer for this that doesn't either wnat me to pay to use it or be full of trojans?

cuz i need me a 1 hit kill thing for the bastion of tedious that is the og dlc

Corollax
What is cheating?
What is cheating?
Posts: 1
Joined: Sun May 23, 2021 11:48 pm
Reputation: 0

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by Corollax »

Has anyone made any progress on editing documents or tutorials? There's several missable tutorials in the Aerie and Yonah's letters are very easy to miss during the introductory segment. I'm 20 hours invested in the game already and I really don't want to have to restart to get these...

Any help would be greatly appreciated.

gogloplex
What is cheating?
What is cheating?
Posts: 1
Joined: Mon May 24, 2021 9:56 am
Reputation: 0

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by gogloplex »

topia wrote:
Fri Apr 30, 2021 2:02 pm
For someone wants to get weapon one by one or modify its level, you can use below entries.
Personally I don't use this type of cheat, so I didn't test it so much. sorry.

note: it contains lea rax,[rcx+000004AC] change, so I think "Have All" should be stable too.
note2: Words entry remains untouched, I think no changes required for it, but I didn't test it at all.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>12</ID>
      <Description>"Weapon Finder"</Description>
      <Options moHideChildren="1"/>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : NieR Replicant ver.1.22474487139.exe
  Version: 
  Date   : 2021-04-23
  Author : Zach

  This script does blah blah blah
}

[ENABLE]

aobscanmodule(Wep_Base,NieR Replicant ver.1.22474487139.exe,0F BE 84 08 AC 04 00 00) // should be unique
alloc(newmem,$1000,"NieR Replicant ver.1.22474487139.exe"+3BB858)
globalalloc(WepBase,8)
label(code)
label(return)
label(wep_idx)

newmem:
push rax
lea rax,[rcx+000004AC]
mov [WepBase],rax
pop rax
code:
  movsx eax,byte ptr [rax+rcx+000004AC]
  jmp return

wep_idx:
  dw 0 // some mem to save weapon index

Wep_Base:
  jmp newmem
  nop 3
return:
registersymbol(Wep_Base)
registersymbol(wep_idx)

[DISABLE]

Wep_Base:
  db 0F BE 84 08 AC 04 00 00

unregistersymbol(wep_idx)
unregistersymbol(Wep_Base)
dealloc(newmem)
dealloc(WepBase)
{
// ORIGINAL CODE - INJECTION POINT: "NieR Replicant ver.1.22474487139.exe"+3BB858

"NieR Replicant ver.1.22474487139.exe"+3BB849: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84A: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84B: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84C: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84D: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84E: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB84F: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB850: 83 FA 3F                    -  cmp edx,3F
"NieR Replicant ver.1.22474487139.exe"+3BB853: 77 0C                       -  ja "NieR Replicant ver.1.22474487139.exe"+3BB861
"NieR Replicant ver.1.22474487139.exe"+3BB855: 48 63 C2                    -  movsxd  rax,edx
// ---------- INJECTING HERE ----------
"NieR Replicant ver.1.22474487139.exe"+3BB858: 0F BE 84 08 AC 04 00 00     -  movsx eax,byte ptr [rax+rcx+000004AC]
// ---------- DONE INJECTING  ----------
"NieR Replicant ver.1.22474487139.exe"+3BB860: C3                          -  ret 
"NieR Replicant ver.1.22474487139.exe"+3BB861: B8 FF FF FF FF              -  mov eax,FFFFFFFF
"NieR Replicant ver.1.22474487139.exe"+3BB866: C3                          -  ret 
"NieR Replicant ver.1.22474487139.exe"+3BB867: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB868: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB869: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86A: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86B: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86C: CC                          -  int 3 
"NieR Replicant ver.1.22474487139.exe"+3BB86D: CC                          -  int 3 
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>79</ID>
          <Description>"Populate Weapon Name"</Description>
          <LastState/>
          <VariableType>Auto Assembler Script</VariableType>
          <AssemblerScript>{$lua}
[ENABLE]
if syntaxcheck then return end

local localized_text_ptrs = {}

local text_ptr = getAddress("1427de300")
local count = readInteger(text_ptr + 0xf070, true)
for i=0,count-1,1 do
    local pos = text_ptr + i * 0x10
    localized_text_ptrs[readInteger(pos, true)] = readPointer(pos+0x8)
end
local count = readInteger(text_ptr + 0xf478, true)
for i=0,count-1,1 do
    local pos = text_ptr + i * 0x10 + 0xf078
    localized_text_ptrs[readInteger(pos, true)] = readPointer(pos+0x8)
end

local dropdown = createStringList()
local weapon_info_ptr = getAddress("1447c03e0")
for i=0,0x40-1,1 do
    local pos = readPointer(weapon_info_ptr + i * 8)
    if pos ~= 0 then
        local weapon_name_id = readInteger(pos+0x14, true)
        local weapon_name_ptr = localized_text_ptrs[weapon_name_id]
        if weapon_name_ptr ~= nil then
            local weapon_name = readString(weapon_name_ptr)
            dropdown.add(i .. ":" .. weapon_name)
        end
    end
end


local weaponID = getAddressList().getMemoryRecordByDescription("weapon index")
weaponID.DropDownList.setText(dropdown.getText())
weaponID.DisplayAsDropDownListItem = true

[DISABLE]
local weaponID = getAddressList().getMemoryRecordByDescription("weapon index")
weaponID.DropDownList.clear()
weaponID.DisplayAsDropDownListItem = false

</AssemblerScript>
        </CheatEntry>
        <CheatEntry>
          <ID>78</ID>
          <Description>"weapon index"</Description>
          <LastState Value="0" RealAddress="13F970020"/>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>4 Bytes</VariableType>
          <Address>wep_idx</Address>
        </CheatEntry>
        <CheatEntry>
          <ID>80</ID>
          <Description>"weapon_level"</Description>
          <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">-1:None
0:Lv. 1
1:Lv. 2
2:Lv. 3
3:Lv. 4
</DropDownList>
          <LastState Value="1" RealAddress="144372C3C"/>
          <ShowAsSigned>1</ShowAsSigned>
          <VariableType>Byte</VariableType>
          <Address>WepBase</Address>
          <Offsets>
            <Offset>[wep_idx]</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>13</ID>
          <Description>"Have All"</Description>
          <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00:On
</DropDownList>
          <LastState Value="01 FF 00 FF FF FF FF FF 00 00 FF 01 FF FF FF 00 00 FF FF FF FF FF FF FF FF FF FF FF FF 00 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00 FF FF FF FF FF FF FF FF FF FF FF FF FF" RealAddress="144372C3C"/>
          <ShowAsHex>1</ShowAsHex>
          <VariableType>Array of byte</VariableType>
          <ByteLength>64</ByteLength>
          <Address>WepBase</Address>
          <Offsets>
            <Offset>0</Offset>
          </Offsets>
        </CheatEntry>
        <CheatEntry>
          <ID>26</ID>
          <Description>"Words"</Description>
          <DropDownList DescriptionOnly="1" DisplayValueAsItem="1">FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF:Have All
</DropDownList>
          <LastState Value="255 255 0 0 0 0 28 0 0 0 0 0 17 68 0" RealAddress="144372E96"/>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>Array of byte</VariableType>
          <ByteLength>15</ByteLength>
          <Address>WepBase</Address>
          <Offsets>
            <Offset>25a</Offset>
          </Offsets>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
i made an account here, and have been using the site since CE forums became worthless. i made this account JUST to say that both the words and weapons obtainer are completely broken. not sure which one removed weiss from the game, but one of them did. probably weapons since it also removed my DLC weapons, and only gave me a total of 5 weapons.

konsumer
What is cheating?
What is cheating?
Posts: 1
Joined: Sat Jul 03, 2021 2:26 am
Reputation: 2

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by konsumer »

I enabled the combat cheats, and played for a few hours. When I got to the shipwreck quest (with the monster) it wouldn't let me shoot the monster with L1. I disabled it and went back, but same problem with any save I had made, so I will have to start over (and not use combat mods.) I highly recommend not using them, as it will corrupt your future save files afterward.

That said I added some more cheats:
  • Simpler breakdown of items: Individual items instead of an array. I got bored adding labels for Key Items after a while, so you will have to figure them out yourself. Eventually, I may write some other code to generate a cheat file from the memory dump (that has all the names)
  • Experience pointer: increase your experience, then wait for it to level you up
  • Gold Pointer: set your current gold amount
  • Changed color of Combat to red, because it hosed all my save-files
Attachments
NieR Replicant V4.CT
(239.23 KiB) Downloaded 292 times

JobeStroud
Noobzor
Noobzor
Posts: 9
Joined: Sun Jan 20, 2019 8:21 am
Reputation: 1

Re: NieR Replicant ver.1.22474487139 (Steam)

Post by JobeStroud »

konsumer
Great update. I don't need every item known to man. I just want to edit stupid eggs. That made the game 5000% longer on the PS3. Thank you for giving me a chance to not spend 3 weeks getting the few items I need to max equipment! Eagle eggs are the devil!

Post Reply