Code Monkey home page Code Monkey logo

gameinputs's Introduction

Game Inputs

If you've wondered how many times you jumped while playing any Mario game, or ducked in a Sonic game to initialize a spin dash (depending on the game), these scripts tell you just that. You can just download them and run them to check specific inputs per game. I am currently only lightly and slowly working on them as I figure out how to get different checks for different inputs; you can, however, use these as a base to work on your own.

Premise for this

I just wanted to try different ideas using Python for small projects and getting practice in the language. Outside of school courses, I rarely had the time or creativity to work on something, especially since I always wanted to do something big to start rather than going at it in small steps; so this is what I'm doing. Just trying out any simple idea that pops in my head and figure out how I would go about doing it with Python, being that it is a powerful tool for whatever you can think of.

Shiny Script

I added a script here that basically looks to see if a starter Pokémon in HG/SS is shiny. This is a simple script that uses some libraries for inputs and getting images, like OpenCV and Skimage to analyze differences. Rather than going straight into checking the game's memory for shiny values, it just checks a screenshot of the selection screen I took beforehand for each Pokémon and then compare those to a newly taken screenshot in the script using the same dimensions; it then uses SSIM score to see if the difference is less than .99 (for some reason even identical images don't get a value of 1) so a shiny would be easily identified if it appears. It also writes into a text file a counter of how many soft resets the script makes of the game, if you want to keep track. I thought it better to add this to this repository rather than create a new one just for this small thing I wanted to try out and made it sort of work.

Anyway, enjoy!

gameinputs's People

Contributors

germaneitor avatar

Watchers

 avatar

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.