Legend of Heroes Trails of Cold Steel 1

Upload your cheat tables here (No requests)
Post Reply
TheByteSize
Expert Cheater
Expert Cheater
Posts: 293
Joined: Sat Mar 04, 2017 7:28 am
Reputation: 232

Re: Legend of Heroes Trails of Cold Steel 1

Post by TheByteSize »

EXP Muliplier without needing additional LUA Script

Fixed

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>4336</ID>
      <Description>"Fast EXP Gain"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>
[ENABLE]


aobscanmodule(ToCS_Fast_EXP_AOB,ed8.exe,03 C7 3D 0F 27 00 00) // should be unique
registersymbol(ToCS_Fast_EXP_AOB)
alloc(newmem,$1000)

label(code)
label(return)
label(expMult)
registersymbol(expMult)

newmem:
  imul edi,[expMult]
code:
  add eax,edi
  cmp eax,0000270F
  jmp return

expMult:
dd #10

ToCS_Fast_EXP_AOB:
  jmp newmem
  nop
  nop
return:


[DISABLE]

ToCS_Fast_EXP_AOB:
  db 03 C7 3D 0F 27 00 00

unregistersymbol(ToCS_Fast_EXP_AOB)
unregistersymbol(expMult)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "ed8.exe"+D622C

"ed8.exe"+D620C: 0D 00 0C 00 00        -  or eax,0C00
"ed8.exe"+D6211: 89 45 F0              -  mov [ebp-10],eax
"ed8.exe"+D6214: D9 6D F0              -  fldcw [ebp-10]
"ed8.exe"+D6217: DF 7D EC              -  fistp qword ptr [ebp-14]
"ed8.exe"+D621A: 8B 45 EC              -  mov eax,[ebp-14]
"ed8.exe"+D621D: 03 F8                 -  add edi,eax
"ed8.exe"+D621F: D9 6D FE              -  fldcw [ebp-02]
"ed8.exe"+D6222: EB 02                 -  jmp ed8.exe+D6226
"ed8.exe"+D6224: DD D8                 -  fstp st(0)
"ed8.exe"+D6226: 8B 86 D4 01 00 00     -  mov eax,[esi+000001D4]
// ---------- INJECTING HERE ----------
"ed8.exe"+D622C: 03 C7                 -  add eax,edi
"ed8.exe"+D622E: 3D 0F 27 00 00        -  cmp eax,0000270F
// ---------- DONE INJECTING  ----------
"ed8.exe"+D6233: 72 05                 -  jb ed8.exe+D623A
"ed8.exe"+D6235: B8 0F 27 00 00        -  mov eax,0000270F
"ed8.exe"+D623A: 89 86 D4 01 00 00     -  mov [esi+000001D4],eax
"ed8.exe"+D6240: 8B 4B 08              -  mov ecx,[ebx+08]
"ed8.exe"+D6243: 0F B7 81 94 03 00 00  -  movzx eax,word ptr [ecx+00000394]
"ed8.exe"+D624A: 8B 0D 18 93 C6 00     -  mov ecx,[ed8.exe+869318]
"ed8.exe"+D6250: 6A 00                 -  push 00
"ed8.exe"+D6252: 6A 63                 -  push 63
"ed8.exe"+D6254: 50                    -  push eax
"ed8.exe"+D6255: E8 CB 4B F3 FF        -  call ed8.exe+AE25
}
</AssemblerScript>
      <CheatEntries>
        <CheatEntry>
          <ID>4323</ID>
          <Description>"EXP Multiplier"</Description>
          <LastState Value="10" RealAddress="01750013"/>
          <VariableType>Byte</VariableType>
          <Address>expMult</Address>
        </CheatEntry>
      </CheatEntries>
    </CheatEntry>
  </CheatEntries>
</CheatTable>


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

TheByteSize
Expert Cheater
Expert Cheater
Posts: 293
Joined: Sat Mar 04, 2017 7:28 am
Reputation: 232

Re: Legend of Heroes Trails of Cold Steel 1

Post by TheByteSize »

Fast Battle Link EXP
You won't see the changes in Battle Result Screen like the EXP one but the added value is multiplied by 100 for each battle.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>4329</ID>
      <Description>"Fast Link EXP Battle"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(ToCS_FastLinkBattle_AOB,ed8.exe,8B 5D 10 8B F9) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:

code:
  mov ebx,[ebp+10]
  imul ebx,#100
  mov [ebp+10],ebx
  mov edi,ecx
  jmp return

ToCS_FastLinkBattle_AOB:
  jmp newmem
return:
registersymbol(ToCS_FastLinkBattle_AOB)

[DISABLE]

ToCS_FastLinkBattle_AOB:
  db 8B 5D 10 8B F9

unregistersymbol(ToCS_FastLinkBattle_AOB)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "ed8.exe"+275D2B

"ed8.exe"+275D0D: 73 0C                             -  jae ed8.exe+275D1B
"ed8.exe"+275D0F: FE C2                             -  inc dl
"ed8.exe"+275D11: 0F B6 D2                          -  movzx edx,dl
"ed8.exe"+275D14: 52                                -  push edx
"ed8.exe"+275D15: E8 6B 41 D9 FF                    -  call ed8.exe+9E85
"ed8.exe"+275D1A: 48                                -  dec eax
"ed8.exe"+275D1B: 80 7D 14 00                       -  cmp byte ptr [ebp+14],00
"ed8.exe"+275D1F: 0F 84 05 01 00 00                 -  je ed8.exe+275E2A
"ed8.exe"+275D25: 0F B7 D7                          -  movzx edx,di
"ed8.exe"+275D28: 0F B7 CB                          -  movzx ecx,bx
// ---------- INJECTING HERE ----------
"ed8.exe"+275D2B: 8B 5D 10                          -  mov ebx,[ebp+10]
"ed8.exe"+275D2E: 8B F9                             -  mov edi,ecx
// ---------- DONE INJECTING  ----------
"ed8.exe"+275D30: C1 E7 04                          -  shl edi,04
"ed8.exe"+275D33: 03 FA                             -  add edi,edx
"ed8.exe"+275D35: 03 9C BE 04 05 00 00              -  add ebx,[esi+edi*4+00000504]
"ed8.exe"+275D3C: 8D BC BE 04 05 00 00              -  lea edi,[esi+edi*4+00000504]
"ed8.exe"+275D43: C7 07 00 00 00 00                 -  mov [edi],00000000
"ed8.exe"+275D49: 8B FA                             -  mov edi,edx
"ed8.exe"+275D4B: C1 E7 04                          -  shl edi,04
"ed8.exe"+275D4E: 03 F9                             -  add edi,ecx
"ed8.exe"+275D50: C7 84 BE 04 05 00 00 00 00 00 00  -  mov [esi+edi*4+00000504],00000000
"ed8.exe"+275D5B: 8D 79 04                          -  lea edi,[ecx+04]
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

wcsc12
Novice Cheater
Novice Cheater
Posts: 16
Joined: Sun Aug 06, 2017 1:28 am
Reputation: 1

Re: Legend of Heroes Trails of Cold Steel 1

Post by wcsc12 »

Here's all of the item digits I've found so far.

Feel free to save and make changes. We should be able to fill it out. I'll try and fill it all out later on this week.

[Link]

DrummerIX
Expert Cheater
Expert Cheater
Posts: 2885
Joined: Wed Mar 22, 2017 6:15 pm
Reputation: 0

Re: Legend of Heroes Trails of Cold Steel 1

Post by DrummerIX »

I came up with Equipment Editor and merged TheByteSize's scripts with the main table (Thanks for the help in making options).

Blanketghost
Expert Cheater
Expert Cheater
Posts: 74
Joined: Fri Mar 03, 2017 5:34 am
Reputation: 5

Re: Legend of Heroes Trails of Cold Steel 1

Post by Blanketghost »

wcsc12 wrote:
Sun Aug 06, 2017 1:30 am
Here's all of the item digits I've found so far.

Feel free to save and make changes. We should be able to fill it out. I'll try and fill it all out later on this week.

[Link]
Cannot make any edits though I am not familiar with GoogleDoc, but I will try to contribute nonetheless. U-Material ID is 50.

Sakura1
What is cheating?
What is cheating?
Posts: 3
Joined: Sun Aug 06, 2017 4:31 am
Reputation: 0

Re: Legend of Heroes Trails of Cold Steel 1

Post by Sakura1 »

While I love the whole Editors things isn't kinda easily unless we get a list of all the weapons/items/equipment ID's ??
I pretty sure the community can add to the list especially those who are rather far into the game can give the ID's of their current equipment/items/weapons which we can add to that googledoc above O-o... I would love to join but im only in chapter 1 but if i gain anything rare i would love to add it but I can't edit the googledoc's so whoever created should allow access

TheByteSize
Expert Cheater
Expert Cheater
Posts: 293
Joined: Sat Mar 04, 2017 7:28 am
Reputation: 232

Re: Legend of Heroes Trails of Cold Steel 1

Post by TheByteSize »

Fast Master Quartz Leveling AKA 1 level per battle.
Just providing this as an alternative.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>4345</ID>
      <Description>"Fast Master Quartz Level"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>
[ENABLE]

aobscanmodule(ToCS_Fast_Master_Quartz_Level,ed8.exe,8B 10 89 16 0F B6 88 5C 04 00 00) // should be unique
alloc(newmem,$1000)
label(L1)
label(L2)
label(L3)
label(L4)
label(code)
label(return)

newmem:
  cmp [eax-00000004],#1
  je L1
  cmp [eax-00000004],#2
  je L2
  cmp [eax-00000004],#3
  je L3
  cmp [eax-00000004],#4
  je L4
  jmp code

L1:
  mov [eax],#1299
  jmp code
L2:
  mov [eax],#7499
  jmp code
L3:
  mov [eax],#14999
  jmp code
L4:
  mov [eax],#29999
  jmp code

code:
  mov edx,[eax]
  mov [esi],edx
  movzx ecx,byte ptr [eax+0000045C]
  jmp return

ToCS_Fast_Master_Quartz_Level:
  jmp newmem
  nop
  nop
  nop
  nop
  nop
  nop
return:
registersymbol(ToCS_Fast_Master_Quartz_Level)

[DISABLE]

ToCS_Fast_Master_Quartz_Level:
  db 8B 10 89 16 0F B6 88 5C 04 00 00

unregistersymbol(ToCS_Fast_Master_Quartz_Level)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "ed8.exe"+1D9E4C

"ed8.exe"+1D9E28: 33 D2                 -  xor edx,edx
"ed8.exe"+1D9E2A: 66 89 50 02           -  mov [eax+02],dx
"ed8.exe"+1D9E2E: 83 C0 24              -  add eax,24
"ed8.exe"+1D9E31: 49                    -  dec ecx
"ed8.exe"+1D9E32: 75 EC                 -  jne ed8.exe+1D9E20
"ed8.exe"+1D9E34: 8D B3 28 B3 11 00     -  lea esi,[ebx+0011B328]
"ed8.exe"+1D9E3A: 8D 83 DC 7C 12 00     -  lea eax,[ebx+00127CDC]
"ed8.exe"+1D9E40: BF 1C 00 00 00        -  mov edi,0000001C
"ed8.exe"+1D9E45: 0F B6 48 FC           -  movzx ecx,byte ptr [eax-04]
"ed8.exe"+1D9E49: 88 4E FC              -  mov [esi-04],cl
// ---------- INJECTING HERE ----------
"ed8.exe"+1D9E4C: 8B 10                 -  mov edx,[eax]
"ed8.exe"+1D9E4E: 89 16                 -  mov [esi],edx
"ed8.exe"+1D9E50: 0F B6 88 5C 04 00 00  -  movzx ecx,byte ptr [eax+0000045C]
// ---------- DONE INJECTING  ----------
"ed8.exe"+1D9E57: 88 8E 5C 04 00 00     -  mov [esi+0000045C],cl
"ed8.exe"+1D9E5D: 8B 90 60 04 00 00     -  mov edx,[eax+00000460]
"ed8.exe"+1D9E63: 89 96 60 04 00 00     -  mov [esi+00000460],edx
"ed8.exe"+1D9E69: 83 C0 28              -  add eax,28
"ed8.exe"+1D9E6C: 83 C6 28              -  add esi,28
"ed8.exe"+1D9E6F: 4F                    -  dec edi
"ed8.exe"+1D9E70: 75 D3                 -  jne ed8.exe+1D9E45
"ed8.exe"+1D9E72: 8B 83 98 85 12 00     -  mov eax,[ebx+00128598]
"ed8.exe"+1D9E78: 89 83 E4 BB 11 00     -  mov [ebx+0011BBE4],eax
"ed8.exe"+1D9E7E: 8B 8B B8 85 12 00     -  mov ecx,[ebx+001285B8]
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>

Blanketghost
Expert Cheater
Expert Cheater
Posts: 74
Joined: Fri Mar 03, 2017 5:34 am
Reputation: 5

Re: Legend of Heroes Trails of Cold Steel 1

Post by Blanketghost »

Here is the quartz ID list in .xls format (cannot attach .xls for some reason) from what I am able to gather. Master Quartz is 2000-2015 I think, have not tried that one out yet.

Anyway, I would appreciate any ideas to get 99 of all quartz without manual working; And since inventory edit is still a bit in early stage, I guess there is no choice but to go manual for now.

Edit: Also working on last selected inventory for easier edit, but I cannot code properly to save my skin so I will be counting on you guys for this one.
Attachments
Trails of Cold Steel Quartz ID List.rar
(4.63 KiB) Downloaded 139 times

DrummerIX
Expert Cheater
Expert Cheater
Posts: 2885
Joined: Wed Mar 22, 2017 6:15 pm
Reputation: 0

Re: Legend of Heroes Trails of Cold Steel 1

Post by DrummerIX »

I have Rean's Weapon ID list if it helps anyone:

1000 Kazekiri
1001 Kazekiri+1
1002 Uzuki
1003 N/A
1004 Kisaragi
1005 Kogitsunemaru
1006 N/A
1007 Rougatou
1008 Nowaki no Tachi
1009 N/A
1010 Fuujin no Tachi
1011 Sasameyuki
1012 N/A
1013 Akayukitou
1014 Hakuu
1015 N/A
1016 Shigure
1017 Fuji Ichimonji
1018 N/A
1019 Kage Ichimonji
1020 Yakou
1021 Byakuya
1022 N/A

TheByteSize
Expert Cheater
Expert Cheater
Posts: 293
Joined: Sat Mar 04, 2017 7:28 am
Reputation: 232

Re: Legend of Heroes Trails of Cold Steel 1

Post by TheByteSize »

Blanketghost wrote:
Sun Aug 06, 2017 5:09 am
Here is the quartz ID list in .xls format (cannot attach .xls for some reason) from what I am able to gather. Master Quartz is 2000-2015 I think, have not tried that one out yet.

Anyway, I would appreciate any ideas to get 99 of all quartz without manual working; And since inventory edit is still a bit in early stage, I guess there is no choice but to go manual for now.

Edit: Also working on last selected inventory for easier edit, but I cannot code properly to save my skin so I will be counting on you guys for this one.
I could make script to change qty to 99 if less but it will change everything that is read so changing Event Item to 99 might break the game.

Blanketghost
Expert Cheater
Expert Cheater
Posts: 74
Joined: Fri Mar 03, 2017 5:34 am
Reputation: 5

Re: Legend of Heroes Trails of Cold Steel 1

Post by Blanketghost »

TheByteSize wrote:
Sun Aug 06, 2017 8:56 am
Blanketghost wrote:
Sun Aug 06, 2017 5:09 am
Here is the quartz ID list in .xls format (cannot attach .xls for some reason) from what I am able to gather. Master Quartz is 2000-2015 I think, have not tried that one out yet.

Anyway, I would appreciate any ideas to get 99 of all quartz without manual working; And since inventory edit is still a bit in early stage, I guess there is no choice but to go manual for now.

Edit: Also working on last selected inventory for easier edit, but I cannot code properly to save my skin so I will be counting on you guys for this one.
I could make script to change qty to 99 if less but it will change everything that is read so changing Event Item to 99 might break the game.
I would not risk it in this type of game with long event chains, but I appreciate the thought. My plan was to make a last selected inventory mixed with some creative hotkeying in CE and manual working with each quartz (change the quartz in CE then remove it). Then to the item screen, quartz tab, down arrow hotkeyed to increase by 99 in quantity and voila.

traxzero
What is cheating?
What is cheating?
Posts: 1
Joined: Sun Aug 06, 2017 9:23 am
Reputation: 0

Re: Legend of Heroes Trails of Cold Steel 1

Post by traxzero »

Does anyone have a savegame before the mid term exam?
(6/15 TUE
Thors Military Academy
Study for your test with you classmates.)
i f´d up with the bonding point and can´t advance :(

striderbeta
What is cheating?
What is cheating?
Posts: 4
Joined: Sun Aug 06, 2017 10:40 am
Reputation: 0

Re: Legend of Heroes Trails of Cold Steel 1

Post by striderbeta »

TheByteSize wrote:
Sat Aug 05, 2017 6:20 am
Infinite Fishing Attempt and Fast Angler Point Gain

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>4259</ID>
      <Description>"Inf Fishing Attempts"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>
[ENABLE]

aobscanmodule(ToCS_Inf_Fishing_AOB,ed8.exe,49 0F 98 C2 4A) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:

code:
  //dec ecx
  sets dl
  dec edx
  jmp return

ToCS_Inf_Fishing_AOB:
  jmp newmem
return:
registersymbol(ToCS_Inf_Fishing_AOB)

[DISABLE]

ToCS_Inf_Fishing_AOB:
  db 49 0F 98 C2 4A

unregistersymbol(ToCS_Inf_Fishing_AOB)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "ed8.exe"+200829

"ed8.exe"+200808: 7A 0A                       -  jp ed8.exe+200814
"ed8.exe"+20080A: DD D9                       -  fstp st(1)
"ed8.exe"+20080C: D9 9E B0 01 00 00           -  fstp dword ptr [esi+000001B0]
"ed8.exe"+200812: EB 1F                       -  jmp ed8.exe+200833
"ed8.exe"+200814: DD D8                       -  fstp st(0)
"ed8.exe"+200816: D9 9E B0 01 00 00           -  fstp dword ptr [esi+000001B0]
"ed8.exe"+20081C: EB 15                       -  jmp ed8.exe+200833
"ed8.exe"+20081E: 8B 86 98 01 00 00           -  mov eax,[esi+00000198]
"ed8.exe"+200824: 0F BF 08                    -  movsx ecx,word ptr [eax]
"ed8.exe"+200827: 33 D2                       -  xor edx,edx
// ---------- INJECTING HERE ----------
"ed8.exe"+200829: 49                          -  dec ecx
"ed8.exe"+20082A: 0F 98 C2                    -  sets dl
"ed8.exe"+20082D: 4A                          -  dec edx
// ---------- DONE INJECTING  ----------
"ed8.exe"+20082E: 23 CA                       -  and ecx,edx
"ed8.exe"+200830: 66 89 08                    -  mov [eax],cx
"ed8.exe"+200833: 83 7D 08 01                 -  cmp dword ptr [ebp+08],01
"ed8.exe"+200837: 66 C7 86 AC 01 00 00 00 00  -  mov word ptr [esi+000001AC],0000
"ed8.exe"+200840: 0F 85 36 01 00 00           -  jne ed8.exe+20097C
"ed8.exe"+200846: 8B 86 98 01 00 00           -  mov eax,[esi+00000198]
"ed8.exe"+20084C: 8B 48 04                    -  mov ecx,[eax+04]
"ed8.exe"+20084F: 41                          -  inc ecx
"ed8.exe"+200850: 81 F9 9F 86 01 00           -  cmp ecx,0001869F
"ed8.exe"+200856: 76 05                       -  jna ed8.exe+20085D
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>4260</ID>
      <Description>"Fast Angler Points x100"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(ToCS_Fast_AnglerP_AOB,ed8.exe,8B 81 74 92 12 00) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:
  mov edx,[ebp+08]
  imul edx,#100
  mov [ebp+08],edx
code:
  mov eax,[ecx+00129274]
  jmp return

ToCS_Fast_AnglerP_AOB:
  jmp newmem
  nop
return:
registersymbol(ToCS_Fast_AnglerP_AOB)

[DISABLE]

ToCS_Fast_AnglerP_AOB:
  db 8B 81 74 92 12 00

unregistersymbol(ToCS_Fast_AnglerP_AOB)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "ed8.exe"+1EE599

"ed8.exe"+1EE587: 5D                             -  pop ebp
"ed8.exe"+1EE588: C2 04 00                       -  ret 0004
"ed8.exe"+1EE58B: CC                             -  int 3 
"ed8.exe"+1EE58C: CC                             -  int 3 
"ed8.exe"+1EE58D: CC                             -  int 3 
"ed8.exe"+1EE58E: CC                             -  int 3 
"ed8.exe"+1EE58F: CC                             -  int 3 
"ed8.exe"+1EE590: 55                             -  push ebp
"ed8.exe"+1EE591: 8B EC                          -  mov ebp,esp
"ed8.exe"+1EE593: 8B 0D 18 93 C6 00              -  mov ecx,[ed8.exe+869318]
// ---------- INJECTING HERE ----------
"ed8.exe"+1EE599: 8B 81 74 92 12 00              -  mov eax,[ecx+00129274]
// ---------- DONE INJECTING  ----------
"ed8.exe"+1EE59F: 8B 55 08                       -  mov edx,[ebp+08]
"ed8.exe"+1EE5A2: 03 C2                          -  add eax,edx
"ed8.exe"+1EE5A4: 3D 7F 96 98 00                 -  cmp eax,ed8.exe+58967F
"ed8.exe"+1EE5A9: 76 05                          -  jna ed8.exe+1EE5B0
"ed8.exe"+1EE5AB: B8 7F 96 98 00                 -  mov eax,ed8.exe+58967F
"ed8.exe"+1EE5B0: 89 81 74 92 12 00              -  mov [ecx+00129274],eax
"ed8.exe"+1EE5B6: 8B 0D 18 93 C6 00              -  mov ecx,[ed8.exe+869318]
"ed8.exe"+1EE5BC: 8B 81 78 92 12 00              -  mov eax,[ecx+00129278]
"ed8.exe"+1EE5C2: 03 C2                          -  add eax,edx
"ed8.exe"+1EE5C4: 3D 7F 96 98 00                 -  cmp eax,ed8.exe+58967F
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
Forgive the newbie question, but how do I actually add this code into the table? Some Googling suggested opening the auto assembler, pasting the code, then selecting Assign to current cheat table, but that just pops up an error saying not all code is injectable. This is my first time trying to modify a table, so any advice would be appreciated. :)

DrummerIX
Expert Cheater
Expert Cheater
Posts: 2885
Joined: Wed Mar 22, 2017 6:15 pm
Reputation: 0

Re: Legend of Heroes Trails of Cold Steel 1

Post by DrummerIX »

striderbeta wrote:
Sun Aug 06, 2017 10:45 am
TheByteSize wrote:
Sat Aug 05, 2017 6:20 am
Infinite Fishing Attempt and Fast Angler Point Gain

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>4259</ID>
      <Description>"Inf Fishing Attempts"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>
[ENABLE]

aobscanmodule(ToCS_Inf_Fishing_AOB,ed8.exe,49 0F 98 C2 4A) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:

code:
  //dec ecx
  sets dl
  dec edx
  jmp return

ToCS_Inf_Fishing_AOB:
  jmp newmem
return:
registersymbol(ToCS_Inf_Fishing_AOB)

[DISABLE]

ToCS_Inf_Fishing_AOB:
  db 49 0F 98 C2 4A

unregistersymbol(ToCS_Inf_Fishing_AOB)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "ed8.exe"+200829

"ed8.exe"+200808: 7A 0A                       -  jp ed8.exe+200814
"ed8.exe"+20080A: DD D9                       -  fstp st(1)
"ed8.exe"+20080C: D9 9E B0 01 00 00           -  fstp dword ptr [esi+000001B0]
"ed8.exe"+200812: EB 1F                       -  jmp ed8.exe+200833
"ed8.exe"+200814: DD D8                       -  fstp st(0)
"ed8.exe"+200816: D9 9E B0 01 00 00           -  fstp dword ptr [esi+000001B0]
"ed8.exe"+20081C: EB 15                       -  jmp ed8.exe+200833
"ed8.exe"+20081E: 8B 86 98 01 00 00           -  mov eax,[esi+00000198]
"ed8.exe"+200824: 0F BF 08                    -  movsx ecx,word ptr [eax]
"ed8.exe"+200827: 33 D2                       -  xor edx,edx
// ---------- INJECTING HERE ----------
"ed8.exe"+200829: 49                          -  dec ecx
"ed8.exe"+20082A: 0F 98 C2                    -  sets dl
"ed8.exe"+20082D: 4A                          -  dec edx
// ---------- DONE INJECTING  ----------
"ed8.exe"+20082E: 23 CA                       -  and ecx,edx
"ed8.exe"+200830: 66 89 08                    -  mov [eax],cx
"ed8.exe"+200833: 83 7D 08 01                 -  cmp dword ptr [ebp+08],01
"ed8.exe"+200837: 66 C7 86 AC 01 00 00 00 00  -  mov word ptr [esi+000001AC],0000
"ed8.exe"+200840: 0F 85 36 01 00 00           -  jne ed8.exe+20097C
"ed8.exe"+200846: 8B 86 98 01 00 00           -  mov eax,[esi+00000198]
"ed8.exe"+20084C: 8B 48 04                    -  mov ecx,[eax+04]
"ed8.exe"+20084F: 41                          -  inc ecx
"ed8.exe"+200850: 81 F9 9F 86 01 00           -  cmp ecx,0001869F
"ed8.exe"+200856: 76 05                       -  jna ed8.exe+20085D
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>4260</ID>
      <Description>"Fast Angler Points x100"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(ToCS_Fast_AnglerP_AOB,ed8.exe,8B 81 74 92 12 00) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:
  mov edx,[ebp+08]
  imul edx,#100
  mov [ebp+08],edx
code:
  mov eax,[ecx+00129274]
  jmp return

ToCS_Fast_AnglerP_AOB:
  jmp newmem
  nop
return:
registersymbol(ToCS_Fast_AnglerP_AOB)

[DISABLE]

ToCS_Fast_AnglerP_AOB:
  db 8B 81 74 92 12 00

unregistersymbol(ToCS_Fast_AnglerP_AOB)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "ed8.exe"+1EE599

"ed8.exe"+1EE587: 5D                             -  pop ebp
"ed8.exe"+1EE588: C2 04 00                       -  ret 0004
"ed8.exe"+1EE58B: CC                             -  int 3 
"ed8.exe"+1EE58C: CC                             -  int 3 
"ed8.exe"+1EE58D: CC                             -  int 3 
"ed8.exe"+1EE58E: CC                             -  int 3 
"ed8.exe"+1EE58F: CC                             -  int 3 
"ed8.exe"+1EE590: 55                             -  push ebp
"ed8.exe"+1EE591: 8B EC                          -  mov ebp,esp
"ed8.exe"+1EE593: 8B 0D 18 93 C6 00              -  mov ecx,[ed8.exe+869318]
// ---------- INJECTING HERE ----------
"ed8.exe"+1EE599: 8B 81 74 92 12 00              -  mov eax,[ecx+00129274]
// ---------- DONE INJECTING  ----------
"ed8.exe"+1EE59F: 8B 55 08                       -  mov edx,[ebp+08]
"ed8.exe"+1EE5A2: 03 C2                          -  add eax,edx
"ed8.exe"+1EE5A4: 3D 7F 96 98 00                 -  cmp eax,ed8.exe+58967F
"ed8.exe"+1EE5A9: 76 05                          -  jna ed8.exe+1EE5B0
"ed8.exe"+1EE5AB: B8 7F 96 98 00                 -  mov eax,ed8.exe+58967F
"ed8.exe"+1EE5B0: 89 81 74 92 12 00              -  mov [ecx+00129274],eax
"ed8.exe"+1EE5B6: 8B 0D 18 93 C6 00              -  mov ecx,[ed8.exe+869318]
"ed8.exe"+1EE5BC: 8B 81 78 92 12 00              -  mov eax,[ecx+00129278]
"ed8.exe"+1EE5C2: 03 C2                          -  add eax,edx
"ed8.exe"+1EE5C4: 3D 7F 96 98 00                 -  cmp eax,ed8.exe+58967F
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
Forgive the newbie question, but how do I actually add this code into the table? Some Googling suggested opening the auto assembler, pasting the code, then selecting Assign to current cheat table, but that just pops up an error saying not all code is injectable. This is my first time trying to modify a table, so any advice would be appreciated. :)
I merged most of TheByteSize's options into the main table with EDIT12, so you can download that. They are under a heading TheByteSize made Scripts.

striderbeta
What is cheating?
What is cheating?
Posts: 4
Joined: Sun Aug 06, 2017 10:40 am
Reputation: 0

Re: Legend of Heroes Trails of Cold Steel 1

Post by striderbeta »

DrummerIX wrote:
Sun Aug 06, 2017 12:16 pm
striderbeta wrote:
Sun Aug 06, 2017 10:45 am
TheByteSize wrote:
Sat Aug 05, 2017 6:20 am
Infinite Fishing Attempt and Fast Angler Point Gain

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
  <CheatEntries>
    <CheatEntry>
      <ID>4259</ID>
      <Description>"Inf Fishing Attempts"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>
[ENABLE]

aobscanmodule(ToCS_Inf_Fishing_AOB,ed8.exe,49 0F 98 C2 4A) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:

code:
  //dec ecx
  sets dl
  dec edx
  jmp return

ToCS_Inf_Fishing_AOB:
  jmp newmem
return:
registersymbol(ToCS_Inf_Fishing_AOB)

[DISABLE]

ToCS_Inf_Fishing_AOB:
  db 49 0F 98 C2 4A

unregistersymbol(ToCS_Inf_Fishing_AOB)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "ed8.exe"+200829

"ed8.exe"+200808: 7A 0A                       -  jp ed8.exe+200814
"ed8.exe"+20080A: DD D9                       -  fstp st(1)
"ed8.exe"+20080C: D9 9E B0 01 00 00           -  fstp dword ptr [esi+000001B0]
"ed8.exe"+200812: EB 1F                       -  jmp ed8.exe+200833
"ed8.exe"+200814: DD D8                       -  fstp st(0)
"ed8.exe"+200816: D9 9E B0 01 00 00           -  fstp dword ptr [esi+000001B0]
"ed8.exe"+20081C: EB 15                       -  jmp ed8.exe+200833
"ed8.exe"+20081E: 8B 86 98 01 00 00           -  mov eax,[esi+00000198]
"ed8.exe"+200824: 0F BF 08                    -  movsx ecx,word ptr [eax]
"ed8.exe"+200827: 33 D2                       -  xor edx,edx
// ---------- INJECTING HERE ----------
"ed8.exe"+200829: 49                          -  dec ecx
"ed8.exe"+20082A: 0F 98 C2                    -  sets dl
"ed8.exe"+20082D: 4A                          -  dec edx
// ---------- DONE INJECTING  ----------
"ed8.exe"+20082E: 23 CA                       -  and ecx,edx
"ed8.exe"+200830: 66 89 08                    -  mov [eax],cx
"ed8.exe"+200833: 83 7D 08 01                 -  cmp dword ptr [ebp+08],01
"ed8.exe"+200837: 66 C7 86 AC 01 00 00 00 00  -  mov word ptr [esi+000001AC],0000
"ed8.exe"+200840: 0F 85 36 01 00 00           -  jne ed8.exe+20097C
"ed8.exe"+200846: 8B 86 98 01 00 00           -  mov eax,[esi+00000198]
"ed8.exe"+20084C: 8B 48 04                    -  mov ecx,[eax+04]
"ed8.exe"+20084F: 41                          -  inc ecx
"ed8.exe"+200850: 81 F9 9F 86 01 00           -  cmp ecx,0001869F
"ed8.exe"+200856: 76 05                       -  jna ed8.exe+20085D
}
</AssemblerScript>
    </CheatEntry>
    <CheatEntry>
      <ID>4260</ID>
      <Description>"Fast Angler Points x100"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>[ENABLE]

aobscanmodule(ToCS_Fast_AnglerP_AOB,ed8.exe,8B 81 74 92 12 00) // should be unique
alloc(newmem,$1000)

label(code)
label(return)

newmem:
  mov edx,[ebp+08]
  imul edx,#100
  mov [ebp+08],edx
code:
  mov eax,[ecx+00129274]
  jmp return

ToCS_Fast_AnglerP_AOB:
  jmp newmem
  nop
return:
registersymbol(ToCS_Fast_AnglerP_AOB)

[DISABLE]

ToCS_Fast_AnglerP_AOB:
  db 8B 81 74 92 12 00

unregistersymbol(ToCS_Fast_AnglerP_AOB)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "ed8.exe"+1EE599

"ed8.exe"+1EE587: 5D                             -  pop ebp
"ed8.exe"+1EE588: C2 04 00                       -  ret 0004
"ed8.exe"+1EE58B: CC                             -  int 3 
"ed8.exe"+1EE58C: CC                             -  int 3 
"ed8.exe"+1EE58D: CC                             -  int 3 
"ed8.exe"+1EE58E: CC                             -  int 3 
"ed8.exe"+1EE58F: CC                             -  int 3 
"ed8.exe"+1EE590: 55                             -  push ebp
"ed8.exe"+1EE591: 8B EC                          -  mov ebp,esp
"ed8.exe"+1EE593: 8B 0D 18 93 C6 00              -  mov ecx,[ed8.exe+869318]
// ---------- INJECTING HERE ----------
"ed8.exe"+1EE599: 8B 81 74 92 12 00              -  mov eax,[ecx+00129274]
// ---------- DONE INJECTING  ----------
"ed8.exe"+1EE59F: 8B 55 08                       -  mov edx,[ebp+08]
"ed8.exe"+1EE5A2: 03 C2                          -  add eax,edx
"ed8.exe"+1EE5A4: 3D 7F 96 98 00                 -  cmp eax,ed8.exe+58967F
"ed8.exe"+1EE5A9: 76 05                          -  jna ed8.exe+1EE5B0
"ed8.exe"+1EE5AB: B8 7F 96 98 00                 -  mov eax,ed8.exe+58967F
"ed8.exe"+1EE5B0: 89 81 74 92 12 00              -  mov [ecx+00129274],eax
"ed8.exe"+1EE5B6: 8B 0D 18 93 C6 00              -  mov ecx,[ed8.exe+869318]
"ed8.exe"+1EE5BC: 8B 81 78 92 12 00              -  mov eax,[ecx+00129278]
"ed8.exe"+1EE5C2: 03 C2                          -  add eax,edx
"ed8.exe"+1EE5C4: 3D 7F 96 98 00                 -  cmp eax,ed8.exe+58967F
}
</AssemblerScript>
    </CheatEntry>
  </CheatEntries>
</CheatTable>
Forgive the newbie question, but how do I actually add this code into the table? Some Googling suggested opening the auto assembler, pasting the code, then selecting Assign to current cheat table, but that just pops up an error saying not all code is injectable. This is my first time trying to modify a table, so any advice would be appreciated. :)
I merged most of TheByteSize's options into the main table with EDIT12, so you can download that. They are under a heading TheByteSize made Scripts.
Weird, could've sworn I had downloaded the newest edit of the table before posting to begin with. Thanks, stupid newbie is apparently more stupid than advertised. :lol:

Post Reply

Who is online

Users browsing this forum: Affly, Bing [Bot], CarlosGFG, gabuyomom, Google Adsense [Bot], jindricek, masterrune, meganoyan, Messy6666, stoopkid, toultapwer1, zecaben, ZoDDeL