psych 1.0 format + some charts improvements

Fixes #448
This commit is contained in:
⍚~Nex
2024-11-30 02:15:35 +01:00
parent 85617b7b4e
commit eada3105a4
6 changed files with 111 additions and 47 deletions
+1 -1
View File
@@ -1356,7 +1356,7 @@ class Charter extends UIState {
defaultSaveFile: '${__song.toLowerCase().replace(" ", "-")}${__diff.toLowerCase() == "normal" ? "" : '-${__diff.toLowerCase()}'}.json',
}));
}
function _file_saveas_psych(_) {
openSubState(new SaveSubstate(Json.stringify(PsychParser.encode(PlayState.SONG), null, Options.editorPrettyPrint ? "\t" : null), {
defaultSaveFile: '${__song.toLowerCase().replace(" ", "-")}${__diff.toLowerCase() == "normal" ? "" : '-${__diff.toLowerCase()}'}.json',