You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `type-value` is an unsigned 32 bits value that you can use to identify the file that you added. In most situations you would define an enumerator that defines the values. You may add multiple `type-value` numbers if you would like to. This could be easy if you don't want to save the same binary multiple times. This approach gives you the freedom to eventually distribute another binary for one of the added type values in a later file.
31
33
32
34
So let's do an example. Let's say that I wanted to create an archive that contains a bootloader and a firmware. Together they form version 1.0. I would execute the following commands to make this happen:
33
35
34
-
> bin-archiver.exe "update.efa" -c "1.0"
36
+
> bin-archiver.exe "update.efa" -o -c "1.0"
35
37
36
38
> bin-archiver.exe "update.efa" -a "bootloader.bin" "1.0" 1
37
39
@@ -54,7 +56,7 @@ Appending a file also adds some checksums:
54
56
55
57
The checksums should be implemented just like they are in for example winzip. I used [this nice little tool](http://code.kliu.org/hashcheck/) to check the calculated values. It's an extension to windows explorer. It adds an extra tab in your file properties window.
56
58
57
-
Encrpytion
59
+
Encryption
58
60
----------
59
61
60
62
You can also append a file encrypted, just add the -k argument right behind the archive filename.
0 commit comments