GNU bug report logs -
#28840
openrct2 cannot find data-path
Previous Next
Reported by: Jelle Licht <wordempire <at> gmail.com>
Date: Sat, 14 Oct 2017 21:39:02 UTC
Severity: normal
Done: Jelle Licht <jlicht <at> fsfe.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Thu, 26 Oct 2017 20:10:25 +0200
with message-id <87o9oteq5q.fsf <at> fsfe.org>
and subject line Re: bug#28840: openrct2 cannot find data-path
has caused the debbugs.gnu.org bug report #28840,
regarding openrct2 cannot find data-path
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
28840: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=28840
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
The recently committed (and awesome) openrct2 built correctly,
but cannot currently find the needed language and shader files
for the game and therefore crashes. To make it work, I currently
have to invoke it via a command like
`--openrct-data-path=/gnu/store/<hash>-openrct2-0.1.1/share/openrct2/',
which imho is not optimal.
I dove into the source of openrct, and it seems there are still
some vestiges of the cmake flag we want, namely
ORCT2_RESOURCE_DIR. Sadly, support for configuring this variable
seems to have been removed about 4 months ago.
I opened an issue upstream regarding this[1], but maybe there is
an easy workaround we can use until a fix is hopefully released.
I was thinking of either a phase which calls `wrap-program', or
adding the required flag back via a short snippet.
- Jelle
[1]: https://github.com/OpenRCT2/OpenRCT2/issues/6473
p.s. Besides these rather small issues, I can confirm that OpenRCT2
works.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> Hello,
>
> Jelle Licht <jlicht <at> fsfe.org> skribis:
>
>> Rutger Helling <rhelling <at> mykolab.com> writes:
>>
>>> Hi Ludo and Jelle,
>>>
>>> I've attached a patch that fixed the issue for me by changing some
>>> references from /usr/share to /gnu/store/<hash>-openrct2-0.1.1/share.
>>> I can now run openrct2 without the additional parameter.
>>
>> I can confirm that Rutger's patch works as intented.
>
> Awesome. Could you push it?
Pushed as 2e205c619334 on master.
This bug report was last modified 7 years and 265 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.