|
1 | 1 | # Vark - Simple LZAV Archive |
2 | 2 |
|
3 | 3 | [](https://github.com/hypernewbie/vark/actions/workflows/build.yml) |
4 | | -[](https://github.com/hypernewbie/vark/releases/download/v1.03/vark-windows-v1.03.zip) [](https://github.com/hypernewbie/vark/releases/download/v1.03/vark-linux-v1.03.zip) [](https://github.com/hypernewbie/vark/releases/download/v1.03/vark-macos-v1.03.zip) |
| 4 | +[](https://github.com/hypernewbie/vark/releases/download/v1.04/vark-windows-v1.04.zip) [](https://github.com/hypernewbie/vark/releases/download/v1.04/vark-linux-v1.04.zip) [](https://github.com/hypernewbie/vark/releases/download/v1.04/vark-macos-v1.04.zip) |
5 | 5 |
|
6 | 6 | ### Load stuff at DDR2 RAM speed! |
7 | 7 |
|
@@ -84,12 +84,31 @@ VarkCloseArchive( vark ); |
84 | 84 |
|
85 | 85 | ### CLI |
86 | 86 | ``` |
87 | | -Usage: |
88 | | - vark -c <archive> <files...> Create archive |
89 | | - vark -a <archive> <files...> Append to archive |
90 | | - vark -x <archive> Extract archive |
91 | | - vark -l <archive> List archive contents |
92 | | - vark <archive> Smart mode (Extract if .vark, Create/Append otherwise) |
| 87 | +Usage: vark [--help] [--version] [-c] [-cs] [-a] [-as] [-x] [-l] [-v] archive [files]... |
| 88 | + |
| 89 | +A minimal LZAV archive tool for fast compression and decompression. Supports sharded compression for efficient random access to large files. Use without flags for smart mode: extracts existing archives or creates new ones automatically. |
| 90 | + |
| 91 | +Positional arguments: |
| 92 | + archive archive file path |
| 93 | + files input files or directories [nargs: 0 or more] |
| 94 | + |
| 95 | +Optional arguments: |
| 96 | + -h, --help shows help message and exits |
| 97 | + -v, --version prints version information and exits |
| 98 | + -c Create archive |
| 99 | + -cs Create archive (sharded compression) |
| 100 | + -a Append to archive |
| 101 | + -as Append to archive (sharded) |
| 102 | + -x Extract archive |
| 103 | + -l List archive contents |
| 104 | + -v Verify archive integrity |
| 105 | + |
| 106 | +Examples: |
| 107 | + vark data.vark Extract archive (smart mode) |
| 108 | + vark -c game.vark assets/ Create archive from directory |
| 109 | + vark -cs textures.vark images/ Create with sharded compression |
| 110 | + vark -a game.vark newfile.dat Append file to existing archive |
| 111 | + vark -l game.vark List archive contents |
93 | 112 | ``` |
94 | 113 | ## Build |
95 | 114 |
|
|
0 commit comments