Skip to content
Seppi edited this page Aug 6, 2014 · 1 revision

Running SGRE on linux at the moment is a bit tricky, but possible.

These instructions were created under Arch linux, so while some of the commands may be different and may require some massaging, it should be rather easy to get running.

  1. Visit love2d.org and install LÖVE 0.9.1.

  2. Install openssh (sudo pacman -S openssh)

  3. Clone the repo:

    git clone https://github.com/sharpobject/sgre.git && sgre

  4. Run the "bad db script":

    ./baddb.sh

  5. Download the sword girl images (~300MB total):

    cd swordgirlsimages && ./grab_images.sh && cd -

  6. Update the target server location:

    diff --git a/network.lua b/network.lua index dbcd3c1..1a68c75 100644 --- a/network.lua +++ b/network.lua @@ -98,7 +98,7 @@ end function network_init() TCP_sock = socket.tcp() TCP_sock:settimeout(7)

    • if not TCP_sock:connect("localhost",49570) then
    • if not TCP_sock:connect("burke.ro",49570) then error("failed to connect yolo") end local params = {
  7. Download the LoveFrame repo:

    git submodule update

  8. Run SGRE with love:

    love .

  9. If you receive a ssl.x509 error, try the OS's ssl.sso file by renaming the ssl.lua:

    mv ssl.lua ssl_static.lua

Clone this wiki locally