How to make and install Lua resource packs
Pharap 14 Jul 2013
Does this mean that if we want to write our own OS/bios we still have to edit the mod Jar or will creating an assets/computercraft/lua/bios.lua in the resourcepacks directory automatically override the one in the computercraft mod jar? (The latter would be nicer to work with)
dent308, on 12 July 2013 - 01:05 PM, said:
Windows will allow you to view zips in the default document browser.
There are also versions of p7-Zip for most OS versions: http://www.7-zip.org/download.html
In which case you just drag the files out of the 7-Zip window and into your OS's regular file browser.
ElvishJerricco, on 13 July 2013 - 12:08 AM, said:
PixelToast, on 12 July 2013 - 10:47 PM, said:
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.
It'll be fine once CCemu updates.
Or that new one that was made recently with the extra features (forgot its name)
theoriginalbit 14 Jul 2013
PixelToast 14 Jul 2013
theoriginalbit 14 Jul 2013
PixelToast, on 14 July 2013 - 08:28 PM, said:
ElvishJerricco 14 Jul 2013
theoriginalbit, on 14 July 2013 - 08:43 PM, said:
I don't like this philosophy. I could say that if you want to do green screening, you're doing it wrong and you should shoot your footage on a real set. My point is, some people actually want to mess with the rom. CC's new resource pack features were supposed to make that easier. They've made it harder. They've taken the workflow others had for editing rom, and made it useless. As great as the idea for using resource packs is, it's not currently being handled well.
GravityScore 14 Jul 2013
ElvishJerricco, on 14 July 2013 - 09:32 PM, said:
I agree with this. Although I haven't had to edit the rom myself, I can definitely see how having to restart Minecraft and re-zipping the resource pack would be an absolute pain for those wanting to frequently edit the rom. I could also see how placing all your files in the rom instead of on individual computers is beneficial to workflow, no need to worry about which computer you click on or place, they all have the files.
PixelToast 15 Jul 2013
theoriginalbit, on 14 July 2013 - 08:43 PM, said:
PixelToast, on 14 July 2013 - 08:28 PM, said:
there have been multiple cases ive had to modify the ROM (including default programs)
and it makes it much much much more easy to test because the programs are available on every computer
the saves folder is hard to use because i have to get the computers id, copy the program to it, edit it, i have to keep switching between the saves folder and the folder where i keep all my programs and it gets messy and hard to work
toxicwolf 15 Jul 2013
Pharap, on 14 July 2013 - 09:19 AM, said:
Does this mean that if we want to write our own OS/bios we still have to edit the mod Jar or will creating an assets/computercraft/lua/bios.lua in the resourcepacks directory automatically override the one in the computercraft mod jar? (The latter would be nicer to work with)
Cranium 15 Jul 2013
I have never had any reason to write over anything in ROM unless I had a program that I wanted accessable via all computers on the server.
ElvishJerricco 15 Jul 2013
Cranium, on 15 July 2013 - 03:47 PM, said:
I have never had any reason to write over anything in ROM unless I had a program that I wanted accessable via all computers on the server.
I'll go back to my green screen metaphor: You don't have to use a green screen when you can just shoot on a real set!
Most people don't have to edit the rom, just like most people don't need to edit the linux kernel. But some people want to. And there's a lot of work done to make editing the linux kernel easier. And either way, there's many reasons to edit the rom. If I want to modify rednet for my whole server without requiring each computer to download a pastebin. Or if I want to add a program. Or change the way the shell looks to match my server's theme. There's a million and one reasons to edit the rom. Restricting the option to do so is just wrong, even if most people don't need it.
Cranium 15 Jul 2013
You can still edit programs directly via the saves folder though, and for me, that's still enough for any of my purposes.
I would however, like to be able to reload the resource pack for programs/rom folders without having to restart minecraft. That is going to be annoying for when I do need to edit the ROM.
dent308 17 Jul 2013
Editing in the saves folder is less than optimal because they move about as computers / turtles are created or destroyed.
Zee 18 Jul 2013
dent308, on 17 July 2013 - 08:18 PM, said:
Editing in the saves folder is less than optimal because they move about as computers / turtles are created or destroyed.
EDIT: Mojang confirmed that they will implement multiple packs at a time. We need to unzip both, merge assets, and then zip it again right now. Damn.
ElvishJerricco 18 Jul 2013
dent308, on 17 July 2013 - 08:18 PM, said:
Editing in the saves folder is less than optimal because they move about as computers / turtles are created or destroyed.
I'm not sure if Windows can do this, but any UNIX or Linux system has symlinks. Basically like a shortcut, except the entire operating system sees it as actually being a folder. So you can create the symlink .../computer/{id} and have it point to ~/Documents/MyProject, and going to .../computer/{id}/somefolder will lead to MyProject/somefolder. So just keep the project in your documents and symlink to it in your saves.
DanJZ0404, on 18 July 2013 - 02:57 AM, said:
EDIT: Mojang confirmed that they will implement multiple packs at a time. We need to unzip both, merge assets, and then zip it again right now. Damn.
CC does some special resource pack loading that loads all CC resources from all available resource packs. No need to merge. This custom handling is actually the main cause of the problems people have with the new resource pack compatibility.
toxicwolf 18 Jul 2013
DanJZ0404, on 18 July 2013 - 02:57 AM, said:
EDIT: Ninja'd
PixelToast 18 Jul 2013
ElvishJerricco, on 18 July 2013 - 08:32 AM, said:
dent308, on 17 July 2013 - 08:18 PM, said:
Editing in the saves folder is less than optimal because they move about as computers / turtles are created or destroyed.
I'm not sure if Windows can do this, but any UNIX or Linux system has symlinks. Basically like a shortcut, except the entire operating system sees it as actually being a folder. So you can create the symlink .../computer/{id} and have it point to ~/Documents/MyProject, and going to .../computer/{id}/somefolder will lead to MyProject/somefolder. So just keep the project in your documents and symlink to it in your saves.
ElvishJerricco 18 Jul 2013
PixelToast, on 18 July 2013 - 11:03 AM, said:
Well just FYI Mac is a fully certified UNIX OS so it has all the nifty UNIX magic powers. But yea managing which computers had the symlinks was a pain but it was a really useful trick
BlankWolf 18 Jul 2013
I put an "apis" folder in "rom" and my api in the "apis" folder.
But now my computers don't load. I just get a blackscreen and I can't find any error in mc luncher console.
PixelToast 18 Jul 2013
did you follow the same format as the one dan uploaded?