Hi!
I was wondering if there was an existing NES emulator with an API exposed that could be called by an external Python program. I’m interested in writing a Python app to try and automatically play an NES game for me (probably Dragon Warrior 1 to start with). I realize this is possible in LUA, but I wanted to use this as a chance to learn Python. I’ve done a fair amount of programming before, but not much where I have to inter-operate with other programs.
If worst comes to worst, I know I can brute-force this with ReadProcessMemory and sending keyboard events, but I was wondering if there was a better option. I’m not looking for anything complex -- just something to let me programmatically read/write memory, press controller buttons, change emulator speed, etc.
Any help is appreciated, and thank you very much!
I was wondering if there was an existing NES emulator with an API exposed that could be called by an external Python program. I’m interested in writing a Python app to try and automatically play an NES game for me (probably Dragon Warrior 1 to start with). I realize this is possible in LUA, but I wanted to use this as a chance to learn Python. I’ve done a fair amount of programming before, but not much where I have to inter-operate with other programs.
If worst comes to worst, I know I can brute-force this with ReadProcessMemory and sending keyboard events, but I was wondering if there was a better option. I’m not looking for anything complex -- just something to let me programmatically read/write memory, press controller buttons, change emulator speed, etc.
Any help is appreciated, and thank you very much!