Skip to content

Latest commit

 

History

History
65 lines (40 loc) · 2.68 KB

README.md

File metadata and controls

65 lines (40 loc) · 2.68 KB

Twitch Plays (forked by ynohtna92)

Look alike of Twitch Plays Pokemon.

Windows, OSX and Linux

Demonstration broadcasting object

Installation

Dependencies

  • You're going to need to have (Windows Only) pywin32 installed. If you run into any errors try running this with (Linux/OSX Only)Python 2.7.x.

  • irc 8.5.4 - IRC Client

  • Tornado - WebSocket Server

  • (Linux/OSX Only) xdotool apt-get install xautomation

Replace the username/password in the config/config.py file with your Twitch username and OAuth token. Feel free to modify the button toggles among other configuration options.

In your VBA/Emulator on windows, set the controls to the following -

Up: 0
Down: 1
Left: 2
Right: 3
Button A: 4
Button B: 5
Start: 6
Select: 7

Keymaps for windows linux are listed in game.py and can be changed there.

After you've set that up, open up your terminal in the correct directory and type C:\Python27\python.exe twitchplays.py.

Whilst the script is running make sure you have your emulator in focus as your primary window. If you click onto another window, the script won't work. If you're not able to stay focused on one window as you need to do other things with your computer, you could try running all of this from within a virtual machine.

Optionally you can use the postmessage option to send input commands. (Only works with some emulators)

If you are using linux there may be an option in the program to recieve background inputs.

You can view the broadcast page which can be freely modified using the provided template. The page is hosted at 127.0.0.1:8888 while running the script. It is updated live and can be broadcasted using regions on your broadcasting software to surround the black box.

--

If you have any question or need help, feel free to message me on Twitch or send an email to aidraj0 at gmail dot com.

Alternatively message the owner of this fork at Twitch.

Known Issues

  • No underscore character made in the Pokemon GB font causing weird spacing.