This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Cloud Ninja's profile picture

Depman | An easy way to package/unpackage multiple files

Started by Cloud Ninja, 28 July 2016 - 10:34 PM
Cloud Ninja #1
Posted 29 July 2016 - 12:34 AM
I got annoyed with having to find a way to do multifile program installers, and while a file that pastebin get's multiple files works, its clunky and looks horrible.

No longer!

Depman allows you to package files into a single file, which can be passed back in to the manager to unpackage.


pastebin get 3X8hLrhF depman
depman pack <dir to pack> <output file>
depman unpack <depman output file> <optional -o arg to overwrite> 
Edited on 30 July 2016 - 07:36 PM
LDDestroier #2
Posted 30 July 2016 - 01:47 AM
I tried Depman, and it doesn't seem to work…


…so I programmed my own file bundler program! PROGDOR!
apemanzilla #3
Posted 30 July 2016 - 03:28 AM
Relevant.

LDDestroier #4
Posted 30 July 2016 - 06:21 AM
Relevant.


…yeah…b-but mine is the best…*sniffle*
Cloud Ninja #5
Posted 30 July 2016 - 06:51 AM
Relevant.

#relevant,

And LDD: I noticed the issues as well. I currently just got home from work and will work on it tomorrow.
Cloud Ninja #6
Posted 30 July 2016 - 06:45 PM
I tried Depman, and it doesn't seem to work…


…so I programmed my own file bundler program! PROGDOR!
So after doing some testing, i think the issue comes from if you arent in root. Run it from root and use direct paths and it should work fine.
Scratch that, i dont know why it isnt unpacking correctly :/


It should be fixed, let me know if you find any other issues.
Edited on 30 July 2016 - 04:51 PM
DannySMc #7
Posted 03 August 2016 - 09:17 AM
Hey would you be able to make this a loadable API? As I might have a really good use-case for this if you're interested?