Bug#533557: openttd: dies silently when data files are not installed

2009-08-20 Thread Matthijs Kooijman
Hi Javier, I've finalized a plan for this bug. I intend to close it in the next upload, but with a minimal solution. I've created a very simple script that captures openttd's standard error stream and displays it using xmessage if openttd returns an error code. This is not as flexible, elegant

Bug#533557: openttd: dies silently when data files are not installed

2009-07-12 Thread Javier Martín
Well, from the bunch of information you provided about the rules OpenTTD uses in finding its data files, I've tried to sanitize the script: - It now uses `openttd -h` output to determine whether or not some graphics set has been installed. It will only offer to install the TTDX data files if

Bug#533557: openttd: dies silently when data files are not, installed

2009-06-24 Thread Rubidium
There are (quite) a few cases where openttd-start.sh does not find the graphics files even when OpenTTD finds them. First of all OpenTTD also allows the fully uppercase version of the file names, i.e. data/SAMPLE.CAT data/TRG1R.GRF etc. In the case you copy the file from an old? Windows/DOS

Bug#533557: openttd: dies silently when data files are not installed

2009-06-19 Thread Matthijs Kooijman
Hi Javier, I propose the attached patch, a shell script that would replace openttd as the command to be executed by the OpenTTD menu item. Cool, thanks. I already saw the Ubuntu bug report [1], but didn't have time to reply yet. I like the idea. I don't use the Debian menus myself, I start my

Bug#533557: openttd: dies silently when data files are not installed

2009-06-19 Thread Javier Martín
Greetings, I also think that your approach is better. However, the .deb configuration scripts would need to make sure that the appropriate Base graphics option is selected by default within OpenTTD. Also, it does not cover SFX and music; of those, at least a dummy (empty) sample.cat SFX file is

Bug#533557: openttd: dies silently when data files are not installed

2009-06-19 Thread Jordi Mallach
On Fri, Jun 19, 2009 at 06:47:01PM +0200, Javier Martín wrote: Nevertheless, even if this script is a temporary fix, it would make life easier for unexperienced users while The Right Thing (TM) is done regarding the additional packages. However, I've suddenly noticed: I'm using gksu and

Bug#533557: openttd: dies silently when data files are not installed

2009-06-19 Thread Javier Martín
El vie, 19-06-2009 a las 21:49 +0200, Jordi Mallach escribió: On Fri, Jun 19, 2009 at 06:47:01PM +0200, Javier Martín wrote: Nevertheless, even if this script is a temporary fix, it would make life easier for unexperienced users while The Right Thing (TM) is done regarding the additional

Bug#533557: openttd: dies silently when data files are not installed

2009-06-18 Thread Javier Martin
Package: openttd Version: 0.6.3-1 Severity: important Tags: patch Preconditions: package is installed, but additional required data files are not Expected behavior: a dialog should pop up explaining that the data files are not installed. Optimally, a gksudo or policykit-enabled