Wabere / garglk

Automatically exported from code.google.com/p/garglk
Other
0 stars 0 forks source link

Can't assign specific terp with some default extensions #60

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Download http://waxy.org/random/software/milliways/milliways_release184.z6
2.try to run it with Gargoyle.
3.You get: Frotz - Cannot play Z-code version 6

What is the expected output? What do you see instead?
The default garglk.ini has this entry which should allow z6 games to be run
by nitfol, but it's not the case:

[ .z6 ]
terp nitfol

It works well with nitfol if you run:
/usr/share/gargoyle/nitfol milliways_release184.z6

What version of the product are you using? On what operating system?
Gargoyle sources. Version 2008-12-25 on Archlinux.

Please provide any additional information below.

There are 2 problems here: 

- First the "terp" parameter doesn't seem to work (if we replace .z6 by
milliways_release184.z6, it's the same). 
- And specific extension parameters are not working at all, for exemple
with other options:

[ .z1 .z2 .z3 .z4 .z5 .z7 .z8 .zlb .zblorb ]

cols        85  

rows        20  

but this one is working instead :

[ frotz ]

cols        85  
rows        20  

Original issue reported on code.google.com by escli...@gmail.com on 26 Apr 2009 at 6:44

GoogleCodeExporter commented 8 years ago
The issue is that Gargoyle on Linux uses a shell script to decide which 
interpreter
to launch.  The .ini terp parameter is Windows-only until I find a way to parse 
it
using a perl or sed script.

Also the file extensions are only meant to control which interpeter is 
launched. 
Configuration for the interpreter itself is done in the appropriate section, as
indicated.

I'm not thrilled with the current behavior and I'd like to streamline it across
platforms.  Ideally I'd migrate the launcher code to some common widget set and 
move
the configuration options into the UI rather than requiring a text editor to
manipulate the settings.

Original comment by bcressey@gmail.com on 7 May 2009 at 11:22

GoogleCodeExporter commented 8 years ago

Original comment by bcressey@gmail.com on 6 Jun 2009 at 11:14

GoogleCodeExporter commented 8 years ago
This should be fixed by the inclusion of the cross-platform launcher, which will
properly parse garglk.ini to load the correct interpreter.

Original comment by bcressey@gmail.com on 9 Dec 2009 at 6:46