Skip to content
Vadim Grigoruk edited this page Feb 16, 2018 · 45 revisions

Windows

with Visual Studio 2015

  • install Visual Studio 2015
  • install GIT
  • run following commands in cmd
git clone --recursive https://github.com/nesbox/TIC-80
  • open TIC-80\build\windows\tic\tic.sln and build
  • enjoy :)

with MinGW32

follow the instructions in the tutorial https://matheuslessarodrigues.github.io/tic80-build-tutorial/ made by @matheuslessarodrigues

MacOSX

Run the following commands from terminal:

cd ~/Documents
git clone --recursive https://github.com/nesbox/TIC-80
cd TIC-80
make macosx
cd build/macosx
make

WASM

Download, install & configure emscripten as per your environment requires:

http://kripken.github.io/emscripten-site/docs/getting_started/downloads.html

Run the following commands from terminal (tested on OSX, your mileage may vary):

git clone --recursive https://github.com/nesbox/TIC-80
cd TIC-80
make wasm
cd build/html

A nice small & fast WASM file awaits you :)

Linux

Debian

For Debian based systems (e.g. Ubuntu), run the following commands in your Terminal: run the following commands in the Terminal

sudo apt-get install git build-essential libgtk-3-dev libsdl2-dev lua5.3-dev zlib1g-dev
git clone --recursive https://github.com/nesbox/TIC-80
cd 3rd-party/wren-0.1.0/
make static
cd ../..
make linux

Raspberry Pi (Retropie)

Exit to shell by press F4 and upgrade the system:

sudo apt-get update
sudo apt-get dist-upgrade

Add jessie-backports repo to /etc/apt/sources.list:
deb http://ftp.debian.org/debian jessie-backports main

then run apt-get update (don't worry about GPG)

Install needed soft:
sudo apt-get install git build-essential libgtk-3-dev libsdl2-dev zlib1g-dev

Install liblua5.3-dev from jessie-backports:
sudo apt-get install -t jessie-backports liblua5.3-dev

Get fresh TIC-80 and compile

git clone --recursive https://github.com/nesbox/TIC-80
cd 3rd-party/wren-0.1.0/
make static
cd ../..
make linux

If you are using a normal Raspberry Pi image (not Retropie) you may not have OpenGL drivers enabled. Run sudo raspi-config, then select 7 for "Advanced Options", followed by 6 for "GL Drivers", and enable "GL (Fake KMS) Desktop Driver". After changing this setting it needs to reboot.

run it: bin/tic
Enjoy!

Arch

Please see the AUR package, tic-80.

ALT Linux 64-bit

Install devel packages needed to compile:

apt-get install git automake libgtk+3-devel libreadline-devel

We need to compile TIC and 3rd-party libs, precompiled libs are not suitable

mkdir tic
cd tic

git clone --recursive https://github.com/nesbox/TIC-80

Lets build 3rd-party libs:

cd 3rd-party

cd SDL2-2.0.7
sh autogen.sh && sh configure
make

Our lib here: ./build/.libs/libSDL2.a

cd giflib-5.1.4
sh autogen.sh && sh configure
make

Our lib here: /lib/.libs/libgif.a

cd lua-5.3.1
make linux

Our lib here: ./src/liblua.a

cd zlib-1.2.8
sh configure
make

Our lib here: ./libz.a

Copy compiled libs into /TIC-80/lib/linux directory and build TIC:

cd 3rd-party/wren-0.1.0/
make static
cd ../..
make linux

iOS / tvOS

You can find iOS/tvOS version here https://github.com/CliffsDover/TIC-80

Clone this wiki locally