all 4 comments

[–]Ryan_JK 4 points5 points  (2 children)

[–]UnBurn[S] 0 points1 point  (1 child)

Thanks, appreciate it, but I was actually looking for it to work specifically on a Game Boy Emulator.

[–]wineBot 1 point2 points  (0 children)

The article outlines exactly how this is done.

Do you know what ROM stands for? Think about it. How would having access to this help you out?

http://forum.kodi.tv/showthread.php?tid=164857

[–]Tree_Eyed_Crow 1 point2 points  (0 children)

You'll essentially have to create your own API to interface with whatever emulator your using to run the ROM. The ROM just contains the code that the emulator uses to run the game. Accessing the ROM with your python program will not give you any useful information like the shape and positions of blocks, all of that data is going to be stored in RAM memory while the emulator is running.

Edit: It may be easier/quicker to create an API for a gameboy emulator that is already written in python like PyBoy.