Skip to content
This repository has been archived by the owner on Jul 1, 2018. It is now read-only.

Configuring computers

SquidDev edited this page Oct 6, 2016 · 7 revisions

Computer timeout

ComputerCraft will try to terminate code which has been running for more than 7 seconds. However there may be occasions where you want to tweak this value (such as developing a program, or limiting resources that can be used).

This value can be changed through the Computer.computerThreadTimeout configuration option.

Warning: Making this value too small may result in computers being terminated when they first turn on.

File limits

It is possible to overload the system with file handles through ComputerCraft. To prevent that CCTweaks provides the Computer.maxFilesHandles option to limit the number of open file handles a computer can have. This is set to 1024.

Custom bios

CCTweaks provides an option to specify a custom bios path, making it easier to use a custom bios. The path must start with a leading /: if this is not the case or the file cannot be found then the default will be used.

This is configured through the Computer.biosPath option.

Clone this wiki locally