27 lines
No EOL
1 KiB
Markdown
27 lines
No EOL
1 KiB
Markdown
# [Pianoverse Client for pianoverse.me](https://pianoverse.me/)
|
|
|
|
Extracted from the https://pianoverse.net site at 10:33, November 25.
|
|
Commit ID: 6202927ae53e43bafd8b8fd3be1ffcaaa45426a3
|
|
|
|
## Patches
|
|
This client contains two patches, internal.patch, and ws.patch.
|
|
|
|
1. ws.patch
|
|
|
|
| localStorage.host value | connnects to |
|
|
|:-----------------------:|:-----------------:|
|
|
| | api.pianoverse.me |
|
|
| mainline | pianoverse.net |
|
|
| dev | 127.0.0.1:8081 |
|
|
|
|
2. internal.patch
|
|
Exposes all internal pianoverse APIs on window.PvInternals.
|
|
|
|
|
|
Use nushell and `build/createPatchedBundle.nu` in the root to create a bundle.js.
|
|
|
|
## extra.js
|
|
extra.js is a quick attempt to implement a new feature for Pianoverse with the internal APIs, which is possible, however hard. It adds a simple button for rules and a new modal. It **requires the internal patch** and for it to be added in index.html.
|
|
|
|
## Sounds
|
|
Use the `build/downloadSounds.nu` nushell script to download all sounds. |