Crates.io | bevy-histrion-packer |
lib.rs | bevy-histrion-packer |
version | |
source | src |
created_at | 2023-12-28 11:36:47.965795+00 |
updated_at | 2025-03-19 20:30:28.718827+00 |
description | A Bevy Plugin to pack all your game assets into a single common PAK like file format. |
homepage | |
repository | https://github.com/ldubos/bevy-histrion-packer |
max_upload_size | |
id | 1082360 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
[!WARNING] This crate is in early development.
Use it with caution as the format and API is not yet stabilized.
+--------------------------------+ 0x0000
| Header |
+--------------------------------+
| File Content |
+--------------------------------+ <entries_offset>
| Entries Tables |
+--------------------------------+
Header
====================================================
Offset Size Description
0x0000 4 Magic number (HPAK signature)
0x0004 4 Version number (u32)
0x0008 1 Metadata compression method
0x0009 8 Entries offset (u64)
Directory Entry
====================================================
Offset Size Description
0x0000 8 Hash of the directory path
0x0008 8 Number of paths in the directory
0x0010 var Array of paths in the directory
File Entry
====================================================
Offset Size Description
0x0000 8 Path hash (u64)
0x0008 1 Compression method
0x0009 8 Metadata offset (u64)
0x0011 8 Metadata size (u64)
0x0019 8 Data size (u64)
Entries Tables
====================================================
Offset Size Description
0x0000 8 Number of directory entries (u64)
0x0008 var Array of directory entries
0x???? 8 Number of file entries (u64)
0x???? var Array of file entries
feature | description |
---|---|
deflate | Enables the deflate compression algorithm. |
writer | Enables the ability to generate a HPAK file with HpakWriter . |
bevy | bevy-histrion-packer |
---|---|
0.16.0-rc.1 |
0.6.0-rc.1 |
0.15 |
0.5 |
0.14 |
0.4 |
0.13 |
0.2-0.3 |
0.12 |
0.1 |
Dual-licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.