aboutsummaryrefslogtreecommitdiffstats

Importing from Donder Hiroba to Mirage

This repository contains the script to import from Donder Hiroba to Mirage

1. Setup the script

OPTION A - Executable File (Easy, Windows Only)

Download the executable file from the Releases tab or here

That's it. Go to step 2

OPTION B - From Source (Advanced)

  1. Install Python. Follow the instructions here if you need help.
  2. Download the import script
  3. Unzip and place all files in some folder
  4. Right click and open terminal (Powershell) in this newly created folder
  5. Run Set-ExecutionPolicy Unrestricted -Scope Process to allow the execution of scripts
  6. Create a virtual environment
python3 -m venv venv
.\venv\Scripts\activate
  1. pip install -r requirements.txt

2. Refresh Donder Hiroba and Get Token

  1. Login to Donder Hiroba
  2. Scroll down and navigate to the Score Data page by clicking on スコアデータ 閲覧
    image

  3. Refresh your data by clicking on this icon: image
    on the top right corner

From here you need to get your token. There are 2 ways to do this

  1. Download the browser extension Cookie-Editor
  2. Click on the extension and click _token_v2, then copy the Value there. That's it!

Option 2: Use Browser Network Tab (slightly more complicated)

  1. Right click the page and click Inspect/Inspect Elements
  2. Click on the "Network" tab
    image

  3. Refresh the page

  4. Now a bunch of requests will show up. In the Filter input, type in rank_list. A single request should be left
    image

  5. Click on the row and then select the Cookies tab

  6. Copy the _token_v2 value shown there without the quotes
    image

3. Running the Script

Go back to the terminal you had open in Part 1.

If you used the Source method (Option A), you can now finally export your scores by running

python3 taiko_donder_hiroba_export.py --token <YOUR_TOKEN_VALUE>

Option B
- If you downloaded the executable in step 1, just run it and follow the prompts

send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage