Administrators Erroneous Posted November 19, 2022 Administrators Share Posted November 19, 2022 What is Twitch Plays .hack//fragment? In 2014 a social experiment called Twitch Plays Pokemon was where a 24/7 live stream of Pokemon Red was streaming where the viewers in the Twitch chat could control and move the main character around by saying certain words in chat. A program interrupter listened for those specific words/commands and proceeded to play the game on the emulator by moving or performing the actions of the whitelisted words. What I have setup, is PCSX2 on an old Windows 10 machine, running the English patched .hack//fragment connected to the new online lobby server service currently available with a Python/Javascript interrupter running coincide with PCSX2 which listens to the channel dothacknetwork's twitch chat for certain complete standalone words/letters and moves the character accordingly to the mapped out key controls. Up being up, down being down, T being triangle, X being X, L1 being L1, etc... There is however a delay from the input sent to Twitch by us the viewers, and the interrupter/PCSX2 performing the action and the livestream software OBS sending to the stream the final action. If you do not want to setup yourself your own PCSX2 and translated/patched .hack//fragment, this is an option to get your feet wet and try out the game from any device that can connect to Twitch.tv i.e. desktop computer, tablet, smart phone, etc... Control whitelist is on screen on the bottom right, chat commands will appear in stream in the upper left. Link to comment Share on other sites More sharing options...
Administrators Erroneous Posted November 19, 2022 Author Administrators Share Posted November 19, 2022 The technology behind Twitch Plays .hack//fragment with PCSX2 1.6 (will not work on 1.7+) It’s Windows 10 with Visual Studio Tools and Python 3.9 installed with PyWin32. The programming managing things is Node.js, running npm for TwitchPlaysX. But prior to that Node.js needs to download tmi module and the TwitchPlaysX needs a tmi.js file at its root, and the tmi module should be a folder there now. In PCSX2 main directory, go in /inis/, open the file PCSX2_ui.ini and edit line "TitleTemplate" to equal something simpler. If enabled, PCSX2 needs to have CLR-USB disabled, and the controller needs to be mapped to the keyboard keys you want. I have config.js, key.up, and keyHandler.js all setup to the keys I want it listening to. Config has the channel it listens to set and the window it’s inputting into. Once all that’s set, launch Node.js terminal, navigate to your TwitchPlaysX folder, then I run npm start Python 3.9 https://www.python.org/downloads/ PyWin32 https://github.com/mhammond/pywin32/releases Node.js https://nodejs.org/en/download/current TwitchPlaysX https://github.com/hzoo/TwitchPlaysX tmi.js https://github.com/tmijs/tmi.js Virtual Keycodes for keyHandler.js https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes Overlay for PS2 controller Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now