LZ4 for vag not supported yet
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use clap::{Parser, Subcommand};
|
||||
use jaby_engine_fconv::{audio::*, images::*, nothing};
|
||||
use std::path::PathBuf;
|
||||
use tool_helper::{Error, exit_with_error};
|
||||
use tool_helper::{exit_with_error, print_warning, Error};
|
||||
|
||||
#[derive(Parser)]
|
||||
#[clap(about = "Converts files to various JabyEngine related file formats", long_about = None)]
|
||||
@@ -89,6 +89,10 @@ fn run_external_conversion(cmd: CommandLine) -> Result<(), Error> {
|
||||
let input_file = cmd.input_file.ok_or(Error::from_str("Input has to be a file"))?;
|
||||
let output_file = cmd.output_file.ok_or(Error::from_str("Output has to be a file"))?;
|
||||
|
||||
if cmd.compress_lz4 {
|
||||
print_warning("LZ4 compression not supported for external commands".to_owned());
|
||||
}
|
||||
|
||||
match cmd.sub_command {
|
||||
SubCommands::VAG(args) => vag::convert(args, input_file, output_file),
|
||||
SubCommands::XA(args) => xa::convert(args, input_file, output_file),
|
||||
|
Reference in New Issue
Block a user