mirror of
https://github.com/zenith391/OCEmu.git
synced 2025-09-28 15:34:05 -04:00

wrap unicode.lower/upper since utf8's handling of numbers differs than oc's handling of numbers move getCharWidth out of unicode.lua and into main.lua Fix characters being rendered when they should be hidden by a wide character Fix wide characters not setting the overlapping cell as a space Fix the overlapping character not being rendered when the wide character is removed Fix fill treating wide characters as not wide characters Fix set being crashed on invalid characters Change checkArg and compCheckArg to non merge versions, and edit the error message in compCheckArg to be similar to actual error messages
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
Languages
Lua
97.7%
Shell
2%
C
0.2%