README to install Ripple to Windows!
So, as you know... You will need Python PIP module to make LETS and pep.py working, follow the step below to get it working!
- You must use Python 3.6 for your Windows (because I build DLLs with Python 3.6 not sure if others Python will work)
- Download Visual C++ Build Tools 2015
- After you installed Visual C++ Build Tools 2015, You will need to open "x86 x64 Cross Build Tools Command Prompt" from Start Menu (at this point, you can even build your own DLLs. But you will need to know how cython works in Windows)
- Type
pip install -r requirements.txt
in your pep.py and LETS folder - Download Redis and MySQL server (or you can get MariaDB server from XAMPP)
- Download HeidiSQL (or other software that can see and edit data and structures)
- Connect to your database and
import this SQL queryask me in Discord for a copy of database - Run MySQL server and Redis
- Run pep.py and LETS to make default configuration
- Enjoy the bancho and LETS!
We still need to make the proxy_pass with NGINX so you can run the fully functional Ripple! Follow the step below to get it working!
- Get nginx Windows
- Extract nginx at your Ripple folder (or somewhere it suits you)
- Download the NGINX configs and edit "conf/nginx.conf", "osu/nginx.conf" and "osu/old-frontend.conf" (Read README.md first)
- Start nginx and edit the hosts
Add these to your host file, Hamachi IP is also working with this too!
#<domain that support in certificate> default is i-need-to.click
<127.0.0.1 or your Public IP> osu.ppy.sh
<127.0.0.1 or your Public IP> c.ppy.sh
<127.0.0.1 or your Public IP> c1.ppy.sh
<127.0.0.1 or your Public IP> c2.ppy.sh
<127.0.0.1 or your Public IP> c3.ppy.sh
<127.0.0.1 or your Public IP> c4.ppy.sh
<127.0.0.1 or your Public IP> c5.ppy.sh
<127.0.0.1 or your Public IP> c6.ppy.sh
<127.0.0.1 or your Public IP> c7.ppy.sh
<127.0.0.1 or your Public IP> ce.ppy.sh
<127.0.0.1 or your Public IP> a.ppy.sh
<127.0.0.1 or your Public IP> i.ppy.sh
<127.0.0.1 or your Public IP> <domain that support in certificate>
<127.0.0.1 or your Public IP> c.<domain that support in certificate>
<127.0.0.1 or your Public IP> i.<domain that support in certificate>
<127.0.0.1 or your Public IP> a.<domain that support in certificate>
<127.0.0.1 or your Public IP> old.<domain that support in certificate>
These domain are supported by osu!thailand certificate (You can make your by doing a new self-signed certificate)
- tatoe.pw
- i-need-to.click
- keidas.pw
- cookiezi.pw
- kawata.pw
Alright... so right now Ripple is using Password -> MD5 -> BCrypt Hash (10 rounds) for the password to login so in users
table in password_md5
column will be like this
- If I want to make my password
HelloRipple123
, first I need to hash it as MD5. So the hash will be6d246d0f30cdc5b829c8e21c290f8ea9
(You can hash your password at http://www.md5.cz/) - Then after I hash it, I still need to make it as BCrypt Hash (10 Rounds) so I will use this website as BCrypt encryptor.
- Put the MD5 Hash to
String to encrypt
box, change rounds to 10 and then clickHash!
button - You'll get the hash like
$2y$10$4mO9E2m7b6B0Z039ikDvSOXk2KBg9uAobGixVDv6NihQ4RL/itplq
as the hash (which is our MD5 hash. HelloRipple123) - Put your BCrypt hash in
password_md5
in your user data and profit!
Note: The BCrypt hash will be always different because BCrypt hash it 10 times!
Replace the E:/GitHub/LETS-windows/pp
to your directory such as C:/lets/pp
in following files:
- pp/rippoppai.py
- pp/relaxoppai.py
You can add me on Discord: @Aoba Suzukaze#0900
or make new Issue here