Fwd: Re: Yaml

Simon McVittie smcv at debian.org
Sat Jan 3 11:36:42 UTC 2015


On 03/01/15 09:58, Alexandre Detiste wrote:
> ERROR:game-data-packager:could not find main/sp_pak1.pk3_en:
>   expected:
> INFO:game-data-packager:downloading
> ERROR:game-data-packager:could not find main/sp_pak1.pk3_en:
>   expected:
> generated "/home/tchet/rtcw-data_38_all.deb".
> tchet at antec:~$

Hmm. Thanks, I'll look into that.

> I guess there is also SPanish,ITalian,GerMan(?)
...
> RTCW_Manual_EN
> RTCW_Manual_FR
> RTCW_Manual_GM
> RTCW_Manual_IT
> RTCW_Manual_SP

I have two copies of RTCW - Steam and CD-ROM - and they both have all
those. Hmm, perhaps I can get the complete set of PK3s by installing
from CD-ROM under Wine, selecting the other language and blindly
pressing whatever looks most like Next? :-)

> I've bought ROTT full on Steam; I guess I need to create either
> rott-registred-data.yaml or rott-full-data.yaml;
> like a completely seperate game ?

gdp has never had support for these versions, so it's anyone's guess really.

I would prefer it to behave like Quake 1 - you point "game-data-packager
quake" at a set of files, and it automatically determines whether it's
the shareware/demo version, the full version, or an addon pack like
Scourge of Armagon, and produces one or more .debs accordingly - but I
need to think about how to represent that in the YAML.

I suspect we'd be better off with one YAML file per game (so rott.yaml
instead of rott-data.yaml) and some way to say "install/require these
files for the demo/shareware version, these files for the full version,
and these files for the addon packs". Perhaps something more like this:

---
game: rott

packages:
  rott-shareware-data:
    install:
    - foo.bar
    - baz.wombat
    - README.1st_shareware

  rott-full-data:
    install:
    - foo.bar
    - baz.wombat
    - README.1st_full

files:
  # etc.
...

and get rid of the install_files and install: true shorthand (or only
allow it for games that produce exactly one package).

> The binary also need to be re-compiled; as this is not a modern
> game with a clean engine/data split.

rott ships several binaries: rott-shareware, rott-commercial,
rott-superrott and rott-sitelicense. There should ideally be a wrapper
script that looks at your installed data and chooses the right one, but
right now there's just /etc/alternatives/rott.

> Would you be Ok to also use G-D-P to package things like ManiacMansion;
> that works through scummvm ?

I'd personally be fine with that - I have a few Scumm games myself which
could go in (Broken Sword 1 & 2, The Curse of Monkey Island, Full
Throttle). Jon?

I think we'd have to add support for including .desktop files in the
generated package.

    S




More information about the Pkg-games-devel mailing list