Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.31 KB

README.md

File metadata and controls

37 lines (20 loc) · 1.31 KB

project-vectron

New Tileset for Freeciv21. Code name Project Vectron.

Contribute to the Project

Linux is preferred development platform.

Fork this repository to your personal GitHub account.

Perform SSH based clone: git clone [email protected]:[user-name]/project-vectron.git.

Enter project directory: cd project-vectron.

Add upstream: git remote add upstream https://github.com/longturn/project-vectron.git.

Prerequisites

Vectron needs to be compiled before being used. For this, you need GNU Make, Python (used to generate some sprites), and rsvg-convert (to render sprites as PNG). On Ubuntu, the following command will give you the dependencies:

sudo apt install make librsvg2-bin

Install

Install Freeciv21 - https://longturn.readthedocs.io/en/latest/General/install.html

Capture the location of the share/freeciv21 directory.

Add the local setup above to an environment variable:

  • Edit .bashrc: nano ~/.bashrc
  • Add something like this to the bottom: export FREECIV_DATA_PATH=~/some/path/project-vectron:~/install/freeciv21/share/freeciv21
  • Source the file: . ~/.bashrc

As changes are made to the *.svg files, export them to *.png files:

  • .../project-vectron$ make