- Origin: https://git.zxq.co/ripple/lets
- Mirror: https://github.com/osuripple/lets
This server handles every non real time client feature, so:
- Ingame scoreboards
- Score submission
- PP calculation through
oppai
(std) andwifipiano2
(mania) - Screenshots
- Replays
- osu!direct
- Tillerino-like API
- Python 3.5
- Cython
- C compiler
- MySQLdb (
mysqlclient
) - Tornado
- Bcrypt
- Progressbar2 (only for
tomejerry.py
) - Raven
- Datadog
- oppai
First of all, initialize and update the submodules
$ git submodule init && git submodule update
afterwards, install the required dependencies with pip
$ pip install -r requirements.txt
compile all *.pyx
files to *.so
or *.dll
files using setup.py
(distutils file)
$ python3 setup.py build_ext --inplace
then, run LETS once to create the default config file and edit it
$ python3 lets.py
$ nano config.ini
finally, configure oppai as described below.
LETS uses lolisamurai's oppai as pp calculator for std. We use a slightly modified version of oppai, you can find it here.
Go one directory above LETS (in the same directory where you have old-frontend, pep.py, lets and so on) and clone oppai
inside the oppai
folder, compile it with make
and create the maps
folder:
$ cd ..
$ git clone https://github.com/osuripple/oppai.git
$ cd oppai
$ make
$ chmod +x oppai
$ mkdir maps
Note: wifipiano
(mania pp calculator) is tailor-made for LETS and doesn't require any configuration.
tomejerry.py
is a tool that allows you to calculate pp for specific scores. It's extremely useful to do mass PP recalculations if you mess something up. It uses lets' config and packages, so make sure lets is installed and configured correctly before using it.
tomejerry
supports a lot of parameters, the main ones are:
-r
, to recalculate PP for every score on every game mode (only std and mania are supported at the moment)-z
to calculate PP for scores with 0 pp-g x
to recalculate PP for scores forx
gamemode (0: std, 3: mania)-i x
to recalculate PP for score withx
id-n x
to recalculate PP for scores submitted by user withx
username
For a full list of all the arguments supported bytomejerry
, runpython3 tomejerry.py --help
This project is licensed under the GNU AGPL 3 License.
See the "LICENSE" file for more information.
This project contains code taken by reference from osu-performance by Tom94.