This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
KillaVanilla's profile picture

Network Boot System

Started by KillaVanilla, 30 August 2012 - 10:38 PM
KillaVanilla #1
Posted 31 August 2012 - 12:38 AM
I've made a network booting system (mainly to help speed development of other things).

EDIT: This is now on pastebin:
Server:

4QcJk9zZ

Client:

B3ZPxRSJ

Configuration:
You need to have 3 folders on your server, on the root folder:
"boot/", which contains the shell/configurations,
"apis/", which contains custom APIs,
"programs/", which contains any custom programs that your OS may use.

These directories may be changed by changing their respective variables. (bootFileDir, apiFileDir, and programFileDir, respectively.)

Place the boot shell in the "boot/" folder. For the sake of this tutorial/explanation, I'm going to use "default" as the shell. You will also need to place two other files in your "boot/" folder: the API list, and the program list.
These will be called "default.apis" and "default.progs", respectively. These can be blank if needed.

In these files, place the file names of any APIs and programs you wish to load. The server code will automatically look for and send these files.

For the client, configuration is automatically handled, but if you want to configure your clients' computers themselves, you can do that by pressing option four at the start up menu.
FuzzyPurp #2
Posted 03 September 2012 - 11:08 AM
Wrong section. These are API's not Programs. Thread moved.