Some useful tools of the fanmade music game Dynamite.
Convert Maimai charts to Dynamix/Dynamite XML map.
将舞萌 DX 的谱面转为 Dynamix/Dynamite XML 的谱面。
- 打开
converter.py,直接修改其中的谱面内容(注意将 &inote_6= 和第一行谱面分两行写,否则将会识别不出 BPM),并运行该文件; - 运行输出的文件格式为 Dynamaker 谱面,不支持直接导入游玩;请先导入至 Dynode,再导出为实机谱面游玩。
1-8 号键从右至左映射为 Dym 位置 4.9 至 -0.7(对应实际位置为 5.3 至 -0.3,对应参数可调)。
直接转换为NORMAL。
转换为 HOLD 和 SUB 对。
转为 NORMAL 和 CHAIN 的组合,初键位转为 NORMAL,之后均为 CHAIN。CHAIN 的间隔为参数 slide_chain_interval_beats 可调(默认为 0.125 = 32 分),各个 CHAIN 的位置从初键位到末键位线性均匀变化。
- 直线型(包括
-和所有未指定的v, p, q, s, z, w, V, pp, qq, ^):CHAIN 从初键位直接滑到末键位,不出屏幕; - 圆弧型(
<和>):方向同舞萌谱面规则,若为 <,则: -
- 初始键位为 1,2,7,8:按键位递减移动;
-
- 初始键位为 3,4,5,6:按键位递增移动。
-
>与<相反,初始键位为 1278 则递增移动,为 3456 则递减移动。若出屏幕自动转到另一边。
- 多段/并发星星:支持解析 *(并发)和 -(串联)连接的复杂星星。
若某个音符含绝赞,则将该音符复制为 3 份(默认,可在程序中修改)。
暂不支持。因为没想到合适的转换方法。欢迎反馈。
完全支持。欢迎反馈 BUG。
若包含多个 BPM 转换,请先导入至 Dynode,再导出为实机谱面游玩。
Script to parse a music game XML map file and plot the real-time Keys-Per-Second (KPS) curve.
绘制 Dynamite 谱面 KPS 图的工具。
python kps_plot.py path/to/map.xml [--window 1.0] [--step 0.1] [--output kps.png] [--width 10] [--unicode]Options:
--window Size of the sliding window in seconds (default: 1.0) (Unit: s)
--step Step size in seconds for sampling (default: 0.1) (Unit: s)
--output Path to save the output plot image (if omitted, displays interactively)
--width Width of the plot figure (default: 10)
--unicode Use SimHei font for Unicode character support (e.g., Chinese)
[] 内的内容为可选内容,不填为默认。
--window参数为滑动窗口长度,表示每次取窗口长度内 note 个数的平均值,默认为1.0;--step参数为采样间隔,表示每采样间隔秒计算一次,默认为0.1;--output参数为输出图片名,如不填则直接显示绘图窗口;--width参数为图表宽度,对于稍长的歌曲可调大些,默认为10;--unicode参数为是否为中文歌曲名提供支持,默认关闭。
Example 1 不另存为图片,直接显示绘图窗口:
python kps_plot.py "Faded.xml"Example 2 另存为 scy.png,滑动窗口长度调至 2.0 秒,绘图窗口宽度调至 20(适用于较长歌曲):
python kps_plot.py "Little Seed, Arrival.xml" --window 2.0 --output scy.png --width 20Example 3 另存为 hajimi.png,滑动窗口长度调至 0.5 秒,启用中文支持:
python kps_plot.py "Ten_Sides_Hachimi.xml" --window 0.5 --output hajimi.png --unicode更多谱面见 charts 目录中内容。
Convert Phigros fanmade chart(.pez) to Dynode file(.dyn).
将 Phigros 自制谱面(.pez)转换为 Dynode 谱面(.dyn)的工具。
Tested:
- 2024 April Fool's Day Chart
- RinFall's Dan 1-3
Features:
- Support multiple bpm (2024/8/17 updated)
TODO:
- Support formatVersion 3
- Unzip .pez file, get .json file and .wav/.mp3/.ogg file;
- Put .json, .wav/.mp3/.ogg and this
pez2dyn.pyfile in a same directory; - Change input_file_name and output_file_name;
- Choose which judgeline you want to convert;
- Execute this Python file and get output;
- Open the output with Dynode, press F5 to export .xml file.
Convert midi files to Dynamite charts (.xml).
将 midi 文件按音高转换为 Dynamite 谱面的工具。
- 将
midi2xml.py与 midi 文件放在同一目录下; - 修改
midi2xml.py中的name修改为 midi 文件名,并对其它参数进行必要的修改; - 运行并获取谱面输出。