Skip to content

Stepland/memoncpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

memoncpp

memoncpp is a C++17 header-only .memon file parsing library with nlohmann::json as its sole dependency

.memon is a new json-based jubeat memo format designed to be easier to parse than existing memo formats. The goal of this format is to allow for easier and faster creation of tools and simulators.

usage

#include <fstream>
#include <iostream>
#include <memon/memon.hpp>

int main(int argc, char const *argv[]) {
    
    stepland::memon m;
    std::ifstream file("test.memon");
    file >> m;
    
    std::cout << "test.memon has " << m.charts.size() << "charts" << '\n';
    for (auto& [difficulty, chart] : m.charts) {
        std::cout << difficulty << " : " << chart.level << '\n';
    }
    return 0;
}

About

C++ header-only .memon file parsing library

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages