Packaging

From UFO:AI
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Contribute: Coding, Debugging, Scripting, Packaging

Installer or packages

To generate the pk3 game archives you should type make pk3. The pk3-files are normal zip files (this step is optional - you don't have to pack the data into pk3 files).

Special cvars

Packagers can add these cvars to their start script to change the game data path and/or the locales path.

  • fs_basedir [string]
The path of the gamedata files
  • fs_i18ndir [string]
The path of the gettext files
  • fs_usehomedir [0|1]
Use the homedir to save screenshots and savegames (default)

Just start UFO:AI e.g. via

./ufo +set fs_basedir /usr/games/ufo +set fs_i18ndir /usr/share/locales

Links