I never plan to touch this again. The shell of a particle board box continues to collect dust in my closet. Feel free to fork.
This is a version of the ComputerCraft Emulator written with LÖVE 0.10.0 that is designed for use with the Raspberry Pi. The image ships with Raspbian Jessie Lite (built on 5-10-2016), a splash screen, LÖVE 0.10.0, and the emulator itself.
This is was originally intended for a hardware project to build a ComputerCraft computer in real life.
- My fork of CCLite has a different save directory than Sorroko's and gamax92's versions. Mine will save to the "ccemupi" folder while theres' save to the "cclite" and "ccemu" folders respectively.
- Due to certain glitches with the SDL2 library for the Pi, the mouse cursor has been removed and the emulator only supports a normal black and white CC computer in order to keep to the spirit of ComputerCraft
- On the first run, the user will be prompted to set a new password for the pi account as well as configure the wi-fi.
- You will need at least an 8GB SD card. If someone knows how to create a smaller disk image, please let me know
- Download the zipped disk image here: Note that the disk image file is 7.4 GB.
- Extract the disk image from the zip file.
- If you're running Windows, use Win32 Disk Imager: https://sourceforge.net/projects/win32diskimager/
- Insert your 8 GB SD card into your computer and open the disk imager.
- Choose the image from file, then select the SD card you wish to write to. Then click Write.
- Once the write process is complete, put your SD card into your Raspberry Pi, turn it on, and follow the onscreen instructions.
Detailed instructions will be written in the wiki eventually.
I may remove this in order to keep the system nerfed like normal computers in CC.
Linux:
apt-get install lua-sec
This should get everything you need.
Then go into conf.lua and set useLuaSec to true
Windows:
You can try LuaRocks to see if it has LuaSec, I did it manually
For HTTPS support, you'll need to grab:
From LuaSec: Binaries, Lua Code:
-
ssl.dll -> ssl.dll
-
luasec-luasec-0.4.1/src/ssl.lua -> ssl.lua
-
luasec-luasec-0.4.1/src/https.lua -> ssl/https.lua
You also need to install OpenSSL: Windows
Place these files where the love executable can get to them, where love is installed or the lua path.
Then go into conf.lua and set useLuaSec to true
Mac:
I dunno. Try the ssl.so file on the binaries page.
Add in more error checking
Special API in CC environment for controlling the Pi
Treat USB storage like ComputerCraft disks (might need an executable for file handling)
(maybe treat Bluetooth like Rednet)