IFM Interactive Fiction Mapper questions

G

Guest

Guest
Archived from groups: rec.games.int-fiction (More info?)

Trying to run this on my WinXP system. After figuring out that I need to
specifying the path of the configuration file even though it's in the
same directory as the executable, I now receive the following error:
"ifm: error: variable 'solver_messages' is not defined'. The solution
the documentation offers is to "define the variable somewhere".

Lee Kaiwen, Taiwan
 
Archived from groups: rec.games.int-fiction (More info?)

> I now receive the following error: "ifm: error: variable 'solver_messages'
> is not defined'. The solution the documentation offers is to "define the
> variable somewhere".

It's set in the ifm-init.ifm file, isn't it? It should be there by default:
the standard ifm-init.ifm file includes it.

David
 
Archived from groups: rec.games.int-fiction (More info?)

David Kinder wrote:
>>I now receive the following error: "ifm: error: variable 'solver_messages'
>>is not defined'. The solution the documentation offers is to "define the
>>variable somewhere".
>
>
> It's set in the ifm-init.ifm file, isn't it? It should be there by default:
> the standard ifm-init.ifm file includes it.

Yes, it is in the default ifm-init.ifm, defined as "solver_messages =
0;". I've tried setting it to 1 with the same result.

Lee Kaiwen,
Taiwan
 
Archived from groups: rec.games.int-fiction (More info?)

On Tue, 05 Oct 2004 00:46:41 +0800, Kaiwen wrote:
> Yes, it is in the default ifm-init.ifm, defined as "solver_messages =
> 0;". I've tried setting it to 1 with the same result.

This seems to be a big problem on Windows machines. I developed IFM on
Linux (which works fine), and haven't had a Windows box for a while, so
can't easily track down the problem. But here's a recent email I got from
someone who does:

As for running on windows, I had no problem, however I know of 2
reasons why people may have trouble.

#1. There *might* be some problems with putting the program in a
directory which has spaces in the name. (or in a directory in another
directory with spaces in the name, etc.)

#2. Not only must IFMPATH be defined under Windows, but AFAICT it must
be defined using cygwin notation, so if you unpack the zipfile in C:,
IFMPATH must equal "/cygdrive/c/ifm50/lib", which most users not
experienced with cygwin would never guess.

Hope this is of some use. The next version (due Real Soon Now) will
hopefully fix the problem properly.

Glenn
 
Archived from groups: rec.games.int-fiction (More info?)

On Mon, 04 Oct 2004 22:42:23 +0000, "Glenn Hutchings"
<zondo@pillock.freeserve.co.uk> wrote:

>On Tue, 05 Oct 2004 00:46:41 +0800, Kaiwen wrote:
>> Yes, it is in the default ifm-init.ifm, defined as "solver_messages =
>> 0;". I've tried setting it to 1 with the same result.
>
>This seems to be a big problem on Windows machines. I developed IFM on
>Linux (which works fine), and haven't had a Windows box for a while, so
>can't easily track down the problem. But here's a recent email I got from
>someone who does:
>
> As for running on windows, I had no problem, however I know of 2
> reasons why people may have trouble.
>
> #1. There *might* be some problems with putting the program in a
> directory which has spaces in the name. (or in a directory in another
> directory with spaces in the name, etc.)
>
> #2. Not only must IFMPATH be defined under Windows, but AFAICT it must
> be defined using cygwin notation, so if you unpack the zipfile in C:,
> IFMPATH must equal "/cygdrive/c/ifm50/lib", which most users not
> experienced with cygwin would never guess.
>
>Hope this is of some use. The next version (due Real Soon Now) will
>hopefully fix the problem properly.
>
>Glenn

I've had a similar problem with v5.0 of IFM, so I'll chip in my experience.

First, thanks for the info about "/cgydrive/c/..."; it'll save having
everything in one directory...

Unfortunately, with 5.0, it still leaves me with the following problems:

1. Even though it's in the 'ifm-init.ifm' file, 'solver_messages' is (as
above) undefined unless you put "-s solver_messages=1" on the command-line.
It IS, at the very least, noticing that the file is there, because it will
complain about "can't locate file `ifm-init.ifm'" if you get IFMPATH wrong.

2. Even with this on the command-line, it doesn't produce any output
(apart from the solver messages if you have them on) when task solving.
The following command:

ifm -t -s solver_messages=1 pirate.ifm

Only gives the following output (which appear to be the 'solver messages'):

Connecting rooms...

Setting up tasks...
Adding dependencies for task 'follow' entries
Adding dependencies for item 'before/after' lists
Adding dependencies for task 'need/get/give/after' lists
Adding dependencies for task 'lose' lists

Under 4.1, this would work OK. If I try a "-m" option for a map, it begins
complaining about a long list of variables starting with 'show_page_border'
that I haven't had the patience to exhaust.

Regards,
Graham Holden (g-holden AT dircon DOT co DOT uk)
--
There are 10 types of people in the world;
those that understand binary and those that don't.