Skip to content
russplaysguitar edited this page Mar 3, 2012 · 4 revisions

Linux

  • First, install Qt development libraries

    In Ubuntu/Debian: sudo apt-get install libqt4-dev libqt4-opengl-dev zlib1g-dev

    In Fedora: yum install qt-devel

    In Arch Linux: pacman -S qt

  • Second, Clone git repository

    git clone git@github.com:ChicoTeam/tiled.git

  • Third, Compile

    qmake (or qmake-qt4 on some systems, like Fedora)

    make

To run tiled, from it's directory:
bin/tiled [optional .tmx file path]

File Format

tiled saves into a format of .tmx. If you open one of these up with a text editor you'll see that it's really just an xml file. Without modifying preferences in tiled, you'll probably see a little bit of text in the file that looks like garbage. It's actually the map encoded in base-64. If you want to change this,open tiled, go to Edit->Preferences and there is a drop down menu for encoding. Choose your preference.