Bug#902775: game-data-packager: please add support for GOG's "Jazz Jackrabbit Collection" package

2018-11-17 Thread Fabian Greffrath
Hi Simon et al.,

Am Sonntag, den 04.11.2018, 17:25 + schrieb Simon McVittie:
> Which of the data files in the template you sent does it need, and
> where
> do they go? (An answer in YAML format would be perfect, an answer in words
> would also be fine.)

I think I have chosen a middle ground by taking your near-perfect "wild
guess" of necessary game data files and kicking out what I found was
not crucial to play the game with the openjazz engine. Please find
attached the diff. I am not sure what else to do with the removed
files, though.

All the remaining files (and the MM95/ subdirctory) need to go into the
/usr/share/games/jazz-jackrabbit directory.

> If some of the .DOC files need to accompany the game data, then this will
> need modification. Equally, if some of the game files aren't needed (you
> should be able to tell from the engine source code), they can be dropped.

No, none of the *.DOC files are needed to play the game and the
classification of HH95/VENDOR.DOC and LICENSE.DOC as "licenses" is also
correct.

> The "game" in the "gog:" block needs to be set to whatever is listed in
> your `lgogdownloader --list` output, which might be jazz_jackrabbit or
> jazz_jackrabbit_collection or something else entirely. The "url" is

`lgogdownloader --list` lists the game package as
"jazz_jackrabbit_collection".

Thank you very much already! Please don't hesitate to ask if you need
more information or help from my side.

Cheers,

 - Fabian

diff --git a/jazz-jackrabbit.yaml.smcv b/jazz-jackrabbit.yaml
index ca3b234..958ff28 100644
--- a/jazz-jackrabbit.yaml.smcv
+++ b/jazz-jackrabbit.yaml
@@ -29,7 +29,6 @@ groups:
 
   assets:
 group_members: |
-  507f5551a249cb492f278880d8b445931d .INI
   1438769c46dc9a8ecbf0e458f8844254df205e BLOCKS.000
   96389 3e96f14a0e82854e682467ecc74fd670 BLOCKS.001
   101307c0ae642f03b0b43a71014b224a00aea0 BLOCKS.002
@@ -108,7 +107,6 @@ groups:
   47683 9e3e86b36f9d62069eff622dda1b3b3f CDBONUS2.000
   48657 1c7e81823624f5d398a38a3ff6b26a26 CDBONUS3.000
   20569 63d45013d53fb717e8d9a4e106963247 CHEAT.0SC
-  32915df4c792910bd8003d21e067cf176a CONFIG.000
   57609 306c1abf07f6cbee2a13ba749dd717a2 CONTINUE.0SC
   65376 4e330f58c1070793e8a301638b5a26a7 DPMI.000
   3207  731d805157724f4262d34014874cf08d END.0SC
@@ -126,19 +124,16 @@ groups:
   14831 738cedaf041b20794b32e7b51a598464 ENDLEVEL.0SC
   58884 52432dcf098176c3c91fb8a7c4e3c539 ENDLEVEL.PSM
   1169643c0e1f24842511e1fca658371bfd94a0 ENDSONG.PSM
-  283   6865731614c66532f8275f1ab466635f FILE_ID.DIZ
   3819  35c4a217f51195015197daff53224cdf FONT2.0FN
   6463  a7f73ec4227294e266fddde8f217582b FONTBIG.0FN
   3339  c958c44dec1dfe657f54d23f0b41ace3 FONTINY.0FN
   8982  dc75400edee3b5280374422352bedcb5 FONTMN1.0FN
   6789  8a2bec985a728319c4d5181ceb2ffdd3 FONTMN2.0FN
   14542 2713e1bd1691e0ceddd20ddec99b68cc FONTS.000
-  507f5551a249cb492f278880d8b445931d HH95/.INI
   113568e2ff81572e50a52c31facdd4226dd0c7 HH95/BLOCKS.050
   1262699925385e47cd2b9588752e9fa3723850 HH95/BLOCKS.051
   51832 a90a22d0fb4b7d1193299f57aa729ae8 HH95/BONUS.0SC
   20569 63d45013d53fb717e8d9a4e106963247 HH95/CHEAT.0SC
-  322f9ab91860848caff379925594fa5961 HH95/CONFIG.000
   57609 306c1abf07f6cbee2a13ba749dd717a2 HH95/CONTINUE.0SC
   65376 4e330f58c1070793e8a301638b5a26a7 HH95/DPMI.000
   3207  731d805157724f4262d34014874cf08d HH95/END.0SC
@@ -159,12 +154,6 @@ groups:
   23659 9f78ac7c29f2659124df572877d5d3bc HH95/LEVEL1.051
   23075 a079562596743f42323d4ac7c504d34a HH95/LEVEL2.050
   23202 87074b84fc3c1e231953a0ce3ecd0d45 HH95/MAINCHAR.000
-  4694  71a445b0957edc362335acc7e2f0b338 HH95/MDRV000D.MUS
-  515   3560ea6b3d7e329983f9d0e5c0acbf33 HH95/MDRV001D.MUS
-  509   f224f68de6b6643fee0a12727787e799 HH95/MDRV002D.MUS
-  9969  13cce1f145757027b6fbf83d3726e55a HH95/MDRV004D.MUS
-  9437  2ff588805152c676671d78a540d1bdde HH95/MDRV005D.MUS
-  2253  ad8a3d3788910b11e46a1ee286bf0867 HH95/MDRVINFO.INT
   220509bacc09fb4351261256203e8a8827f589 HH95/MENU.000
   79609 3aaee41290193b20af044f496b12bd61 HH95/MENUSNG.PSM
   60660 c10282bdc436442e2e5d06722e68bbe7 HH95/ORDER.0SC
@@ -172,9 +161,6 @@ groups:
   4300  3e90a7d624c302e8afb50b37784e0a50 HH95/PLANET.050
   4300  165d0368e484a17ec55d4f676de791af HH95/PLANET.051
   108846591559541934942bdc2e9c1542d9c010 HH95/RTM.000
-  2912  4642be84470f7e08da357d77d7d01d5d HH95/SETUP.INT
-  2804  9931ff6d226c5fd411bcf246d6d4ff9f HH95/SETUP.ITS
-  3816930bf8b91525716b3d9756beabd1c1 HH95/SOUNDCRD.INF
   13060345a942d9da1e4a7d9604a67addfdacc3 HH95/SOUNDS.000
   404   70fce31185573db57254b3a887f19625 HH95/SOUNDS.001
   

Bug#902775: game-data-packager: please add support for GOG's "Jazz Jackrabbit Collection" package

2018-11-04 Thread Simon McVittie
Control: tags -1 = moreinfo

On Fri, 02 Nov 2018 at 10:58:09 +0100, Fabian Greffrath wrote:
> > as announced in #898301 I am going to package the OpenJazz engine
> > which plays Jazz Jackrabbit's data files. These are now available for
> > download on GOG.com. The contents of the packages as seen by "gdb
> > make-template" is attached.
> 
> now that my openjazz package has been accepted into Debian [1], it would
> be nice to get some progress into this. The package expects its data files
> in "/usr/share/games/jazz-jackrabbit/".

Which of the data files in the template you sent does it need, and where
do they go? (An answer in YAML format would be perfect, an answer in words
would also be fine.)

Until recently, make-template would guess that everything in app/
is needed, except for files that look like licenses, documentation,
or Windows/DOS executables. It now lists tmp/ as well, because GOG have
started shipping some games that need files outside app/.

If some of the .DOC files need to accompany the game data, then this will
need modification. Equally, if some of the game files aren't needed (you
should be able to tell from the engine source code), they can be dropped.

I attach a wild guess at what might be needed.

The "game" in the "gog:" block needs to be set to whatever is listed in
your `lgogdownloader --list` output, which might be jazz_jackrabbit or
jazz_jackrabbit_collection or something else entirely. The "url" is
the end of .
The two don't always match, unfortunately, and I don't think I can find
out the right "game" for games I don't own.

smcv
---
longname: Jazz Jackrabbit
copyright: © 1994 Epic MegaGames
packages:
  jazz-jackrabbit-data:
gog:
  url: jazz_jackrabbit_collection
  game: jazz_jackrabbit_collection# this is a guess
install:
  - assets
doc:
  - documentation
  - licenses

files:
  setup_jazz_jackrabbit_2.0hf_(16882).exe:
unpack:
  format: innoextract
  contents:
- assets
- documentation
- licenses
- GOG cruft

groups:
  archives:
group_members: |
  23609360  e3226006fef35728823326d6525ba53b 
setup_jazz_jackrabbit_2.0hf_(16882).exe

  assets:
group_members: |
  507f5551a249cb492f278880d8b445931d .INI
  1438769c46dc9a8ecbf0e458f8844254df205e BLOCKS.000
  96389 3e96f14a0e82854e682467ecc74fd670 BLOCKS.001
  101307c0ae642f03b0b43a71014b224a00aea0 BLOCKS.002
  86598 88af3ea8dd0bb291d6b908eb72c35460 BLOCKS.003
  77847 47ef1495812212988b0e81d658cb93b1 BLOCKS.004
  1871911173d1dc25401cc4f3141982f6e3a6c4 BLOCKS.005
  137958eb19778c78123082d8e759417e61d2d2 BLOCKS.006
  146538f10c97f224d3a2ed7be94afe53835738 BLOCKS.007
  103147e923b9f066022a19d0b5e10ae04c0b20 BLOCKS.008
  142685c890dccdd9eaf0aba7213b592808354a BLOCKS.009
  145242b7e99825b03b379411b7d943f7b07128 BLOCKS.010
  1387170c01719b456c9b0d56512cd733fcb973 BLOCKS.011
  152890e0ef3d4bebdfbf691258cf43f2d9714a BLOCKS.012
  1120546c298b1f23ec89ae257ac00c90d88c74 BLOCKS.013
  156682c84d0baa930b673f6ef334bb81415e1e BLOCKS.014
  112070fabde1722a6b4a94263498413cd66401 BLOCKS.015
  13264711dda5d0b45958673033eafc36737df7 BLOCKS.016
  100621c1741331140f91a9f73bb2b3b33eff2d BLOCKS.017
  100961d610eb0e9ec9ec96dc54b9b1ce493da3 BLOCKS.020
  1586880c911cd9c8b81a6c5838f9bb8ece4c6b BLOCKS.022
  1007483f1093f2c4d5d2b6a198ca24e1759a44 BLOCKS.023
  1736808b5aa732715be47985904dacb73bbd6c BLOCKS.030
  177459da46cecd1ea53b57109afcb060829940 BLOCKS.031
  158103b44176f16aa7e4683b6e8df72b7f2b69 BLOCKS.032
  1669590a70f78d92727c4a0ab51a3de0f9cfe3 BLOCKS.033
  147171ae03bf33a096b72758f437f7a156ff17 BLOCKS.034
  105609f733154709616ca9bbb1dee7e2915b13 BLOCKS.035
  57638 7572aa950fc3b508a2b3c5a92fce366f BLOCKS.036
  93566 dded68f87fab807d0022e0762488968e BLOCKS.037
  78206 461e9836e47434b4396e9e3e3e813711 BLOCKS.038
  158103b44176f16aa7e4683b6e8df72b7f2b69 BLOCKS.041
  96581 de7401f0f86332510d35f070e1030ddf BLOCKS.050
  96580 b8f2977ee00e51c4659cf7c1346c9a90 BLOCKS.051
  96832 c5e600a01671f77ff1e59a396da3e34d BLOCKS.052
  1610222e942c6f260b57f8bd515268becf873f BONUS.000
  51832 a90a22d0fb4b7d1193299f57aa729ae8 BONUS.0SC
  98008 fb3da04a51001d1a0c743e2de4cad7e0 BONUS.PSM
  54765 a74545bc1f8da695092484be4ff2d105 BONUS2.000
  62546 f731474749792dde15b1274a94385bf9 BONUS3.000
  59143 9524a8713ec6366225e227cdb2e3b5fb BONUS4.000
  60107 a5c7efcbd2098e7a674e251e33e46e8b BONUS5.000
  53279 e14a5e2c6f1bd0f99095e025f9ac66ea BONUS6.000
  6455  4b5e279d1c6fbb3577fcafee71ceca02 BONUSMAP.000
  8827  ace00e71bcb0674d629c132ff63d89a7 BONUSMAP.001
  6372  

Bug#902775: game-data-packager: please add support for GOG's "Jazz Jackrabbit Collection" package

2018-11-02 Thread Fabian Greffrath
Hello again,

Fabian Greffrath wrote:
> as announced in #898301 I am going to package the OpenJazz engine
> which plays Jazz Jackrabbit's data files. These are now available for
> download on GOG.com. The contents of the packages as seen by "gdb
> make-template" is attached.

now that my openjazz package has been accepted into Debian [1], it would
be nice to get some progress into this. The package expects its data files
in "/usr/share/games/jazz-jackrabbit/".

Thanks!

 - Fabian

[1] https://tracker.debian.org/pkg/openjazz



Bug#902775: game-data-packager: please add support for GOG's "Jazz Jackrabbit Collection" package

2018-06-30 Thread Fabian Greffrath
Package: game-data-packager
Version: 59
Severity: wishlist
Tags: patch

Hi there,

as announced in #898301 I am going to package the OpenJazz engine
which plays Jazz Jackrabbit's data files. These are now available for
download on GOG.com. The contents of the packages as seen by "gdb
make-template" is attached.

Cheers,

 - Fabian

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'experimental'), 
(500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages game-data-packager depends on:
ii  dpkg1.19.0.5+b1
ii  fakeroot1.22-2
ii  python3 3.6.5-3
ii  python3-debian  0.1.32
ii  python3-yaml3.12-1+b1

Versions of packages game-data-packager recommends:
ii  game-data-packager-runtime  59

Versions of packages game-data-packager suggests:
pn  arj   
ii  binutils  2.30-22
ii  cabextract1.6-1.1
pn  cdparanoia
pn  dynamite  
ii  gcc   4:7.3.0-3
pn  gdebi | gdebi-kde 
ii  gir1.2-gdkpixbuf-2.0  2.36.11-2
ii  innoextract   1.6-1+b2
pn  lgc-pg
pn  lgogdownloader
ii  lhasa [lzh-archiver]  0.3.1-3
ii  make  4.1-9.1
ii  p7zip-full16.02+dfsg-6
pn  steam 
pn  steamcmd  
pn  unace-nonfree 
ii  unar  1.10.1-2+b2
ii  unrar 1:5.5.8-1
pn  unshield  
ii  unzip 6.0-21
ii  vorbis-tools  1.4.0-10.1
ii  xdelta1.1.3-9.2
ii  xdelta3   3.0.11-dfsg-1+b1

-- no debconf information
---
copyright: "\xA9 1970 FIXME"
files:
  setup_jazz_jackrabbit_2.0hf_(16882).exe:
unpack:
  format: innoextract
groups:
  archives:
group_members: |
  .23609360  e3226006fef35728823326d6525ba53b 
setup_jazz_jackrabbit_2.0hf_(16882).exe
  contents of setup_jazz_jackrabbit_2.0hf_(16882).exe:
group_members: |
  507f5551a249cb492f278880d8b445931d app/.INI
  1438769c46dc9a8ecbf0e458f8844254df205e app/BLOCKS.000
  96389 3e96f14a0e82854e682467ecc74fd670 app/BLOCKS.001
  101307c0ae642f03b0b43a71014b224a00aea0 app/BLOCKS.002
  86598 88af3ea8dd0bb291d6b908eb72c35460 app/BLOCKS.003
  77847 47ef1495812212988b0e81d658cb93b1 app/BLOCKS.004
  1871911173d1dc25401cc4f3141982f6e3a6c4 app/BLOCKS.005
  137958eb19778c78123082d8e759417e61d2d2 app/BLOCKS.006
  146538f10c97f224d3a2ed7be94afe53835738 app/BLOCKS.007
  103147e923b9f066022a19d0b5e10ae04c0b20 app/BLOCKS.008
  142685c890dccdd9eaf0aba7213b592808354a app/BLOCKS.009
  145242b7e99825b03b379411b7d943f7b07128 app/BLOCKS.010
  1387170c01719b456c9b0d56512cd733fcb973 app/BLOCKS.011
  152890e0ef3d4bebdfbf691258cf43f2d9714a app/BLOCKS.012
  1120546c298b1f23ec89ae257ac00c90d88c74 app/BLOCKS.013
  156682c84d0baa930b673f6ef334bb81415e1e app/BLOCKS.014
  112070fabde1722a6b4a94263498413cd66401 app/BLOCKS.015
  13264711dda5d0b45958673033eafc36737df7 app/BLOCKS.016
  100621c1741331140f91a9f73bb2b3b33eff2d app/BLOCKS.017
  100961d610eb0e9ec9ec96dc54b9b1ce493da3 app/BLOCKS.020
  1586880c911cd9c8b81a6c5838f9bb8ece4c6b app/BLOCKS.022
  1007483f1093f2c4d5d2b6a198ca24e1759a44 app/BLOCKS.023
  1736808b5aa732715be47985904dacb73bbd6c app/BLOCKS.030
  177459da46cecd1ea53b57109afcb060829940 app/BLOCKS.031
  158103b44176f16aa7e4683b6e8df72b7f2b69 app/BLOCKS.032
  1669590a70f78d92727c4a0ab51a3de0f9cfe3 app/BLOCKS.033
  147171ae03bf33a096b72758f437f7a156ff17 app/BLOCKS.034
  105609f733154709616ca9bbb1dee7e2915b13 app/BLOCKS.035
  57638 7572aa950fc3b508a2b3c5a92fce366f app/BLOCKS.036
  93566 dded68f87fab807d0022e0762488968e app/BLOCKS.037
  78206 461e9836e47434b4396e9e3e3e813711 app/BLOCKS.038
  158103b44176f16aa7e4683b6e8df72b7f2b69 app/BLOCKS.041
  96581 de7401f0f86332510d35f070e1030ddf app/BLOCKS.050
  96580 b8f2977ee00e51c4659cf7c1346c9a90 app/BLOCKS.051
  96832 c5e600a01671f77ff1e59a396da3e34d app/BLOCKS.052
  1610222e942c6f260b57f8bd515268becf873f app/BONUS.000
  51832 a90a22d0fb4b7d1193299f57aa729ae8 app/BONUS.0SC
  98008 fb3da04a51001d1a0c743e2de4cad7e0 app/BONUS.PSM
  54765 a74545bc1f8da695092484be4ff2d105 app/BONUS2.000
  62546 f731474749792dde15b1274a94385bf9 app/BONUS3.000
  59143 9524a8713ec6366225e227cdb2e3b5fb app/BONUS4.000
  60107 a5c7efcbd2098e7a674e251e33e46e8b app/BONUS5.000
  53279