How to make and install Lua resource packs
dan200 12 Jul 2013
Hey all,
as of ComputerCraft 1.55, Lua programs can now be included in Minecraft resource packs. Indeed, this is the only way to add custom programs to the ComputerCraft rom folder now.
So how do I make then?
A resource pack is a zip file or a folder containing resource files that, when installed, replace or add to the default ones included in Minecraft or mods. In ComputerCraft, this can be used to add programs to the ROM, or add programs to the pool of spawnable Treasure Disks (1.56 and above). To do this, a resource pack must include them in the subfolders "assets/computercraft/lua": So how do I install them?
To install a resource pack, simple drag it to the "resourcepacks" folder of your Minecraft installation, and launch or relaunch Minecraft. There is no need to select it from the resourcepacks options menu, all Computercraft lua resources are combined and loaded permanently.
If you're playing in multiplayer, you need to install the resoucepack to the server. To do this: create the "resourcepacks" folder manually, and drag the resource pack zip file to it.
Happy hacking!
as of ComputerCraft 1.55, Lua programs can now be included in Minecraft resource packs. Indeed, this is the only way to add custom programs to the ComputerCraft rom folder now.
So how do I make then?
A resource pack is a zip file or a folder containing resource files that, when installed, replace or add to the default ones included in Minecraft or mods. In ComputerCraft, this can be used to add programs to the ROM, or add programs to the pool of spawnable Treasure Disks (1.56 and above). To do this, a resource pack must include them in the subfolders "assets/computercraft/lua": So how do I install them?
To install a resource pack, simple drag it to the "resourcepacks" folder of your Minecraft installation, and launch or relaunch Minecraft. There is no need to select it from the resourcepacks options menu, all Computercraft lua resources are combined and loaded permanently.
If you're playing in multiplayer, you need to install the resoucepack to the server. To do this: create the "resourcepacks" folder manually, and drag the resource pack zip file to it.
Happy hacking!
Tjakka5 12 Jul 2013
Thank you for this explanation, Im sure it will be usefull for lots of people.
dent308 12 Jul 2013
What about being able to edit in the rom folder? Unzip - edit - rezip seems really clunky for hacking / testing.
TheOddByte 12 Jul 2013
theoriginalbit 12 Jul 2013
ElvishJerricco 12 Jul 2013
PixelToast 12 Jul 2013
i dont like this :s this way i cant edit the programs directly
any other way around?
any other way around?
ElvishJerricco 12 Jul 2013
PixelToast 12 Jul 2013
not what i meant, i want to edit all the files in as single folder (how it used to be) without having to shutdown / rezip anything ;_;
ElvishJerricco 13 Jul 2013
PixelToast, on 12 July 2013 - 10:47 PM, said:
not what i meant, i want to edit all the files in as single folder (how it used to be) without having to shutdown / rezip anything ;_;
Oh right. Yea I posted in the suggestions about that. I wrote a script to do all that work for me but it takes time to reboot the game entirely. Really messes with my workflow.
Xfel 13 Jul 2013
So... As mods are now resource packs too... can they add their peripheral apis this way?
electrodude512 13 Jul 2013
dan200 14 Jul 2013
Galactica4 14 Jul 2013
This is going to damage people's workflow, I mean, it is not very convenient to edit pastebin and download it every time, especially in bug testing, download, run, BUG, edit pastebin, download , run, BUG e.c.t + the inbuilt editor is not 'the best.'
BTW does this affect '.minecraft/saves/ save name/computercraft/computerID method because if it does, oh I am annoyed!
Don't do this Dan, don't do this
BTW does this affect '.minecraft/saves/ save name/computercraft/computerID method because if it does, oh I am annoyed!
Don't do this Dan, don't do this
ElvishJerricco 14 Jul 2013
Galactica4, on 14 July 2013 - 02:30 AM, said:
This is going to damage people's workflow, I mean, it is not very convenient to edit pastebin and download it every time, especially in bug testing, download, run, BUG, edit pastebin, download , run, BUG e.c.t + the inbuilt editor is not 'the best.'
BTW does this affect '.minecraft/saves/ save name/computercraft/computerID method because if it does, oh I am annoyed!
Don't do this Dan, don't do this
BTW does this affect '.minecraft/saves/ save name/computercraft/computerID method because if it does, oh I am annoyed!
Don't do this Dan, don't do this
The only people whose workflow this messes with is people who edit the ROM files. For any other purpose, things are no different. Editing programs through the save folders is the same as always.
Don't get me wrong, the idea of using resource packs instead of having to actually edit the ComputerCraft package is great. But the fact that we can't use folders for these resource packs, and the fact that it doesn't seem to properly update when you update your zip file makes for some big problems. The feature just needs some cleaning.
theoriginalbit 14 Jul 2013
Galactica4, on 14 July 2013 - 02:30 AM, said:
This is going to damage people's workflow
Galactica4, on 14 July 2013 - 02:30 AM, said:
I mean, it is not very convenient to edit pastebin and download it every time, especially in bug testing, download, run, BUG, edit pastebin, download , run, BUG e.c.t + the inbuilt editor is not 'the best.'
Galactica4, on 14 July 2013 - 02:30 AM, said:
BTW does this affect '.minecraft/saves/ save name/computercraft/computerID method because if it does, oh I am annoyed!
Galactica4, on 14 July 2013 - 02:30 AM, said:
Don't do this Dan, don't do this