2025-01-02 04:08:30 -05:00
2025-01-02 04:08:30 -05:00
2025-01-02 04:08:30 -05:00
2025-01-02 04:08:30 -05:00
2025-01-02 04:08:30 -05:00

ChronoSaver

With Choro Circle's impending offline-ing, this tool will allow you to save your scores to a json file as long as the webui remains accessable.

Small Disclaimer

This process involes getting your browser cookies. NEVER share your cookies with ANYBODY for ANY REASON!

I make no promisses that this json file will be useful in the future, but it's better then nothing as of now.

This is probably better served as a website instead of a deno app. If you happen to be the one to make that website, let me know and I'll link it here.

Requirements

  • An account on the webui.
  • Deno
  • Basic knowlage of your web browser of choice's developer tools (Firefox will be used in this example)

How To

  1. Install Deno and run deno install to install dependencies.
  2. Log into the webui and go to the "Play Stats" page.
  3. Let the page load fully (this may take a minuet.)
  4. Press F12 (or Ctrl + Shift + I for some browsers) to open the developer tools and go to the "Network" tab.
  5. Click on any song to view the score pop-up. This should create an entry in the Network tab for ajax.my.record_detail.php, as shown below. Network tab with the ajax request
  6. Click on that entry to bring up the side menu.
  7. In the "Headers" section of the side menu, scroll down to "Request Headers" and locate the "Cookie" entry. Cookie request header
  8. Cope the value of the header.
  9. In the same directory that main.ts is, create a file called .env. The name must match exactly.
  10. In this file, type COOKIE= and then paste your cookie in. If it's not automaticly in double quotes, add them. Cookie inside the .env file
  11. Back in your browser, navigate to the "Request" tab in the side menu. One of the parameters should be "no" followed by a number. Copy that number. Request data inside the browser
  12. On a new line inside the .env file, add NUM= and then paste the number in. No double quotes are needed here, but they won't break anything if they are. Number inside the .env file
  13. Run deno run --allow-net --allow-env --env-file=.env --allow-read --allow-write main.ts in the command line with the current working directory set to the folder you cloned the repo into.
  14. Wait 3-4 minuets for all songs and items to process. Once complete, cc_dump_<number>.json will be created (will be ignored by git).
  15. Keep this file somewhere safe, and you're done!
Description
Save your Chrono Circle scores before the webui dies!
Readme 165 KiB
Languages
TypeScript 100%