unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Liliana Marie Prikler <liliana.prikler@gmail.com>
To: Tobias Platen <guix@platen-software.de>, guix-devel <guix-devel@gnu.org>
Subject: Re: Packaging Godot games with Guix
Date: Thu, 12 May 2022 21:23:08 +0200	[thread overview]
Message-ID: <1e782602e2e3ebe8f2173a2dff37bb7c294a8134.camel@gmail.com> (raw)
In-Reply-To: <0337ffe6d7c61049e1c5dc13ad90c037c43470e5.camel@platen-software.de>

Hi,

Am Donnerstag, dem 12.05.2022 um 20:12 +0200 schrieb Tobias Platen:
> Hello,
> 
> I tried to package the game BeepSaber for Guix, which does not really
> use a build system.
Even if you "don't really use a build system", you probably have one. 
For instance, renpy's build system consists of compiling all sources to
its own bytecode, which is done by loading it.  I'd like to point out a
package using it, but most novels I found are sadly not of the kind
that I can share them on a free software mailing list.  Nevertheless,
rest assured that I tested the existing code on at least one game.

> You just git clone the repository containing the game, then import
> the game into Godot by clicking import. When I just do cd
> /gnu/store/path-to-beepsaber && godot, the Godot engine is unable
> to import the media files used by beepsaber. Importing using the
> godot editor requires write access to the game directory.
Is there a godot CLI that you can invoke to perhaps get a binary or
something out of that?  If not, you might need to go the hard way of
spawning an X framebuffer, launching godot and then clicking through a
screen that you can't get see to get a working export.  In either case,
don't worry about read-only during `guix build' – make-file-writable
exists.

Alternatively, you could write a wrapper script, that unpacks the game
from a well-known location to some /tmp directory and runs godot from
there, but I'd avoid this solution.

Cheers


      parent reply	other threads:[~2022-05-12 19:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-12 18:12 Packaging Godot games with Guix Tobias Platen
2022-05-12 18:59 ` Maxime Devos
2022-05-12 19:23 ` Liliana Marie Prikler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1e782602e2e3ebe8f2173a2dff37bb7c294a8134.camel@gmail.com \
    --to=liliana.prikler@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=guix@platen-software.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).