pianoverse_client/readme.md

27 lines
1 KiB
Markdown
Raw Normal View History

2024-11-25 09:52:32 +00:00
# [Pianoverse Client for pianoverse.me](https://pianoverse.me/)
2024-07-17 10:13:45 +00:00
2024-11-25 08:45:54 +00:00
Extracted from the https://pianoverse.net site at 10:33, November 25.
Commit ID: 6202927ae53e43bafd8b8fd3be1ffcaaa45426a3
2024-11-25 15:25:15 +00:00
## Patches
This client contains two patches, internal.patch, and ws.patch.
2024-11-25 08:45:54 +00:00
2024-11-25 15:25:15 +00:00
1. ws.patch
2024-07-19 01:31:01 +00:00
2024-11-25 15:25:15 +00:00
| localStorage.host value | connnects to |
|:-----------------------:|:-----------------:|
| | api.pianoverse.me |
| mainline | pianoverse.net |
| dev | 127.0.0.1:8081 |
2024-11-25 13:07:35 +00:00
2024-11-25 15:25:15 +00:00
2. internal.patch
Exposes all internal pianoverse APIs on window.PvInternals.
2024-07-17 10:13:45 +00:00
2024-11-25 15:25:15 +00:00
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.