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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 28840 in the body.
You can then email your comments to 28840 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#28840
; Package
guix
.
(Sat, 14 Oct 2017 21:39:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jelle Licht <wordempire <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 14 Oct 2017 21:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (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 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28840
; Package
guix
.
(Fri, 20 Oct 2017 16:02:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 28840 <at> debbugs.gnu.org (full text, mbox):
Hi Jelle,
Jelle Licht <wordempire <at> gmail.com> skribis:
> 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.
Are you talking about the game assets, or is it something different?
(Did you see the discussion at
<https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28794#8>?)
Cheers,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28840
; Package
guix
.
(Fri, 20 Oct 2017 16:38:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 28840 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi Ludo,
No, I am talking about resources such as shaders and
language packs, which seem to be included in openrct2 itself.
IOW, even *with* the data files from the proprietary rct2, our current
openrct2
does not run without the command line flags I added to my first posting :-).
Cheers,
Jelle
2017-10-20 18:01 GMT+02:00 Ludovic Courtès <ludo <at> gnu.org>:
> Hi Jelle,
>
> Jelle Licht <wordempire <at> gmail.com> skribis:
>
> > 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.
>
> Are you talking about the game assets, or is it something different?
>
> (Did you see the discussion at
> <https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28794#8>?)
>
> Cheers,
> Ludo’.
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28840
; Package
guix
.
(Fri, 20 Oct 2017 20:22:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 28840 <at> debbugs.gnu.org (full text, mbox):
Hello,
Jelle Licht <jlicht <at> fsfe.org> skribis:
> No, I am talking about resources such as shaders and
> language packs, which seem to be included in openrct2 itself.
> IOW, even *with* the data files from the proprietary rct2, our current
> openrct2
> does not run without the command line flags I added to my first posting :-).
Oh, I see. Rutger, does that ring a bell?
https://bugs.gnu.org/28840
Thanks,
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28840
; Package
guix
.
(Sat, 21 Oct 2017 08:45:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 28840 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
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.
On 2017-10-20 22:21, ludo <at> gnu.org wrote:
> Hello,
>
> Jelle Licht <jlicht <at> fsfe.org> skribis:
>
>> No, I am talking about resources such as shaders and
>> language packs, which seem to be included in openrct2 itself.
>> IOW, even *with* the data files from the proprietary rct2, our current
>> openrct2
>> does not run without the command line flags I added to my first posting :-).
>
> Oh, I see. Rutger, does that ring a bell?
>
> https://bugs.gnu.org/28840
>
> Thanks,
> Ludo'.
[Message part 2 (text/html, inline)]
[0001-gnu-openrct2-Fix-a-few-paths.patch (text/x-diff, attachment)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28840
; Package
guix
.
(Thu, 26 Oct 2017 12:19:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 28840 <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#28840
; Package
guix
.
(Thu, 26 Oct 2017 17:28:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 28840 <at> debbugs.gnu.org (full text, mbox):
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?
Thanks,
Ludo’.
Reply sent
to
Jelle Licht <jlicht <at> fsfe.org>
:
You have taken responsibility.
(Thu, 26 Oct 2017 18:11:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Jelle Licht <wordempire <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 26 Oct 2017 18:11:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 28840-done <at> debbugs.gnu.org (full text, mbox):
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.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 24 Nov 2017 12:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 153 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.