Files @ r15630:3f138941b535
Branch filter:

Location: cpp/openttd-patchpack/source/os/debian/patches/run-openttd-wrapper.patch

rubidium
(svn r20305) -Change: reduce OpenTTD's install size by roughly 460 KiB by only providing the "extra" base graphics in one palette and doing the conversion upon loading; the conversion has existed for a while, but now the NewGRF can tell its palette using Action 14 thus it can enable the conversion for only that NewGRF.
From: Matthijs Kooijman <matthijs@stdin.nl>
Subject: Use a wrapper script for running openttd

The wrapper script captures stderr from openttd and displays this in
case of an error. This patch makes the the .desktop file call the
wrapper instead of the openttd binary directly.

Index: media/openttd.desktop.in
===================================================================
--- a/media/openttd.desktop.in	(revision 20124)
+++ b/media/openttd.desktop.in	(working copy)
@@ -5,7 +5,7 @@
 Version=1.1
 Name=!!MENU_NAME!!
 Icon=openttd
-Exec=!!TTD!!
+Exec=/usr/share/games/openttd/openttd-wrapper
 Terminal=false
 Categories=!!MENU_GROUP!!
 Comment=A clone of Transport Tycoon Deluxe