Difference between revisions of "Lua Resource Pack Making (Tutorial)"
(→Treasure Disk Making) |
(Note to self, use the preview button.) |
||
Line 44: | Line 44: | ||
May as well since I'm here. Could do with images. --[[User:Lupus590|Lupus590]] ([[User talk:Lupus590|talk]]) 17:31, 21 October 2015 (UTC) | May as well since I'm here. Could do with images. --[[User:Lupus590|Lupus590]] ([[User talk:Lupus590|talk]]) 17:31, 21 October 2015 (UTC) | ||
− | |||
Follow the steps above and but stop before you make the rom folder (having a rom folder will not cause any issues but you don't need one if you only want treasure disks) | Follow the steps above and but stop before you make the rom folder (having a rom folder will not cause any issues but you don't need one if you only want treasure disks) |
Revision as of 17:32, 21 October 2015
This page is a stub. Please help us by expanding it.
|
Contents
What is a Lua Resource Pack?
A Lua Resource Pack (or LRP, as I will be calling it) is a resource pack which can add Lua files to the ROM directory and even create treasure disks! How cool is that?!
Anyway, lets get to it!
Oops! I just realised the images contain my second monitor's screen, please ignore that! --LewisTehMinerz (talk) 17:48, 20 October 2015 (UTC)
Tutorial for ROM modification
== Step One: Create a folder for your resource pack files.
So, my resource pack files will be stored in ResPack.
== Step 2: Creating the required folders.
Now, in your resource pack folder, create a 'assets' folder, then inside that, a 'computercraft' folder, then inside that, a 'lua' folder.
Your current folder setup should look like this:
== Step 3: Creating the ROM folder.
Nearly done, I promise!
Create a new folder called 'rom' in your 'lua' directory.
== Step 4: ROM modification!
Your pretty much done! Create whatever files and folders you want in that folder! Remember, all of those will go into the ROM!
Treasure Disk Making
May as well since I'm here. Could do with images. --Lupus590 (talk) 17:31, 21 October 2015 (UTC)
Follow the steps above and but stop before you make the rom folder (having a rom folder will not cause any issues but you don't need one if you only want treasure disks)
Make a folder called "treasure".
Inside the treasure folder, make another folder, the name of this folder will be the author of the disk
Make another folder inside the one you just named, the name of this new folder will be the name of the disk.
Any files and folders in the name folder will be in your disk.
Special Folders
a bit incomplete and in need of a clean-up - --Lupus590 (talk) 17:24, 21 October 2015 (UTC)
Folders in rom:
apis - any files in the folder will be loaded as a api when the computer boots
autorun - any files in this folder will be ran when the computer boots
help - any files in this folder will be available in the help program
programs - any files in this folder will be added to the 'system path' allowing the program to be called from anywhere in the computer
help/licenses - licensing information goes in this folder
apis/command - any file in this folder will be loaded as an api, but only if the computer is a command computer. It should be noted that command computers will also load the default apis
apis/turtle - like above but with turtles
programs/advanced - these are programs which are only available on advanced computers
programs/command - like above but with command computers
programs/pocket - like above but with pocket computers
programs/turtle - like above but with turtles
programs/fun - ?
programs/fun/advanced - like above but only on an advanced computer
programs/http - files in this folder will only be available if the http api is enabled in the computercraft config file
programs/rednet - ?