Bug#902654: larry6: Add support for SVGA version

Simon McVittie smcv at debian.org
Mon Jul 2 20:07:38 BST 2018


On Tue, 03 Jul 2018 at 01:25:04 +0700, Рома Тенцер wrote:
> First. The command from a menu item for vga version doesn't works. I'm not
> sure if it's a g-d-p problem — when i use scummvm's gui to find the game
> manually it works fine and the command starts to work.
> 
> $ scummvm -p /usr/share/games/larry6 lsl6-cd
> scummvm: Unrecognized game target 'lsl6-cd'
> Usage: scummvm [OPTIONS]... [GAME]
> 
> Try 'scummvm --help' for more options.

lsl6-cd is the "gameid" from larry6.yaml. In the case of the VGA version,
Alexandre filled in lsl6-cd when he first added support for this game;
in the case of the SVGA version, I guessed lsl6hires.

Does the SVGA version work when run with the command from the .desktop
file? If it does, them my guess was correct.

Can you find a scummvm command-line option that does work as a replacement
for lsl6-cd? It might help to use

    scummvm -p /usr/share/games/larry6 --detect
    scummvm -p /usr/share/games/larry6-svga --detect

If I understand scummvm correctly, we want the "ID" column. I don't have
any of the LSL games, but for instance, here's what I get for Loom:

$ scummvm -p /usr/share/games/loom-en --detect
ID             Description                                                Full Path
-------------- ---------------------------------------------------------- ---------------------------------------------------------
loom           Loom (VGA/DOS/English)                                     /usr/share/games/loom-en

> And second. A menu items for both versions have the same name. I don't think
> it's good.

I think that means we need a different "longname" directive in the YAML
for one or both of them, to add a (VGA) or (SVGA) suffix (see larry1.yaml
for an example of this).

    smcv



More information about the Pkg-games-devel mailing list