Difference between revisions of "Scripting"

From Cheat Engine
Jump to navigation Jump to search
Line 33: Line 33:
  
  
* [[Scripting:CEAA|Using Assembly Language]]
+
* [[Scripting:Asm|Using Assembly Language]]
 
* [[Scripting:Lua|Using Lua Language]]
 
* [[Scripting:Lua|Using Lua Language]]

Revision as of 00:02, 3 February 2018


CE AA, Cheat Engine Auto Assemble.

Definitions:

Opcode
Bytes that are machine operational bytes and is executable.
Code
Any thing that is, or can be converted to, opcode and is executable.
Script
Text that is more human readable. To be converted to opcode and executed.
Injection
Replacing bytes in a processes memory, this term is most often used when referring to redirecting running opcode.
Assembly, ASM
Any programming language (low level language) that is processor specific. To be converted to opcode and executed.
Assembler
Any program or tool that converts assembly to opcode.
Compiler
Any program or tool that converts script/code to opcode, and saves it as an executable file.
Interpreter
Any program or tool that converts script/code to opcode, and executes the opcode.
Auto Assembler
A super sweet interpreter and assembler, that Dark Byte made.
Lua
A super sweet programming language, with lots of extra stuff that Dark Byte added. (Note: The language is not written by Dark Byte)


Scripting in general is creating/using a small piece of code to perform a required tasks. Scripts are usually interpreted not compiled.

In Cheat Engine, with the use of Auto Assemble you can write 10s to 100s or even a 1000s lines of instructions using either Assembly or Lua to be injected in a process memory to do some modifications. Auto Assemble is the IDE where you write your code and there is nearly no limitations, you have the choice to either mix your code using both Assembly and Lua or to use one of them.