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

Simon McVittie smcv at debian.org
Sat Oct 3 20:04:56 UTC 2015


On 03/10/15 11:38, Markus Koschany wrote:
> Perhaps I miss something. Is it already possible to assign md5 and sha
> sums to binary packages like that:
[...]
> 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?

That's how the data-driven g-d-p always works. It follows this pseudocode:

* list all the files in the GameData, regardless of package;

* for each file, see whether it is in the input, or not in the input
  but obtainable by downloading or unpacking, or entirely unobtainable;

* for each package, if all files are obtainable, do all the necessary
  downloading/unpacking/conversion and build the package.

For instance, English RTCW and French RTCW only differ by one file.

We don't currently have a good way to spell "the file with sha1sum
1234... should be installed as foo1.dat in the English data but foo2.dat
in German". Is that what you're asking for?

If some files are identical, there's syntax for adding symlinks (see
tyrian.yaml).

    S



More information about the Pkg-games-devel mailing list