Jump to content




adding in universal server programs: extracting causes problems.


8 replies to this topic

#1 uh20

  • Members
  • 11 posts

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.

#2 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

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.

#3 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 05 February 2013 - 06:20 PM

View PostKingdaro, on 05 February 2013 - 06:17 PM, said:

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.

#4 uh20

  • Members
  • 11 posts

Posted 06 February 2013 - 03:24 AM

View PostTheOriginalBIT, on 05 February 2013 - 06:20 PM, said:

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

#5 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 06 February 2013 - 04:24 AM

View Postuh20, on 06 February 2013 - 03:24 AM, said:

View PostTheOriginalBIT, on 05 February 2013 - 06:20 PM, said:

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.

#6 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 06 February 2013 - 07:51 AM

View PostTheOriginalBIT, on 06 February 2013 - 04:24 AM, said:

View Postuh20, on 06 February 2013 - 03:24 AM, said:

View PostTheOriginalBIT, on 05 February 2013 - 06:20 PM, said:

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.

#7 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 06 February 2013 - 07:59 AM

As I said before,

View PostKingdaro, on 05 February 2013 - 06:17 PM, said:

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.

#8 Orwell

    Self-Destructive

  • Members
  • 1,091 posts

Posted 06 February 2013 - 08:23 AM

View PostKingdaro, on 06 February 2013 - 07:59 AM, said:

As I said before,

View PostKingdaro, on 05 February 2013 - 06:17 PM, said:

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.

#9 uh20

  • Members
  • 11 posts

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users