bemusic / bemuse-tools Goto Github PK
View Code? Open in Web Editor NEWTools for Bemuse server authors
Tools for Bemuse server authors
As with the bemuse project.
Revamp the format. Totally breaks the older version. It's good that 1.0 has never been used.
A .bemuse
file contains
Usually, the metadata describes what's inside the payload.
BEMUSEPACK
An entry file should have a metadata of more than 0 bytes. It should be a valid JSON. It describe all files both internal and external. External packages should have metadata of 0 bytes.
{
version: 2,
song: { title, artist, genre, ... },
refs: [
{ size, hash }, // the first ref (0) describes its own payload
{ path, size, hash }, // ref 1's payload metadata
...
],
files: [
{
name, type, size, hash,
refs: [
{ [ ref, start, end ], ... }, // start, end relative to payload
...
]
}
]
}
Should be off by default.
Since we want to include song metadata into the BEMUSE file, the metadata being written should be visible.
Right now, the STDOUT is overwhelmed by log messages. We should turn that into a progress bar instead.
Mode | Object Ratio |
---|---|
BMS | 30:17:13 |
PMS | 17:13 |
Playable area aspect ratio: 9:20
After much consideration, finally I feel that it's better to only pack assets (keysounds and BGA) into the bemuse pack.
It is planned that .bemuse
files will be cached long-term, so we should put things that don't change often here.
Folder-based approach. All metadata is stored in metadata.json
, so no more need for metadata chunk.
BEMUSEPACK
Maybe use command line flags: --title Reminiscentia --artist flicknote
.
This is to allow referencing BMS files based on object hash. We can also checksum the payload.
By signifying which file is the entry file, we can allow dragging multiple files into the web and have dependencies resolved!
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.