Add Softpal scr script support

This commit is contained in:
2025-08-16 17:22:22 +08:00
parent e9c777ef5a
commit 3f155fbe51
20 changed files with 181 additions and 49 deletions

View File

@@ -1183,7 +1183,13 @@ pub fn import_script(
None => {}
}
format::fmt_message(&mut mes, fmt, *builder.script_type());
if let Err(e) = script_file.import_messages(mes, writer, encoding, repl) {
if let Err(e) = script_file.import_messages(
mes,
writer,
&out_path.to_string_lossy(),
encoding,
repl,
) {
eprintln!("Error importing messages: {}", e);
COUNTER.inc_error();
continue;