Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Guideline

fenix01 edited this page Jun 26, 2014 · 9 revisions

This page will give you a description of each function provided by the cheatengine-library

Table of Contents

Process api

void iGetProcessList(out String processes);

Get a list of all running processes

parameters :

  1. the list is passed by parameter

void iOpenProcess(String pid);

Open a process specified by pid and empty the virtual cheat table

parameters :

  1. a processus id : an hexadecimal number on 8 digits

Virtual table api

void iResetScripts();

Empty the virtual cheat table

parameters :


void iAddScript(String name, String script);

Add a script to the virtual cheat table

parameters :

  1. the script name
  2. the asm script

void iRemoveScript(int index);

Remove a script from the virtual cheat engine table. Index starts from 0.

parameters :

  1. the script index

void iActivateScript(int index, boolean activate);

Activate a script by index.

parameters :

  1. the script index
  2. put true to activate the script and false to desactivate

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 :

  1. the address with format $XXXXXXXXXXXXXXXX
  2. variable type. Refer to the TVariableType structure
  3. display the value in hexadecimal
  4. display the value as signed
  5. bytesize, don't know
  6. the return value

void iAddAddressManually(string address, TVariableType vartype = vtDword);

Add the specified address to the virtual cheat table.

parameters :

  1. the address with format $XXXXXXXXXXXXXXXX
  2. variable type. Refer to the TVariableType structure

void iGetValue(int index, out String value);

Read the value of the address added to virtual table at the specified index.

parameters :

  1. the index
  2. return value

Clone this wiki locally