This program is currently only functional with OpenShock as I do not have access to PiShock hardware.
Read about safe practices at wiki.openshock.org or pishock.com under "Safety"
- Heart Attack
- Irregular heartbeat
- Breathing irregularities or difficulty
- Vision or hearing issues
- Loss of consciousness
If you notice any of these symptoms, contact emergency services immediately.
You are playing with Electricity, always handle it with care.
Do not touch the pins of the shocker while it is on, it may not cause permanent damage to your hand but it is extremely painful.
wiki.openshock.org/home/safety-rules
Python 3 : For running the program.
Webhooks library : For connecting to Tosu
Requests library : For sending API calls
Websockets library : For websockets
Tosu : To read data from the game.
Osu! (Lazer) : The game itself
- If you know you have something running on port 24050, make sure to stop it or change tosu's port
- Download a recent Python version if needed
- Download Tosu and extract the zip wherever, this is where I recommend keeping this project too for easy access.
- Download This project as a zip and extract it in the tosu folder.
- Run Setup.py before launching OShocker!, follow the instructions until setup finishes.
- Open Osu! (Only tested on lazer) and tosu.exe
- Once both applications have been opened, you may run OShocker!.py and configure your experience.
P.S:
Avoid opening OShocker! while a song is paused, it may register a shock.
- Shock intensity (0 - 100%) where "0%" is vibrations only
- Shock duration (0 - 10sec)
- Shock cooldown (0 - 10sec)
- Dynamic Shock (Increases intensity during a song by 5% every time you miss, resets back to normal after a retry or song change)
- Shock cap for dynamic shock
- Seems to work with every Osu! game mode so far
- Add functionality to change settings while program is running
- Save settings accross sessions
- GUI window for recording/streaming

