PyBoy

Python:
 class PyBoy (gamerom, *, window='SDL2', scale=3, symbols=None, bootrom=None, sound_volume=100, sound_emulated=True, sound_sample_rate=None, cgb=None, gameshark=None, no_input=False, log_level='ERROR', color_palette=(16777215, 10066329, 5592405, 0), cgb_color_palette=((16777215, 8126257, 25541, 0), (16777215, 16745604, 9714234, 0), (16777215, 16745604, 9714234, 0)), **kwargs)

Python:
from pyboy import PyBoy
pyboy = PyBoy('game_rom.gb')
while pyboy.tick():
    pass
pyboy.stop()

Python:
pyboy.set_emulation_speed(0) # No speed limit
pyboy.button('down')
pyboy.button('a')
pyboy.tick() # Process at least one frame to let the game register the input
value_of_interest = pyboy.memory[0xC345]

pil_image = pyboy.screen.image
pil_image.save('screenshot.png')

Whoa, this looks cool as hell!

I wonder what other emulators you can interact with scripts like this.
 
One of my favorite things in the world is seeing people code emulators in the weirdest way possible. There are dozens of emulators the use html out there and people have even put Gameboy emulators on calculators. I remember one time seeing someone emulate the Nintendo Switch with Ryujinx while playing the emulator mGBA. mGBA was running this emulator for NES games called pocketNES, and that was running an shotty emulator for Game Boy that I can't remember the name of. Basically, what I'm trying to say is that emulators being made on every possible platform is amazing and I wish I could marry an emulator because I love them so much.

The AI feature looks interesting. Building neural networks is ultimately a toy and nothing serious, but it's pretty cool that they emplemented them into an emulator. I'll download this later and see what it can do.
 

Users who are viewing this thread

Connect with us

Support this Site

RGT relies on you to stay afloat. Help covering the site costs and get some pretty Level 7 perks too.

Latest Threads

Ocarina of Time modding discord incident.

So, a great many months ago, a prominent Ocarina of time modder encountered another user in a...
Read more

Just beat Rampage World Tour for the first time!

Merry frightful evening my forum lurkers!

Even with my position and status as a great prince...
Read more

Quick question

I want to know how many people are interested in my history of Roblox single player adventure...
Read more

Spanish Audio The Mansion of Hidden Souls - Sega Saturn

SPANISH
Hola, este juego tiene el audio español, o sea, las voces en español, no tiene...
Read more

LG TV Flicks randomly

Just wondering if anyone could help with LG Smart TV about 2yrs old flickers randomly.
Ive...
Read more

Half-Life 2 Xbox

I found there is a levelchange trigger that leads back to the intro map on the Xbox version of...
Read more

Anyone here. big fan of FFV?

I like the story the best of the snes games because its like outerworldly. its like bigger than...
Read more

Good Games that you wasted your money on?

Have you ever bought a game, knowing that it’s quality, and then for whatever reason that game...
Read more

Online statistics

Members online
144
Guests online
239
Total visitors
383

Forum statistics

Threads
9,807
Messages
242,627
Members
774,582
Latest member
lingui14

Advertisers

Back
Top