$OpenBSD: README,v 1.4 2020/06/18 21:37:44 solene Exp $

+-----------------------------------------------------------------------
| Running barony on OpenBSD
+-----------------------------------------------------------------------

Barony
======
Barony requires the original game files from Barony: Blessed Edition
(e.g. 3.2.x) to work properly.  These can come from the GOG.com or the
Steam versions of the game. The game version should exactly match the
package version.

If using the GOG.com version, you should download the Linux version
barony_blessed_addition_3_2_3_hotfix_1_30730.sh and use the unzip package to
extract the data.

The files will be in a directory named data/noarch/game. You can move
the contents of this directory to the /usr/local/share/barony
directory for a global install. You will also need to fix the
permissions on the files.

The easiest way to do this is to follow these steps:
$ unzip barony_blessed_addition_3_2_3_hotfix_1_30730.sh
$ doas cp -R data/noarch/game/* /usr/local/share/barony
$ doas find /usr/local/share/barony -type d ! -perm 755 -exec chmod 755 {} \;

As an alternative, the game assets can be placed into a personal folder
of your choice and the game can be launched with the -datadir= option,
for example:
$ barony -datadir=$HOME/.barony

You do not have to fix file permissions in this case.
