gamax92 c4475849ff Higher success
Check for and clamp to NUL in the unicode api
math.floor depth when changing screen depth
Fix getForeground and getBackground to return the palette index when
using a palette, which is still not really correct but will mostly work
for depth 8
Have palette changes recolor the screen
2015-06-26 01:54:56 -06:00
2015-06-26 01:54:56 -06:00
2015-04-22 18:19:50 -06:00
2015-04-25 18:41:03 -06:00
2015-04-22 18:19:50 -06:00
2015-06-19 12:17:55 -06:00

OCEmu - OpenComputers Emulator

Installation

Needs luafilesystem, utf8, and luaffi.

luasocket is required for the Internet Component.

luasec is optional but is required for HTTPS.

luarocks-5.2 install luafilesystem
luarocks-5.2 install utf8
git clone https://github.com/gamax92/luaffi.git
cd luaffi
make
sudo cp ffi.so /appropriate/path/for/lua/libraries/

# OpenComputer's lua source code is not provided, if you have svn then use the provided Makefile
# If you hate svn, manually download assets/loot, assets/lua, and assets/unifont.hex into src/

Windows users will have to manually compile everything, as luarocks seems to hate MSYS2/Cygwin

Native binaries will be provided for Windows when its ready.

Running

Launch boot.lua with lua5.2, and provided everything is installed, you'll have a working Emulator

OCEmu stores its files in $HOME/.ocemu or %APPDATA%\.ocemu, whichever happens to exist first

Description
OpenComputers Emulator in Lua
Readme 1.8 MiB
Languages
Lua 97.7%
Shell 2%
C 0.2%