Posted 05 January 2013 - 04:39 AM
hello everyone,
today i made a program that allows you to compress/pack as many files and folders as you want into one file.
it is like winrar or winzip for windows but for computercraft
and i know someone else made this too but i wanted too make my own.
my program has a archive file format that is very easy to read by programs. i used textutils.serialize and unserialize.
later i might incluse a self extracting archive. very likely
you can use it like this:
installation:
http://pastebin.com/dp5ri2TJ
changelog:
-added option to make an self-extracting archive with serveral options. also called an installer
-fixed a few little bugs
v1.0:
-initial release
please give me some feedback and suggestions :)/>
today i made a program that allows you to compress/pack as many files and folders as you want into one file.
it is like winrar or winzip for windows but for computercraft
and i know someone else made this too but i wanted too make my own.
my program has a archive file format that is very easy to read by programs. i used textutils.serialize and unserialize.
later i might incluse a self extracting archive. very likely
you can use it like this:
archive pack <folder> <file>
archive unpack <file> <folder>
installation:
pastebin get dp5ri2TJ archive
or use this link to copy the code if you dont have http enabled:http://pastebin.com/dp5ri2TJ
changelog:
Spoiler
v1.1:-added option to make an self-extracting archive with serveral options. also called an installer
-fixed a few little bugs
v1.0:
-initial release
please give me some feedback and suggestions :)/>