Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example code for implementing in another game #4

Open
fronfron opened this issue Sep 6, 2023 · 2 comments
Open

example code for implementing in another game #4

fronfron opened this issue Sep 6, 2023 · 2 comments

Comments

@fronfron
Copy link

fronfron commented Sep 6, 2023

i wanted to use this software to win in another android game. how can this be used? in which language should i develope it? can you give an example of the script used in this case and where to modify it?

@RobbertH
Copy link
Owner

RobbertH commented Sep 6, 2023

Hello @fronfron , you can find the code I wrote for this specific game in https://github.com/RobbertH/scrcpy-opencv/blob/master/scrcpy/app/src/opencv_injection.cpp

The language used is C++.

What you would need to do is modify the opencv_injection.cpp file to implement the logic for winning your game.

@RobbertH
Copy link
Owner

RobbertH commented Sep 6, 2023

But I would first try to see if this compiles on your machine. There instructions for that in the readme of this repository. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants