mirror of
https://github.com/zenith391/OCEmu.git
synced 2025-09-17 16:56:56 -04:00

Have component stub generator also generate documentation Add documentation to the components Support components defining their own type add return nil, "no such component" to more component functions fix component.doc Add argument checks to computer api, maybe implement computer.realTime? Implement unicode isWide, charWidth, and wlen clean up boot.lua a little Implement readonly mode in eeprom, and implement crc32 checksum Add more readonly checks to filesystem, implement filesystem.rename makeDirectory returns false if the path exists suffix keyboard and screen with _sdl, and check for SDL before loading move sdl_to_lwjgl to the support folder
OCEmu - OpenComputers Emulator
Installation
Needs luafilesystem, utf8, and luaffi
luarocks-5.2 install luafilesystem
luarocks-5.2 install utf8
git clone https://github.com/colesbury/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%