Skip to content
Josh Goebel edited this page Jan 27, 2021 · 45 revisions

Please see the README instead.

Windows

with Visual Studio 2019

  1. Install git - Git for Windows
  2. Run the following command:
  • git clone --recursive https://github.com/nesbox/TIC-80
  1. Install Visual Studio 2019 with the Desktop Development C++ workload - Community edition is free.
  2. Launch Visual Studio 2019
  3. Get Started > Open a Local Folder
  4. Select the TIC-80 Git folder

Without generating project and solution files

  1. Wait for CMake to finish its work
  2. Solution Explorer > Right-Click CMakeList.txt > Build

Executables can be found in TIC-80\out\build\x64-Debug (default)\bin

Alternatively, to generate project and solution files:

  1. Tools > Command Line > Developer Command Prompt
  2. Run the following commands to generate project and solution files:
    • cd build
    • cmake -G "Visual Studio 16 2019" ..
  1. Back in Visual Studio: File > Open > Project/Solution
  2. Select TIC-80\build\TIC-80.sln
  3. Build > Build Solution

Executables can be found in TIC-80\build\bin

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

Install required public keys:

gpg --keyserver pgpkeys.mit.edu --recv-key  8B48AD6246925553      
gpg -a --export 8B48AD6246925553 | sudo apt-key add -
gpg --keyserver pgpkeys.mit.edu --recv-key 7638D0442B90D010
gpg -a --export 7638D0442B90D010 | sudo apt-key add -

then run apt-get update

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

sudo apt-get install git 
git clone --recursive https://github.com/nesbox/TIC-80
cd TIC-80/build
cmake ..
make

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:

make linux
Clone this wiki locally