Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Merge binaries #13

Closed
rr- opened this issue Mar 31, 2015 · 0 comments
Closed

Merge binaries #13

rr- opened this issue Mar 31, 2015 · 0 comments
Assignees
Labels

Comments

@rr-
Copy link
Member

rr- commented Mar 31, 2015

file_decoder and arc_unpacker should be merged into one library. What I have in mind:

arc_unpacker file

Saves file~ in its directory if it's recognized.

arc_unpacker archive

Saves archive~ in its directory if it's recognized.

arc_unpacker file archive

Saves file~ in file's directory and archive~ in archive's directory.

arc_unpacker file archive --out DIR

Saves both file~ and archive~ in DIR.

arc_unpacker --fmt=xp3 file archive

Tries to treat file and archive as xp3, if it fails - prints error (= doesn't try to guess the format by itself).

 arc_unpacker file.xp3 archive.nsa --plugin=noop

Tries to unpack file.xp3 with noop plugin, and archive.nsa with noop plugin. XP3 is unpacked successfully, while NSA is not, because there is no such plugin as noop for NSA archives.

@rr- rr- self-assigned this Mar 31, 2015
@rr- rr- closed this as completed in 22730c4 Apr 4, 2015
@rr- rr- added the general label Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant