jhaco / smdatatools Goto Github PK
View Code? Open in Web Editor NEWStepmania data processing tools for StepCOVNet
Stepmania data processing tools for StepCOVNet
Main binary only uses --script
as a flag and doesn't support passing in the input/output locations when script runs (handle by config.ini file instead).
Add parsing of --input
and --output
flags in main binary to use in both script types. Afterwards, the config used can be specified by another flag --config
. All flags can be defined and read from the config file instead of the half and half approach currently done.
Current:
Path Forward:
TODO:
Doing it this way should resolve a case where a few simfiles that had differing .sm and .ogg/.mp3/.wav names. Both will have the same name when copying audio.
Have been exploring the uses of having all the note data into one csv file. Will write notes here as I mull over whether or not this is needed now...
Currently, I'm writing to individual .txt files that contain the following data:
-- title
-- bpm
-- note_data
--- difficulties
---- note:timing data for each difficulty
so the output looks something like:
-- title
-- bpm
-- note_data
--- easy
---- note + timing data for easy
--- medium
---- note + timing data for medium
--- challenge
---- note + timing data for challenge
and the user will need to manage audio files seperately.
The .csv format I am considering is:
title | bpm | audio_filename | difficulty | note_data | timing_data
As each song has multiple difficulty levels, I want it to be represented something like:
title | bpm | audio_filename | easy | easy_note_data | easy_timing_data
title | bpm | audio_filename | medium | medium_note_data | medium_timing_data
title | bpm | audio_filename | challenge | challenge_note_data | challenge_timing_data
Not sure if csv can handle writing an array of data into a single cell though, that might be tricky. Could have the whole array as one ugly string, but will need to make sure it's being parsed correctly...
Pros:
Cons:
If you're running this on a directory where some of the songs don't have static BPMs it will stop the entire batch. I see that there's a script that nukes files that don't have static BPMs but it might be better to just... skip it and keep going.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.