https://github.com/pizzart/twitch-atk-chaos
https://github.com/pizzart/twitch-atk-chaos
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pizzart/twitch-atk-chaos
- Owner: pizzart
- Created: 2023-05-29T23:57:20.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-30T00:28:39.000Z (almost 2 years ago)
- Last Synced: 2025-01-06T06:12:23.562Z (4 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# twitch chat asobo chaos script
## description
pretty much says it all in the title. twitch chat can use commands to control an asobo game (any game that is supported by [ATK](https://github.com/widberg/atk)) in real time. use `!atk ` in chat, where `` is a command that can be called using `runCommand()` in ATK (like SetTimeFactor 2, for instance)
## how to set up
- install python with pip (if on windows also check "add python to path" during install)
- install the dependencies for atk and my script using `pip install frida-tools twitchAPI` in the command line. if you're on windows run the command line as an administrator
- download the script and put it in some folder
- download [atk.js](https://github.com/widberg/atk/blob/master/atk.js) and put it in that folder
- now register an application on the [developer console](https://dev.twitch.tv/console)
- add `http://localhost:17563` as an oauth redirect url. the name doesn't matter
- copy the client id and replace the `APP_ID` variable in the script with it
- copy the client secret and paste it into an empty file called `token.txt` in that same folder (make sure the file only has a single line in it)
- also make sure to replace the `TARGET_CHANNEL` in the script with your own twitch username
- you should be ready to go
## notes
you can replace WALL-E.exe in the script for any other game ATK supports
## credits
- https://github.com/widberg - for creating ATK (literally the backbone of this script)
- https://github.com/Geljado - for creating ATK-UI (code for communicating with ATK is from there lol)