索菲亚小杯子 发表于 2022-10-30 05:20

v18(844)版本建筑效率修改CT(steam版)

<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
    <CheatEntry>
      <ID>114786</ID>
      <Description>"预算调整效率X倍"</Description>
      <LastState Activated="1"/>
      <VariableType>Auto Assembler Script</VariableType>
      <AssemblerScript>{ Game   : Tropico6-Win64-Shipping.exe
Version:
Date   : 2022-10-30
Author : asd53

This script does blah blah blah
}


//code from here to '' will be used to enable the cheat



aobscanmodule(INJECT,Tropico6-Win64-Shipping.exe,F3 44 0F 11 8E 48 08 00 00) // should be unique
alloc(newmem,$1000,INJECT)

label(code)
label(return)
label(multy)

registersymbol(multy)

newmem:

code:
mulss xmm9,
movss ,xmm9
jmp return

multy:
dq (float)2

INJECT:
jmp newmem
nop 4
return:
registersymbol(INJECT)


//code from here till the end of the code will be used to disable the cheat
INJECT:
db F3 44 0F 11 8E 48 08 00 00

unregistersymbol(INJECT)
unregistersymbol(multy)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: Tropico6-Win64-Shipping.exe+1067793

Tropico6-Win64-Shipping.exe+106775F: 44 0F 2F 90 C8 00 00 00   - comiss xmm10,
Tropico6-Win64-Shipping.exe+1067767: 73 11                     - jae Tropico6-Win64-Shipping.exe+106777A
Tropico6-Win64-Shipping.exe+1067769: 80 B8 DD 00 00 00 00      - cmp byte ptr ,00
Tropico6-Win64-Shipping.exe+1067770: 75 04                     - jne Tropico6-Win64-Shipping.exe+1067776
Tropico6-Win64-Shipping.exe+1067772: 45 0F 28 CA               - movaps xmm9,xmm10
Tropico6-Win64-Shipping.exe+1067776: 41 0F 28 C1               - movaps xmm0,xmm9
Tropico6-Win64-Shipping.exe+106777A: 0F 2E 86 48 08 00 00      - ucomiss xmm0,
Tropico6-Win64-Shipping.exe+1067781: 44 0F 28 94 24 90 0C 00 00- movaps xmm10,
Tropico6-Win64-Shipping.exe+106778A: 74 17                     - je Tropico6-Win64-Shipping.exe+10677A3
Tropico6-Win64-Shipping.exe+106778C: 48 8D 8E 70 0B 00 00      - lea rcx,
// ---------- INJECTING HERE ----------
Tropico6-Win64-Shipping.exe+1067793: F3 44 0F 11 8E 48 08 00 00- movss ,xmm9
// ---------- DONE INJECTING----------
Tropico6-Win64-Shipping.exe+106779C: 33 D2                     - xor edx,edx
Tropico6-Win64-Shipping.exe+106779E: E8 1D 31 8B FF            - call Tropico6-Win64-Shipping.exe+91A8C0
Tropico6-Win64-Shipping.exe+10677A3: 48 8B 44 24 30            - mov rax,
Tropico6-Win64-Shipping.exe+10677A8: 48 8D 4C 24 30            - lea rcx,
Tropico6-Win64-Shipping.exe+10677AD: 48 8B 9D E8 04 00 00      - mov rbx,
Tropico6-Win64-Shipping.exe+10677B4: 4C 89 64 24 30            - mov ,r12
Tropico6-Win64-Shipping.exe+10677B9: 48 89 03                  - mov ,rax
Tropico6-Win64-Shipping.exe+10677BC: 8B 44 24 38               - mov eax,
Tropico6-Win64-Shipping.exe+10677C0: 89 43 08                  - mov ,eax
Tropico6-Win64-Shipping.exe+10677C3: 8B 44 24 3C               - mov eax,
}
</AssemblerScript>
      <CheatEntries>
      <CheatEntry>
          <ID>114787</ID>
          <Description>"倍率"</Description>
          <LastState Value="4" RealAddress="7FF6F4F30017"/>
          <ShowAsSigned>0</ShowAsSigned>
          <VariableType>Float</VariableType>
          <Address>multy</Address>
      </CheatEntry>
      </CheatEntries>
    </CheatEntry>
</CheatEntries>
</CheatTable>


使用方法:把上面那段代码复制粘贴到CE主界面下方的白框处

qq1178074479 发表于 2022-10-30 06:58

谢谢分享 太顶了

jccg0422 发表于 2022-10-30 09:44

好用,特地回来回帖

lin466542928 发表于 2022-11-17 20:46

好用,特地回来回帖+1

lin466542928 发表于 2022-11-18 01:31

有个问题,用一段时间,突然移民速度暴增,船到岗的速度好像也被效率影响了

索菲亚小杯子 发表于 2022-11-19 12:35

lin466542928 发表于 2022-11-18 01:31
有个问题,用一段时间,突然移民速度暴增,船到岗的速度好像也被效率影响了 ...

游戏特性就是这样啊,码头效率影响出入船时间的

hongyu7998 发表于 2022-11-20 15:00

索菲亚小杯子 发表于 2022-11-19 12:35
游戏特性就是这样啊,码头效率影响出入船时间的

似乎基础的效率也被改变了,有办法改成基础效率不变,增加预算大幅增加效率吗,比如标准效率100%,满预算500%那种?

索菲亚小杯子 发表于 2022-11-21 21:53

hongyu7998 发表于 2022-11-20 15:00
似乎基础的效率也被改变了,有办法改成基础效率不变,增加预算大幅增加效率吗,比如标准效率100%,满预算 ...

因为我只搞了增加预算的时候翻倍,但是减少预算的时候只减少了原本的数值,所以你先增再减预算就会多出翻倍的部分
页: [1]
查看完整版本: v18(844)版本建筑效率修改CT(steam版)