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

How do I change the default programs?

Started by chexo3, 21 January 2015 - 11:57 PM
chexo3 #1
Posted 22 January 2015 - 12:57 AM
How do you change the default programs? I have an os I love and would like to make it the default for advanced computers. Is there a way I can add programs for very specific computers, ie. add it for advanced computers, but not for normal computers, there are also pocket os's I want to try, and I want to know how to add a startup script for all computers like this.
JamsoWamso #2
Posted 22 January 2015 - 02:07 AM
You can rename any script to "startup" and place it in the root directory. When the computer boots up, it will run that program.

If you want to copy files onto a Pocket Computer, you can place it in a disk drive and it behaves like a floppy disk.
alez290 #3
Posted 25 January 2015 - 07:51 PM
I did this same thing on my server. You have to go to the file mods\ComputerCraft\lua\rom then edit the file startup and add shell.run("yourOS") this will make all computers run your os by default when you open them

oh you also have to make sure you put your os in the folder mods\ComputerCraft\lua\rom\programs\computer, this way it can actually run
Edited on 25 January 2015 - 09:27 PM