Giter Site home page Giter Site logo

mastodonplaysgameboy's Introduction

MastodonPlays

Lets users play gameboy roms via mastodon polls

(WIP) The goal is to make this more customizable to allow you transform any rom into a mastodon bot, right now it probably only works with slower turn based games.

Pokemon Gold version hosted at @[email protected]

image

Follow @pokemon@tomkahe.com

mastodonplaysgameboy's People

Contributors

lukemurphy147 avatar phi1997 avatar tomcasavant avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

mastodonplaysgameboy's Issues

Turn Result image into a gif?

Some frames might be missing content, e.g. this name input image you don't see the blinking square that shows which character is currently selected
image

PyLint: Fix Generic Errors

Find specific errors that Mastodon.py throws when failing to pin/unpin/post a status so that pylint stops complaining to me

Backup save states

Maintain a directory from the previous 5 or so actions with a save file for each so if something goes wrong a save file can be restored

Add constants/config options for filenames

Right now there's a variety of files that get generated, probably fine to keep screenshots names as they are (though we should probably convert those to datetimes i.e. 202405031200.png), but the 'action.mp4' or the 'test.mp4' (bad name) should be unified

Support for arbritrary roms

specifically roms that are more action oriented, probably need specific frame ticks (for my pokemon implementation it just sleeps for some large number of frames in order to update)

Migrate from pyboy v1.6.14 to v2

https://github.com/Baekalfen/PyBoy/wiki/Migrating-from-v1.x.x-to-v2.0.0

While debugging #35 noticed there was a big version jump last week, I imagine it'll help with #27 as well

  • Update requirements.txt
  • Compatibility Changes
    • Screenshot is no longer screen_image(), it'll be screen.image
    • Simplify all of our inputs using the built-in pyboy.button
    • PyBoy() instantiation needs some adjustments
    • WindowEvent is no longer accessible from Pyboy it's in pyboy.utils (probably not necessary if we're simplifying inputs)
    • window_type is deprecated

tmp folder not automatically created

Either add to the repo or have it mkdir when the folder is needed (probably better to have it generate the folder every time it fills it up and then we can just delete the folder when the gif is generated)

This prevents the bot from generating a gif right now if the folder doesn't exist

How many ticks needed for inputs between frames?

For some reason I need to do pyboy.tick() twice in order for it to consistently register the input, probably not an issue just worried it will have the opposite effect of registering an input twice

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.