Open .exe within Java component

Elliott1992

Junior Member
Joined
Apr 16, 2011
Messages
163
Reaction score
31
Hello all,

I'm new here and this is my first question and post.
Right my question is, Is it possible to open up a game using java and manipulate it (as a cheat). So i want to open up "chess" Using java (this is fine) But then i want to be able to "read" what is on the screen and act due to different actions, or moves etc.

Is this possible? And what is the best way to do this?

What i know so far

I can open the file by doing
Process process = Runtime.getRuntime().exec("");

But i don't know how i can get information from it.

Thank you
 
Last edited by a moderator:
Wtf have you been smoking?

I think he meant his first post in the programming section and even that doesn't seem right... he has posted quite a few times in this section.

<end of pointless post>

LOL!
 
Java might not be the best language for this.

Look up ReadProcessMemory/WriteProcessMemory
 
Sorry, I copied and pasted from the other forum thatr i posted it on (im new there) :P
 
If you want to read and write from memory in Java i suggest you write a JNI wrapper in C and use that with Java, its not the kind of work java is built for(more like built not to work like this)
 
Back
Top