I did everything exactly according to the instructions, but at startup the command prompt appears for a millisecond and closes. I tried reinstalling both the program itself and NET, nothing helped.
I'm getting this error when trying to import: PS E:\wolvenkitconsole2> .\WolvenKit.CLI.exe import -k -p "E:\archives\Judy" [ 0: Information ] - Found 1 raw file(s) to rebuild [ 0: Warning ] - Unused buffer found! Unhandled exception: System.NotSupportedException: Rebuild: Adding/Removing buffers is not supported at WolvenKit.Modkit.RED4.ModTools.<Rebuild>g__AppendBuffersToFile|28_0(Stream fileStream, <>c__DisplayClass28_0&) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Rebuild.cs:line 110 at WolvenKit.Modkit.RED4.ModTools.Rebuild(Stream redfileStream, IEnumerable`1 buffers) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Rebuild.cs:line 71 at WolvenKit.Modkit.RED4.ModTools.RebuildFolder(DirectoryInfo inDir, DirectoryInfo outDir) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Rebuild.cs:line 283 at WolvenKit.Modkit.RED4.ModTools.ImportFolder(DirectoryInfo inDir, GlobalImportArgs args, DirectoryInfo outDir) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Import.cs:line 254 at CP77Tools.Tasks.ConsoleFunctions.ImportTaskInner(FileSystemInfo path, DirectoryInfo outDirectory, Boolean keep) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Tasks\ImportTask.cs:line 110 at CP77Tools.Tasks.ConsoleFunctions.ImportTask(FileSystemInfo[] path, DirectoryInfo outDir, Boolean keep) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Tasks\ImportTask.cs:line 32 at System.CommandLine.NamingConventionBinder.CommandHandler.GetExitCodeAsync(Object returnValue, InvocationContext context) at System.CommandLine.NamingConventionBinder.ModelBindingCommandHandler.InvokeAsync(InvocationContext context) at System.CommandLine.NamingConventionBinder.ModelBindingCommandHandler.Invoke(InvocationContext context) at CP77Tools.Commands.CommandBase.ActionBase(InvocationContext context) in D:\a\WolvenKit\WolvenKit\WolvenKit.CLI\Commands\CommandBase.cs:line 26 at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context) at System.CommandLine.Invocation.AnonymousCommandHandler.SyncUsingAsync(InvocationContext context) at System.CommandLine.Invocation.AnonymousCommandHandler.Invoke(InvocationContext context) at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Hosting.HostingExtensions.<>c__DisplayClass1_0.<<UseHost>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext() --- End of stack trace from previous location --- at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext() Any ideas how to work around it?
unbundle Target an archive to extract files from. Usage: WolvenKit.CLI [options] unbundle Options: -p, --path <path> Input path to .archive. -o, --outpath <outpath> Output directory. -w, --pattern <pattern> Use optional search pattern (e.g. *.ink), if both regex and pattern is defined, pattern will be prioritized. -r, --regex <regex> Use optional regex pattern. --hash <hash> Extract single file with a given hash. If a path is supplied, all hashes will be extracted. --DEBUG_decompress Decompresses all buffers in the unbundled files. -?, -h, --help Show help and usage information C:\Users\name\Documents\CD Projekt Red\Cyberpunk 2077\Wovenkit\WolvenKit CLI>wolvenkit.cli -p D:\Steam Games\steamapps\common\Cyberpunk 2077\archive\pc\mod\NextGenCrowd-Full.archive unbundle '-p' was not matched. Did you mean '-p'? Unrecognized command or argument '-p' Unrecognized command or argument 'D:\Steam' Unrecognized command or argument 'Games\steamapps\common\Cyberpunk' Unrecognized command or argument '2077\archive\pc\mod\NextGenCrowd-Full.archive' unbundle Target an archive to extract files from. Usage: WolvenKit.CLI [options] unbundle Options: -p, --path <path> Input path to .archive. -o, --outpath <outpath> Output directory. -w, --pattern <pattern> Use optional search pattern (e.g. *.ink), if both regex and pattern is defined, pattern will be prioritized. -r, --regex <regex> Use optional regex pattern. --hash <hash> Extract single file with a given hash. If a path is supplied, all hashes will be extracted. --DEBUG_decompress Decompresses all buffers in the unbundled files. -?, -h, --help Show help and usage information C:\Users\name\Documents\CD Projekt Red\Cyberpunk 2077\Wovenkit\WolvenKit CLI>
how to use the p it keeps saying im doing it wrong
There's probably a typo in your path. I'm guessing that Wovenkit folder should be called Wolvenkit. Also, cmd prompts don't like working with spaces in file names, so the paths should be set off in quotation marks.
I'd suggest entering the following commands: cd "C:\Users\name\Documents\CD Projekt Red\Cyberpunk 2077\Wovenkit\WolvenKit CLI" wolvenkit.cli.exe uncook -p "D:\Steam Games\steamapps\common\Cyberpunk 2077\archive\pc\mod\NextGenCrowd-Full.archive"
The above command should dump the full archive contents into a folder in your mod directory called NextGenCrowd-Full. You can then move it somewhere and work with it.
Or, you can specify an output path as part of the uncook process, say, wolvenkit.cli.exe uncook -p "D:\Steam Games\steamapps\common\Cyberpunk 2077\archive\pc\mod\NextGenCrowd-Full.archive" -output=D:\NextGenCrowd-Full
CMD has autocomplete like powershell or other cli's. Very useful for getting the path correct and avoid typo. Just hit Tab when starting to write it will autocomplete if the folder or file exists. Example, if i write "C:\Users\a" and then hit tab it would complete the name if a user starting with "a" would exist. If more than one option is available just keep hitting Tab until you got the right one.
And then the order is wrong in the explanation. Heres is an example to unbundle with output path: C:\Users\ME\Desktop\_cpmodding\WK\ <- that is the path where my wolvenkit.cli.exe is an where to start from. Note that i try to keep path names simple. From there following command: wolvenkit.cli.exe unbundle -p "C:\Users\ME\Desktop\_cpmodding\_source\examplemod.archive" -o "C:\Users\ME\Desktop\_cpmodding\_output"
I can't seem to get the path option to work, no matter what folder I use. C:\Users\Nes\Downloads\WolvenKit.Console-8-1-6-5-1656999530>WolvenKit.CLI.exe -p "C:\Users\Nes\Downloads\mod\MM_Refit_ForcedSmallBreastBody.archive" archive '-p' was not matched. Did you mean '-p'? Unrecognized command or argument '-p' Unrecognized command or argument 'C:\Users\Nes\Downloads\mod\MM_Refit_ForcedSmallBreastBody.archive' archive Target an archive to display information of it. Usage: WolvenKit.CLI [options] archive Options: -p, --path <path> Input archives path. Can be a file or a folder or a list of files/folders -w, --pattern <pattern> Use optional search pattern (e.g. *.ink), if both regex and pattern is defined, pattern will be prioritized. -r, --regex <regex> Use optional regex pattern. -d, --diff Dump archive json for diff -l, --list List all files in archive -?, -h, --help Show help and usage information
355 comments
This is a commandline tool, you need to run it from the windows command line.
- Fixes
- CP77 version 2.2 support
我该怎么办?
[ 0: Warning ] - Failed to uncook base\gameplay\gui\world\adverts\thrud\thrud_atlas.xbm.
[ 0: Warning ] - Failed to uncook base\gameplay\gui\world\adverts\thrud\thrud_atlas_1080p.xbm.
[ 0: Warning ] - Failed to uncook base\gameplay\gui\world\adverts\thrud\thrud_atlas_720p.xbm.
after downgrade to 8.12.0 scripts are working
"Depot path is not set: Choose a Depot location within Settings for generating materials."
how do i fix this
PS E:\wolvenkitconsole2> .\WolvenKit.CLI.exe import -k -p "E:\archives\Judy"
Any ideas how to work around it?[ 0: Information ] - Found 1 raw file(s) to rebuild
[ 0: Warning ] - Unused buffer found!
Unhandled exception: System.NotSupportedException: Rebuild: Adding/Removing buffers is not supported
at WolvenKit.Modkit.RED4.ModTools.<Rebuild>g__AppendBuffersToFile|28_0(Stream fileStream, <>c__DisplayClass28_0&) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Rebuild.cs:line 110
at WolvenKit.Modkit.RED4.ModTools.Rebuild(Stream redfileStream, IEnumerable`1 buffers) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Rebuild.cs:line 71
at WolvenKit.Modkit.RED4.ModTools.RebuildFolder(DirectoryInfo inDir, DirectoryInfo outDir) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Rebuild.cs:line 283
at WolvenKit.Modkit.RED4.ModTools.ImportFolder(DirectoryInfo inDir, GlobalImportArgs args, DirectoryInfo outDir) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Import.cs:line 254
at CP77Tools.Tasks.ConsoleFunctions.ImportTaskInner(FileSystemInfo path, DirectoryInfo outDirectory, Boolean keep) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Tasks\ImportTask.cs:line 110
at CP77Tools.Tasks.ConsoleFunctions.ImportTask(FileSystemInfo[] path, DirectoryInfo outDir, Boolean keep) in D:\a\WolvenKit\WolvenKit\WolvenKit.Modkit\RED4\Tasks\ImportTask.cs:line 32
at System.CommandLine.NamingConventionBinder.CommandHandler.GetExitCodeAsync(Object returnValue, InvocationContext context)
at System.CommandLine.NamingConventionBinder.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.NamingConventionBinder.ModelBindingCommandHandler.Invoke(InvocationContext context)
at CP77Tools.Commands.CommandBase.ActionBase(InvocationContext context) in D:\a\WolvenKit\WolvenKit\WolvenKit.CLI\Commands\CommandBase.cs:line 26
at System.CommandLine.Invocation.AnonymousCommandHandler.InvokeAsync(InvocationContext context)
at System.CommandLine.Invocation.AnonymousCommandHandler.SyncUsingAsync(InvocationContext context)
at System.CommandLine.Invocation.AnonymousCommandHandler.Invoke(InvocationContext context)
at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass17_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Hosting.HostingExtensions.<>c__DisplayClass1_0.<<UseHost>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass12_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseVersionOption>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass19_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__18_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__5_0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass8_0.<<UseExceptionHandler>b__0>d.MoveNext()
Target an archive to extract files from.
Usage:
WolvenKit.CLI [options] unbundle
Options:
-p, --path <path> Input path to .archive.
-o, --outpath <outpath> Output directory.
-w, --pattern <pattern> Use optional search pattern (e.g. *.ink), if both regex and pattern is defined, pattern will be
prioritized.
-r, --regex <regex> Use optional regex pattern.
--hash <hash> Extract single file with a given hash. If a path is supplied, all hashes will be extracted.
--DEBUG_decompress Decompresses all buffers in the unbundled files.
-?, -h, --help Show help and usage information
C:\Users\name\Documents\CD Projekt Red\Cyberpunk 2077\Wovenkit\WolvenKit CLI>wolvenkit.cli -p D:\Steam Games\steamapps\common\Cyberpunk 2077\archive\pc\mod\NextGenCrowd-Full.archive unbundle
'-p' was not matched. Did you mean '-p'?
Unrecognized command or argument '-p'
Unrecognized command or argument 'D:\Steam'
Unrecognized command or argument 'Games\steamapps\common\Cyberpunk'
Unrecognized command or argument '2077\archive\pc\mod\NextGenCrowd-Full.archive'
unbundle
Target an archive to extract files from.
Usage:
WolvenKit.CLI [options] unbundle
Options:
-p, --path <path> Input path to .archive.
-o, --outpath <outpath> Output directory.
-w, --pattern <pattern> Use optional search pattern (e.g. *.ink), if both regex and pattern is defined, pattern will be
prioritized.
-r, --regex <regex> Use optional regex pattern.
--hash <hash> Extract single file with a given hash. If a path is supplied, all hashes will be extracted.
--DEBUG_decompress Decompresses all buffers in the unbundled files.
-?, -h, --help Show help and usage information
C:\Users\name\Documents\CD Projekt Red\Cyberpunk 2077\Wovenkit\WolvenKit CLI>
how to use the p it keeps saying im doing it wrong
I'd suggest entering the following commands:
cd "C:\Users\name\Documents\CD Projekt Red\Cyberpunk 2077\Wovenkit\WolvenKit CLI"
wolvenkit.cli.exe uncook -p "D:\Steam Games\steamapps\common\Cyberpunk 2077\archive\pc\mod\NextGenCrowd-Full.archive"
The above command should dump the full archive contents into a folder in your mod directory called NextGenCrowd-Full. You can then move it somewhere and work with it.
Or, you can specify an output path as part of the uncook process, say,
wolvenkit.cli.exe uncook -p "D:\Steam Games\steamapps\common\Cyberpunk 2077\archive\pc\mod\NextGenCrowd-Full.archive" -output=D:\NextGenCrowd-Full
Example, if i write "C:\Users\a" and then hit tab it would complete the name if a user starting with "a" would exist. If more than one option is available just keep hitting Tab until you got the right one.
And then the order is wrong in the explanation. Heres is an example to unbundle with output path:
C:\Users\ME\Desktop\_cpmodding\WK\ <- that is the path where my wolvenkit.cli.exe is an where to start from. Note that i try to keep path names simple. From there following command:
wolvenkit.cli.exe unbundle -p "C:\Users\ME\Desktop\_cpmodding\_source\examplemod.archive" -o "C:\Users\ME\Desktop\_cpmodding\_output"
C:\Users\Nes\Downloads\WolvenKit.Console-8-1-6-5-1656999530>WolvenKit.CLI.exe -p "C:\Users\Nes\Downloads\mod\MM_Refit_ForcedSmallBreastBody.archive" archive
'-p' was not matched. Did you mean '-p'?
Unrecognized command or argument '-p'
Unrecognized command or argument 'C:\Users\Nes\Downloads\mod\MM_Refit_ForcedSmallBreastBody.archive'
archive
Target an archive to display information of it.
Usage:
WolvenKit.CLI [options] archive
Options:
-p, --path <path> Input archives path. Can be a file or a folder or a list of files/folders
-w, --pattern <pattern> Use optional search pattern (e.g. *.ink), if both regex and pattern is defined, pattern will be
prioritized.
-r, --regex <regex> Use optional regex pattern.
-d, --diff Dump archive json for diff
-l, --list List all files in archive
-?, -h, --help Show help and usage information
WolvenKit.CLI [options] archive
Is not recognized as a command.WolvenKit.CLI archive [options]
Is properly recognized.