Bug#776540: game-data-packager: please add support for games working with gemrbd engine

Markus Koschany apo at gambaru.de
Sat Oct 3 10:38:04 UTC 2015


Am 03.10.2015 um 00:31 schrieb Simon McVittie:
> On 02/10/15 20:55, Markus Koschany wrote:
>> P.S.: g-d-p is currently broken in Git master. :>
> ...
>> line 829, in load_file_data
>>     ), (self.shortname, wanted.name)
>> AssertionError: ('enemy-territory', 'license.rtf')
> 
> Should now be fixed in git. I had split out detailed information about
> the required files for each package into separate files, which don't
> need to be loaded until g-d-p starts working on specific packages, but
> then forgot to tell the packaging to install them.
> That feature could still do with some improvement - some of the *.json
> that are loaded for things like --help are still rather large, and it
> might be better to install a .zip rather than > 600 smallish files,
> after benchmarking whether it's faster compressed or uncompressed - but
> it's a start.

Great.

> (FYI, you can run g-d-p with "make && ./run enemy-territory ..." to use
> the version under development without installing it.)

Thanks, Alexandre pointed me in the same direction, that's very useful
for development.

I'm currently struggling with the German version of Baldur's Gate 1. A
lot of identical files are named differently like

	
fa670e7810253e8dfba283f844d450b8c5f429e4  Music/Bd2/Bd2endb2.ACM
fa670e7810253e8dfba283f844d450b8c5f429e4  Music/Bf2/Bf2endd4.ACM

then there are many files which are different but share the same name

and of course there are also new ones. If I understand the current
work flow correctly, files with identical names should be renamed (for
ScummVM games there is also a "prefix" mechanism) and then installed
into the corresponding binary package with "install_as". That may be a
suitable approach for games which only provide few files but with a lot
of files this approach becomes quickly painful.

Perhaps I miss something. Is it already possible to assign md5 and sha
sums to binary packages like that:

Assumption: There is a directory baldurs_gate_1 which contains the
German version of Baldur's Gate 1:

baldurs-gate-1.yaml:

baldurs-gate1-de-data:
  install_to <path>
  install
  - file1
  - file2
  sha1sums:
  90deca7b26d7f477de5667236973fbcdd3f1e626 file1
  dc9b2590ae6a7576a4e12d9b8ab5ade231517e09 file2

baldurs-gate1-en-data:
  install_to <path>
  install
  - file1
  - file2
  sha1sums:
   e7bab3db4e542a32a601a164c666956441d10ef0 file1
   2f6378980d1af3e5a35f28d648a0fe7f6fca9ed9 file2

and g-d-p would try to detect whether the directory baldurs_gate_1
contains all necessary files for either the en or de version and then
builds the corresponding binary package?

Cheers,

Markus







-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20151003/05fd6f8b/attachment.sig>


More information about the Pkg-games-devel mailing list