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

adding in universal server programs: extracting causes problems.

Started by uh20, 05 February 2013 - 04:55 PM
uh20 #1
Posted 05 February 2013 - 05:55 PM
im trying to add some universal programs to my server since im now becoming too lazy to constantly transfer over disks, however im encountering some troubles.

computercraft seems to come in .jar archive, no biggy, i extracted the file, added what i wanted added in, and then re-compressed it back into .jar

however, when i do this, computercraft computers can no longer find their lua/rom files

i also tried to dry-insert the file into the archive, ran it un-extracted, and also in zip/tar.gz archives with the same results.

btw, im running 1.481 through tekkit lite.
please someone tell me how these files are being compressed.
Kingdaro #2
Posted 05 February 2013 - 06:17 PM
Odd, I can't recall CC ever being available in .jar form. Nonetheless, CC is able to be run as an extracted folder in the mods folder, and I think the folder has to be named ComputerCraft1.481. The last bit may have changed, but you can't be too safe.
theoriginalbit #3
Posted 05 February 2013 - 06:20 PM
Odd, I can't recall CC ever being available in .jar form. Nonetheless, CC is able to be run as an extracted folder in the mods folder, and I think the folder has to be named ComputerCraft1.481. The last bit may have changed, but you can't be too safe.
yeh its as a jar in the Tekkit version. deleting meta-inf might fix it.
uh20 #4
Posted 06 February 2013 - 03:24 AM
yeh its as a jar in the Tekkit version. deleting meta-inf might fix it.
the CC file does not come with a meta-inf, which one are you talking about.

i get the idea that ark (what im using for extracting/compressing) is doing something, seems ok because the files are extracting ok, but….
is there a location to download computercraft without .zip, the 2 download locations forcibly zip the file up before its sent out
theoriginalbit #5
Posted 06 February 2013 - 04:24 AM
yeh its as a jar in the Tekkit version. deleting meta-inf might fix it.
the CC file does not come with a meta-inf, which one are you talking about.

i get the idea that ark (what im using for extracting/compressing) is doing something, seems ok because the files are extracting ok, but….
is there a location to download computercraft without .zip, the 2 download locations forcibly zip the file up before its sent out
If its a jar file that Tekkit built properly it should have a meta-inf.
No there is no zip-less download. If your on Windows use WinRAR to put the changed files right into the zip file without having to extract it.
Orwell #6
Posted 06 February 2013 - 07:51 AM
yeh its as a jar in the Tekkit version. deleting meta-inf might fix it.
the CC file does not come with a meta-inf, which one are you talking about.

i get the idea that ark (what im using for extracting/compressing) is doing something, seems ok because the files are extracting ok, but….
is there a location to download computercraft without .zip, the 2 download locations forcibly zip the file up before its sent out
If its a jar file that Tekkit built properly it should have a meta-inf.
No there is no zip-less download. If your on Windows use WinRAR to put the changed files right into the zip file without having to extract it.
ark is a linux (kde) program, so I guess he isn't. I always run 'unzip ComputerCraft-1.181.zip' and after modifying I run 'zip ComputerCraft-1.181.zip *' again, this is in the command line of course. Ark has some weird issues for me when simply modifying jar files.
Kingdaro #7
Posted 06 February 2013 - 07:59 AM
As I said before,

CC is able to be run as an extracted folder in the mods folder, and I think the folder has to be named ComputerCraft1.481.

so just unzip it and keep it unzipped.
Orwell #8
Posted 06 February 2013 - 08:23 AM
As I said before,

CC is able to be run as an extracted folder in the mods folder, and I think the folder has to be named ComputerCraft1.481.

so just unzip it and keep it unzipped.
Oh yes, indeed. I thought it should be called 'ComputerCraft' though, but you could try both.
uh20 #9
Posted 06 February 2013 - 12:17 PM
YES! figured it out

for some reason, you had to rename the extracted folder ComputerCraft with nothing else, despite the fact that the zipped/jar'd form could have 1.481 stuck to the end.

i have no idea why this happens, but maybe the mod loaders (forge) that manage all the mods in tekkit are looking for a specific name/protocall

either way, thanks for the 3rd piece of help this week, im almost dont with my "travelling chest room" im working on which basically combines railcraft and computercraft to let locations "borrow" chest contents from the main chest room over.