Skip to content
/ flpak Public

A utility to work with some types of archive: bsa, ba2, rpa, vpk, pak, zip.

License

Notifications You must be signed in to change notification settings

lxndr/flpak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archive utility

A utility to work with some random archive formats.

Supported formats:

Format Description Extension Extracting Creating Params Comment
bsa-mw Bethesda Archive (Morrowind) .bsa
bsa Bethesda Archive (Oblivion, Fallout 3, New Vegas, Skyrim 2011, Skyrim Special Edition, Skyrim VR) .bsa

version=103/104/105

compress=true/false

xbox=true/false

embed-names=true/false

ba2 Bethesda Archive 2 (Fallout 4, Fallout 4 VR, Fallout 76) .ba2 Only general archive supported
pak id Software PAK .pak
rpa Ren'Py Archive .rpa
vpk Valve Pak .vpk
zip ZIP .zip

Usage

flpak --help

List supported formats

flpak list-formats

List files

flpak list ./archive.ext

Check archive correctness

flpak check ./archive.ext

Extract archive into directory

flpak extract ./archive.ext ./out

Creating an archive

flpak create --format pak --add-dir ./input_dir --exclude unneeded_file/in_resulting_archive.txt ./archive.pak

flpak create --format bsa --options version=104,compress=true --add-dir ./input_dir --exclude unneeded_file/in_resulting_archive.txt ./archive.bsa

Development

Build

cargo build --release
strip target/release/flpak

Code coverage

cargo tarpaulin --out Html