fenix01/cheatengine-library

How to use Array of byte option?

Opened this issue · 1 comments

Hello!
I am a beginner developer interested in your source.
but, I understand only about half of your lib.
I am using CheatEngine's Array of bytes (scan type: Search for this array)
I want to use the feature.
but, you could not find it in your example.
I think use iProcessAddress, it's right?

Hi , ZeroizeHD
Developer left the library as he said , But I tell you how to do it and for everybody need to do it.

to Search an Byte Array in C# you need to :

1 . Set TVariableType to TVariableType.vtByteArray

2 . In iFirstScan use your byte array in a String like this :

 var patter_array =  "54 48 49 53 20 49 53 20 41 20 54 45 53 54 20 41 52 52 41 59"

3 . Don't forget to set Hexadecimal Parameter to true in iFirstScan.

Now it will just scan byte array in memory like Cheat Engine.

Have Fun :)