Experience with "GWindows Screen Management Framework for Glulx"

Hi,

I’ve downloaded an old (2005) I6 Extension called “GWindows Screen Management Framework for Glulx”. It was written by L. Ross Raszewski. (LINK).

I copied all the files from the include-folder of the extension to my inform-lib folder. Sadly I’m can’t even run the simplest example code snippets that come with the extension.

inform gsimple.inf -g

Inform 6.34 for Unix (16th August 2017)
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gcore.h”, line 93: Error: System function given with too many arguments

glk($0086, 3);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gcore.h”, line 93: Error: The glk() system function does not exist in Z-code
glk($0086, 3);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gcore.h”, line 97: Error: System function given with too many arguments
glk($0086, 0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gcore.h”, line 97: Error: The glk() system function does not exist in Z-code
glk($0086, 0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gcore.h”, line 107: Error: Expected an opcode name but found aloads
@aloads
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwincls.h”, line 465: Error: Expected an opcode name but found copy
@copy
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwincls.h”, line 469: Error: Expected an opcode name but found tailcall
@tailcall
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwincls.h”, line 657: Error: Assembly mistake: syntax is "catch → "
@catch GW_Massive_Error ?rednerr;
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 683: Error: Expected an opcode name but found setiosys
with winid 0, number 0, penon [; @setiosys
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 683: Error: Expected an opcode name but found setiosys
with winid 0, number 0, penon [; @setiosys 0 0;], penoff [; @setiosy …etc
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 703: Error: ‘=’ applied to undeclared variable
gg_scriptfref = glk($0062, $102, $05, GG_SCRIPTFREF_ROCK);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 703: Error: Expected expression with side-effects but found
gg_scriptfref = glk($0062, $102, $05, GG_SCRIPTFREF_ROCK);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 713: Error: ‘=’ applied to undeclared variable
gg_scriptstr = glk($0042, gg_scriptfref, $05, GG_SCRIPTSTR_ROCK);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 713: Error: Expected expression with side-effects but found
gg_scriptstr = glk($0042, gg_scriptfref, $05, GG_SCRIPTSTR_ROCK);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 801: Error: System function given with too many arguments
0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 801: Error: The glk() system function does not exist in Z-code
0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 807: Error: System function given with too many arguments
glk($00C0, gg_event);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 807: Error: The glk() system function does not exist in Z-code
glk($00C0, gg_event);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 891: Error: System function given with too many arguments
glk($0024, gg_quotewin, 0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 891: Error: The glk() system function does not exist in Z-code
glk($0024, gg_quotewin, 0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 893: Error: ‘=’ applied to undeclared variable
gg_quotewin = 0;
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 893: Error: Expected expression with side-effects but found
gg_quotewin = 0;
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 1075: Error: Assembly mistake: syntax is "catch → "
@catch GW_Massive_Error ?ignoerr;
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 1115: Error: ‘=’ applied to undeclared variable
gg_mainwin=Main_GWindow.winid;
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 1115: Error: Expected expression with side-effects but found
gg_mainwin=Main_GWindow.winid;
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 1193: Error: Assembly mistake: syntax is "catch → "
@catch GW_Massive_Error ?evhne;
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 1355: Error: Assembly mistake: syntax is "catch → "
@catch GW_Massive_Error ?dslnoerr;
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gstatus.h”, line 73: Error: System function given with too many arguments
glk($002B, self.winid, posa-1, 0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gstatus.h”, line 73: Error: The glk() system function does not exist in Z-code
glk($002B, self.winid, posa-1, 0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gstatus.h”, line 77: Error: System function given with too many arguments
glk($002B, self.winid, posb-1, 0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gstatus.h”, line 77: Error: The glk() system function does not exist in Z-code
glk($002B, self.winid, posb-1, 0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gstatus.h”, line 85: Error: System function given with too many arguments
glk($002B, self.winid, posb-1, 0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gstatus.h”, line 85: Error: The glk() system function does not exist in Z-code
glk($002B, self.winid, posb-1, 0);
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gcore.h”, line 191: Warning: Routine “IdentifyGlkObject” declared but not used
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwincls.h”, line 223: Error: No such constant as “wintype_TextBuffer”
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwincls.h”, line 223: Error: No such constant as “wintype_TextGrid”
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwincls.h”, line 445: Error: No such constant as “wintype_Graphics”
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gstatus.h”, line 103: Error: No such constant as “winmethod_Above”
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gwindows.h”, line 863: Error: No such constant as “style_Normal”
“/usr/local/Cellar/inform6/6.34-6.12.2/share/inform/lib/gstatus.h”, line 103: Error: No such constant as “stylehint_Reversecolor”

Might this be an problem, because Inform 6 itself has evolved since 2005?

Jens

Oh boy, I got it working…

Blockquote

inform gsimple.inf -GHxs

does the trick.

Jens

BTW. But if anyone has experience I still would appreciate, if anyone could tell me, if this is still the right extension to with in 2021, if you would have some customization options for your I6-Game.