Files
zkldi_Tachi/database-seeds
nairobiandzkldi 4a80b1f516 feat: Ongeki support (#1013)
* feat: initial ongeki support

* feat: initial ongeki seeds

* chore: link to a basic score exporter

* fix: unhardcode the colSpan of score dropdowns

Fixes ongeki and doesn't break chunithm

* fix: make bellCount optional to match judgements and damage

* docs: add a page for Ongeki

* feat: ongeki seeder

* feat: implement isHot

Also restore Arcaea to test.conf.json5 (it was a mistake)

* fix: add isHot to the seeder

* fix: proper handling of re:masters

Also change non-full-bell from an empty string to "NONE", for clarity

* docs: document the re:master fix

* feat: update rg-stats to 0.5.5

enables ongeki calcs

* chore: lockfile

* fix: get rid of scales as they're unused

* fix: update name->NAME

* minrelevantvalue should be one of the values?

* fix: add property that must be there?

* fix: jesus christ the tests are loud

* better docs on mrv

* fix: remove platdelta, make platscore optional

* fix: grade B tests oh my god

* fix: rating check

* fix: pb merge check

* fix: pb merge check #2

* fix: use nowrap in all lamp cells

* fix: tidy up platcell

* fix: all of these MUST be part of scoreID

* fix: remove unused code

* feat: remove note counts & isHot

* chore: bump rg-stats

---------

Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
2024-05-08 18:00:46 +01:00
..
2024-05-08 18:00:46 +01:00
2024-05-08 18:00:46 +01:00
2022-12-16 09:50:43 +00:00
2024-04-05 20:48:55 +01:00

Tachi Database Seeds

This repository contains some base "seed" files for the Tachi Database.

They are intended to be used with MongoDB, but since these are just a JSON export, you can really do anything you want with them.

Contribution Info

All work should be merged into main.

What Databases Are Here?

Nothing private, nothing pertaining to an instance of Tachi. These are backbone files, such as songs, charts, and folders.

You can read more about what all these documents mean in common/.

  • songs-{game}

These contain the song documents for the provided game.

  • charts-{game}

These contain the chart documents for the provided game.

  • folders

This contains the set folders for all games.

  • tables

This contains the set tables for all games.

  • bms-course-lookup

BMS Dans that should be registered by the IR.

  • goals

Goals that are registered by default in tachi. These are likely because they're in a quest.

  • quests

Quests that are registered by default in tachi.

  • questlines

Groups of quests that are registered by default.

How do I use this?

Depends what you want. If you're familiar with JSON, just take the files and do whatever.

If you want to analyse this data in a more advanced fashion, install mongodb-tools (You'll want mongoimport in $PATH) from your favourite location.

../_scripts/bootstrap will synchronise these seeds with your local development install on first setup.

You can use server/src/scripts/sync-database to re-synchronise whenever you want.

Contribution

If your change involves inserting or removing records, you must run node scripts/deterministic-collection-sort.js. This will ensure diffs stay somewhat sane.