cnmo-parse

Crates.iocnmo-parse
lib.rscnmo-parse
version0.1.2
sourcesrc
created_at2023-03-11 06:58:25.69354
updated_at2023-03-11 16:33:37.344319
descriptionUtility to easily parse CNM Online game files
homepage
repositoryhttps://github.com/wyatt-radkiewicz/cnm-online-editor
max_upload_size
id807068
size117,138
Wyatt Radkiewicz (wyatt-radkiewicz)

documentation

https://docs.rs/cnmo-parse

README

A all-encompasing CNM Online lparse and cnma data format parser.

This crate allows one to load .cnmb/.cnms/.cnma files.

  • .cnmb/.cnms files are binary .lparse files and start with the bytes "CNML"
  • .cnma files are text files with a special format, kind of like .ini files

By default this crate only allows one to edit these files at the very lowest level (besides for cnma files which can already load in game configs), so if you want to load a cnm level file from an lparse file, you will need to specify certain crate features.

These features are:

  • "level_data" which adds in structs that represent all aspects of a CNM online level file, and has functions to save and load them from their respective .cnmb and .cnms lparse files.
  • "serde" which adds serde traits for said level data structs so that the level data can also additionally be saved to any other format that you want. This is NOT a serde implementation for lparse or cnma files (and you need "level_data" feature enabled already).

Heres the Github Link

Commit count: 30

cargo fmt