v1.3.4 Improve Archive Command and update UnityFileSystemAPI#62
Open
SkowronskiAndrew wants to merge 8 commits intomainfrom
Open
v1.3.4 Improve Archive Command and update UnityFileSystemAPI#62SkowronskiAndrew wants to merge 8 commits intomainfrom
SkowronskiAndrew wants to merge 8 commits intomainfrom
Conversation
Add P/Invoke declarations and public wrappers for 7 missing native API functions: GetDllVersion, GetUnityVersion, GetSerializedFileVersion, GetTypeTreeCount, GetTypeTreeInfo, GetTypeTreeByIndex, and RemoveTypeTreeSource. Also adds TypeTreeCategory enum and TypeTreeInfo struct. Fixes TypeTreeInfo name ambiguity in SerializedFileCommands.
Move all WebBundle-specific code (detection, parsing, extraction, listing) out of Archive.cs into a dedicated WebBundleHelper class. Archive now delegates to WebBundleHelper for web bundle operations.
Add -f/--format option to "archive list" supporting Text (default) and Json output, matching the existing serialized-file commands. Includes tests for both AssetBundle and WebBundle archive types in both formats, plus an extract test with file size verification.
Parse and print the header for Unity Archive files. This is similar to the header command already implemented for serialized files.
Useful to extract just a single file or group of files out of an archive
Summarize the key metrics about the archive Add an example compressed player file (used to test info and useful for manual testing)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Example of new
infocommand with an AssetBundle:Example output from a small compressed player build
And JSON versions also available for header, list and blocks