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

cpack - Pack multiple files in one

Started by je06, 21 May 2015 - 08:06 PM
je06 #1
Posted 21 May 2015 - 10:06 PM
cpack is a program that stores multiple files in a single self-extracting file
A cpacked file has the extension of .cz

How to use
Spoiler

cpack <output file> <input files>
Just run the outputted file to extract contained files

Downloads
Spoiler

pastebin get DRgu131U cpack
or you can use DannySMc's App Store program

store install MC4wMjk1 cpack

Todo
Spoiler*Add password function

Know bugs
SpoilerN/A
Edited on 20 July 2015 - 07:22 PM
DannySMc #2
Posted 21 May 2015 - 10:08 PM
cpack is a program that stores multiple files in a single self-extracting file
A cpacked file has the extension of .cz

Downloads
Spoiler

pastebin get scMs09zJ cpack
or you can get it from
DannySMc's App Store program

Thank you for including my app store! :)/> If you get the index code, you can also download like:
store install <indexcode> <filename>
je06 #3
Posted 21 May 2015 - 10:12 PM
cpack is a program that stores multiple files in a single self-extracting file
A cpacked file has the extension of .cz

Downloads
Spoiler

pastebin get scMs09zJ cpack
or you can get it from
DannySMc's App Store program

Thank you for including my app store! :)/> If you get the index code, you can also download like:
store install <indexcode> <filename>
Thanks!
Creeper9207 #4
Posted 22 May 2015 - 12:31 AM
aweshome
LDDestroier #5
Posted 29 May 2015 - 01:33 PM
Cool, but you gotta work out the bugs. Also, to unpack, do I simply run the "thing.cz", or do I need to have cpack in the same directory?
This is what it gives me when I run a compressed group of files (none of which were in folders):

bios:366: [string "stuff.cz"]:639 nesting of [[...]] is deprecated
Pyuu #6
Posted 29 May 2015 - 03:26 PM
-snippy-

You may want to include some documentation on the usage of this, otherwise users are just guessing at it and or having to read your code to find out.