So I have some games that I like, and I'd like to create a net that can play them, just for fun. But I don't have their source code, so I can't just pull the information I want and create a state from them. I should have mentioned that most of the games I'd like the net to play are mobile games, and I am using bluestacks for emulation.
What I thought of
- Finding alternative open-source versions.
- Taking screenshots of in-game items and then using something like pyautogui to find them on the game window.
- Using Cheat Engine to extract the info from memory.
Why are those not viable options
- If there are open-source versions available, they are usually not that good, plus they are not the original game, so it doesn't fit my goal since I want the AI to play the actual game that most people are playing.
- This is A LOT of work; it only sometimes works, and if there's an update that changes the shapes of the textures, I need to do it all again. (colour itself would be fine, I could use grayscale). And the process of finding images on images is not that fast.
- This is also a horrible amount of work, and it's just not possible if you need a lot of information.
For example, I want to create a Deep Q-Learning net to play the Subway Surfers game. But I don't have the source code, and no mods allow reading the game info. So how would you guys approach this issue? I don't want to recreate the games myself because of what I mentioned in "Why those are not viable options". Any ideas and or solutions would be well appreciated.
Thanks.