add format-ep3-battle-record command

This commit is contained in:
Martin Michelsen
2024-03-17 14:12:43 -07:00
parent 477e433361
commit 7405eaea0b
3 changed files with 78 additions and 0 deletions
+7
View File
@@ -2285,6 +2285,13 @@ Action a_diff_dol_files(
}
});
Action a_format_ep3_battle_record(
"format-ep3-battle-record", nullptr, +[](Arguments& args) {
string data = read_input_data(args);
Episode3::BattleRecord rec(data);
rec.print(stdout);
});
Action a_replay_ep3_battle_commands(
"replay-ep3-battle-commands", nullptr, +[](Arguments& args) {
auto s = make_shared<ServerState>();