Difference between revisions of "Lua Resource Pack Making (Tutorial)"
m |
(Added Special Folders) |
||
Line 44: | Line 44: | ||
In the future, my friend! | In the future, my friend! | ||
+ | |||
+ | == Special Folders == | ||
+ | |||
+ | a bit incomplete and in need of a clean-up - --[[User:Lupus590|Lupus590]] ([[User talk: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 - ? |
Revision as of 17:24, 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
In the future, my friend!
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 - ?