Page 6 of 7

Re: Resonance of Fate 4K HD Edition

Posted: Mon Nov 19, 2018 10:07 pm
by wittydeaf
I am fine with your proposal, sorry if I wasn't clear on that in my post. What you propose is the better than what I ask for the linking restriction.

Re: Resonance of Fate 4K HD Edition

Posted: Mon Nov 19, 2018 10:35 pm
by predprey
wittydeaf wrote:
Mon Nov 19, 2018 10:07 pm
I am fine with your proposal, sorry if I wasn't clear on that in my post. What you propose is the better than what I ask for the linking restriction.
no problem, the gun/part modding is actually on my to-do list just that i stopped playing the game for a while. i'm still working on the difficulty settings currently.

Re: Resonance of Fate 4K HD Edition

Posted: Mon Nov 19, 2018 11:33 pm
by KS212
Game got updated again yesterday. Though I don't think its broken anything... Inf Resonance points seems to work fine this time round and all the others didn't crash for me through a couple of hours play.

Re: Resonance of Fate 4K HD Edition

Posted: Mon Nov 19, 2018 11:38 pm
by predprey
asdfen wrote:
Mon Nov 19, 2018 7:40 pm
thank you for reply. I havent checked this forum in a while so this is a bit late.
here are 3 save files
1 near end of the game chapter 16 - have to run through the end dungeon though since there is no saving inside
2-3 same save. its a save after the game has been won and it lets you choose new difficulty

would be awesome if you can do something with it

have a good one

[Link]
Thanks for the save. Here's your script:

Clear All Difficulties (Activates on loading a Game Cleared Save)

Code: Select all

[ENABLE]
aobscanmodule(aob_AllDifficulties,Resonance of Fate.exe,80 B9 24 01 00 00 00)
registersymbol(aob_AllDifficulties)
alloc(newmem_AllDifficulties,1024,Resonance of Fate.exe)
label(return_AllDifficulties)

newmem_AllDifficulties:
  mov [rcx+00000124],01010101
  mov [rcx+00000128],01010101
  mov [rcx+0000012C],00000101
  cmp byte ptr [rcx+00000124],00
  jmp return_AllDifficulties

aob_AllDifficulties:
  jmp newmem_AllDifficulties
  nop
  nop
return_AllDifficulties:

[DISABLE]
aob_AllDifficulties:
  db 80 B9 24 01 00 00 00

unregistersymbol(aob_AllDifficulties)
dealloc(newmem_AllDifficulties)

{
// ORIGINAL CODE - INJECTION POINT: "Resonance of Fate.exe"+971163

"Resonance of Fate.exe"+971135: 48 81 EC A0 00 00 00           -  sub rsp,000000A0
"Resonance of Fate.exe"+97113C: 48 8B 05 FD 8C AB 00           -  mov rax,["Resonance of Fate.exe"+1429E40]
"Resonance of Fate.exe"+971143: 48 33 C4                       -  xor rax,rsp
"Resonance of Fate.exe"+971146: 48 89 44 24 60                 -  mov [rsp+60],rax
"Resonance of Fate.exe"+97114B: 48 8B 05 4E BF AC 00           -  mov rax,["Resonance of Fate.exe"+143D0A0]
"Resonance of Fate.exe"+971152: 48 8B F9                       -  mov rdi,rcx
"Resonance of Fate.exe"+971155: 41 8B E8                       -  mov ebp,r8d
"Resonance of Fate.exe"+971158: 4C 8B F2                       -  mov r14,rdx
"Resonance of Fate.exe"+97115B: 4C 8B 48 08                    -  mov r9,[rax+08]
"Resonance of Fate.exe"+97115F: 49 8B 49 68                    -  mov rcx,[r9+68]
// ---------- INJECTING HERE ----------
"Resonance of Fate.exe"+971163: 80 B9 24 01 00 00 00           -  cmp byte ptr [rcx+00000124],00
// ---------- DONE INJECTING  ----------
"Resonance of Fate.exe"+97116A: 76 06                          -  jna "Resonance of Fate.exe"+971172
"Resonance of Fate.exe"+97116C: FF 87 50 02 00 00              -  inc [rdi+00000250]
"Resonance of Fate.exe"+971172: 80 B9 25 01 00 00 00           -  cmp byte ptr [rcx+00000125],00
"Resonance of Fate.exe"+971179: 8B 87 50 02 00 00              -  mov eax,[rdi+00000250]
"Resonance of Fate.exe"+97117F: 76 08                          -  jna "Resonance of Fate.exe"+971189
"Resonance of Fate.exe"+971181: FF C0                          -  inc eax
"Resonance of Fate.exe"+971183: 89 87 50 02 00 00              -  mov [rdi+00000250],eax
"Resonance of Fate.exe"+971189: 80 B9 26 01 00 00 00           -  cmp byte ptr [rcx+00000126],00
"Resonance of Fate.exe"+971190: 76 08                          -  jna "Resonance of Fate.exe"+97119A
"Resonance of Fate.exe"+971192: FF C0                          -  inc eax
}
The script above sets the cleared flags for each difficulty.
There is another address for the difficulty of the current save located at (Address of Rubies)+0xC, DWORD(4Bytes) values range from 1-10. You can use the Custom Value Type for Rubies posted on the first page to search for the address of rubies. Not sure if changing the value here really changes the difficulty. The change is reflected in the save information for new game plus saves but I tried changing your normal save to a zenith save and clearing last chapter and it did not unlock all difficulties, so it seems the games still relies on checking the cleared flags to determine which difficulty to unlock next.

Re: Resonance of Fate 4K HD Edition

Posted: Tue Nov 20, 2018 3:07 pm
by asdfen
predprey wrote:
Mon Nov 19, 2018 11:38 pm
The script above sets the cleared flags for each difficulty.
There is another address for the difficulty of the current save located at (Address of Rubies)+0xC, DWORD(4Bytes) values range from 1-10. You can use the Custom Value Type for Rubies posted on the first page to search for the address of rubies. Not sure if changing the value here really changes the difficulty. The change is reflected in the save information for new game plus saves but I tried changing your normal save to a zenith save and clearing last chapter and it did not unlock all difficulties, so it seems the games still relies on checking the cleared flags to determine which difficulty to unlock next.
thats awesome! thank you

Re: Resonance of Fate 4K HD Edition

Posted: Wed Nov 21, 2018 3:55 pm
by Noire Blackheart
Just asking to confirm, does doncarlos on page 1 still work or is it just Predpreys that works now?

Re: Resonance of Fate 4K HD Edition

Posted: Wed Nov 21, 2018 11:50 pm
by KS212
Only Pred's table works.

Re: Resonance of Fate 4K HD Edition

Posted: Mon Nov 26, 2018 1:03 pm
by Algester
so I tried fearlessrevolution's trainer it kind of works its just that his give all items cheat puts a lot of junk also in your inventory

it also puts in 3 debug weapons which are very cheaty or so I think they are cheaty and working

Re: Resonance of Fate 4K HD Edition

Posted: Wed Nov 28, 2018 7:31 am
by predprey
Gun Mod (Go to Customize and highlight gun)
- Changes are non-permanent and resets when game is closed

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>34</ID>
      <Description>"Gun Mod"</Description>
      <Options moHideChildren="1"/>
      <LastState/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]
alloc(gunPtr,8,Resonance of Fate.exe)
alloc(gunPtr2,8,Resonance of Fate.exe)
registersymbol(gunPtr)
registersymbol(gunPtr2)

aobscanmodule(aob_gunMod,Resonance of Fate.exe,48 8B C8 40 84 ED)
registersymbol(aob_gunMod)
alloc(newmem_gunMod,1024,Resonance of Fate.exe)
label(return_gunMod)

newmem_gunMod:
  mov [gunPtr],rax
  mov rcx,rax
  test bpl,bpl
  jmp return_gunMod

aob_gunMod:
  jmp newmem_gunMod
  nop
return_gunMod:

////////////////////////////////////////////////////////////////////////////////////////////////////

aobscanmodule(aob_gunMod2Tmp,Resonance of Fate.exe,98 FD FF 48 85 C0 74 1C 0F 10 00 0F 11 03)
label(aob_gunMod2)
registersymbol(aob_gunMod2)
alloc(newmem_gunMod2,1024,Resonance of Fate.exe)
label(return_gunMod2)

newmem_gunMod2:
  mov [gunPtr2],rax
  movups xmm0,[rax]
  movups [rbx],xmm0
  jmp return_gunMod2

aob_gunMod2Tmp+08:
aob_gunMod2:
  jmp newmem_gunMod2
  nop
return_gunMod2:

[DISABLE]
aob_gunMod:
  db 48 8B C8 40 84 ED

unregistersymbol(aob_gunMod)
dealloc(newmem_gunMod)

{
// ORIGINAL CODE - INJECTION POINT: "Resonance of Fate.exe"+17CB0B

"Resonance of Fate.exe"+17CAE4: 48 8B CF           -  mov rcx,rdi
"Resonance of Fate.exe"+17CAE7: 0F 29 74 24 20     -  movaps [rsp+20],xmm6
"Resonance of Fate.exe"+17CAEC: E8 3F D5 FF FF     -  call "Resonance of Fate.exe"+17A030
"Resonance of Fate.exe"+17CAF1: 48 8B F0           -  mov rsi,rax
"Resonance of Fate.exe"+17CAF4: 0F 57 F6           -  xorps xmm6,xmm6
"Resonance of Fate.exe"+17CAF7: 48 85 C0           -  test rax,rax
"Resonance of Fate.exe"+17CAFA: 0F 84 2F 01 00 00  -  je "Resonance of Fate.exe"+17CC2F
"Resonance of Fate.exe"+17CB00: 8B 50 10           -  mov edx,[rax+10]
"Resonance of Fate.exe"+17CB03: 49 8B CF           -  mov rcx,r15
"Resonance of Fate.exe"+17CB06: E8 C5 98 FD FF     -  call "Resonance of Fate.exe"+1563D0
// ---------- INJECTING HERE ----------
"Resonance of Fate.exe"+17CB0B: 48 8B C8           -  mov rcx,rax
"Resonance of Fate.exe"+17CB0E: 40 84 ED           -  test bpl,bpl
// ---------- DONE INJECTING  ----------
"Resonance of Fate.exe"+17CB11: 75 35              -  jne "Resonance of Fate.exe"+17CB48
"Resonance of Fate.exe"+17CB13: 48 85 C0           -  test rax,rax
"Resonance of Fate.exe"+17CB16: 0F 84 D3 02 00 00  -  je "Resonance of Fate.exe"+17CDEF
"Resonance of Fate.exe"+17CB1C: 0F 10 00           -  movups xmm0,[rax]
"Resonance of Fate.exe"+17CB1F: 0F 11 43 34        -  movups [rbx+34],xmm0
"Resonance of Fate.exe"+17CB23: 0F 10 48 10        -  movups xmm1,[rax+10]
"Resonance of Fate.exe"+17CB27: 0F 11 4B 44        -  movups [rbx+44],xmm1
"Resonance of Fate.exe"+17CB2B: 0F 10 40 20        -  movups xmm0,[rax+20]
"Resonance of Fate.exe"+17CB2F: 0F 11 43 54        -  movups [rbx+54],xmm0
"Resonance of Fate.exe"+17CB33: F2 0F 10 48 30     -  movsd xmm1,[rax+30]
}

////////////////////////////////////////////////////////////////////////////////////////////////////

aob_gunMod2:
  db 0F 10 00 0F 11 03

unregistersymbol(aob_gunMod2)
dealloc(newmem_gunMod2)

{
// ORIGINAL CODE - INJECTION POINT: "Resonance of Fate.exe"+17CC13

"Resonance of Fate.exe"+17CBF4: 72 06                    -  jb "Resonance of Fate.exe"+17CBFC
"Resonance of Fate.exe"+17CBF6: 8B 41 38                 -  mov eax,[rcx+38]
"Resonance of Fate.exe"+17CBF9: 89 43 6C                 -  mov [rbx+6C],eax
"Resonance of Fate.exe"+17CBFC: 0F B6 41 2C              -  movzx eax,byte ptr [rcx+2C]
"Resonance of Fate.exe"+17CC00: 88 43 60                 -  mov [rbx+60],al
"Resonance of Fate.exe"+17CC03: 8B 56 0C                 -  mov edx,[rsi+0C]
"Resonance of Fate.exe"+17CC06: 49 8B CF                 -  mov rcx,r15
"Resonance of Fate.exe"+17CC09: E8 82 98 FD FF           -  call "Resonance of Fate.exe"+156490
"Resonance of Fate.exe"+17CC0E: 48 85 C0                 -  test rax,rax
"Resonance of Fate.exe"+17CC11: 74 1C                    -  je "Resonance of Fate.exe"+17CC2F
// ---------- INJECTING HERE ----------
"Resonance of Fate.exe"+17CC13: 0F 10 00                 -  movups xmm0,[rax]
"Resonance of Fate.exe"+17CC16: 0F 11 03                 -  movups [rbx],xmm0
// ---------- DONE INJECTING  ----------
"Resonance of Fate.exe"+17CC19: 0F 10 48 10              -  movups xmm1,[rax+10]
"Resonance of Fate.exe"+17CC1D: 0F 11 4B 10              -  movups [rbx+10],xmm1
"Resonance of Fate.exe"+17CC21: 0F 10 40 20              -  movups xmm0,[rax+20]
"Resonance of Fate.exe"+17CC25: 0F 11 43 20              -  movups [rbx+20],xmm0
"Resonance of Fate.exe"+17CC29: 8B 40 30                 -  mov eax,[rax+30]
"Resonance of Fate.exe"+17CC2C: 89 43 30                 -  mov [rbx+30],eax
"Resonance of Fate.exe"+17CC2F: 48 8B CF                 -  mov rcx,rdi
"Resonance of Fate.exe"+17CC32: E8 D9 D5 FF FF           -  call "Resonance of Fate.exe"+17A210
"Resonance of Fate.exe"+17CC37: 0F B7 D0                 -  movzx edx,ax
"Resonance of Fate.exe"+17CC3A: 49 8B CE                 -  mov rcx,r14
}


unregistersymbol(gunPtr)
unregistersymbol(gunPtr2)
dealloc(gunPtr)
dealloc(gunPtr2)
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>47</ID>
          <Description>"Fixed Attribute"</Description>
          <Color>000000</Color>
          <VariableType>4 Bytes</VariableType>
          <Address>gunPtr</Address>
          <Offsets>
            <Offset>0</Offset>
          </Offsets>
          <CheatEntries>
            <CheatEntry>
              <ID>48</ID>
              <Description>"Attack Power"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>+8</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>49</ID>
              <Description>"Knockback"</Description>
              <VariableType>Float</VariableType>
              <Address>+20</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>50</ID>
              <Description>"Gauge Break = X * 100"</Description>
              <VariableType>Float</VariableType>
              <Address>+38</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
        <CheatEntry>
          <ID>36</ID>
          <Description>"Customizable Attribute"</Description>
          <VariableType>4 Bytes</VariableType>
          <Address>gunPtr2</Address>
          <Offsets>
            <Offset>0</Offset>
          </Offsets>
          <CheatEntries>
            <CheatEntry>
              <ID>37</ID>
              <Description>"Magazine Size"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>+18</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>38</ID>
              <Description>"Rate of Fire = 100 - X"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>+1C</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>39</ID>
              <Description>"Charge Speed = X / 100"</Description>
              <VariableType>4 Bytes</VariableType>
              <Address>+20</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>40</ID>
              <Description>"Bullet Focus = 99 - (X * 10)"</Description>
              <VariableType>Float</VariableType>
              <Address>+24</Address>
            </CheatEntry>
            <CheatEntry>
              <ID>41</ID>
              <Description>"Charge Acceleration = (X * 100) - 100"</Description>
              <VariableType>Float</VariableType>
              <Address>+28</Address>
            </CheatEntry>
          </CheatEntries>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

Re: Resonance of Fate 4K HD Edition

Posted: Wed Nov 28, 2018 11:10 am
by Algester
what would the sane values for the gun mod to prevent the game from crashing
I think it maybe not tinkering with the ammo count? if we are to base some of the stats from the debug guns

[Link]
as these are the guns that were left over from the debugging process I guess testing out Scratch and Direct Damage and the balance between Charge Speed and Charge Accel

Re: Resonance of Fate 4K HD Edition

Posted: Mon May 06, 2019 6:55 am
by qwertybot
predprey wrote:
Wed Nov 28, 2018 7:31 am
Gun Mod (Go to Customize and highlight gun)
- Changes are non-permanent and resets when game is closed
Quick question... when I tried to enable this, nothing happened. Like the script is not running or something (no "x" mark on the cheat). Other cheats are working. I tried enabling only the gun mod cheat but still, nada. Tried enabling the cheat on title screen, in-battle, on map, on menu, before (and after) highlighting the gun yet still no luck. I am using the latest version (2018.11.28) and I also tried using the raw code on predprey's post. What else could I be doing wrong?

Re: Resonance of Fate 4K HD Edition

Posted: Sat May 11, 2019 10:58 am
by predprey
qwertybot wrote:
Mon May 06, 2019 6:55 am
predprey wrote:
Wed Nov 28, 2018 7:31 am
Gun Mod (Go to Customize and highlight gun)
- Changes are non-permanent and resets when game is closed
Quick question... when I tried to enable this, nothing happened. Like the script is not running or something (no "x" mark on the cheat). Other cheats are working. I tried enabling only the gun mod cheat but still, nada. Tried enabling the cheat on title screen, in-battle, on map, on menu, before (and after) highlighting the gun yet still no luck. I am using the latest version (2018.11.28) and I also tried using the raw code on predprey's post. What else could I be doing wrong?
most likely not updated for the newest version i guess... don't really have time to do it :ph34r:

Re: Resonance of Fate 4K HD Edition

Posted: Wed Jun 05, 2019 9:39 am
by eyelsi
predprey wrote:
Sat May 11, 2019 10:58 am
most likely not updated for the newest version i guess... don't really have time to do it :ph34r:

nooo pleasee update this. I still really want to play the game..

Re: Resonance of Fate 4K HD Edition

Posted: Tue Jun 11, 2019 4:08 pm
by predprey
eyelsi wrote:
Wed Jun 05, 2019 9:39 am
predprey wrote:
Sat May 11, 2019 10:58 am
most likely not updated for the newest version i guess... don't really have time to do it :ph34r:

nooo pleasee update this. I still really want to play the game..
just tested with latest version 1.0.0.4, all cheats in the table (which includes the gun mod and difficulty mod) are still working for me so no update needed. i guess the previous guy didn't attach to the process or something and thus could not activate it?

Re: Resonance of Fate 4K HD Edition

Posted: Sun Mar 07, 2021 6:56 pm
by Toya_Hachijo
How can I change the script in a way so that it does not clear Zenith difficulty? I want to have a fresh start at Zenith without any items or levels.
Thank you very much for your help.