Skip to content

Phoenix-ComputerCraft/libcraftos

Repository files navigation

libcraftos

Shim library to allow running some CraftOS programs on Phoenix.

Installation

Pre-built versions can be installed by copying libcraftos.a and libcc.a into /lib, and all files in bin going to /bin. To run unpacked, copy all Lua files in the root to /lib/craftos, and copy the cc folder to /lib/cc.

Usage

Load any CraftOS API with local api = require "craftos.api", and load CC:T modules with local module = require "cc.module". See the CC: Tweaked documentation for more information on how to use each API.

You can also use the craftos program to run a CraftOS program with all CraftOS APIs loaded into the global table. The shell program can be used to start a fresh CraftOS shell using a CraftOS ROM mounted or extracted at /rom.

About

Shim library to run some CraftOS programs on Phoenix.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors