Error while processing: System.ArgumentNullException: Value cannot be null.
Parameter name: maPacker
at MArchiveBatchTool.MArchive.AllDataPacker.UnpackFiles(String psbPath, String outputPath, MArchivePacker maPacker) in C:\mdmini\MArchiveBatchTool\MArchive\AllDataPacker.cs:line 28
at MArchiveBatchTool.Program.<>c__DisplayClass1_8.<Main>b__18() in C:\mdmini\MArchiveBatchTool\Program.cs:line 220
at McMaster.Extensions.CommandLineUtils.CommandLineApplicationExtensions.<>c__DisplayClass10_0.<OnExecute>b__0()
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.<>c__DisplayClass144_0.<OnExecute>b__0(CancellationToken _)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.ExecuteAsync(String[] args, CancellationToken cancellationToken)
at McMaster.Extensions.CommandLineUtils.CommandLineApplication.Execute(String[] args)
at MArchiveBatchTool.Program.Main(String[] args) in C:\mdmini\MArchiveBatchTool\Program.cs:line 309
C:\mdmini\MArchiveBatchTool\bin\Debug\netcoreapp2.2>dotnet MArchiveBatchTool.dll archive fullunpack --keep filepath "C:\mdmini\MArchiveBatchTool\alldata.bin"
Specify --help for a list of available options and commands.
Unrecognized command or argument 'fullunpack'
C:\mdmini\MArchiveBatchTool\bin\Debug\netcoreapp2.2>dotnet MArchiveBatchTool.dll archive extract filepath "C:\mdmini\MArchiveBatchTool\alldata.bin"
The file 'filepath' does not exist.
Specify --help for a list of available options and commands.
C:\mdmini\MArchiveBatchTool\bin\Debug\netcoreapp2.2>dotnet MArchiveBatchTool.dll archive extract --keep filepath "C:\mdmini\MArchiveBatchTool\alldata.bin"
Specify --help for a list of available options and commands.
Unrecognized option '--keep'
C:\mdmini\MArchiveBatchTool\bin\Debug\netcoreapp2.2>dotnet MArchiveBatchTool.dll fullunpack --keep filepath "C:\mdmini\MArchiveBatchTool\alldata.bin"
Invalid value 'C:\mdmini\MArchiveBatchTool\alldata.bin'. Allowed values are: zstd, zstandard, zlib
Specify --help for a list of available options and commands.
C:\mdmini\MArchiveBatchTool\bin\Debug\netcoreapp2.2>dotnet MArchiveBatchTool.dll fullunpack --keep filepath "C:\mdmini\MArchiveBatchTool\alldata.bin" zlib 25G/xpvTbsb+6 64
Specify --help for a list of available options and commands.
Unrecognized command or argument '64'
C:\mdmini\MArchiveBatchTool\bin\Debug\netcoreapp2.2>
app.Command("archive", (config) =>
{
config.FullName = "Manipulate archive";
config.Description = "Create/extract alldata.bin files";
config.Command("extract", (innerConfig) =>
{
innerConfig.FullName = "Extract archive";
innerConfig.Description = "Extracts archive to folder";
var pathArg = innerConfig.Argument("path", "The path of the archive to extract (.bin, .psb, .psb.m)").IsRequired();
pathArg.Accepts().ExistingFile();
var outputArg = innerConfig.Argument("outputPath", "The path to extract files to");
var codecOpt = innerConfig.Option("--codec", "The codec used for packing/unpacking", CommandOptionType.SingleValue);
codecOpt.Accepts().Values(AVAILABLE_CODECS);
var keyOpt = innerConfig.Option("--seed", "The static seed", CommandOptionType.SingleValue);
var keyLengthOpt = innerConfig.Option<int>("--keyLength", "The key cycle length", CommandOptionType.SingleValue);
innerConfig.OnExecute(() =>
{
string archPath = pathArg.Value;
string extractPath = outputArg.Value ?? archPath + "_extracted";
MArchivePacker packer = null;
if (codecOpt.HasValue() && keyOpt.HasValue() && keyLengthOpt.HasValue())
packer = new MArchivePacker(GetCodec(codecOpt.Value()), keyOpt.Value(), keyLengthOpt.ParsedValue);
AllDataPacker.UnpackFiles(archPath, extractPath, packer);
});
innerConfig.HelpOption();
});
бокс.нет - это что такое?