I’m assuming I could extensively rewrite the Rule for printing the banner text:, replacing it with something custom, but I thought I’d ask before doing that in case there’s an easier way.
When I test this out, I see the extra lines when the width of the image is too large for the window. Apparently the player in Inform does this. When I release and run it in Gargoyle, I don’t see the extra lines. On the other hand, Gargoyle doesn’t scale the image!
The 3 first blank lines are hard-coded in I7 at the I6 template level.
[ VIRTUAL_MACHINE_STARTUP_R;
CarryOutActivity(STARTING_VIRTUAL_MACHINE_ACT);
VM_Initialise();
! It is now safe for the paragraph breaking between rules mechanism to work
if (say__pc & PARA_NORULEBOOKBREAKS) say__pc = say__pc - PARA_NORULEBOOKBREAKS;
print "^^^";
rfalse;
];
You should be able to remove them with a replace:
Include (-
[ VIRTUAL_MACHINE_STARTUP_R;
CarryOutActivity(STARTING_VIRTUAL_MACHINE_ACT);
VM_Initialise();
! It is now safe for the paragraph breaking between rules mechanism to work
if (say__pc & PARA_NORULEBOOKBREAKS) say__pc = say__pc - PARA_NORULEBOOKBREAKS;
! print "^^^";
rfalse;
];
-) replacing "VIRTUAL_MACHINE_STARTUP_R".
EDIT: updated the I6 code from 6L38 to Inform 10. The say__pc […] line is new, I don’t know if you should remove it, I haven’t tested in Inform 10.
@CrocMiam - When you get a chance could you re-post the 6L38 code since that’s the version of Inform that I’m using for this game.
Also, I don’t have a lot of experience using Inform 6 code with Inform 7. I assume that I just include the Include (- ... -) replacing "VIRTUAL_MACHINE_STARTUP_R" example somewhere in my Inform 7 source - correct?
I forgot to mention it because this is such a short piece of code and I don’t like including full extensions just to remove a line but there’s an extension that makes it very simple:
Include Alternative Startup Rules by Dannii Willis.
The initial whitespace rule does nothing.
@CrocMiam - Once I got home and ran Inform I realized that the version that I’m using is 6M62, not 6L38. I’m assuming that the 6L38 code will working in 6M62 based on your “pre v10” comment.
@CrocMiam - Even though I was able to solve my issue with not printing the extra lines above the banner using the Alternative Startup Rules extension, I wanted to see how the Inform 6 code you provided would work.
Here is the Inform 6 code for Inform 6L38/6M62 that you provided to remove the lines above the banner.
Include (-
[ VIRTUAL_MACHINE_STARTUP_R;
CarryOutActivity(STARTING_VIRTUAL_MACHINE_ACT);
VM_Initialise();
rfalse;
];
-) instead of "Virtual Machine Startup Rule" in "OrderOfPlay.i6t".
Here is the Inform 6 code for Inform 10.1.2 that you provided to remove the lines above the banner.
Include (-
[ VIRTUAL_MACHINE_STARTUP_R;
CarryOutActivity(STARTING_VIRTUAL_MACHINE_ACT);
VM_Initialise();
! It is now safe for the paragraph breaking between rules mechanism to work
if (say__pc & PARA_NORULEBOOKBREAKS) say__pc = say__pc - PARA_NORULEBOOKBREAKS;
! print "^^^";
rfalse;
];
-) replacing "VIRTUAL_MACHINE_STARTUP_R".
Thanks for the report. It looks like there are 4 lines then 1 line in v10 (whereas 6M62 is 3 lines then 1 line). There must be another place in v10 adding that extra line.