CoderPuppy / cc-emu

Terminal CC Emulator
MIT License
3 stars 0 forks source link
lua

CC Termu

A ComputerCraft Emulator for the Terminal

Requirements

Compatibility

This version has been cursorily tested with:

Installation

Install the dependencies (I used luaenv and luarocks to do so) Put ComputerCraft's lua files in cc (I cloned alekso56/ComputercraftLua, you could also download the tarball or extract them (from the ComputerCraft jar) yourself). Your directory structure should now look something like below

.
├── cc
│   ├── bios.lua
│   ├── README.md
│   ├── rom
│   └── treasure
├── cli.lua
├── emu.lua
├── LICENSE.txt
└── README.md

Usage

lua cli.lua <directory> <args>- Start a computer in directory (args is passed to bios.lua) If you want to use left control you can instead press Ctrl-Shift-tilde (this might be broken on other terminal emulators, tested on st and xterm).