Skip to content

blobdash/bokulamplighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bokulamplighter

Revive your lamps!

This little script aims to regenerate your *raja score.db using data from Bokutachi.

Disclaimer : This leaves out some relatively important data (such as ghost data, seeds, wether random was used or not...). Do not try to import your db on any website after using this, or be ready for unforeseen consequences.

How to use

  1. Install Node 18 or higher. If you encounter any problem downgrade to 18. (tested on v18.20.5)
  2. Clone this repository.
  3. Install dependencies : npm i
  4. Find your score.db inside your *raja installation. It is located inside player/<playerid>. BACK IT UP. Then copy it to the repo's folder.
  5. Run the script : node index.js -u <your bokutachi username> -d <name of the db>
  6. Copy your score.db back to the player's folder.

You can also run the script and dump the SQL that would've been run on the db to a file : -o dump.sql

  • "I've got a ton of 'UNIQUE constraint failed' errors!!! What are those?!"

These errors are because your local database already had a score for the chart. This chart was left intact and not synced with Bokutachi.

If you want to sync from 0, clear the scores table from your score.db with a tool like DB Browser for SQLite.

  • *"My raja now crashes! What do I do??"

Restore your backup. You backed up your score.db... Right?

About

Recreates lamps in *raja based on a Bokutachi profile

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors