Utility for barcoderdev/unitypackage_godot, submit issues there.

Overview

unitypackage_util

Requires barcoderdev/FBX2glTF to extract FBX in GLTF(glb) format. Place the binary in the same folder, or in PATH.


Usage: unitypackage_util <PACKAGE> <COMMAND>

Commands:
  debug    Find source of dump crashes
  info     Show package info
  name     Display path from guid/pathname file
  dump     Dump package contents
  list     List package contents
  extract  Extract package file
  xx-hash  Calculate xxhash 64 of string
  help     Print this message or the help of the given subcommand(s)

Arguments:
  <PACKAGE>  Unity Package (Tar, TarGz, or Folder)

Options:
  -h, --help     Print help
  -V, --version  Print version

Extract package file

Usage: unitypackage_util <PACKAGE> extract [OPTIONS] <GUID>

Arguments:
  <GUID>  

Options:
  -o, --output-file <OUTPUT_FILE>  Extract to file
  -m, --meta                       Extract /asset.meta file instead of /asset
  -j, --json                       Process yaml to json
  -p, --pretty                     Pretty Print JSON
  -f, --fbx2gltf                   Convert FBX to GLTF
  -b, --base64                     Base64 encode output
  -h, --help                       Print help
You might also like...
Kit-kat clock utility rewritten in Rust using minifb
Kit-kat clock utility rewritten in Rust using minifb

kitkat clock in Rust This is the plan9 cat clock utility rewritten in rust with minifb crate. $ kitkat --help Usage: kitkat [--hook|--crazy|--offset O

A small utility that moves the start menu to the top-center of the screen in Windows 11.
A small utility that moves the start menu to the top-center of the screen in Windows 11.

TopCenterStart11 A small utility that moves the start menu to the top-center of the screen in Windows 11. As of right now, this application can only p

Gecko's trusty package manager and command-line utility.
Gecko's trusty package manager and command-line utility.

Geckos have super-powers, ya'know? Grip is Gecko's trusty package manager and command-line utility. USAGE: grip [FLAGS] [file] [SUBCOMMAND] FLAGS

A simplified recreation of the command-line utility grep written in Rust.

smolgrep A simplified recreation of the command-line utility grep written in Rust. Download and run Download Rust On Mac/Linux Open a terminal and ent

A utility for managing cargo dependencies from the command line.

cargo edit This tool extends Cargo to allow you to add, remove, and upgrade dependencies by modifying your Cargo.toml file from the command line. Curr

A command line utility to easily make dank memes
A command line utility to easily make dank memes

meme-cli A command line utility to easily make dank memes. Yes, really. Installation cargo install meme-cli Alternatively, install from source using g

Utility library for some Lenovo IdeaPad laptops. Supports IdeaPad Intel and AMD Models (15IIL05 and 15ARE05)

ideapad A Rust utility library for some Lenovo IdeaPad specific functionality. A Fair Warning This crate calls raw ACPI methods, which on the best cas

🧠 A command-line utility for switching git branches more easily. Switch branches interactively or use a fuzzy search to find that long-forgotten branch name.
🧠 A command-line utility for switching git branches more easily. Switch branches interactively or use a fuzzy search to find that long-forgotten branch name.

git-smart-checkout A git command extension for switching git branches more efficiently. About Interactively switch branches or fuzzy search for that f

Command line utility to remove duplicates from the given input.

Command line utility to remove duplicates from the given input. Note that huniq does not sort the input, it just removes duplicates.

Comments
  • fix: always trim file path

    fix: always trim file path

    hi, I didnt really debug the root cause, but the problem I have is that paths are suffixed with \n00 and they are trimmed only inside the block if dir , which is not the case here for some reason.

    I bet this the code can be done better, I'm not Rust pro.

    example content from the package where I face the issue:

    [
    ["2e51062debed8a3499f79935cdd1711b","Assets/PolygonNatureBiomes\n00"],
    ["b54a8c94a46b24c499a2ee8c65c5581e","Assets/PolygonNatureBiomes/PNB_Core/Materials/Circle_Transparent_Mat_01.mat\n00"]
    ]
    
    opened by yedpodtrzitko 2
Owner
Barcoder
Barcoder
🐎 Just a simple cross-platform neofetch for all the bronies out there.

⚠️ (WIP) This project is not ready for any serious use right now. A cross-platform command-line interface (CLI) tool written in Rust to display system

Jakub 4 Dec 15, 2022
Assure that your tests are there, and well written.

cargo-is-tested [ ???? ] El libro contiene instrucciones e información detallada en Español. cargo-is-tested is a way to check which of your items are

Alex ✨ Cosmic Princess ✨ 15 Jan 8, 2023
Crash recovery for Darktide. There's heresy to be smote and no time to waste.

Darktide Rebooter ?? ↪️ ?? Automatically boot the game up again (and bypass the launcher) immediately after a crash. There's heresy to be smote and no

Ron Au 3 Apr 12, 2023
A CLI utility to secretly copy secrets to your clipboard. 🦀

seclip ?? ?? A CLI utility to secretly copy secrets to your clipboard. ?? Table of Contents Features Installation Usage Build From Source Contribution

Mufeed VH 34 Dec 27, 2022
mdBook is a utility to create modern online books from Markdown files.

Create book from markdown files. Like Gitbook but implemented in Rust

The Rust Programming Language 11.6k Jan 4, 2023
A CLI utility installed as "ansi" to quickly get ANSI escape sequences. Supports the most basic ones, like colors and styles as bold or italic.

'ansi' - a CLI utility to quickly get ANSI escape codes This Rust project called ansi-escape-sequences-cli provides an executable called ansi which ca

Philipp Schuster 5 Jul 28, 2022
fixred is a command line utility to fix outdated links in files with redirect URLs.

fixred fixred is a command line utility to fix outdated links in files with redirect URLs. Installation fixred is installed via cargo package manager.

Linda_pp 35 Aug 6, 2022
Rust command line utility to quickly display useful secrets in a Kubernetes namespace

kube-secrets This is a command line utility for quickly looking at secrets in a Kubernetes namespace that are typically looked at by humans. It specif

Frank Wiles 8 Feb 10, 2022
A command-line utility that creates project structure.

petridish A command-line utility that creates project structure. If you have heard of the cookiecutter project, petridish is a rust implementation of

null 11 Dec 29, 2022
Command line utility for controlling LIFX smart lights

lifxc is a command line utility for controlling LIFX smart lights. Currently, communication over the LIFX LAN protocol is supported.

Harrison Rigg 1 Nov 17, 2021