bevy_archive_reader 0.1.0

Reading archives as source of assets in Bevy
Documentation

Bevy Archive Reader

Crates.io Documentation MIT/Apache 2.0

Simple crate for reading Bevy assets from archives. Supports adding password protection, obfuscation and compression. Support for generating archives is included behind the bundler feature.

Using in game

    app.add_plugins(
        bevy_archive_reader::ArchivePlugin::default()
            .with_path_relative("file.zip")
            .with_password("SomeSecretPassword"),
    );

Generating Archives

Generating archives should be done outside of the game (or at least outside of the shipped game), for example in a build script.

        bevy_archive_reader::bundle_assets(
            "imported_assets/Default", // or "assets", depends on the use case
            ArchiveSaveSettings::default()
                .with_password("SomeSecretPassword")
                .with_compression(bevy_archive_reader::ArchiveCompression::Xz)
                .with_path_relative("file.zip"),

License

bevy_archive_reader is dual-licensed under MIT and Apache 2.0 at your option.

Compatibility

bevy bevy_archive_reader
0.17 0.1