Repository navigation
MeidoSerialization CLI v1.2.0
Incompatible Changes
This version restructures the menu structure to be more user-friendly.
Previously generated .menu.json files will no longer be readable. You can convert them back to .menu using the older version and then back to .menu using the newer version.
The Command part of the previous version will be serialized as
"Commands": [
{
"ArgCount": 2,
"Args": [
"メニューフォルダ",
"DRESS"
]
},
{
"ArgCount": 2,
"Args": [
"category",
"accXXX"
]
},
{
"ArgCount": 1,
"Args": [
"onclickmenu"
]
}
]
This version will be serialized as
"Commands": [
{
"Command": "メニューフォルダ",
"Args": [
"DRESS"
]
},
{
"Command": "category",
"Args": [
"accXXX"
]
},
{
"Command": "onclickmenu",
"Args": null
}
]
If you are upgrading from an older version, please see the v1.1.0 changelog, which also has incompatible changes.
此版本重构了 menu 结构体,以更符合人类使用习惯。
此前生成的 .menu.json 文件将无法被读取,您可以使用旧版本转换回 .menu 后再使用新版本转换。
此前版本的 Command 部分会被序列化为
"Commands": [
{
"ArgCount": 2,
"Args": [
"メニューフォルダ",
"DRESS"
]
},
{
"ArgCount": 2,
"Args": [
"category",
"accXXX"
]
},
{
"ArgCount": 1,
"Args": [
"onclickmenu"
]
}
]
此版本会序列化为
"Commands": [
{
"Command": "メニューフォルダ",
"Args": [
"DRESS"
]
},
{
"Command": "category",
"Args": [
"accXXX"
]
},
{
"Command": "onclickmenu",
"Args": null
}
]
如果您从较旧版本升级,请查看 v1.1.0 版本更新日志,该版本也有不兼容更改。
What is this
Released here is the MeidoSerialization CLI.
The MeidoSerialization CLI is a command-line interface for the MeidoSerialization library.
It allows you to convert between COM3D2 MOD files and JSON format using the command line. It also allows you to perform single or batch conversions between .tex and images, or between .nei and .csv.
JSON files converted by this tool can also be read by COM3D2 MOD EDITOR V2.
If you are looking for an editor, visit https://github.com/MeidoPromotionAssociation/COM3D2_MOD_EDITOR
If you are looking for a serialization library, check out the repository README to learn how to use it in a Golang project
在这里发布的是 MeidoSerialization CLI
MeidoSerialization CLI 是 MeidoSerialization 库的命令行界面
它允许您使用命令行在 COM3D2 MOD 文件和 JSON 格式之间进行转换,也允许您在 .tex 和图片,或是在 .nei 和 .csv 之间进行单个或批量转换。
由此工具转换的 JSON 文件也可以被 COM3D2 MOD EDITOR V2 读取。
如果您在寻找编辑器,请访问 https://github.com/MeidoPromotionAssociation/COM3D2_MOD_EDITOR
如果您在寻找序列化库,则请查看仓库主页 README 以了解如何在 Golang 项目中使用
Download
MeidoSerialization_linux_amd64For Linux x64MeidoSerialization.exeFor Windows x64
Changes
- Recalculate the number of rows and columns before writing to nei
- Make convert command support .tex and .nei
- Refactoring .menu structure
- Make Cli --type and --strict filtering work for commands
- Update dependencies
Full Changelog: v1.1.0...v1.2.0