Skip to content

Releases: Baekalfen/PyBoy

v2.0.0

17 Mar 11:55
Compare
Choose a tag to compare
  • A lot of general fixes
  • Improved documentation with examples
  • pyboy.tick(10, True) now takes two optional parameters:
    • n number of frames to progress
    • render whether to render the screen on the last processed frame
  • pyboy.screen_image() moved to pyboy.screen.image
  • The "botsupport" module has been removed, and most of API is moved to the PyBoy object
  • pyboy.button(β€˜a’) can be used to send input, and will automatically release after 1 frame
  • pyboy.button_press(β€˜a’) allows for manual control of input
  • pyboy.button_release(β€˜a’) allows for manual control of input
  • pyboy.memory[0x100:0x150] = 123 replaces all three pyboy.get/set/override_memory_value and extends it with an option to specify bank
  • pyboy.hook_register(bank, address, callback, context) registers a callback at a specific point in your game. Used for fine-grained tracking of events and control of the game
  • pyboy.symbol_lookup(symbol) to look up address for a symbol to use with memory read/write
  • β€œdummy” and β€œheadless” windows have been merged into β€œnull” window because of the new pyboy.tick
  • pyboy.game_wrapper Game wrappers are now automatically loaded and accessible through the game_wrapper property
  • Remove fitness scores from game wrappers
  • pyboy.game_area() is a shortcut for pyboy.game_wrapper.game_area()
  • pyboy.game_area_collision() is a shortcut for pyboy.game_wrapper.game_area_collision()
  • pyboy.game_area_dimensions(…) can be used to configure game_area
  • pyboy.game_area_mapping(…) can apply a mapping to all game area tiles. I.e. simplify the tiles, or zero-out uninteresting tiles
  • OpenAI Gym/Gymnasium has been removed from PyBoy. It will be replaced by an example on the Wiki instead
  • pyboy.memory_scanner allows to isolate memory address of interest
  • Support for 768 CGB tiles vs. 384 in DMG mode

v1.6.14

04 Feb 18:59
Compare
Choose a tag to compare
  • Fix debug view
  • Add musllinux support
  • Deprecate manylinux 2010

v1.6.13

19 Jan 09:25
Compare
Choose a tag to compare
  • Fix drawing priority bug

v1.6.12

17 Jan 14:07
Compare
Choose a tag to compare
  • Fix pip install for PyPy

v1.6.11

26 Dec 08:55
Compare
Choose a tag to compare
  • Fix issue with Pokemon Pinball and the color palette in CGB mode

v1.6.10

08 Dec 20:03
Compare
Choose a tag to compare
  • Release the GIL for most of pyboy.tick
  • Remove warning about emulation speed when using dummy/headless window
  • Large internal improvements

v1.6.9

12 Nov 10:31
Compare
Choose a tag to compare
  • Fix graphics glitch with sprite priority

v1.6.8

12 Nov 09:09
Compare
Choose a tag to compare
  • Improve performance
  • Fix controls not being printed
  • Updated color palette for DMG games running in CGB mode

v1.6.7

01 Nov 11:55
Compare
Choose a tag to compare
  • Drastically improve rendering performance (headless, SDL2, OpenGL)

v1.6.6

29 Oct 16:07
Compare
Choose a tag to compare
  • Performance improvement to Screen.screen_ndarray()
  • Pokemon game wrapper now has a .game_area_collision() to get walkable areas
  • Option to set the color palette for DMG games in CGB-mode