ds84182 / OCEmu

OpenComputers Emulator in Lua

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OCEmu - OpenComputers Emulator

Installation

Needs luafilesystem, utf8, and luaffi.

luasocket is optional but is required for the Internet Component and higher precision timing.

luasec is optional but is required for HTTPS.

luarocks-5.2 install luafilesystem
luarocks-5.2 install utf8
luarocks-5.2 install luasocket
luarocks-5.2 install luasec
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

The provided script msys2_setup_ocemu.sh will automated the compiling process for Windows, run it in MSYS2

Native binaries will be provided 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

About

OpenComputers Emulator in Lua


Languages

Language:Lua 98.3%Language:Shell 1.6%Language:Makefile 0.1%