Code: Select all
{ Game : X4.exe
Version: 1.60
Date : 2019-02-05
Author : kingFalcon
This script enable unlimited consumables
}
[ENABLE]
aobscanmodule(satDeploy,X4.exe,41 29 00 75 08 49 8B CF E8 2E 12 ED FF) // Satellites
aobscanmodule(navBeacon,X4.exe,41 29 00 75 08 49 8B CF E8 1E 05 ED FF) // Nav Beacons
aobscanmodule(mines,X4.exe,41 29 00 75 08 48 8B CE) // Mines
aobscanmodule(lasers,X4.exe,41 29 00 75 08 49 8B CD) // Lasers
aobscanmodule(resBeacon,X4.exe,41 29 00 75 08 49 8B CF E8 AE FE EC FF) // Resource Beacon
alloc(satMem,$1000,"X4.exe"+2B34E5)
alloc(minMem,$1000,"X4.exe"+2B3B45)
alloc(laserMem,$1000,"X4.exe"+2B514B)
alloc(resMem,$1000,"X4.exe"+2B4865)
alloc(navMem,$1000,"X4.exe"+2B41F5)
label(satExit)
label(minExit)
label(laserExit)
label(resExit)
label(navExit)
registersymbol(satDeploy)
registersymbol(mines)
registersymbol(lasers)
registersymbol(navBeacon)
registersymbol(resBeacon)
// Satellite
satMem:
nop
nop
nop
jne X4.exe+2B34F2
jmp satExit
// Resource Beacons
resMem:
nop
nop
nop
jne X4.exe+2B4872
jmp resExit
// Nav Beacons
navMem:
nop
nop
nop
jne X4.exe+2B4202
jmp navExit
//Lasers
laserMem:
nop
nop
nop
jne X4.exe+2B5158
jmp laserExit
// Mines
minMem:
nop
nop
nop
jne X4.exe+2B3B52
jmp minExit
satDeploy:
jmp satMem
satExit:
resBeacon:
jmp resMem
resExit:
navBeacon:
jmp navMem
navExit:
lasers:
jmp laserMem
laserExit:
mines:
jmp minMem
minExit:
[DISABLE]
satDeploy:
db 41 29 00 75 08
resBeacon:
db 41 29 00 75 08
navBeacon:
db 41 29 00 75 08
lasers:
db 41 29 00 75 08
mines:
db 41 29 00 75 08
unregistersymbol(satDeploy)
dealloc(satMem)
unregistersymbol(resBeacon)
dealloc(resMem)
unregistersymbol(navBeacon)
dealloc(navMem)
unregistersymbol(mines)
dealloc(minMem)
unregistersymbol(lasers)
dealloc(laserMem)
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