Brian Callahan writes:

> On 04/30/18 18:57, David CARLIER wrote:
>> A small update to install instead into ${LOCALBASE}/share/barony as request
>> by @bcallah.
>
> Attached is a better version with fixes and a proper pkg/README.
>
> OK?
>
> ~Brian
>
>> On 30 April 2018 at 21:35, Brian Callahan <bcal...@devio.us> wrote:
>>
>>> (Responding from my phone so apologies)
>>> Download the Linux version and extract it with unzip.
>>>
>>>
>>>
>>> Sent from my Verizon, Samsung Galaxy smartphone
>>>
>>> -------- Original message --------
>>> From: David CARLIER <devne...@gmail.com>
>>> Date: 4/30/18 2:10 PM (GMT-05:00)
>>> To: Timo Myyrä <timo.my...@bittivirhe.fi>
>>> Cc: Solene Rapenne <sol...@perso.pw>, OpenBSD ports <ports@openbsd.org>
>>> Subject: Re: new: games/barony
>>>
>>> I checked the Gog com ... do not find the folders needed to get started the
>>> game ! e.g images maps items music sounds lang ...
>>>
>>> On 30 April 2018 at 15:05, Timo Myyrä <timo.my...@bittivirhe.fi> wrote:
>>>
>>>> David CARLIER <devne...@gmail.com> writes:
>>>>
>>>>> Thanks for the feedback, in case you can always force the Debug mode
>>> via
>>>>> cmake e.g. -DCMAKE_BUILD_TYPE=Debug
>>>>> If I recall correctly you re running it into ppc arch ? Would like to
>>> see
>>>>> classic x86 archs users feedbacks too.
>>>>> Will try myself in some hours.
>>>>>
>>>>> On 30 April 2018 at 11:01, Solene Rapenne <sol...@perso.pw> wrote:
>>>>>
>>>>>> Thomas Frohwein writes:
>>>>>>
>>>>>>> On Fri, Mar 30, 2018 at 12:42:36AM +0200, Solene Rapenne wrote:
>>>>>>>
>>>>>>> I tried it on amd64 - installed the package, downloaded Barony:
>>> Cursed
>>>>>> Edition
>>>>>>> from gog.com, innoextract, then copied all the game files to
>>>>>>> /usr/local/share/games/barony. It counts through all the
>>> 400-something
>>>>>> assets
>>>>>>> that it loads, but afterwards just exits without any error.
>>>>>>>
>>>>>>> The version on gog.com is listed as 2.0.7 and is probably
>>> outdated. I
>>>>>> think
>>>>>>> a README with some details on this and maybe the game data folder
>>> may
>>>> be
>>>>>>> useful.
>>>>>>>
>>>>>>> I'll probably have to wait for an update on gog.com before being
>>> able
>>>>>> to test.
>>>>>>
>>>>>> GOG now has 3.1.4 version. I still can't get the game to work, using
>>>>>> latest port version.
>>>>>>
>>>>>> I did :
>>>>>>
>>>>>>      $ innoextract 'setup_barony_cursed_edition_3.1.4_(20340).exe'
>>>>>>      $ doas rsync -av tmp/ /usr/local/share/games/barony/
>>>>>>      $ barony
>>>>>>      [12-58-43] Data path is /usr/local/share/games/barony
>>>>>>      $ echo $?
>>>>>>      $ 1
>>>>>>
>>>>>> I don't succeed having a backtrace with gdb.
>>>>>>
>>>> Same issue seems to happen on amd64 here.
>>>> Haven't tested yet with debug build.
>>>>
>>>> Timo
>>>>

the file pkg/PLIST requires the following line (reported by portcheck)

    share/doc/pkg-readmes/${FULLPKGNAME}


about the pkg/README, using cp -R doesn't allow to play the game because
I get folders with a permission 711, so a regular user can't access the
data and the game can't start.

the following command fix permissions issues but maybe there is a better
approach?

doas find /usr/local/share/barony/ -type d ! -perm 755 -exec chmod 755 {} \;

Reply via email to