|
| 1 | +<h1 align=center>Sonolus Rizline Engine</h1> |
| 2 | + |
| 3 | + |
| 4 | +<p align="center">My recreation of <b>Rizline</b> in <a href="https://sonolus.com/">Sonolus</a> using <a href="https://sonolus.py.qwewqa.xyz/">Sonolus.py</a>.</p> |
| 5 | + |
| 6 | +**Try it now at: https://sonolus-rizline.vercel.app/ !** |
| 7 | +Currently featuring play and watch mode. |
| 8 | + |
| 9 | +## Quick Dev Setup |
| 10 | +1. Install [uv](https://docs.astral.sh/uv/), run `uv sync`. |
| 11 | +2. To add Rizline levels, copy one of the existing `resources/levels` folder, modify `item.json` with the new level name and change `chart.json` to the corresponding Rizline chart file. |
| 12 | +3. Convert Rizline chart to Sonolus data and generate corresponding skin and particle by running `convert/generate_resources.ts`, [pngjs](https://www.npmjs.com/package/pngjs) is used to generate skin textures. |
| 13 | +4. [Ensure your venv is activated](https://docs.astral.sh/uv/pip/environments/#using-a-virtual-environment). |
| 14 | +5. Run `sonolus-py dev`. |
| 15 | + |
| 16 | + |
| 17 | +## Custom Resources |
| 18 | + |
| 19 | +### Skin Sprites |
| 20 | +Since Sonolus doesn't have any way of drawing sprites with a custom colour, we need to generate and use a different skin texture for each level to match Rizline's levels colours. |
| 21 | +Some sprites have variation for normal and challenge time, like `Background Normal` | `Background Challenge` |
| 22 | + |
| 23 | +| Name | |
| 24 | +| ----------------------------------------------- | |
| 25 | +| `Background Normal` \| `Challenge` | |
| 26 | +| `Background Circle Normal` \| `Challenge` | |
| 27 | +| `Fade Out Spawn` | |
| 28 | +| `Fade Out Judge` | |
| 29 | +| `Drag Note` | |
| 30 | +| `Hold Note` | |
| 31 | +| `Tap Note Normal` \| `Challenge` | |
| 32 | +| `Hold Head Normal` \| `Challenge` | |
| 33 | +| `Hold Head Decorator Normal` \| `Challenge` | |
| 34 | +| `Hold Connector Normal` \| `Challenge` | |
| 35 | +| `Hold Connector Fade Out Normal` \| `Challenge` | |
| 36 | +| `Miss Effect Overlay` | |
| 37 | +| `Miss Effect Cross` | |
| 38 | +| `Line Color 0`, …,`Line Color 31` | |
| 39 | +| `Judge Ring Color 0`, …, `Judge Ring Color 31` | |
| 40 | +| `Judge Ring Background` | |
| 41 | +| `Line Background` | |
| 42 | + |
| 43 | +### Particles |
| 44 | +Unlike with Skin we can change the colours by only modifying the data. |
| 45 | + |
| 46 | +| Name | |
| 47 | +| ------------------------------- | |
| 48 | +| `Hit Normal` \| `Hit Challenge` | |
| 49 | +| `Hit Challenge Extension` | |
| 50 | +| `Bad` | |
| 51 | + |
| 52 | +### Effect Clips |
| 53 | +Default Sonolus effect names are used, however only `#PERFECT` (for Tap and Hold Start notes) and `#GREAT` (for Drag notes) are used. |
| 54 | + |
| 55 | +## Links |
| 56 | +- [Rhythm Game Wiki: Rizline](https://rgwiki.stary.pc.pl/wiki/Rizline), useful informations about Rizline files. |
| 57 | +- [Rizlib](https://gitlab.com/TadeLn/rizlib), Rust library to interact with the game files. |
| 58 | +- [Sonolus Website](https://sonolus.com/) |
| 59 | +- This repository is based on [Sonolus.py Template](https://github.com/qwewqa/sonolus.py-template-project) |
0 commit comments