Discussion:
Bug#942032: openjazz: please provide a launcher for Jazz Jackrabbit Holiday Hare '95
Add Reply
Alexandre Detiste
2019-10-09 10:00:02 UTC
Reply
Permalink
Package: openjazz
Version: 20190106-1
Severity: normal

Hi,

game-data-packager can now package the extra levels "Holiday Hare '95"
into it's own package.

Unlike the main game, these levels are freely downloadable.

The assets are installed into
/usr/share/games/jazz-jackrabbit-hh95.

Can you provide a menu item for this game ?

This .desktop file could use a TryExec= stanza
to make it appears only when HH95 is actuall installed

(then G-D-P should provide in /usr/share/games/jazz-jackrabbit-hh95
a symlink to /usr/games/OpenJazz to makes it work ?)

Maybe it's also needed to symlink
/usr/share/games/jazz-jackrabbit/openjazz.000
into /usr/share/games/jazz-jackrabbit-hh95 .

Greets,



-- System Information:
Debian Release: bullseye/sid
APT prefers testing
APT policy: (501, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages openjazz depends on:
ii libc6 2.29-2
ii libgcc1 1:9.2.1-8
ii libmodplug1 1:0.8.9.0-2
ii libsdl1.2debian 1.2.15+dfsg2-5
ii libstdc++6 9.2.1-8
ii zlib1g 1:1.2.11.dfsg-1+b1

Versions of packages openjazz recommends:
ii game-data-packager 63

openjazz suggests no packages.

-- no debconf information
Simon McVittie
2019-10-09 10:10:02 UTC
Reply
Permalink
Post by Alexandre Detiste
game-data-packager can now package the extra levels "Holiday Hare '95"
into it's own package.
Unlike the main game, these levels are freely downloadable.
The assets are installed into
/usr/share/games/jazz-jackrabbit-hh95.
Can you provide a menu item for this game ?
This .desktop file could use a TryExec= stanza
to make it appears only when HH95 is actuall installed
(then G-D-P should provide in /usr/share/games/jazz-jackrabbit-hh95
a symlink to /usr/games/OpenJazz to makes it work ?)
The way this usually works is that the g-d-p-generated package
provides a symlink to an executable file (precisely what the target
is doesn't actually matter - usually nobody will actually run it -
but the game itself is conventional), and the game has a .desktop file
with a TryExec field pointing to that symlink. If the g-d-p-generated
package is installed, the symlink exists and points to an executable,
so the TryExec condition is true. If not, the symlink doesn't exist,
so the TryExec condition is false and the menu entry is hidden.

The handling of Quake III Team Arena (in the g-d-p source package)
makes quite a good example.

smcv
Ryan Armstrong
2019-10-09 20:40:02 UTC
Reply
Permalink
Post by Alexandre Detiste
(then G-D-P should provide in /usr/share/games/jazz-jackrabbit-hh95
a symlink to /usr/games/OpenJazz to makes it work ?)
When I did my initial testing, the HH95 path just needs to be provided
as a command-line argument to openjazz. For example:

$ OpenJazz /usr/share/games/jazz-jackrabbit-hh95

Once the game is started, the menu item for 'Episode X' will run the
HH95 levels instead of the HH94 levels included with the full game.

It seems to find the existing game data files in the jazz-jackrabbit folder just
fine, even if the only such file is openjazz.000. If run without the main game data
present, the other episodes will just be disabled on the main menu.

Ryan

Loading...