https://github.com/rustunit/upextract
UnityPackage extract asset tool
https://github.com/rustunit/upextract
Last synced: 7 months ago
JSON representation
UnityPackage extract asset tool
- Host: GitHub
- URL: https://github.com/rustunit/upextract
- Owner: rustunit
- License: mit
- Created: 2024-12-24T12:49:37.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-12-24T18:17:27.000Z (about 1 year ago)
- Last Synced: 2025-06-22T23:32:32.001Z (8 months ago)
- Language: Rust
- Homepage: https://crates.io/crates/upextract
- Size: 39.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-MIT
Awesome Lists containing this project
README
# upextract
[![crates.io][sh_crates]][lk_crates]
[![ci][sh_ci]][lk_ci]
[![discord][sh_discord]][lk_discord]
[sh_crates]: https://img.shields.io/crates/v/upextract.svg
[lk_crates]: https://crates.io/crates/upextract
[sh_ci]: https://github.com/rustunit/upextract/workflows/ci/badge.svg
[lk_ci]: https://github.com/rustunit/upextract/actions
[sh_discord]: https://img.shields.io/discord/1176858176897953872?label=discord&color=5561E6
[lk_discord]: https://discord.gg/rQNeEnMhus
UnityPackage Asset extract tool.
[](https://asciinema.org/a/696019?autoplay=1)
## Requirements
* `rust` installed (cargo specfically)
* `tar` installed on `PATH`
## Installation
```sh
cargo install upextract
```
## Usage
```sh
UnityPackage Asset extract tool
Usage: upextract
Commands:
extract Extracts contents of a unitypackage
list Lists unitypackages in the Unity Asset Store folder
inspect List contents of a unitypackage
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
```
### upextract extract
```sh
Usage: upextract extract [OPTIONS] --bundle
Options:
-b, --bundle unitybundle
-o, --out Output folder [default: out]
-f, --flatten Flatten folder structure
--tmp Tmp folder to extract to. (defaults to use system tmp)
-i, --include What asset files (extensions) to extract. Defaults to all
-h, --help Print help
```
### upextract list
```sh
Usage: upextract list [OPTIONS]
Options:
--assets-folder Unity Asset Store folder
-h, --help Print help
```
### upextract inspect
```sh
List contents of a unitypackage
Usage: upextract inspect [OPTIONS] --bundle
Options:
-b, --bundle unitybundle
--tmp Tmp folder to extract to. (defaults to use system tmp)
-h, --help Print help
```
## Example
```sh
upextract extract -b demoasset/test.unitypackage
# or
upextract extract -b demoasset/test.unitypackage -o output
```