-
Notifications
You must be signed in to change notification settings - Fork 80
Guideline
This page will give you a description of each function provided by the cheatengine-library
Get a list of all running processes
parameters :
- the list is passed by parameter
Open a process specified by pid and empty the virtual cheat table
parameters :
- a processus id : an hexadecimal number on 8 digits
Empty the virtual cheat table
parameters :
Add a script to the virtual cheat table
parameters :
- the script name
- the asm script
Remove a script or an address from the virtual cheat engine table. Index starts from 0.
parameters :
- the record index
Set a script or a memory address as active. For a script it means : inject / remove the script For a memory address it means : freeze / unfreeze
parameters :
- the script index
- put true to activate the record and false to desactivate
This function has to be called from a timer to apply freeze to all active addresses from the virtual cheat table. To freeze an address you must add an address to the cheat table, set his value, and call iactivaterecord.
void iProcessAddress(string address, TVariableType vartype, boolean showashexadecimal, boolean showassigned, int bytesize, out String pvalue);
Read the address and display the value it points to.
parameters :
- the address with format $XXXXXXXXXXXXXXXX
- variable type. Refer to the TVariableType structure
- display the value in hexadecimal
- display the value as signed
- bytesize, don't know
- the return value
Add the specified address to the virtual cheat table.
parameters :
- the address with format $XXXXXXXXXXXXXXXX
- variable type. Refer to the TVariableType structure
Read the value of the address added to virtual table at the specified index.
parameters :
- the index
- return value
Write the value of the address added to virtual table at the specified index.
parameters :
- the index
- value to write
Init the memory scanner. Must be called only once.
parameters :
Start a new scan.
parameters :
void IConfigScanner(Tscanregionpreference scanWritable, Tscanregionpreference scanExecutable, Tscanregionpreference scanCopyOnWrite);
Configure which memory region to scan. Refer to the Tscanregionpreference structure for more informations.
parameters :
- scan memory region with write access
- scan memory region with execute access
- scan memory region with copyOnWrite access
coming soon
coming soon
Return the count addresses found.
parameters :
Read an address from the found list. The foundlist is buffered with pages of 1024 addresses. So, when you specify the index, you load a page from index-511, to index+512.
parameters :
- the index
- returned address
- returned value
void IInitFoundList(TVariableType vartype, int varlength, bool hexadecimal, bool signed, bool binaryasdecimal, bool unicode);
Initialize the foundlist. Should be called only once and after the OnScanDone callback.
parameters :
parameters :
parameters :
parameters :