GithubHelp home page GithubHelp logo

tyrumus / ccemupi Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blueamulet/cclite

1.0 3.0 1.0 1.74 MB

A ComputerCraft Emulator written in Love2D for the Pi 3

Batchfile 0.12% Lua 95.12% GLSL 4.75%

ccemupi's Introduction

ComputerCraft Emulator for Raspberry Pi 3

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.

Description:

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.

Notes:

  • 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.

Installation:

  1. You will need at least an 8GB SD card. If someone knows how to create a smaller disk image, please let me know
  2. Download the zipped disk image here: Note that the disk image file is 7.4 GB.
  3. Extract the disk image from the zip file.
  4. If you're running Windows, use Win32 Disk Imager: https://sourceforge.net/projects/win32diskimager/
  5. Insert your 8 GB SD card into your computer and open the disk imager.
  6. Choose the image from file, then select the SD card you wish to write to. Then click Write.
  7. Once the write process is complete, put your SD card into your Raspberry Pi, turn it on, and follow the onscreen instructions.

Build the image yourself

Detailed instructions will be written in the wiki eventually.

HTTPS Support:

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.

TODO:

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)

ccemupi's People

Contributors

gamax92 avatar ryanwr avatar tyrumus avatar pingbird avatar dmarcuse avatar elvishjerricco avatar symmetryc avatar ds84182 avatar

Stargazers

 avatar

Watchers

James Cloos avatar Jay Whaley avatar  avatar

Forkers

codeup26

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.