This repo was created for the 2019 TrialSpark winter hackathon.
Requirements: The Dolphin emulator. Python
Steps:
- Find your Dolphin emulator user folder (for me it was
~/Library/Application Support/Dolphin
) - From there,
cd
intoConfig
, and either add or change the contents ofGCPadNew.ini
to the following:
[GCPad1]
Device = Pipe/0/pipe1
Buttons/A = `Button A`
Buttons/B = `Button B`
Buttons/X = `Button X`
Buttons/Y = `Button Y`
Buttons/Z = `Button Z`
Buttons/Start = `Button START`
D-Pad/Up = `Button D_UP`
D-Pad/Down = `Button D_DOWN`
D-Pad/Left = `Button D_LEFT`
D-Pad/Right = `Button D_RIGHT`
Triggers/L = `Button L`
Triggers/R = `Button R`
Main Stick/Up = `Axis MAIN Y -`
Main Stick/Down = `Axis MAIN Y +`
Main Stick/Left = `Axis MAIN X -`
Main Stick/Right = `Axis MAIN X +`
C-Stick/Up = `Axis C Y -`
C-Stick/Down = `Axis C Y +`
C-Stick/Left = `Axis C X -`
C-Stick/Right = `Axis C X +`
cd
into it andmkdir Pipes
.cd
intoPipes
andmkfifo pipe1
.- Clone the project.
pip install -r requirements.txt
- From the cloned directory, run
python pytry2.py
.
Now the chatbot is hooked up to the twitch.tv/trialsparkplays channel!