

开源Game Boy 模拟器-PyBoy
source link: http://osp.io/archives/6659
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

PyBoy是一个基于 Python编写 的 Game Boy 开源模拟器。遵守LGPL开源协议。主要作者是丹麦小哥 Mads Ynddal,毕业于丹麦哥本哈根大学。PyBoy不仅能模拟GameBoy进行游戏,还可以用来创建 AI 或机器人,通过 API 编写脚本,让它基于强化学习实现自动打游戏通关。支持使用 Cython 编译软件,从而获得与用 C 和 C++编写的模拟器相媲美的性能。Python 中为每个组件制定类(class),从而在“主机系统”上为“客户系统”搭建了基础(系统运行 Python)。该客户系统就是虚拟的 Game Boy 硬件,理论上它能够运行为 Game Boy 编写的每一个软件部分。此外模拟器还添加了倒回功能,可以在任何游戏中倒回时间。
安装使用:
1、安装SDL2
Ubuntu: sudo apt install libsdl2-dev
Fedora: sudo dnf install SDL2-devel
macOS: brew install sdl2
2、安装PyBoy
pip install pyboy
3、使用
打开命令行终端,输入pyboy file.rom
即可
https://github.com/Baekalfen/PyBoy
Recommend
-
13
Following my Game Boy Advance screen mod, I decided to try modding an original Game Boy. There are several screen mods available for the original Game Boy...
-
10
Game Boy Advance Screen Upgrade I recently picked up a new screen and outer shell for my original Game Boy Advance. The original Game Boy Advance screen is so dim that it’s hard to see it pro...
-
8
@theretroroomThe Retro RoomI develop retro games
-
11
Power consumption of Game Boy flash cartridges Flash cartridges (= "carts") are commonly used to run Game Boy ROMs, such as homebrew games or dumped officially released games, on real hardware. Different kinds of flash carts with v...
-
6
swordPyBoy - 用Python编写的Game Boy模拟器简介一个基于 Python 的 Game Boy 模拟器:PyBoy ,作者是哥本哈根大学一名学生 Mads Yn...扫描右侧二维码阅读全文242020/04...
-
8
10 Best Game Boy Color Games Ranked by SalesJuly 18th 2021 new story6
-
6
After created an HTTP REST API server, our
-
8
Game Boy + Raspberry Pi insides = ‘DMGPlus’ In the latest issue of The MagPi Magazine, Jeroen Domburg showcases his refurbed Nintendo Game Boy. ...
-
10
0:00 / 11:11 ...
-
14
There oughta be a WiFi Game Boy cartridge. There oughta be a WiFi Game Boy cartridge. 16 December 2021
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK