Coder Social home page Coder Social logo

emq's Introduction

Eroge Music Quiz

EMQ is an AMQ-like quiz game for eroge/visual novel songs.

Currently running at https://erogemusicquiz.com.

Steps to import data

Vocals

  1. Create a new postgres database, set the DATABASE_URL environment variable to its connection URI. Example: postgresql://postgres:postgres@localhost:5432/EMQ
  2. Run the project (EMQ.Server) once in order for the database migrations to run. Terminate it after it's done.
  3. Go to https://query.vndb.org and run all of the queries located in Queries/VNDB, download the results as json and put them where they belong (check EMQ/Server/DB/Imports/VNDB/VndbImporter.cs for the correct filenames and where to put them).
  4. Run test VNDBStaffNotesParserTests.Test_Batch() (~2 seconds).
  5. Run test EntryPoints.ImportVndbData() (~3.5 minutes) in order to import everything but the song links.
  6. (Optional) Run test EntryPoints.ImportSongLite() (~30 seconds) in order to import the song links if you have a SongLite.json file from before. You may encounter exceptions on this step if VNDB data has been modified since you last imported data. Manually edit your SongLite.json file to fix any discrepancies.
  7. (Optional) Run the EGS query and run test EntryPoints.ImportEgsData() (~2 minutes) in order to import Japanese song titles.

Also see EntryPoints.FreshSetup() for a method that automates most of these steps. Using this method requires a local postgres server running, along with some other things. Also it's likely that you'll encounter an error somewhere along the way when running it for the first time, so you should familiarize yourself with all of the steps first.

BGM

Requires VNDB data to be already imported.

  1. TODO (it's like 17 steps right now :/)

Credits

rampaa: Help with the database schema and VNDB queries

hslead: Avatar "Auu" and favicon "Love"

Burnal: Motivational support

Thanks to anyone that uploads new song links.

Thanks to VNDB, EGS, and MusicBrainz administration and editors for providing the necessary data.

emq's People

Contributors

mertvn avatar rampaa avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

emq's Issues

VN name frame overlaps with room buttons on wider screens

On higher-width screens, the top-left buttons are unclickable due to being hidden behind the visual novel name viewport even while a name is not being displayed

image

Fixable by setting the z-index of the buttons to force them to be above.

Clean up pages properly

Timers and other resources are not cleaned up properly when leaving pages which can cause huge issues.

Wishlist VNs are not included in EMQ

I have tried a couple of times in EMQ looting with my VNDB id to test this out but it doesn't seem to include any wishlist VN unless they did not play/vote on vn to begin with like u236125.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.