Hello everyone, I am attempting to use fullbright, everything else works but I can't seem to figure why fullbright doesn't.
I'm using GOG version 1.4.0.3 and AMD CPU, already fixed the engine adresses but I am getting :
[MEDIA=imgur]o4bbFMo[/MEDIA]
This prevents me from enabling the script.
[/QUOTE]
Dunno if its due to either being AMD or GOG 1.4.0.3 but I've managed to fix it.
[CODE]{ Game : Terraria.exe
Version:
Date : 2020-05-22
Author : Okami-x
This script does blah blah blah
}
define(fullbright2, Terraria.Graphics.Light.LegacyLighting::doColors_Mode0_Swipe+12A)
define(address2,Terraria.Lighting::set_Mode+1E)
[ENABLE]
//Use LegacyEngine instead of NewEngine
address2+1:
db 84
//---------------------------
assert(fullbright2, D9 ?? 08 D9 45 BC)
alloc(fullbright_mem2, 1024)
label(fullbright_ret2)
fullbright_mem2:
mov [esi+8],(float)0.5
mov [esi+10],(float)0.5
mov [esi+18],(float)0.5
fld dword ptr [esi+8]
fld dword ptr [ebp-44]
jmp fullbright_ret2
fullbright2:
jmp fullbright_mem2
nop
fullbright_ret2:
[DISABLE]
address2+1:
db 80
dealloc(fullbright_mem2)
fullbright2:
fld dword ptr [esi+8]
fld dword ptr [ebp-44][/CODE]
Apparently on my version of the game the memory part containing Terraria.Graphics.Light.LegacyLighting::doColors_Mode0_Swipe is 12E and not 12A as the script originally shows:
[MEDIA=imgur]Tt3wZHo[/MEDIA]
Changed the line from
[CODE]define(fullbright2, Terraria.Graphics.Light.LegacyLighting::doColors_Mode0_Swipe+12A)[/CODE]
to
[CODE]define(fullbright2, Terraria.Graphics.Light.LegacyLighting::doColors_Mode0_Swipe+12E)[/CODE]
And it is correctly working.
How to use this cheat table?
- Install Cheat Engine
- Double-click the .CT file in order to open it.
- Click the PC icon in Cheat Engine in order to select the game process.
- Keep the list.
- Activate the trainer options by checking boxes or setting values from 0 to 1