OculusOS
OculusOS is a unix like OS for the minecraft mod ComputerCraft and ComputerCraft Tweaked
Installation
ComputerCraft 1.78+ and ComputerCraft Tweaked
pastebin run cCENE9mc
ComputerCraft 1.77
wget https://raw.githubusercontent.com/Commandcracker/oculusos/master/build/installer.lua installer
installer
ComputerCraft 1.76-
lua
local a=http.get("https://raw.githubusercontent.com/Commandcracker/oculusos/master/build/installer.lua")local b=fs.open(shell.resolve("installer"),"w")b.write(a.readAll())b.close()a.close()exit()
installer
Third Party
Libraries
Modified | Parts | Library | Maintainer |
---|---|---|---|
AES Lua | SquidDev | ||
Base64 | |||
Big Font | Wojbie | ||
cPrint | Jesusthekiller | ||
X | CryptoNet | SiliconSloth | |
Frame Buffer | lyqyd | ||
Json | ElvishJerricco | ||
SHA-256 | GravityScore | ||
X | metis | SquidDev |
Programms
Modified | Program | Maintainer |
---|---|---|
X | Net Shell/NSH | lyqyd |
X | mbs/Mildly better shell | SquidDev |
Services
Oculus OS has services that will run in the background.
Services will run before the boot process is finished,
This means that the Oculus OS libs and programs won't be available.
To create a service, just put a Lua file in /services
Examples
chatd
local hostname = os.getComputerLabel()
if not hostname then
hostname = os.getComputerID()
end
shell.run("chat", "host", hostname)
sshd
local hostname = os.getComputerLabel()
if not hostname then
hostname = os.getComputerID()
end
shell.run("/bin/ssh", "host", hostname)
Building
Requirements
You need to have Node.js Installed.
Then run this command to install luamin.
npm install luamin
Running the build process
node build