Skip to main content

twitchplays-retroarch

Twitch Plays application for RetroArch/FBNeo, with input queue and chat control toggle shortcut.

Commissioned by twitch.tv/LastTimeLord.

Made with twitchio and PyAutoGUI (PyDirectInput when on Windows).

Informed by controlmypc and DougDoug's Twitch Plays projects.

Features:

  • Input queue - commands are processed with a queue system and always executed in the order they're sent.
  • Hotkeys - add global hotkeys (will work when not focused on the program window) for pausing chat control. Powered by keyboard.
  • Scalable - can use a thread pool to execute multiple inputs simultaneously.
  • Customisable - change settings and commands in config.toml.
  • Bot commands - try !help
  • Automatically locate RetroArch's config file and use your controls settings to make command templates for this program.

Installation and Usage:

Download as an exe

If you want the easiest way to use this on Windows without knowing about or installing Python, you can go to the releases page on GitHub, select the latest one, and download the twitchplays-retroarch.exe file from the Assets section.

You can then run it from where ever you downloaded it.

Install with pip from PyPI

This project is on PyPI: https://pypi.org/project/twitchplays-retroarch/

Just use pip install twitchplays-retroarch.

After it's installed you can run it python -m twitchplays_retroarch or just twitchplays-retroarch.
You can also access its classes and functions with import twitchplays_retroarch.

Clone from GitHub

The usual:

  • git clone https://github.com/JMcB17/twitchplays-retroarch
  • cd twitchplays-retroarch
  • pip install -r requirements.txt Then you can use python -m twitchplays_retroarch (from within this folder only).

General Usage

Run the program for the first time, and it will prompt you to allow it to automatically create a new template config.toml file.

Open the file in a text editor. It's annotated with what each setting means.

The most important settings are at the start of the file under the [twitch] header. You'll need to set them in order to run the bot successfully.

After that, you can read and edit the other settings if you want more customisation.

You can also run the program with the -h command line flag for info.

Metadata

Release files for twitchplays-retroarch 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for twitchplays-retroarch 0.7.0
File Size Uploaded Provenance Actions
twitchplays-retroarch-0.7.0.tar.gz 23.2 kB Without provenance Details for twitchplays-retroarch-0.7.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for twitchplays-retroarch 0.7.0
File Interpreter ABI Platform Actions
twitchplays_retroarch-0.7.0-py3-none-any.whl Python 3 none any Details for twitchplays_retroarch-0.7.0-py3-none-any.whl

Total release size: 46.7 kB

Release files / twitchplays-retroarch-0.7.0.tar.gz

Download URL twitchplays-retroarch-0.7.0.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
98f7c2a6ca4bee88d33018aca6c0ab398e94777134f102926ab0c1b56054cbe5
BLAKE2b-256 checksum
How to use checksums
bd100116367737b6c6beb4b3996d1f171b548b08f643722115a66c54fcafe02c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Release files / twitchplays_retroarch-0.7.0-py3-none-any.whl

Download URL twitchplays_retroarch-0.7.0-py3-none-any.whl
Size 23.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e22114a7e489422e892c18a7e559c3a6db047c67a993bec60cf7296826198ad
BLAKE2b-256 checksum
How to use checksums
1fc8bdb01ee7e2e36548f224bf4a6d9692b187bc46480c33185e0701f1214e36
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6

Security for twitchplays-retroarch 0.7.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page