Skip to content

Latest commit

 

History

History
35 lines (25 loc) · 966 Bytes

README.md

File metadata and controls

35 lines (25 loc) · 966 Bytes

SMParse

A web-based parser for StepMania chart files. Supports SM and SSC files.

Web UI

Drag a chart file onto the page to load its tags and render the steps.

Requirements

Node.js module

The SMParse class is provided by parser.js, which can be loaded independently:

var SMParse = require("path/to/parser");
require("fs").readFile("path/to/chart.ssc", function(err, data) {
    var parse = new SMParse(data);
});

Data structure

{
    meta: {title, subtitle, artist, credit, origin, cd, genre, type: [format, version], select},
    files: {banner, jacket, cd, disc, video, bg, music, lyrics},
    times: {offset, sample: {start, length}, labels},
    changes: {bpm, stop, delay, warp, timesig, tick, combo, speed, scroll, fake, key, attack, bg, fg},
    charts: [{name, credit, type, desc, style, diff, meter, data, radar, notes}],
    raw
}