Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v11 unpack integration test #15

Merged
merged 25 commits into from
Jan 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
e2a0a03
Added version 9 and encryption support
Xenira Aug 25, 2021
e5ac876
Applied suggestions from review
Xenira Oct 13, 2021
bc11d4b
Added base implementation for v11 pak file reading
Xenira Jan 15, 2022
80a6427
Updated examples
Xenira Jan 15, 2022
3b5d964
Merge branch 'main' into version-11-support
Xenira Jan 15, 2022
eff7d94
Restructured docu for maintainability
Xenira Jan 15, 2022
960ae03
Combined files and added supported versions
Xenira Jan 15, 2022
d59afac
Removed paragraph about zeroed out footer
Xenira Jan 15, 2022
3427da8
Updated footer definition
Xenira Jan 16, 2022
85912a1
Updated index definition
Xenira Jan 16, 2022
1a51781
Added full directory index and encoded record docu
Xenira Jan 16, 2022
1bf502a
Added explanation to fdi
Xenira Jan 16, 2022
a01cb28
Updated docu version
Xenira Jan 16, 2022
e8c4fd6
Fixed decryption alignment
Xenira Jan 20, 2022
ab97fb2
Made record sha1 optional
Xenira Jan 20, 2022
bad9463
Fixed compression methods size and version detection
Xenira Jan 20, 2022
5d5e3ba
Added logger
Xenira Jan 20, 2022
7af53b0
Added support for path hash index
Xenira Jan 20, 2022
ff2f296
Updated examples submodule
Xenira Jan 20, 2022
bac27a1
Added warning to hash index and trace to directory index
Xenira Jan 20, 2022
9525184
Changed release.sh to use asciidoctor
Xenira Jan 20, 2022
c295a25
Converted project to lib with bin
Xenira Jan 23, 2022
c0653b1
Added v11 unpack tests
Xenira Jan 23, 2022
9c5d672
Created rust action
Xenira Jan 23, 2022
54b9bbd
Excluded .github and git config files
Xenira Jan 23, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Rust

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,6 @@
/release
!.keep
!.gitignore
!.github
!.gitmodules
!.gitattributes
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "pak-examples"]
path = pak-examples
url = https://github.com/Xenira/ue4-pak-examples.git
145 changes: 141 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
[package]
name = "u4pak"
version = "1.3.0"
authors = ["Mathias Panzenböck <[email protected]>"]
authors = ["Mathias Panzenböck <[email protected]>", "L. Sprengel <[email protected]>"]
edition = "2018"
license-file = "LICENSE.txt"

[[bin]]
name="u4pak"
path="src/bin/u4pak/main.rs"

[lib]
name="u4pak"
path="src/lib.rs"

[dependencies]
clap = "2.33.3"
chrono = "0.4"
Expand All @@ -16,6 +24,10 @@ num_cpus = "1.0"
# OpenSSL's SHA-1 implementation is much faster than the one in rust-crypto
openssl = { version = "0.10", features = ["vendored"] }
terminal_size = "0.1.16"
aes = "0.7.4"
base64 = "0.13.0"
log = "0.4"
env_logger = "0.9.0"

[target.'cfg(target_os = "linux")'.dependencies]
# for sendfile() and fuse support
Expand Down
Loading