Bug#745081: game-data-packager: add support for full versions of wolf3d and spear of destiny

Stephen Kitt skitt at debian.org
Thu Jan 15 23:06:19 UTC 2015


Hi Simon,

On Thu, 15 Jan 2015 10:37:10 +0000, Simon McVittie <smcv at debian.org> wrote:
> On Thu, 17 Apr 2014 at 22:37:38 +0200, esp wrote:
> >  7) Wolfenstein 3D v1.4 shareware
> 
> Supported for a long time.

It no longer works for me:

$ game-data-packager wolf3d            
INFO:game-data-packager:downloading http://pkg-games.alioth.debian.org/game-data/1wolf14.zip
decompressing: w3dhelp.exe, compressed size: 36575
decompressing: wolf3d.exe, compressed size: 118660
decompressing: audiohed.wl1, compressed size: 570
decompressing: audiot.wl1, compressed size: 49012
decompressing: gamemaps.wl1, compressed size: 18595
decompressing: maphead.wl1, compressed size: 43
decompressing: vgadict.wl1, compressed size: 1120
decompressing: vgagraph.wl1, compressed size: 209547
decompressing: vgahead.wl1, compressed size: 496
decompressing: vswap.wl1, compressed size: 347321
decompressing: vendor.doc, compressed size: 3846
decompressing: order.frm, compressed size: 2550
ERROR:game-data-packager:Failed to download necessary files for wolf3d-demo-data
usage: game-data-packager wolf3d [-h] [-i | -n] [-d OUTDIR]
                                 [-z | --no-compress] [--search | --no-search]
                                 [--demo] [-f 1wolf14.zip] [-w]
                                 [DIRECTORY|FILE [DIRECTORY|FILE ...]]

positional arguments:
  DIRECTORY|FILE        Files to use in constructing the .deb

optional arguments:
  -h, --help            show this help message and exit
  -i, --install         install the generated package
  -n, --no-install      do not install the generated package (requires -d,
                        default)
  -d OUTDIR, --destination OUTDIR
                        write the generated .deb(s) to OUTDIR
  -z, --compress        compress generated .deb (default if -d is used)
  --no-compress         do not compress generated .deb (default without -d)
  --search              look for installed files in Steam and other likely
                        places (default)
  --no-search           only look in paths provided on the command line
  --demo                Build demo package even if files for full version are
                        available
  -f 1wolf14.zip        Path to 1wolf14.zip
  -w                    Download 1wolf14.zip (done automatically if necessary)
rmdir: failed to remove ‘/tmp/user/1000/game-data-packager.B0RceG’: Directory not empty
Files remaining in /tmp/user/1000/game-data-packager.B0RceG:
.
./tmp
./tmp/W3DSW14.SHR.d
./tmp/W3DSW14.SHR.d/order.frm
./tmp/W3DSW14.SHR.d/vendor.doc
./tmp/W3DSW14.SHR.d/vswap.wl1
./tmp/W3DSW14.SHR.d/vgahead.wl1
./tmp/W3DSW14.SHR.d/vgagraph.wl1
./tmp/W3DSW14.SHR.d/vgadict.wl1
./tmp/W3DSW14.SHR.d/maphead.wl1
./tmp/W3DSW14.SHR.d/gamemaps.wl1
./tmp/W3DSW14.SHR.d/audiot.wl1
./tmp/W3DSW14.SHR.d/audiohed.wl1
./tmp/W3DSW14.SHR.d/wolf3d.exe
./tmp/W3DSW14.SHR.d/w3dhelp.exe
./tmp/W3DSW14.SHR
./tmp/1wolf14.zip



(BTW, this new default goes against the main help message, which ends with
"run game-data-packager [game] to see game-specific arguments".)

> On Fri, 09 Jan 2015 at 07:40:29 +0100, Alexandre Detiste wrote:
> > I would also add this LICENSE.DOC as an "optional file" (AFAIK no yet
> > implemented in yaml description)
> 
> This is now implemented, and the file will be included if found.
> Stephen, please test this (I can't, I only have the shareware and
> Steam versions).

Unfortunately it doesn't work:

$ ls -l ~/.wine-3drealms/drive_c/Program\ Files/3DRealms/Anthology/Wolfenstein\ 3D/LICENSE.DOC
-rw-r--r-- 1 steve steve 2606 Jul 24  1998 /home/steve/.wine-3drealms/drive_c/Program\ Files/3DRealms/Anthology/Wolfenstein\ 3D/LICENSE.DOC

$ cksum ~/.wine-3drealms/drive_c/Program\ Files/3DRealms/Anthology/Wolfenstein\ 3D/LICENSE.DOC
1260526910 2606 /home/steve/.wine-3drealms/drive_c/Program Files/3DRealms/Anthology/Wolfenstein 3D/LICENSE.DOC

$ game-data-packager wolf3d ~/.wine-3drealms/drive_c/Program\ Files/3DRealms/Anthology/Wolfenstein\ 3D             
generated "/home/steve/Debian/games/game-data-packager/wolf3d-full-data_39_all.deb"

$ dpkg-deb -c wolf3d-full-data_39_all.deb 
drwxr-xr-x root/root         0 2015-01-16 00:01 ./
drwxr-xr-x root/root         0 2015-01-16 00:01 ./usr/
drwxr-xr-x root/root         0 2015-01-16 00:01 ./usr/share/
drwxr-xr-x root/root         0 2015-01-16 00:01 ./usr/share/games/
drwxr-xr-x root/root         0 2015-01-16 00:01 ./usr/share/games/wolf3d/
-rw-r--r-- root/root    334506 2015-01-16 00:01 ./usr/share/games/wolf3d/vgagraph.wl6
-rw-r--r-- root/root    150652 2015-01-16 00:01 ./usr/share/games/wolf3d/gamemaps.wl6
-rw-r--r-- root/root       402 2015-01-16 00:01 ./usr/share/games/wolf3d/maphead.wl6
-rw-r--r-- root/root   1545400 2015-01-16 00:01 ./usr/share/games/wolf3d/vswap.wl6
-rw-r--r-- root/root      1024 2015-01-16 00:01 ./usr/share/games/wolf3d/vgadict.wl6
-rw-r--r-- root/root    320209 2015-01-16 00:01 ./usr/share/games/wolf3d/audiot.wl6
-rw-r--r-- root/root      1156 2015-01-16 00:01 ./usr/share/games/wolf3d/audiohed.wl6
-rw-r--r-- root/root       486 2015-01-16 00:01 ./usr/share/games/wolf3d/vgahead.wl6
drwxr-xr-x root/root         0 2015-01-16 00:01 ./usr/share/doc/
drwxr-xr-x root/root         0 2015-01-16 00:01 ./usr/share/doc/wolf3d-full-data/
-rw-r--r-- root/root       822 2015-01-16 00:01 ./usr/share/doc/wolf3d-full-data/copyright
-rw-r--r-- root/root      6661 2015-01-16 00:01 ./usr/share/doc/wolf3d-full-data/changelog.gz


I had a look in the Python library but couldn't find any actual use of the
optional property. (On g-d-p master.)

While I'm at it, on master g-d-p doesn't build, game-data-packager.install
lists out/quake/*.copyright and out/quake2/*.copyright but dh_install can't
find them.

Thanks to Alexandre and you for all your work on g-d-p! You might want to add
yourselves to debian/copyright ;-).

Regards,

Stephen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150116/164cfd02/attachment.sig>


More information about the Pkg-games-devel mailing list