PyBoy

  • Thread starter Thread starter Deleted member 132407
  • Start date Start date
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.
 
Beware: There have been no replies in this thread for 90 days.
Keep that in mind when expecting a reply from the people on it,
You can also start a new thread instead. This is just a heads-up, bumping is allowed in this forum.

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.

Featured Video

Latest Threads

NCSOFT unveils HORIZON STEEL FRONTIERS, a new mmorpg set in the HORIZON Universe

HorizonSteel-1.webp

I don't have much to say about this game, except to check it out. It's surprising...
Read more

Steam's Hardware Announcement Thoughts

So I know I'm gonna get a lot of flack I think because I do think a lot of people will flame me...
Read more

Satoshi Kon's Cinematic Filmography and Susumu Hirasawa's Touching Songs of the Soul

I feel like 《Satoshi Kon》's Works in film should be recognized more in the west than they do in...
Read more

i went down a manga rabbit hole and ordered a mysterious art book. here's what happened.

hiii how is everyone!!!

about two months ago at this point, i made a thread asking about...
Read more

About PS2 and GC emulation on T820 Anbernic devices (RG406H, RG476H, RG Cube...)

I've been told these devices are not the best for PS2 and GC emulation, but they're certainly...
Read more

Online statistics

Members online
63
Guests online
696
Total visitors
759

Forum statistics

Threads
14,815
Messages
355,267
Members
895,316
Latest member
Xxwo2e

Today's birthdays

Advertisers

Back
Top