New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do I view zs file in tears of the kingdom #591
Comments
|
I think there was some kind of buffer size issue from what I understand. It must be some new form of Zstandard compression right? tried to open a bfarc.zs file I tried using a QuickBMS zs script |
|
For the ones that won't open, you need to open ZsDic.zs from the Pack folder, then use the *.dic files with zstd from console to unpack them |
How would you do that with Font/Font.Nin_NX_NVN.bfarc.zs |
I was able to unpack stuff externally with zstd, thanks to this. But i have abolutely no Idea how to make zstd in Toolbox use these dictionarys. Any reccomendations? |
|
For anyone needing a step-by-step guide -
Using these dictionaries with
|
|
Its not the same format but does anyone know how to decompress .mc files? |
Thank you for posting this. Hopefully Switch Toolbox can add support for Zstd with custom dictionary in the future :D |
|
How would I properly re-compress the file for use in ToTK? |
|
You can use https://github.com/TotkMods/Totk.ZstdTool for compression and decompression |
|
None of these tools can unpack the Toolbox ZSTD Tool zstd Kinda stuck here now.
Update:
|


Hi, i want to view some byml.zs file, but the toolbox cannot decompress it.
ZstdNet.ZstdException: Dictionary mismatch
at ZstdNet.ReturnValueExtensions.ThrowException(UIntPtr returnValue, String message)
at ZstdNet.ReturnValueExtensions.EnsureZstdSuccess(UIntPtr returnValue)
at ZstdNet.Decompressor.Unwrap(ArraySegment
1 src, Byte[] dst, Int32 offset, Boolean bufferSizePrecheck) at ZstdNet.Decompressor.Unwrap(ArraySegment1 src, Int32 maxDecompressedSize)at ZstdNet.Decompressor.Unwrap(Byte[] src, Int32 maxDecompressedSize)
at Toolbox.Library.Zstb.SDecompress(Byte[] b)
at Toolbox.Library.Zstb.Decompress(Stream stream)
at Toolbox.Library.IO.CompressionMenus.SaveFileForCompression(Boolean Compress, String[] fileNames, ICompressionFormat compressionFormat)
The text was updated successfully, but these errors were encountered: